/* Paquetes y guías · registro (modelo aprobado: cabecera oscura, pasos, barra «Falta») */
html body #view-warehouse .rg-head{background:#182A31;color:#fff;border-radius:18px;padding:14px 16px;margin:0 0 10px}
html body #view-warehouse .rg-eb{margin:0;font:800 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;color:#AEB7BC}
html body #view-warehouse .rg-sub{margin:4px 0 0;font:800 20px/1.15 Inter,system-ui,sans-serif;color:#fff}
html body #view-warehouse .wh2-foot{background:#182A31!important;color:#fff!important;border-radius:18px!important;border:0!important;box-shadow:0 10px 26px rgba(7,16,24,.22)!important;padding:12px!important;display:grid!important;gap:8px!important}
html body #view-warehouse .rg-falta{margin:0;font:700 13px/1.3 Inter,system-ui,sans-serif;color:#FCD34D}
html body #view-warehouse .rg-falta.listo{color:#86EFAC}
html body #view-warehouse .wh2-foot .wh2-chip{background:rgba(255,255,255,.10)!important;color:#C5CCCF!important;border:0!important}
html body #view-warehouse .wh2-foot .wh2-chip.ok{background:rgba(134,239,172,.18)!important;color:#D1FAE5!important}
html body #view-warehouse .wh2-foot .wh2-register{background:#E52B50!important;color:#fff!important;width:100%}
html body #view-warehouse .wh2{padding-bottom:150px}
/* Datos del envío: un campo a la vez */
html body #view-warehouse .rg-off{display:none!important}
html body #view-warehouse .rg-sum{display:flex;width:100%;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid rgba(7,16,24,.12);border-radius:14px;padding:10px 12px;margin:0 0 8px;color:#182A31;font:700 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:none}
html body #view-warehouse .rg-sn{flex:1 1 auto;color:#6B7378;font:800 10px/1.2 Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.04em}
html body #view-warehouse .rg-sv{font:800 15px/1 Inter,system-ui,sans-serif;color:#182A31}
html body #view-warehouse .rg-st{font:800 11px/1 Inter,system-ui,sans-serif;padding:5px 8px;border-radius:999px}
html body #view-warehouse .rg-st.ok{background:#E8F5EE;color:#0F6B3A}
html body #view-warehouse .rg-st.pend{background:#FDECEF;color:#E52B50}
html body #view-warehouse .rg-ok{margin-top:10px;width:100%;background:#182A31;color:#fff;border:0;border-radius:999px;padding:12px;font:800 14px/1 Inter,system-ui,sans-serif;cursor:pointer}
/* Datos del envío: panel oscuro bajo «Clave del día» (menos blanco) */
html body #view-warehouse .wh2-sec{background:#E7EBEA!important}
html body #view-warehouse .rg-datos{background:#182A31;border-radius:18px;padding:14px;display:grid;gap:10px;color:#fff;box-shadow:0 10px 26px rgba(7,16,24,.18)}
html body #view-warehouse .rg-dh{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
html body #view-warehouse .rg-dh span{font:800 16px/1.2 Inter,system-ui,sans-serif;color:#fff}
html body #view-warehouse .rg-dh small{font:600 12px/1.2 Inter,system-ui,sans-serif;color:#AEB7BC}
html body #view-warehouse .rg-datos>section,html body #view-warehouse .rg-datos .wh2-sec{background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important}
html body #view-warehouse .rg-datos .wh2-h h3{color:#fff!important;font:800 14px/1.2 Inter,system-ui,sans-serif}
html body #view-warehouse .rg-datos .wh2-h .wh2-meta{color:#AEB7BC!important}
html body #view-warehouse .rg-datos p.subtle{color:#AEB7BC!important;margin:0!important}
html body #view-warehouse .rg-datos label{color:#AEB7BC!important;font:800 11px/1.2 Inter,system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.04em}
html body #view-warehouse .rg-datos input:not([type=range]){background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;border-radius:14px!important;font:800 26px/1.1 Inter,system-ui,sans-serif!important;padding:12px 14px!important;box-shadow:none!important}
html body #view-warehouse .rg-datos .rg-sum{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);color:#fff}
html body #view-warehouse .rg-datos .rg-sn{color:#AEB7BC}
html body #view-warehouse .rg-datos .rg-sv{color:#fff}
html body #view-warehouse .rg-datos .rg-st.ok{background:rgba(134,239,172,.18);color:#86EFAC}
html body #view-warehouse .rg-datos .rg-st.pend{background:rgba(252,211,77,.16);color:#FCD34D}
html body #view-warehouse .rg-datos .rg-ok{background:#E52B50}
html body #view-warehouse .rg-datos .wh2-dial{background:transparent!important}
/* v391 · barra «Registrar» al final del formulario (no tapa contenido) y tarjetas menos blancas */
html body #view-warehouse .wh2-foot{position:static!important;bottom:auto!important;margin-top:16px!important;z-index:auto!important}
html body #view-warehouse .wh2{padding-bottom:0!important}
html body #view-warehouse .photo-upload-card{background:#24414C!important;color:#fff!important;border:0!important;box-shadow:0 6px 18px rgba(7,16,24,.14)!important;border-radius:18px!important}
html body #view-warehouse .photo-upload-card p,html body #view-warehouse .photo-upload-card .wh2-ph-title{color:#D5DDE0!important}
html body #view-warehouse .photo-preview{background:#182A31!important;border-color:rgba(255,255,255,.18)!important}
html body #view-warehouse .photo-placeholder{color:#AEB7BC!important}
html body #view-warehouse .photo-select-button{background:rgba(255,255,255,.10)!important;color:#fff!important;border:0!important}
html body #view-warehouse .photo-select-button.wh2-solid{background:#E52B50!important}
html body #view-warehouse .wh2-pill{background:rgba(255,255,255,.14)!important;color:#fff!important}
html body #view-warehouse .wh-step{background:#24414C!important;color:#fff!important;border-radius:16px!important;border:0!important;box-shadow:0 6px 18px rgba(7,16,24,.14)!important}
html body #view-warehouse .wh-step small,html body #view-warehouse .wh-step .t{color:#D5DDE0!important}
html body #view-warehouse .wh-step button{background:rgba(255,255,255,.14)!important;color:#fff!important;border:0!important}
html body #view-warehouse .wh-stp span{color:#fff!important}
html body #view-warehouse .wh2-sec{background:#DCE3E1!important}
html body #view-warehouse .rg-sum{background:#fff}
html body #view-warehouse .rg-datos{background:#182A31}
html body #view-warehouse .wh-step{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;flex-wrap:wrap;gap:8px}
html body #view-warehouse .wh-stp{flex-wrap:nowrap}
html body #view-warehouse .wh2-r,html body #view-warehouse .wh2-l,html body #view-warehouse .rg-datos,html body #view-warehouse .rg-datos>*{min-width:0;max-width:100%;box-sizing:border-box}
html body #view-warehouse .rg-datos input:not([type=range]){width:100%;min-width:0}
html body #view-warehouse .rg-dh small{white-space:normal}
/* v391 · Datos del envío en pastel claro (verde menta suave), texto oscuro */
html body #view-warehouse .rg-datos{background:#E2F0EC!important;color:#182A31!important;box-shadow:0 6px 18px rgba(7,16,24,.10)!important}
html body #view-warehouse .rg-dh span{color:#182A31!important}
html body #view-warehouse .rg-dh small{color:#4F6670!important}
html body #view-warehouse .rg-datos .wh2-h h3{color:#182A31!important}
html body #view-warehouse .rg-datos .wh2-h .wh2-meta{color:#4F6670!important}
html body #view-warehouse .rg-datos p.subtle{color:#4F6670!important}
html body #view-warehouse .rg-datos label{color:#4F6670!important}
html body #view-warehouse .rg-datos input:not([type=range]){background:#F4FAF8!important;border:1px solid rgba(24,42,49,.12)!important;color:#182A31!important}
html body #view-warehouse .rg-datos .rg-sum{background:#F4FAF8!important;border:1px solid rgba(24,42,49,.10)!important;color:#182A31!important}
html body #view-warehouse .rg-datos .rg-sn{color:#4F6670!important}
html body #view-warehouse .rg-datos .rg-sv{color:#182A31!important}
html body #view-warehouse .rg-datos .rg-st.ok{background:#CDEBD9!important;color:#0F6B3A!important}
html body #view-warehouse .rg-datos .rg-st.pend{background:#FCEBC4!important;color:#8A5A00!important}
html body #view-warehouse .rg-datos .rg-ok{background:#182A31!important;color:#fff!important}
/* v391 · Opción A aprobada: paso grande */
html body #view-warehouse .rg-dots{display:flex;gap:6px}
html body #view-warehouse .rg-dots i{flex:1;height:6px;border-radius:9px;background:#B9D7CD}
html body #view-warehouse .rg-dots i.d{background:#2E9C6B}
html body #view-warehouse .rg-dots i.c{background:#E52B50}
html body #view-warehouse .rg-datos .rg-sum{display:inline-flex;width:auto;margin:0;padding:6px 10px;border-radius:999px;gap:6px;background:#CDEBD9!important;border:0!important}
html body #view-warehouse .rg-datos .rg-sn,html body #view-warehouse .rg-datos .rg-sv{font-size:12px}
html body #view-warehouse .rg-datos .rg-st{display:none}
html body #view-warehouse .rg-datos .wh2-dial{background:#fff!important;border-radius:18px!important;padding:16px!important}
html body #view-warehouse .rg-datos .wh2-dial-top{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;background:transparent!important;gap:10px!important}
html body #view-warehouse .rg-datos .wh2-step{width:56px!important;height:56px!important;border-radius:50%!important;background:#182A31!important;color:#fff!important;font:700 26px/1 Inter,system-ui,sans-serif!important;border:0!important}
html body #view-warehouse .rg-datos .wh2-amt{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:6px!important;flex:1;background:transparent!important}
html body #view-warehouse .rg-datos .wh2-amt span{color:#4F6670!important;font:800 14px Inter!important}
html body #view-warehouse .rg-datos input#shipping-cost{color:#182A31!important;background:transparent!important;font:800 40px/1 Inter,system-ui,sans-serif!important;width:150px!important;text-align:center!important;border:0!important;padding:0!important}
html body #view-warehouse .rg-datos .rg-ok{margin-top:12px;border-radius:999px!important;padding:14px!important;font-size:15px!important;width:100%}
html body #view-warehouse .rg-datos #wh2-split,html body #view-warehouse .rg-datos .wh2-qrow,html body #view-warehouse .rg-datos .wh2-ticks{display:none!important}
/* v391 · orden: monto → orden → código; sin cabecera de Shalom dentro del panel */
html body #view-warehouse .rg-datos section[aria-labelledby="wh2-tsh"] .wh2-h,html body #view-warehouse .rg-datos section[aria-labelledby="wh2-tsh"]>p.subtle,html body #view-warehouse .rg-datos section[aria-labelledby="wh2-tmv"] .wh2-h,html body #view-warehouse .rg-datos section[aria-labelledby="wh2-tmv"]>p.subtle{display:none!important}
/* v391 · monto en pastel (mismo diseño aprobado) */
html body #view-warehouse .rg-datos .wh2-dial{background:#F7FBF9!important}
html body #view-warehouse .rg-datos .wh2-step{background:#BFE6D3!important;color:#1F4D3A!important}
html body #view-warehouse .rg-datos input#shipping-cost{color:#2A6B52!important}
html body #view-warehouse .rg-datos .rg-ok{background:#A7DCC4!important;color:#123B2B!important}
html body #view-warehouse .rg-datos .rg-dots i.d{background:#8CCFB2!important}
html body #view-warehouse .rg-datos .rg-dots i.c{background:#F4A7B9!important}
/* v391 · barra de pasos en tarjetas (referencia aprobada) */
html body #view-warehouse .rg-steps{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:100%;box-sizing:border-box}
html body #view-warehouse .rg-steps li{background:#fff;border-radius:14px;padding:10px 12px;display:flex;align-items:center;gap:10px;border:1px solid rgba(24,42,49,.08);min-width:0;box-shadow:0 1px 2px rgba(7,16,24,.04)}
html body #view-warehouse .rg-steps li small{display:block;font:700 10px/1.2 Inter,system-ui,sans-serif;color:#6B7378;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #view-warehouse .rg-steps li b{display:block;font:800 13px/1.2 Inter,system-ui,sans-serif;color:#182A31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #view-warehouse .rg-n{width:26px;height:26px;border-radius:50%;background:#EFEFED;display:grid;place-items:center;font:800 12px Inter;color:#6B7378;flex:0 0 26px}
html body #view-warehouse .rg-steps li.ok{background:#F1FAF5}
html body #view-warehouse .rg-steps li.ok .rg-n{background:#16A34A;color:#fff}
html body #view-warehouse .rg-steps li.on{background:#E52B50;border-color:transparent}
html body #view-warehouse .rg-steps li.on .rg-n{background:#fff;color:#E52B50}
html body #view-warehouse .rg-steps li.on small,html body #view-warehouse .rg-steps li.on b{color:#fff}
@media (max-width:640px){html body #view-warehouse .rg-steps{grid-template-columns:repeat(3,minmax(0,1fr))}html body #view-warehouse .rg-steps li small{font-size:9px}html body #view-warehouse .rg-steps li b{font-size:12px}}
/* v391 · orden y código en casillas azules (variante 2C aprobada) */
html body #view-warehouse .rg-datos label:has(#shalom-orden),html body #view-warehouse .rg-datos label:has(#shalom-codigo){background:#F4F8FF!important;border-radius:16px!important;padding:12px!important;display:flex;flex-wrap:wrap;align-items:center!important;gap:8px!important;color:#2F7DF6!important;text-transform:none!important;letter-spacing:0!important}
html body #view-warehouse .rg-cnt{margin-left:auto;font:800 12px Inter,system-ui,sans-serif;background:#D3E4FD;color:#2F7DF6;padding:5px 10px;border-radius:999px;letter-spacing:0;text-transform:none}
html body #view-warehouse .rg-wrap{position:relative;flex:0 0 100%;width:100%}
html body #view-warehouse .rg-bx{display:flex;gap:6px;width:100%}
html body #view-warehouse .rg-bx i{flex:1;min-width:0;height:48px;border-radius:12px;background:#fff;display:grid;place-items:center;font:800 20px Inter,system-ui,sans-serif;font-style:normal;color:#2F7DF6}
html body #view-warehouse .rg-bx i.f{background:#CFE2FD}
html body #view-warehouse .rg-bx i.cur{outline:2px solid #7FB0F8;outline-offset:-2px}
html body #view-warehouse .rg-bx.k i{height:60px;font-size:24px}
html body #view-warehouse .rg-wrap input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:16px!important;cursor:text}
html body #view-warehouse .rg-off,html body #view-warehouse label.rg-off{display:none!important}
/* v391 · orden y código: azul, amaranto y blanco en pastel (referencia 289) */
html body #view-warehouse .rg-datos label:has(#shalom-orden),html body #view-warehouse .rg-datos label:has(#shalom-codigo){background:#FFFFFF!important;color:#3C85F7!important;box-shadow:0 1px 3px rgba(60,133,247,.10)!important}
html body #view-warehouse .rg-cnt{background:#FBE3EA!important;color:#E52B50!important}
html body #view-warehouse .rg-bx i{background:#FFFFFF!important;color:#3C85F7!important}
html body #view-warehouse .rg-bx i.f{background:#CFE2FD!important;color:#3C85F7!important}
html body #view-warehouse .rg-bx i.cur{background:#FDF0F4!important;color:#E52B50!important;outline:2px solid #F4A7B9!important;outline-offset:-2px}
/* v391 · orden y código: colores exactos de la referencia 289 (tarjeta azul pálido, contador azul, letras azul); amaranto solo en la casilla activa */
html body #view-warehouse .rg-datos label:has(#shalom-orden),html body #view-warehouse .rg-datos label:has(#shalom-codigo){background:#F4F8FF!important;color:#3C85F7!important;box-shadow:none!important}
html body #view-warehouse .rg-cnt{background:#B5D1FC!important;color:#3C85F7!important}
html body #view-warehouse .rg-bx i{background:#FFFFFF!important;color:#3C85F7!important}
html body #view-warehouse .rg-bx i.f{background:#CFE2FD!important;color:#3C85F7!important}
html body #view-warehouse .rg-bx i.cur{background:#FBE3EA!important;color:#E52B50!important;outline:2px solid #E52B50!important;outline-offset:-2px}
/* v391 · orden y código con el estilo rosado pastel de la referencia 291, letras y números en azul oscuro */
html body #view-warehouse .rg-datos label:has(#shalom-orden),html body #view-warehouse .rg-datos label:has(#shalom-codigo){background:#F6E3E8!important;color:#1E3A5F!important;box-shadow:none!important}
html body #view-warehouse .rg-cnt{background:#FDF1F5!important;color:#1E3A5F!important}
html body #view-warehouse .rg-bx i{background:#FFFFFF!important;color:#1E3A5F!important}
html body #view-warehouse .rg-bx i.f{background:#F1D3DA!important;color:#1E3A5F!important}
html body #view-warehouse .rg-bx i.cur{background:#FFFEFF!important;color:#1E3A5F!important;outline:2px solid #DEACB6!important;outline-offset:-2px}

/* ===== v391 · lado derecho: clave y datos en pastel (base aprobada, solo colores/formas) ===== */
/* Datos del envío: panel pastel claro */
html body #view-warehouse .rg-datos{background:#E8F4F0!important;color:#1E3A5F!important;border-radius:22px!important;padding:16px!important;box-shadow:0 6px 18px rgba(30,58,95,.08)!important}
html body #view-warehouse .rg-dh span{color:#1E3A5F!important}
/* Monto: tarjeta blanca pastel, botones − y + visibles en pastel */
html body #view-warehouse .rg-datos .wh2-dial{background:#FFFFFF!important;border-radius:18px!important;padding:14px!important}
html body #view-warehouse .rg-datos .wh2-dial-top{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}
html body #view-warehouse .rg-datos .wh2-step{width:56px!important;height:56px!important;border-radius:50%!important;background:#CDEBE0!important;color:#1E5C47!important;font:800 28px/1 Inter,system-ui,sans-serif!important;border:0!important;display:grid!important;place-items:center!important}
html body #view-warehouse .rg-datos .wh2-amt{flex:1;display:flex!important;align-items:baseline!important;justify-content:center!important;gap:6px!important;background:transparent!important}
html body #view-warehouse .rg-datos .wh2-amt span{color:#4F7A6B!important;font:800 14px Inter!important}
html body #view-warehouse .rg-datos input#shipping-cost{color:#1E5C47!important;background:transparent!important;font:800 40px/1 Inter,system-ui,sans-serif!important;width:150px!important;text-align:center!important;border:0!important;padding:0!important}
html body #view-warehouse .rg-datos .rg-ok{background:#A7DCC4!important;color:#123B2B!important;border-radius:999px!important;margin-top:12px!important;padding:14px!important;font:800 15px Inter!important}
html body #view-warehouse .rg-datos #wh2-amt-meta,html body #view-warehouse .rg-datos .wh2-meta{color:#4F7A6B!important}
/* Orden y código: casillas grandes pastel */
html body #view-warehouse .rg-bx i{height:52px!important;border-radius:14px!important}
html body #view-warehouse .rg-bx.k i{height:64px!important}
/* Clave del día: tarjeta pastel azul, dígitos grandes */
html body #view-warehouse #wh2-ticket.wh2-band{background:#E6EEF9!important;color:#1E3A5F!important;border-radius:22px!important;padding:16px!important;box-shadow:0 6px 18px rgba(30,58,95,.08)!important}
html body #view-warehouse #wh2-ticket .wh2-lock{background:#FFFFFF!important}
html body #view-warehouse #wh2-ticket .wh2-lock svg{stroke:#2F7DF6!important}
html body #view-warehouse #wh2-ticket #daily-key-input{color:#1E3A5F!important;font:800 30px/1 Inter,system-ui,sans-serif!important;letter-spacing:.18em!important}
html body #view-warehouse #wh2-ticket .wh2-kpill{background:#D3E4FD!important;color:#2F7DF6!important}
html body #view-warehouse #wh2-ticket .wh2-icbtn.primary{background:#E52B50!important;color:#fff!important}
html body #view-warehouse #wh2-ticket .wh2-icbtn.secondary{background:#FFFFFF!important;color:#1E3A5F!important;border:1px solid rgba(30,58,95,.15)!important}
/* v391 · datos del envío en azul pastel (combina con la clave); botón Listo en amaranto pastel */
html body #view-warehouse .rg-datos{background:#E6EEF9!important}
html body #view-warehouse .rg-datos .wh2-dial{background:#FFFFFF!important}
html body #view-warehouse .rg-datos .wh2-step{background:#D3E4FD!important;color:#2F7DF6!important}
html body #view-warehouse .rg-datos input#shipping-cost{color:#2F7DF6!important}
html body #view-warehouse .rg-datos .rg-ok{background:#F8D3DD!important;color:#8E1F3B!important}
html body #view-warehouse .rg-datos .rg-sum{background:#FFFFFF!important;color:#1E3A5F!important}
html body #view-warehouse .rg-datos .rg-dots i.d{background:#9DBFF2!important}
html body #view-warehouse .rg-datos .rg-dots i.c{background:#F4A7B9!important}
html body #view-warehouse .rg-dots i.d{background:#9DBFF2!important}
html body #view-warehouse .rg-dots i.c{background:#F4A7B9!important}

/* ===== v391 · MONTO D (número al centro, − y + a los lados) y CLAVE A (dígitos al centro, botones abajo) ===== */
html body #view-warehouse .rg-datos .wh2-dial{background:#FFFFFF!important;border-radius:16px!important;padding:12px!important}
html body #view-warehouse .rg-datos .wh2-dial-top{display:grid!important;grid-template-columns:52px 1fr 52px!important;align-items:center!important;gap:8px!important;background:#F4F4F2!important;border-radius:999px!important;padding:4px!important}
html body #view-warehouse .rg-datos .wh2-step{width:52px!important;height:52px!important;border-radius:50%!important;background:#182A31!important;color:#fff!important;font:800 26px/1 Inter,system-ui,sans-serif!important;border:0!important;display:grid!important;place-items:center!important;padding:0!important}
html body #view-warehouse .rg-datos #shipping-inc.wh2-step{background:#E52B50!important}
html body #view-warehouse .rg-datos .wh2-amt{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:4px!important;background:transparent!important;flex:none!important}
html body #view-warehouse .rg-datos .wh2-amt span{color:#6B7378!important;font:800 14px Inter!important}
html body #view-warehouse .rg-datos input#shipping-cost{color:#182A31!important;background:transparent!important;font:800 28px/1 Inter,system-ui,sans-serif!important;width:110px!important;text-align:center!important;border:0!important;padding:0!important}
/* Clave A: dígitos al centro, botones abajo en tres partes iguales */
html body #view-warehouse #wh2-ticket.wh2-band{background:#FFFFFF!important;border-radius:18px!important;padding:14px!important;color:#182A31!important}
html body #view-warehouse #wh2-ticket .wh2-band-row{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important}
html body #view-warehouse #wh2-ticket .wh2-lock{display:none!important}
html body #view-warehouse #wh2-ticket #daily-key-input{text-align:center!important;font:800 34px/1 Inter,system-ui,sans-serif!important;letter-spacing:.22em!important;color:#182A31!important;width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #view-warehouse #wh2-ticket .wh2-kpill{background:#EFEFED!important;color:#182A31!important}
html body #view-warehouse #wh2-ticket .wh2-key-acts{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:6px!important;width:100%!important}
html body #view-warehouse #wh2-ticket .wh2-icbtn{width:100%!important;text-align:center!important;border-radius:999px!important;padding:10px 0!important;font:800 12px Inter!important;border:0!important}
html body #view-warehouse #wh2-ticket .wh2-i-gen{background:#E52B50!important;color:#fff!important}
html body #view-warehouse #wh2-ticket .wh2-i-save,html body #view-warehouse #wh2-ticket .wh2-i-edit{background:#EFEFED!important;color:#182A31!important}
html body #view-warehouse #wh2-ticket .wh2-i-edit{background:#182A31!important;color:#fff!important}

/* ===== v391 · disposición del lado derecho (modelo aprobado): monto y clave en dos tarjetas arriba; orden y código a todo el ancho ===== */
html body #view-warehouse .wh2-r{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
html body #view-warehouse .wh2-r>section[aria-labelledby="wh2-t3"]{grid-column:2!important;grid-row:1!important;margin:0!important}
html body #view-warehouse .wh2-r>.rg-datos{display:contents!important}
html body #view-warehouse .wh2-r .rg-dh,html body #view-warehouse .wh2-r .rg-dots{grid-column:1/-1!important;grid-row:2!important}
html body #view-warehouse .wh2-r .rg-dh{margin:0 4px}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{grid-column:1!important;grid-row:1!important;margin:0!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{grid-column:1/-1!important;grid-row:3!important}
html body #view-warehouse .wh2-r .rg-sum{grid-column:1/-1!important}
html body #view-warehouse .wh2-r .rg-off{display:none!important}
html body #view-warehouse .wh2-r .rg-wrap{width:100%}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-h{display:none!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-qrow,html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-split{display:none!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{background:#FFFFFF!important;border-radius:18px!important;padding:12px!important;box-shadow:none!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"]{background:#FFFFFF!important;border-radius:18px!important;padding:12px!important;box-shadow:none!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"] .wh2-h h3{font-size:13px!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"] .wh2-band{padding:0!important;background:transparent!important}
html body #view-warehouse .rg-datos{background:transparent!important;padding:0!important;box-shadow:none!important}
@media (max-width:640px){html body #view-warehouse .wh2-r{grid-template-columns:1fr!important}html body #view-warehouse .wh2-r>section[aria-labelledby="wh2-t3"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{grid-column:1!important;grid-row:auto!important}}
html body #view-warehouse .wh2-r .rg-dots{grid-row:3!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{grid-row:4!important}
html body #view-warehouse .wh2-r .rg-dh{margin:0 4px 6px!important}

/* ===== v391 · orden y código: estilo de la referencia 300 (casillas grises, activa en amaranto, vacías punteadas) ===== */
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){background:#FFFFFF!important;color:#182A31!important;border-radius:18px!important;padding:12px!important;box-shadow:none!important}
html body #view-warehouse .rg-cnt{background:#EFEFED!important;color:#182A31!important;font:800 12px Inter,system-ui,sans-serif!important;padding:4px 10px!important;border-radius:999px!important}
html body #view-warehouse .rg-bx i{background:#EFEFED!important;color:#182A31!important;border:0!important;border-radius:10px!important;font:800 16px Inter,system-ui,sans-serif!important;height:44px!important}
html body #view-warehouse .rg-bx i.f{background:#EFEFED!important;color:#182A31!important}
html body #view-warehouse .rg-bx i.cur{background:#FFFFFF!important;color:#E52B50!important;outline:2px solid #E52B50!important;outline-offset:-2px}
html body #view-warehouse .rg-bx.k i{background:#FFFFFF!important;border:1.5px dashed #C5CCCF!important;color:#9AA3A8!important;height:56px!important;font-size:18px!important}
html body #view-warehouse .rg-bx.k i.f{background:#EFEFED!important;border:0!important;color:#182A31!important}
html body #view-warehouse .rg-bx.k i.cur{background:#FFFFFF!important;border:2px solid #E52B50!important;color:#E52B50!important;outline:none!important}

/* v391 · quitar encabezado «Datos del envío» y su texto; botón Listo sólido (no pastel) */
html body #view-warehouse .rg-dh{display:none!important}
html body #view-warehouse .rg-datos .rg-ok,html body #view-warehouse .wh2-r .rg-ok{background:#182A31!important;color:#FFFFFF!important;border-radius:999px!important;font:800 15px Inter,system-ui,sans-serif!important}
html body #view-warehouse .wh2-r .rg-dots{margin:0 4px 8px!important;padding:0 2px!important;box-sizing:border-box!important;width:auto!important}

/* v391 · márgenes de la columna derecha y color en orden y código */
html body #view-warehouse .wh2-r{padding:14px!important;border-radius:22px!important;background:#EDEFEE!important;box-sizing:border-box!important;width:100%!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{margin:0!important}
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){background:#F6E3E8!important;color:#1E3A5F!important;border-radius:18px!important;padding:14px!important}
html body #view-warehouse .wh2-r .rg-cnt{background:#E52B50!important;color:#FFFFFF!important;padding:5px 12px!important}
html body #view-warehouse .wh2-r .rg-bx i{background:#FFFFFF!important;color:#8E1F3B!important;border:0!important}
html body #view-warehouse .wh2-r .rg-bx i.f{background:#F1C4CF!important;color:#8E1F3B!important}
html body #view-warehouse .wh2-r .rg-bx i.cur{background:#FFFFFF!important;color:#E52B50!important;outline:2px solid #E52B50!important;outline-offset:-2px}
html body #view-warehouse .wh2-r .rg-bx.k i{background:#FFFFFF!important;border:1.5px dashed #E9A3B3!important;color:#C0526E!important}
html body #view-warehouse .wh2-r .rg-bx.k i.f{background:#F1C4CF!important;border:0!important;color:#8E1F3B!important}
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){color:#8E1F3B!important}
html body #view-warehouse .wh2-r input#shipping-cost{width:130px!important;min-width:130px!important;font-size:30px!important}

/* v391 · orden y código con los colores de monto y clave (sin rosado): tarjeta blanca, casillas grises, números azul marino, activa amaranto */
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){background:#FFFFFF!important;color:#182A31!important;border-radius:18px!important;padding:12px!important}
html body #view-warehouse .wh2-r .rg-cnt{background:#EFEFED!important;color:#182A31!important;padding:4px 10px!important}
html body #view-warehouse .wh2-r .rg-bx i{background:#F4F4F2!important;color:#182A31!important;border:0!important;outline:none!important}
html body #view-warehouse .wh2-r .rg-bx i.f{background:#F4F4F2!important;color:#182A31!important}
html body #view-warehouse .wh2-r .rg-bx i.cur{background:#FFFFFF!important;color:#E52B50!important;outline:2px solid #E52B50!important;outline-offset:-2px}
html body #view-warehouse .wh2-r .rg-bx.k i{background:#FFFFFF!important;border:1.5px dashed #C5CCCF!important;color:#9AA3A8!important}
html body #view-warehouse .wh2-r .rg-bx.k i.f{background:#F4F4F2!important;border:0!important;color:#182A31!important}
html body #view-warehouse .wh2-r .rg-bx.k i.cur{background:#FFFFFF!important;border:2px solid #E52B50!important;color:#E52B50!important;outline:none!important}
html body #view-warehouse .wh2-r{background:#F4F4F2!important}

/* v391 · quitar las barras de progreso y el borde punteado de las casillas vacías */
html body #view-warehouse .rg-dots{display:none!important}
html body #view-warehouse .wh2-r .rg-bx.k i{border:0!important;border-style:none!important}

/* v391 · títulos con icono y tipografía de «Clave del día»; mismo espacio entre tarjetas; monto con su título */
html body #view-warehouse .wh2-r{gap:12px!important;padding:14px!important}
html body #view-warehouse .wh2-r .wh2-h h3,html body #view-warehouse .rg-ttl{font:800 16px/1.2 Inter,system-ui,sans-serif!important;color:#182A31!important;letter-spacing:-.01em;display:flex;align-items:center;gap:8px}
html body #view-warehouse .rg-ttl svg,html body #view-warehouse .wh2-r .wh2-h svg{width:18px;height:18px;flex:0 0 18px;stroke:#182A31;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body #view-warehouse .rg-ttl{flex:1 1 auto;min-width:0}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-h{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-meta{font:700 12px Inter,system-ui,sans-serif!important;color:#6B7378!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{display:grid!important;gap:12px!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot>section{background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot>section>div[style]{gap:12px!important}
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;padding:14px!important;font:inherit!important}
html body #view-warehouse .wh2-r label:has(#shalom-orden)>.rg-cnt,html body #view-warehouse .wh2-r label:has(#shalom-codigo)>.rg-cnt{order:0}
html body #view-warehouse .wh2-r .rg-cnt{font:800 12px Inter,system-ui,sans-serif!important}

/* v391 · ajustes: monto sin encimarse, sin hueco entre filas */
html body #view-warehouse .wh2-r{row-gap:12px!important}
html body #view-warehouse .wh2-r>section,html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"]{margin:0!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{grid-row:2!important}
html body #view-warehouse .wh2-r .wh2-dial-top{grid-template-columns:52px minmax(0,1fr) 52px!important;gap:6px!important}
html body #view-warehouse .wh2-r .wh2-amt{grid-column:2!important;min-width:0!important;justify-self:center!important;display:flex!important;align-items:baseline!important;gap:4px!important;flex-wrap:nowrap!important}
html body #view-warehouse .wh2-r input#shipping-cost{width:auto!important;min-width:0!important;max-width:100%!important;font-size:26px!important}
html body #view-warehouse .wh2-r .rg-bx.k i{background:#F4F4F2!important;border:0!important;color:#9AA3A8!important}
html body #view-warehouse .wh2-r .rg-bx.k i.cur{background:#FFFFFF!important;border:2px solid #E52B50!important;color:#E52B50!important}
html body #view-warehouse .wh2-r .rg-bx.k{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}

/* v391 · las cuatro tarjetas (monto, clave, orden, código) con el mismo ancho, mismo relleno y mismo espacio */
html body #view-warehouse .wh2-r{display:flex!important;flex-direction:column!important;gap:12px!important;padding:14px!important}
html body #view-warehouse .wh2-r>section[aria-labelledby="wh2-t3"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"],html body #view-warehouse .wh2-r #wh2-agencia-slot{width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{background:#FFFFFF!important;border-radius:18px!important;padding:14px!important;box-sizing:border-box!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{display:flex!important;flex-direction:column!important;gap:12px!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot>section{width:100%!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot>section>div[style]{width:100%!important;display:flex!important;flex-direction:column!important}
html body #view-warehouse .wh2-r label:has(#shalom-orden),html body #view-warehouse .wh2-r label:has(#shalom-codigo){width:100%!important;box-sizing:border-box!important;background:#FFFFFF!important;padding:14px!important;border-radius:18px!important}
html body #view-warehouse .wh2-r #wh2-ticket.wh2-band{width:100%!important;box-sizing:border-box!important;padding:14px!important;margin:0!important}
html body #view-warehouse .wh2-r .wh2-dial-top{grid-template-columns:52px minmax(0,1fr) 52px!important}
html body #view-warehouse .wh2-r .wh2-amt{grid-column:2!important}

/* v391 · disposición final: monto a la izquierda y clave a la derecha (mismo alto), orden y código abajo a todo el ancho */
html body #view-warehouse .wh2-r{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-rows:auto!important;align-items:stretch!important;gap:12px!important;padding:14px!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{grid-column:1!important;grid-row:1!important;height:100%!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"]{grid-column:2!important;grid-row:1!important;height:100%!important;box-sizing:border-box!important}
html body #view-warehouse .wh2-r #wh2-agencia-slot{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;gap:12px!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"] #wh2-ticket,html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"]{display:flex!important;flex-direction:column!important}
html body #view-warehouse .wh2-r #wh2-ticket.wh2-band{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-dial{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"]{display:flex!important;flex-direction:column!important}
html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"] .wh2-dial-top{grid-template-columns:52px minmax(0,1fr) 52px!important}
@media (max-width:640px){html body #view-warehouse .wh2-r{grid-template-columns:1fr!important}html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t4"],html body #view-warehouse .wh2-r section[aria-labelledby="wh2-t3"]{grid-column:1!important;grid-row:auto!important}html body #view-warehouse .wh2-r #wh2-agencia-slot{grid-row:auto!important}}

/* v391 · botón «Registrar envío» mejorado: amaranto sólido, letras blancas en negrita, más alto */
html body #view-warehouse .wh2-foot{background:#182A31!important;border-radius:22px!important;padding:14px!important}
html body #view-warehouse .wh2-foot .wh2-register,html body #view-warehouse button.wh2-register{background:#E52B50!important;color:#FFFFFF!important;border:0!important;border-radius:999px!important;height:56px!important;min-height:56px!important;width:100%!important;font:800 17px/1 Inter,system-ui,sans-serif!important;letter-spacing:.01em!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;box-shadow:0 10px 22px rgba(229,43,80,.35)!important;opacity:1!important;cursor:pointer}
html body #view-warehouse .wh2-foot .wh2-register svg{width:20px!important;height:20px!important;stroke:#FFFFFF!important}
html body #view-warehouse .wh2-foot .wh2-register:not(.is-ready){background:#E52B50!important;opacity:.92!important}
html body #view-warehouse .wh2-foot .wh2-register.is-ready{box-shadow:0 12px 26px rgba(229,43,80,.5)!important}
html body #view-warehouse .rg-falta{font:700 13px/1.3 Inter,system-ui,sans-serif!important;color:#FCD34D!important;margin:0 0 2px!important}
html body #view-warehouse .wh2-foot .wh2-chip{font:800 12px Inter,system-ui,sans-serif!important;padding:6px 12px!important;border-radius:999px!important}

/* v391 · pie modelo 3: fondo claro, barra de progreso, botón amaranto redondeado */
html body #view-warehouse .wh2-foot{background:#FFFFFF!important;color:#182A31!important;border-radius:22px!important;padding:14px!important;box-shadow:0 6px 18px rgba(7,16,24,.08)!important;border:0!important}
html body #view-warehouse .rg-falta{color:#6B7378!important;font:700 13px/1.3 Inter,system-ui,sans-serif!important}
html body #view-warehouse .wh2-foot .wh2-chip{background:#EFEFED!important;color:#182A31!important;font:800 12px Inter,system-ui,sans-serif!important;padding:6px 12px!important;border-radius:999px!important}
html body #view-warehouse .wh2-foot .wh2-chip.ok{background:#CDEBD9!important;color:#0F6B3A!important}
html body #view-warehouse .wh2-foot .wh2-chip.opt{background:transparent!important;border:1px dashed #C5CCCF!important;color:#6B7378!important}
html body #view-warehouse .rg-prog{height:8px;border-radius:9px;background:#EFEFED;overflow:hidden;margin:4px 0 12px}
html body #view-warehouse .rg-prog i{display:block;height:100%;width:0;background:#182A31;border-radius:9px;transition:width .3s ease}
html body #view-warehouse .wh2-foot .wh2-register,html body #view-warehouse button.wh2-register{background:#E52B50!important;color:#FFFFFF!important;border:0!important;border-radius:16px!important;height:56px!important;min-height:56px!important;width:100%!important;font:800 16px/1 Inter,system-ui,sans-serif!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;box-shadow:none!important;opacity:1!important}
html body #view-warehouse .wh2-foot .wh2-register svg{stroke:#FFFFFF!important}

/* ===== v391 · pasos en una sola fila en teléfono; fotos pequeñas en dos columnas (laptop y teléfono), también con varias fotos ===== */
@media (max-width:640px){
  html body #view-warehouse .rg-steps{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:0!important}
  html body #view-warehouse .rg-steps li{flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:6px 2px!important;gap:4px!important;text-align:center!important}
  html body #view-warehouse .rg-steps li small{display:none!important}
  html body #view-warehouse .rg-steps li b{font-size:10px!important;line-height:1.1!important;white-space:normal!important;text-align:center!important}
  html body #view-warehouse .rg-n{width:22px!important;height:22px!important;flex:0 0 22px!important;font-size:11px!important}
}
html body #view-warehouse .photo-grid,html body #view-warehouse .wh-x-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
html body #view-warehouse .photo-upload-card{padding:10px!important;min-width:0!important}
html body #view-warehouse .wh2-ph-title{font:800 12px/1.2 Inter,system-ui,sans-serif!important;margin:0 0 6px!important;gap:6px!important}
html body #view-warehouse .wh2-ph-title small{display:none!important}
html body #view-warehouse .photo-upload-card>p{display:none!important}
html body #view-warehouse .photo-preview{height:92px!important;min-height:92px!important;max-height:92px!important;border-radius:12px!important}
html body #view-warehouse .photo-preview img{height:100%!important;width:100%!important;object-fit:cover!important}
html body #view-warehouse .photo-placeholder{font-size:11px!important;gap:2px!important}
html body #view-warehouse .photo-btn-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin-top:8px!important}
html body #view-warehouse .photo-select-button{height:34px!important;font:800 11px Inter,system-ui,sans-serif!important;padding:0 6px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important}
html body #view-warehouse .photo-select-button svg{width:14px!important;height:14px!important}
html body #view-warehouse .wh-cnt-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;margin:0 0 10px!important}
html body #view-warehouse .wh-step{padding:10px!important;min-width:0!important}
html body #view-warehouse .wh-step .t{font-size:12px!important}
@media (max-width:640px){
  html body #view-warehouse .photo-preview{height:84px!important;min-height:84px!important;max-height:84px!important}
  html body #view-warehouse .photo-select-button{font-size:10px!important}
}
/* ajustes teléfono: botones de foto que no se cortan; monto sin desbordar */
html body #view-warehouse .photo-select-button{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis}
@media (max-width:640px){
  html body #view-warehouse .photo-select-button svg{display:none!important}
  html body #view-warehouse .photo-select-button{font-size:10px!important;padding:0 2px!important}
  html body #view-warehouse .photo-btn-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}
html body #view-warehouse .wh2-r .wh2-dial-top{overflow:hidden!important}
html body #view-warehouse .wh2-r .wh2-amt{min-width:0!important;overflow:hidden!important}
html body #view-warehouse .wh2-r .wh2-amt span{flex:0 0 auto!important}

/* v391 · GRTE de Marvisur con el mismo estilo de tarjeta que orden y código */
html body #view-warehouse .wh2-r label:has(#marvisur-grte){width:100%!important;box-sizing:border-box!important;background:#FFFFFF!important;color:#182A31!important;border-radius:18px!important;padding:14px!important;display:flex!important;flex-direction:column!important;gap:10px!important;font:800 14px Inter,system-ui,sans-serif!important}
html body #view-warehouse .wh2-r label:has(#marvisur-grte) input{background:#F4F4F2!important;border:0!important;border-radius:14px!important;font:800 20px Inter,system-ui,sans-serif!important;color:#182A31!important;padding:12px!important;width:100%!important;letter-spacing:.08em!important}
