/* v213 · Tarjeta del historial de envíos (diseño final): datos en cuadrícula, clave y botones claros. */
.shipment-history-card{position:relative!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#fff!important;border:0!important;border-radius:20px!important;padding:16px!important;box-shadow:0 6px 18px rgba(24,42,49,.08)!important;overflow:visible!important;color:#182A31!important;margin-bottom:16px}
.shipment-history-card::before,.shipment-history-card::after{content:none!important;display:none!important}
.shipment-history-card .shipment-history-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.shipment-history-card .store-logo{height:26px!important;width:auto!important;max-width:90px!important;object-fit:contain;display:inline-block;vertical-align:middle;align-self:center}
.shipment-history-card h3{margin:0!important;font:700 17px/1.2 Inter,system-ui,sans-serif!important;color:#182A31!important;overflow-wrap:anywhere}
.shipment-history-card .shipment-history-doc{margin:3px 0 0!important;font:500 12px/1.35 Inter,system-ui,sans-serif;color:#6B7378}
.shipment-history-card .shipment-history-data{display:grid!important;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:14px;padding-top:14px;border-top:1px solid #E6E6E4}
.shipment-history-card .shipment-history-data>span{display:flex!important;flex-direction:column!important;gap:2px;text-align:left!important;margin:0!important;padding:0!important;border:0!important}
.shipment-history-card .shipment-history-data>span:first-child{grid-column:1/-1}
.shipment-history-card .shipment-history-data small{display:block!important;font:500 11px/1.2 Inter,system-ui,sans-serif;color:#6B7378}
.shipment-history-card .shipment-history-data strong{display:block!important;font:700 13px/1.3 Inter,system-ui,sans-serif;color:#182A31;text-align:left!important}
.shipment-history-card .shipment-history-agency{margin:12px 0 0!important;font:500 12px/1.35 Inter,system-ui,sans-serif;color:#6B7378}
.shipment-history-card .shipment-wa-status{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.shipment-history-card .shipment-wa-status span{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:#FFF4DE;font:600 11px/1 Inter,system-ui,sans-serif;color:#8A5A00}
.shipment-history-card .shipment-wa-status span.done{background:#E8F5EE;color:#1E7A4C}
.shipment-history-card .shipment-history-featured-photos{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.shipment-history-card .shipment-history-card-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(24,42,49,.10)}
.shipment-history-card .shipment-history-card-actions .btn{height:36px;padding:0 16px;border-radius:12px;border:0;font:700 13px/1 Inter,system-ui,sans-serif;box-shadow:none}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp{background:#25D366!important;color:#fff!important}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp .wa-icon{width:18px;height:18px;fill:#fff}
.shipment-history-card .tag{font:650 11px/1 Inter,system-ui,sans-serif;border-radius:7px;padding:5px 8px}
/* v214 · Clave de envío como bloque oscuro de ancho completo (diseño final). */
.shipment-history-card .shipment-history-data .km-key{grid-column:1/-1!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;background:#182A31;color:#fff;border-radius:14px;padding:12px 16px!important;margin:0}
.shipment-history-card .shipment-history-data .km-key small{color:#AEB7BC!important;font:600 10px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.14em;text-transform:uppercase}
.shipment-history-card .shipment-history-data .km-key strong{color:#fff!important;font:800 22px/1 Inter,system-ui,sans-serif!important;letter-spacing:.2em}
.shipment-history-card .shipment-history-data .km-none strong{font:600 13px Inter,system-ui,sans-serif!important;letter-spacing:0;color:#AEB7BC!important}
/* v218 · Tarjeta de envío como la maqueta aprobada: sin avatar, WhatsApp arriba a la derecha. */
.shipment-history-card .shipment-history-info{padding-right:0}
.shipment-history-card .shipment-history-heading{padding-right:128px!important;min-height:30px}

.shipment-history-card .shipment-history-card-actions .btn.whatsapp{position:absolute!important;top:16px!important;right:16px!important;height:40px!important;padding:0 14px!important;border-radius:12px!important;background:#25D366!important;color:#fff!important;font:700 13px/1 Inter,system-ui,sans-serif!important;box-shadow:0 6px 14px rgba(37,211,102,.28)!important;display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;z-index:2}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp .wa-icon{width:20px!important;height:20px!important;fill:#fff!important}
.shipment-history-card .shipment-history-card-actions .btn:not(.whatsapp){align-self:flex-start;margin-top:12px}
.shipment-history-card .shipment-history-card-actions{margin-top:0!important}
.shipment-history-card .dir-avatar,.shipment-history-card .shipment-avatar,.shipment-history-card .avatar{display:none!important}

/* v219 · Tarjeta de envío: WhatsApp compacto arriba a la derecha, fotos pequeñas y acciones pequeñas (diseño aprobado). */
.shipment-history-card .shipment-history-card-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px!important;padding-top:12px!important;border-top:1px solid rgba(24,42,49,.10)}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp{position:absolute!important;top:16px!important;right:16px!important;left:auto!important;width:auto!important;height:38px!important;padding:0 14px!important;border-radius:12px!important;background:#25D366!important;color:#fff!important;font:700 13px/1 Inter,system-ui,sans-serif!important;box-shadow:0 6px 14px rgba(37,211,102,.28)!important;display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;z-index:2}
.shipment-history-card .shipment-history-card-actions .btn:not(.whatsapp){width:auto!important;height:30px!important;padding:0 12px!important;border-radius:999px!important;border:0!important;background:#EFEFED!important;color:#182A31!important;font:600 12px/1 Inter,system-ui,sans-serif!important;box-shadow:4px 4px 8px #CFCFCC,-4px -4px 8px #FFFFFF!important}
.shipment-history-card .shipment-history-card-actions .btn:not(.whatsapp)[data-delete],.shipment-history-card .shipment-history-card-actions .btn:not(.whatsapp).danger{color:#8A2A1E!important}
.shipment-history-card .shipment-history-featured-photos{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.shipment-history-card .shipment-featured-photo{position:relative;height:72px;border-radius:12px;overflow:hidden;background:#fff;border:0!important;padding:0!important;box-shadow:inset 2px 2px 4px #E2E2DF,inset -2px -2px 4px #fff;display:block;width:100%}
.shipment-history-card .shipment-featured-photo img{width:100%;height:100%;object-fit:cover;display:block}
.shipment-history-card .shipment-featured-caption{position:absolute;left:6px;bottom:6px;background:rgba(24,42,49,.78);color:#fff;border-radius:8px;padding:3px 7px;font:700 11px/1.2 Inter,system-ui,sans-serif}
.shipment-history-card .shipment-featured-caption small{display:none!important}
.shipment-history-card .shipment-featured-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8A9095}
.shipment-history-card .shipment-featured-placeholder span{display:none!important}
.shipment-history-card .shipment-featured-placeholder small{display:none!important}
.shipment-history-card .shipment-featured-placeholder strong{font:600 12px/1 Inter,system-ui,sans-serif;color:#6B7378}
.shipment-history-card .shipment-featured-photo.no-photo{height:72px;display:flex;align-items:center;justify-content:center}
/* v219 · Clave de envío encima de Paquete y Guía (bloque propio). */
.shipment-history-card .shipment-key-row{margin-top:12px}
.shipment-history-card .shipment-key-row .km-key{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;grid-column:auto!important;background:#182A31;color:#fff;border-radius:14px;padding:12px 16px!important;margin:0}
.shipment-history-card .shipment-key-row .km-key small{color:#AEB7BC!important;font:600 10px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.14em;text-transform:uppercase}
.shipment-history-card .shipment-key-row .km-key strong{color:#fff!important;font:800 22px/1 Inter,system-ui,sans-serif!important;letter-spacing:.2em}
/* v220 · Ajustes de la tarjeta de envío en el teléfono: WhatsApp sin tapar etiquetas, fotos bajas, avisos compactos, botones pequeños. */
.shipment-history-card .shipment-history-heading{padding-right:128px!important;min-height:34px;align-items:center!important;row-gap:6px!important}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp{top:14px!important;right:14px!important;height:34px!important;padding:0 10px!important;font:700 12px/1 Inter,system-ui,sans-serif!important;border-radius:10px!important;max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp .wa-icon{width:16px!important;height:16px!important;flex:0 0 auto}
.shipment-history-card .shipment-wa-status{display:flex!important;flex-wrap:wrap;gap:4px!important;margin-top:8px!important}
.shipment-history-card .shipment-wa-status span{height:20px!important;padding:0 7px!important;font:600 10px/1 Inter,system-ui,sans-serif!important}
.shipment-history-card .shipment-featured-photo{height:88px!important;aspect-ratio:auto!important;max-height:88px}
.shipment-history-card .shipment-featured-photo img{height:100%!important;width:100%!important;object-fit:cover!important}
.shipment-history-card .shipment-featured-caption{left:6px!important;bottom:6px!important;max-width:calc(100% - 12px);padding:2px 6px!important;font:700 10px/1.2 Inter,system-ui,sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shipment-history-card .shipment-history-card-actions>*:not(.whatsapp){height:30px!important;width:auto!important;padding:0 14px!important;font:600 12px/1 Inter,system-ui,sans-serif!important;border-radius:999px!important;flex:0 0 auto}
.shipment-history-card .shipment-history-card-actions{gap:8px!important}
.shipment-history-card .shipment-history-heading{padding-right:150px!important}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp{max-width:none!important;white-space:nowrap!important;overflow:visible!important}
.shipment-history-card .shipment-history-heading{padding-right:190px!important}
.shipment-history-card .shipment-history-heading{padding-right:0!important}
.shipment-history-card .shipment-history-heading h3{flex:0 0 100%!important;padding-right:180px!important;box-sizing:border-box}
.shipment-history-card .shipment-history-heading h3{padding-bottom:18px!important}
/* v220 · Sin chips de recordatorio y fotos enviadas: el estado se ve en el botón de WhatsApp. */
.shipment-history-card .shipment-wa-status{display:none!important}
/* v220 · Agencia dentro de la cuadrícula de datos; Eliminar como tacho de basura; Vista previa como pastilla. */
.shipment-history-card .shipment-history-agency{display:none!important}
.shipment-history-card .shipment-history-card-actions>*:last-child:not(.whatsapp){font-size:0!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;justify-content:center!important;background-color:#EFEFED!important;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238A2A1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v6M14 11v6'/></svg>")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:18px 18px!important;border-radius:12px!important}
.shipment-history-card .shipment-history-card-actions>*:not(.whatsapp):not(:last-child){font:600 12px/1 Inter,system-ui,sans-serif!important;color:#182A31!important}
/* v220 · Agencia como etiqueta; Vista previa y Eliminar con el formato del botón de WhatsApp (ícono y texto) en colores de la app. */
.shipment-history-card .agency-tag{background:#fff!important;color:#373A3F!important;border:1px solid #DADAD6!important}
.shipment-history-card .shipment-history-card-actions>*:last-child:not(.whatsapp){font-size:13px!important;width:auto!important;min-width:0!important;height:38px!important;padding:0 14px 0 36px!important;background-color:#E0335A!important;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/></svg>")!important;background-repeat:no-repeat!important;background-position:12px center!important;background-size:16px 16px!important;color:#fff!important;border:0!important;border-radius:12px!important;font:700 13px/1 Inter,system-ui,sans-serif!important;box-shadow:0 6px 14px rgba(224,51,90,.28)!important}
.shipment-history-card .shipment-history-card-actions>*:not(.whatsapp):not(:last-child){height:38px!important;width:auto!important;padding:0 14px 0 36px!important;background-color:#182A31!important;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>")!important;background-repeat:no-repeat!important;background-position:12px center!important;background-size:16px 16px!important;color:#fff!important;border:0!important;border-radius:12px!important;font:700 13px/1 Inter,system-ui,sans-serif!important;box-shadow:0 6px 14px rgba(24,42,49,.25)!important}
.shipment-history-card .shipment-history-data>span:first-child{grid-column:auto!important}
/* v220 · Nombre del cliente más grande en la tarjeta de envío. */
.shipment-history-card .shipment-history-heading h3{font:800 22px/1.2 Inter,system-ui,sans-serif!important}
/* v220 · Nombre más grande y centrado en la misma línea que el botón de WhatsApp. */
.shipment-history-card .shipment-history-heading h3{font:800 26px/34px Inter,system-ui,sans-serif!important;padding-top:14px!important;padding-bottom:18px!important;display:flex!important;align-items:center!important;min-height:34px}
.shipment-history-card .shipment-history-heading h3{padding-bottom:8px!important;margin-bottom:0!important}
.shipment-history-card .shipment-history-info{margin-top:-4px}
.shipment-history-card .shipment-history-heading h3{font:800 22px/34px Inter,system-ui,sans-serif!important;padding-right:0!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;padding-top:14px!important;padding-bottom:8px!important}
.shipment-history-card .shipment-history-card-actions .btn.whatsapp{padding:0 10px!important;font-size:12px!important;gap:5px!important}

/* v220 · Tarjeta de envío aprobada: franja con logo y WhatsApp, datos del cliente, detalle plegable */
.shipment-history-featured-card{padding:0!important;overflow:hidden!important;margin-bottom:16px}
.shipment-history-featured-card .ship-band{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;background:#EAF6F8}
.shipment-history-featured-card .store-logo-band{height:30px;width:auto;max-width:110px;object-fit:contain;flex:none}
.shipment-history-featured-card .ship-wa{display:inline-flex;align-items:center;gap:6px;background:#25D366;color:#fff;border:0;font:700 12px/1 Inter,system-ui,sans-serif;padding:8px 12px 8px 9px;border-radius:999px;white-space:nowrap;margin:0;box-shadow:none;position:static}
.shipment-history-featured-card .ship-wa svg{width:15px;height:15px;fill:#fff;flex:none}
.shipment-history-featured-card .shipment-history-info{padding:14px 16px 0!important;display:block!important}
.shipment-history-featured-card .shipment-history-heading{display:block!important;margin:0!important;padding:0!important}
.shipment-history-featured-card h3{padding:0!important;margin:0!important;height:auto!important;font:700 19px/1.2 Inter,system-ui,sans-serif!important;color:#182A31!important;white-space:normal!important}
.shipment-history-featured-card .sh-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.shipment-history-featured-card .sh-dr{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.shipment-history-featured-card .sh-dr .shipment-history-doc{margin:0!important;font:700 14px/1.2 Inter,system-ui,sans-serif!important;color:#182A31!important}
.shipment-history-featured-card .ship-toggle{background:#EEF4F6;color:#0E6E7E;padding:9px 14px;border-radius:999px;font:700 13px/1 Inter,system-ui,sans-serif;border:0;white-space:nowrap;margin:0;box-shadow:none;flex:none}
.shipment-history-featured-card:not(.open) .sh-more{display:none!important}
.shipment-history-featured-card .sh-more .shipment-history-data{margin:14px 0 0!important;padding:14px 0 0!important;border-top:1px solid #E6E6E4!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 14px!important}
.shipment-history-featured-card .sh-more .shipment-history-data>span:first-child{grid-column:auto!important}
.shipment-history-featured-card .sh-more .shipment-history-data .km-amt{grid-column:1/-1}
.shipment-history-featured-card .sh-more .shipment-key-row{margin-top:14px}
.shipment-history-featured-card .sh-more .shipment-history-featured-photos{margin-top:14px}
.shipment-history-featured-card .shipment-history-agency{display:none!important}
html body .shipment-history-featured-card .shipment-history-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:auto!important;max-width:none!important;align-self:stretch!important;box-sizing:border-box!important;margin:14px 0 0!important;padding:12px 16px 16px!important;border-top:1px solid #E6E6E4!important;align-items:stretch!important}
html body .shipment-history-featured-card .shipment-history-card-actions>*{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:48px!important;margin:0!important;padding:0 18px!important;box-sizing:border-box!important;font:700 14px/1 Inter,system-ui,sans-serif!important;border-radius:14px!important;text-align:center!important;white-space:nowrap!important;gap:8px!important;background-repeat:no-repeat!important;background-size:18px 18px!important;background-position:left 12px center!important;position:static!important;box-shadow:none!important}

/* v222 · Resumen rápido en la tarjeta cerrada y monto sin banda */
.shipment-history-featured-card .sh-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.shipment-history-featured-card .sh-strip>div{background:#F4F6F7;border-radius:12px;padding:9px 10px;min-width:0}
.shipment-history-featured-card .sh-strip small{display:block;font:600 10px/1.2 Inter,system-ui,sans-serif;color:#6B7378}
.shipment-history-featured-card .sh-strip strong{display:block;font:700 13px/1.2 Inter,system-ui,sans-serif;color:#182A31;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shipment-history-featured-card .sh-more .km-amt{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;color:inherit!important;border-radius:0!important}
.shipment-history-featured-card .sh-more .km-amt small{color:#6B7378!important}
.shipment-history-featured-card .sh-more .km-amt strong{color:#182A31!important}

.shipment-history-featured-card .sh-strip.sh-n4{grid-template-columns:1fr 1fr}
.shipment-history-featured-card .sh-strip .sh-two{display:flex;flex-direction:column;justify-content:center;gap:4px;font:600 11px/1.2 Inter,system-ui,sans-serif;color:#6B7378;min-width:0}
.shipment-history-featured-card .sh-strip .sh-two span{display:flex;justify-content:space-between;gap:6px;white-space:nowrap}
.shipment-history-featured-card .sh-strip .sh-two b{color:#182A31;font-weight:700}
.shipment-history-featured-card .sh-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.shipment-history-featured-card .sh-strip>div{overflow:hidden}
.shipment-history-featured-card .sh-strip .sh-two{font-size:10.5px!important;gap:4px!important;padding:9px 10px!important;background:#F4F6F7!important;border-radius:12px!important;justify-content:center!important;min-width:0!important}
.shipment-history-featured-card .sh-strip .sh-two span{gap:4px!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis}
html body .shipment-history-featured-card h3{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:anywhere!important}
html body .shipment-history-featured-card .sh-strip .sh-two{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important}
html body .shipment-history-featured-card .sh-strip .sh-two span{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:10.5px!important;line-height:1.25!important;width:100%}
html body .shipment-history-featured-card .sh-strip .sh-two b{display:inline!important}
html body .shipment-history-featured-card .shipment-history-heading h3{display:block!important;flex:0 0 auto!important;width:100%!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.2!important;font:700 19px/1.2 Inter,system-ui,sans-serif!important}
/* v230 · Datos de la vista abierta en cuadrícula equilibrada: si la cantidad es impar, el último ocupa todo el ancho */
.shipment-history-featured-card .sh-more .shipment-history-data{gap:12px 14px!important;margin-top:12px!important;padding-top:12px!important}
.shipment-history-featured-card .sh-more .shipment-history-data>span:last-child:nth-child(odd){grid-column:1/-1!important}
/* v233 · Buscador de oficinas Marvisur en el registro de la venta */
#marv-office-wrap{margin-top:12px}
#marv-office-search{width:100%;min-height:44px;border:1px solid #D9D9D6;border-radius:12px;padding:0 14px;font:600 14px/1.2 Inter,system-ui,sans-serif;background:#fff;color:#182A31;box-sizing:border-box}
#marv-office-list{margin-top:8px;max-height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}
.marv-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;width:100%;padding:10px 12px;border:1px solid #E6E6E4;border-radius:12px;background:#fff;font:inherit;color:#182A31;cursor:pointer}
.marv-item strong{font:700 14px/1.2 Inter,system-ui,sans-serif}
.marv-item small{font:500 12px/1.3 Inter,system-ui,sans-serif;color:#6B7378}
.marv-empty{margin:6px 0;font:600 13px/1.2 Inter,system-ui,sans-serif;color:#6B7378}
.marv-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:#EAF6F8;margin-top:8px}
.marv-pick strong{display:block;font:700 14px/1.2 Inter,system-ui,sans-serif;color:#182A31}
.marv-pick small{display:block;font:500 12px/1.3 Inter,system-ui,sans-serif;color:#6B7378}
.marv-change{border:0;border-radius:999px;background:#182A31;color:#fff;font:700 12px/1 Inter,system-ui,sans-serif;padding:9px 14px;flex:none;cursor:pointer}
/* v238 · Diálogo «Editar envío» (reemplaza la vista previa) */
.se-overlay{position:fixed;inset:0;background:rgba(24,42,49,.55);z-index:90;display:flex;align-items:flex-end;justify-content:center;padding:0}
.se-overlay[hidden]{display:none}
.se-card{background:#F7F7F5;width:100%;max-width:520px;max-height:88vh;border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -10px 30px rgba(0,0,0,.2)}
.se-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #E6E6E4;font:700 16px/1.2 Inter,system-ui,sans-serif;color:#182A31}
.se-x{border:0;background:#EFEFED;border-radius:999px;width:32px;height:32px;font-size:18px;color:#182A31}
.se-body{padding:14px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;font:500 14px/1.3 Inter,system-ui,sans-serif;color:#182A31}
.se-lbl{font:600 12px/1.2 Inter,system-ui,sans-serif;color:#6B7378;margin-top:8px}
.se-chips{display:flex;gap:8px;flex-wrap:wrap}
.se-chip{border:1px solid #D9D9D6;background:#fff;border-radius:999px;padding:8px 14px;font:700 13px/1 Inter,system-ui,sans-serif;color:#182A31}
.se-chip.on{background:#182A31;color:#fff;border-color:#182A31}
.se-body input,.se-body select{width:100%;min-height:42px;border:1px solid #D9D9D6;border-radius:12px;padding:0 12px;font:600 14px/1.2 Inter,system-ui,sans-serif;background:#fff;color:#182A31;box-sizing:border-box}
.se-list{display:flex;flex-direction:column;gap:6px;max-height:260px;overflow-y:auto}
.se-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;width:100%;padding:9px 11px;border:1px solid #E6E6E4;border-radius:12px;background:#fff;color:#182A31;font:inherit;cursor:pointer}
.se-row b{font-size:14px}.se-row small{font-size:12px;color:#6B7378}
.se-row.on{border-color:#0E6E7E;background:#EAF6F8}
.se-empty{margin:6px 0;font:600 13px/1.2 Inter,system-ui,sans-serif;color:#6B7378}
.se-pick{margin-top:6px;padding:10px 12px;border-radius:12px;background:#EAF6F8;display:flex;flex-direction:column;gap:2px}
.se-pick small{font-size:11px;color:#6B7378}
.se-foot{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #E6E6E4;background:#fff}
.se-foot .btn{flex:1;height:44px;border-radius:12px}

/* v459 · Editar envío en 4 pasos (Agencia · Oficina · Quién recibe · Monto) */
#ship-edit .se-body{gap:10px;padding:12px 14px 16px;background:#F2F4F3}
#ship-edit .se-card{background:#F2F4F3}
#ship-edit .se-acc{background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(11,18,21,.05),0 4px 14px rgba(11,18,21,.06);flex-shrink:0;overflow:hidden}
#ship-edit .se-acch{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:13px;text-align:left;cursor:pointer;font-family:Inter,system-ui,sans-serif}
#ship-edit .se-n{width:28px;height:28px;border-radius:50%;background:#182A31;color:#fff;display:grid;place-items:center;font:800 12.5px Inter,sans-serif;flex:none}#ship-edit .se-n.ok{background:#16A34A}
#ship-edit .se-tx{flex:1;min-width:0}#ship-edit .se-tx b{display:block;font:800 15px Inter,sans-serif;color:#16262D}#ship-edit .se-tx span{display:block;font-size:12.5px;color:#6B7A80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ship-edit .se-lgi{height:24px;width:auto;max-width:74px;object-fit:contain;border-radius:5px;flex:none}
#ship-edit .se-cb{color:#E0335A;font:800 13px Inter,sans-serif;flex:none}
#ship-edit .se-accb{padding:0 13px 13px;display:flex;flex-direction:column;gap:10px}
#ship-edit .se-next{border:0;border-radius:14px;padding:13px;background:#182A31;color:#fff;font:800 14.5px Inter,sans-serif;cursor:pointer}
#ship-edit .se-ags{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#ship-edit .se-ag{border:2px solid transparent;background:#fff;border-radius:16px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08);font:800 12.5px Inter,sans-serif;color:#16262D}
#ship-edit .se-ag img{height:30px;max-width:100%;object-fit:contain}#ship-edit .se-ag.on{border-color:#182A31;box-shadow:0 0 0 3px rgba(24,42,49,.08)}
#ship-edit .se-ot{height:30px;display:grid;place-items:center;padding:0 12px;border-radius:8px;background:#E7ECEB;font:800 12px Inter,sans-serif}
#ship-edit .se-in{width:100%;border:1.5px solid #D7DFE2!important;border-radius:12px!important;padding:12px!important;font:500 15px Inter,sans-serif!important;background:#fff!important;height:auto!important;box-shadow:none!important}
#ship-edit .e1-two{display:flex;gap:8px;align-items:stretch}
#ship-edit .e1-srch{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:50px;padding:0 10px 0 14px;border-radius:10px;background:#fff;border:1.5px solid #E3E5E3}#ship-edit .e1-srch.sh{border-color:#ED1C24}#ship-edit .e1-srch.mv{border-color:#1B2F6B}
#ship-edit .e1-srch svg{width:19px;height:19px;flex:none;fill:none;stroke:#6E6E6E;stroke-width:2;stroke-linecap:round}
html body #ship-edit .e1-srch input#se-q{flex:1;min-width:0;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;background-image:none!important;outline:0;font:500 15px Inter,sans-serif;color:#333}
#ship-edit .se-dep{position:relative;display:flex;align-items:center;gap:4px;height:50px;border-radius:10px;border:1.5px solid currentColor;background:#fff;padding:0 6px 0 10px;flex:none;max-width:44%}#ship-edit .se-dep.sh{color:#ED1C24}#ship-edit .se-dep.mv{color:#1B2F6B}
#ship-edit .se-dep svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;flex:none}
html body #ship-edit .se-dep select{border:0!important;background:transparent!important;font:800 13.5px Inter,sans-serif!important;color:inherit!important;padding:0 2px!important;height:auto!important;box-shadow:none!important;max-width:100%;outline:0;-webkit-appearance:none;appearance:none}
#ship-edit .e1-list{max-height:300px;overflow-y:auto;border-radius:12px;border:1px solid #EFEFEF;background:#fff}
#ship-edit .e1-row{width:100%;border:0;background:transparent;text-align:left;display:flex;gap:12px;align-items:flex-start;padding:12px;border-bottom:1px solid #F1F1F1;cursor:pointer;font-family:Inter,sans-serif}#ship-edit .e1-row:last-child{border-bottom:0}
#ship-edit .e1-row .p svg{width:24px;height:24px;fill:none;stroke:#ED1C24;stroke-width:1.8}#ship-edit .e1-row .t{flex:1;min-width:0}#ship-edit .e1-row b{display:block;font-weight:600;font-size:15px;color:#444}
#ship-edit .e1-row .a{display:block;margin-top:2px;font-size:12px;color:#9A9A9A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#ship-edit .e1-row .d{display:block;margin-top:1px;font-size:11.5px;color:#8C8C8C}
#ship-edit .e1-row small{font-weight:800;font-size:11.5px;color:#ED1C24;white-space:nowrap}
#ship-edit .e1-row.mv .tri{display:block;width:0;height:0;border-left:12px solid #E31E24;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-top:3px}#ship-edit .e1-row.mv b{font:italic 800 14.5px Inter,sans-serif;color:#E31E24}#ship-edit .e1-row.mv .a{color:#1B2F6B;white-space:normal}#ship-edit .e1-row.mv small{color:#1B2F6B}
#ship-edit .se-empty{padding:14px;margin:0;color:#6B7A80;font-size:13px}
#ship-edit .e1-pick{border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1.5px #E3E5E3;background:#fff}#ship-edit .e1h{display:flex;align-items:center;gap:10px;padding:10px 12px}#ship-edit .e1h.sh{background:#ED1C24}#ship-edit .e1h.mv{background:#fff;border-bottom:3px solid #E31E24}
#ship-edit .e1h img{height:24px;display:block}#ship-edit .e1h.mv img{height:34px}#ship-edit .e1h .ok{margin-left:auto;font-size:10.5px;font-weight:800;letter-spacing:.06em;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.22);color:#fff}#ship-edit .e1h.mv .ok{background:#1B2F6B}
#ship-edit .e1-pick .pb{padding:12px 14px;display:flex;gap:12px;align-items:flex-start}#ship-edit .e1-pick .pb .t{flex:1;min-width:0}#ship-edit .e1-pick .pb b{display:block;font-weight:800;font-size:16px;color:#182A31}#ship-edit .e1-pick .pb span{display:block;margin-top:3px;font-size:12.5px;color:#6B7378;line-height:1.4}
#ship-edit .e1-sz{display:inline-flex;margin-top:8px;height:24px;align-items:center;padding:0 10px;border-radius:999px;background:#FFF0F0;color:#ED1C24;font-style:normal;font-weight:800;font-size:11.5px}
#ship-edit .se-chg{border:0;background:#F2F4F3;border-radius:999px;padding:8px 12px;font:800 12px Inter,sans-serif;color:#16262D;cursor:pointer;flex:none}
#ship-edit .se-fxbox{background:#fff;border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1.5px #EEF1F2}
#ship-edit .se-fx{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid #EEF1F2;cursor:text;margin:0}#ship-edit .se-fx:last-child{border-bottom:0}
#ship-edit .se-fic{width:36px;height:36px;border-radius:11px;background:#F2F4F3;display:grid;place-items:center;flex:none}#ship-edit .se-fic svg{width:18px;height:18px;fill:none;stroke:#16262D;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#ship-edit .se-fb{flex:1;min-width:0}#ship-edit .se-fb small{display:block;font:800 10.5px Inter,sans-serif;letter-spacing:.06em;color:#8A979C;text-transform:uppercase}#ship-edit .se-fb small s{text-transform:none;letter-spacing:0;font-weight:600;color:#C2264B}
html body #ship-edit .se-fb input{width:100%!important;border:0!important;outline:0;background:transparent!important;font:700 16px Inter,sans-serif!important;color:#16262D;padding:2px 0 0!important;height:auto!important;box-shadow:none!important;margin:0!important}
#ship-edit .se-fx.ch{background:#FFFBEA}#ship-edit .se-fx.ch .se-fic{background:#FFF1C2}
#ship-edit .se-hint{margin:0;font-size:12.5px;color:#6B7A80;line-height:1.45}
#ship-edit .se-amt{display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;padding:6px 14px;box-shadow:inset 0 0 0 1.5px #EEF1F2}#ship-edit .se-amt span{font:800 22px Inter,sans-serif;color:#6B7A80}
html body #ship-edit .se-amt input{flex:1;min-width:0;border:0!important;outline:0;background:transparent!important;font:800 30px Inter,sans-serif!important;color:#16262D;padding:4px 0!important;height:auto!important;box-shadow:none!important}
#ship-edit .se-qa{display:flex;gap:6px;flex-wrap:wrap}#ship-edit .se-q{border:1.5px solid #D7DFE2;background:#fff;border-radius:999px;padding:7px 12px;font:700 12.5px Inter,sans-serif;cursor:pointer;color:#16262D}#ship-edit .se-q.on{background:#182A31;border-color:#182A31;color:#fff}