/* Livay v430 · Áreas «Envíos & Despachos» y «Envíos Lima» (modelo aprobado: tarjeta compacta + Ver detalle, como Historial de envíos) */
#ed-area{position:fixed;inset:0;z-index:55;background:#EFEFED;color:#16262D;overflow-y:auto;-webkit-overflow-scrolling:touch;display:none;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
html.ed-open #ed-area{display:block}
html.ed-open body{overflow:hidden}
#ed-area *{box-sizing:border-box}
#ed-area button{font-family:inherit;color:inherit;cursor:pointer}
#ed-area .ed-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;background:#16262D;color:#EFEFED;padding:calc(12px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));border-bottom:3px solid #E0335A}
#ed-area .ed-logo{width:44px;height:44px;border:0;border-radius:13px;overflow:hidden;padding:0;background:#16262D;flex:none}
#ed-area .ed-logo img{width:100%;height:100%;object-fit:cover;display:block}
#ed-area .ed-top b{display:block;font:800 17px/1.15 Inter,sans-serif}#ed-area .ed-top small{display:block;font:500 12px/1.2 Inter,sans-serif;opacity:.7}
/* pestañas Envíos Chimbote · Envíos Lima */
#ed-area .ed-tabs{position:sticky;top:calc(71px + env(safe-area-inset-top));z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:4px;max-width:1100px;margin:12px auto 0;padding:4px;background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(11,18,21,.05),0 4px 14px rgba(11,18,21,.06);width:calc(100% - 2 * max(16px,env(safe-area-inset-left)))}
#ed-area .ed-tabs button{border:0;background:transparent;border-radius:12px;height:44px;font:800 14px/1 Inter,sans-serif;color:#6B7479;display:flex;align-items:center;justify-content:center;gap:8px}
#ed-area .ed-tabs button em{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#EEF0EE;color:#16262D;font:800 11.5px/22px Inter,sans-serif}
#ed-area .ed-tabs button.on{background:#16262D;color:#fff}
#ed-area .ed-tabs button.on em{background:#E0335A;color:#fff}
#ed-area .ed-chip.ej{background:#EEF0EE;border-color:#EEF0EE;color:#6B7479}
#ed-area .ed-wrap{max-width:1100px;margin:0 auto;padding:12px max(16px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
#ed-area .ed-side{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}
#ed-area .ed-side h4{display:none;margin:4px 0 0;font:800 11px/1 Inter,sans-serif;letter-spacing:.12em;color:#6B7479}
#ed-area .ed-srch{display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;padding:0 12px;height:46px;border:1px solid #E6E8E7}
#ed-area .ed-srch svg{width:18px;height:18px;fill:none;stroke:#6B7479;stroke-width:2.2;flex:none}
#ed-area .ed-srch input{flex:1;min-width:0;border:0;outline:0;background:none;font:600 14px Inter,sans-serif;color:#16262D}
html body #ed-area .ed-srch input:not(#_a1):not(#_a2){border:0!important;box-shadow:none!important;background:transparent!important;height:auto!important;min-height:0!important;padding:0!important;border-radius:0!important;outline:0!important;-webkit-text-fill-color:#16262D}
#ed-area .ed-srch:focus-within{border-color:#16262D}
#ed-area .ed-ch{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}#ed-area .ed-ch::-webkit-scrollbar{display:none}
#ed-area .ed-ch button,#ed-area .ed-ch label{flex:none;border:0;background:#fff;border-radius:99px;padding:8px 13px;font:700 12.5px/1 Inter,sans-serif;display:flex;align-items:center;gap:6px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05);white-space:nowrap;position:relative;color:#16262D}
#ed-area .ed-ch button.on,#ed-area .ed-ch label.on{background:#16262D;color:#fff}
#ed-area .ed-ch label svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round}
#ed-area .ed-ch label input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;left:0;bottom:0}
#ed-area .ed-res{font:600 12px/1 Inter,sans-serif;color:#6B7479;padding:2px 2px 0}
#ed-area .ed-day{text-align:center;padding:12px 0 8px}
#ed-area .ed-day span{background:#16262D;color:#fff;border-radius:99px;padding:4px 12px;font:800 11.5px/1.4 Inter,sans-serif}
#ed-area .ed-grid{display:flex;flex-direction:column;gap:12px}
#ed-area .ed-empty{background:#fff;border-radius:20px;padding:26px 18px;text-align:center;margin-top:10px}
#ed-area .ed-empty b{display:block;font:800 15px/1.3 Inter,sans-serif}#ed-area .ed-empty p{margin:6px 0 0;font:500 13px/1.45 Inter,sans-serif;color:#6B7479}
/* tarjeta */
#ed-area .ed-c{background:#fff;border-radius:18px;padding:12px;box-shadow:0 1px 2px rgba(11,18,21,.05),0 4px 14px rgba(11,18,21,.06);display:flex;flex-direction:column;gap:8px;min-width:0}
#ed-area .ed-hd{display:flex;align-items:center;gap:8px;min-height:40px}
#ed-area .ed-hd .t{flex:1;min-width:0}
#ed-area .ed-hd b{display:block;font:800 15px/1.25 Inter,sans-serif}
#ed-area .ed-hd small{display:block;font:600 12px/1.3 Inter,sans-serif;color:#6B7479;margin-top:1px}
#ed-area .ed-slg{height:28px;width:auto;display:block;flex:none}
#ed-area .ed-cn{font:800 17px/1.25 Inter,sans-serif;overflow-wrap:anywhere}
#ed-area .ed-chs{display:flex;flex-wrap:wrap;gap:6px}
#ed-area .ed-chip{border:1px solid #E6E8E7;background:#fff;border-radius:99px;padding:3px 10px;font:700 12px/1.4 Inter,sans-serif}
#ed-area .ed-chip.dk{background:#16262D;border-color:#16262D;color:#fff}
#ed-area .ed-chip.mod{background:#FEF0E1;border-color:#F5D2AE;color:#B54708}
#ed-area .ed-est{border-radius:99px;padding:3px 10px;font:800 12px/1.4 Inter,sans-serif}
#ed-area .ed-est.ok{background:#E5F5EC;color:#18794E;border:1px solid #BFE5CF}
#ed-area .ed-est.pend{background:#FEF0E1;color:#B54708;border:1px solid #F5D2AE}
#ed-area .ed-r3{display:flex;align-items:center;gap:8px}
#ed-area .ed-r3 b{flex:1;min-width:0;font:800 14px/1.3 Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ed-area .ed-vd{flex:none;border:0;background:#E7EEF1;border-radius:99px;padding:7px 12px;font:800 12px/1 Inter,sans-serif;display:flex;align-items:center;gap:4px}
#ed-area .ed-vd i{font-style:normal;display:inline-block;transition:transform .2s}#ed-area .ed-c.open .ed-vd i{transform:rotate(180deg)}
#ed-area .ed-det{display:flex;flex-direction:column;gap:8px;border-top:1px solid #E6E8E7;padding-top:10px;margin-top:2px}
#ed-area .ed-ims{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ed-area .ed-th{border:1px solid #E6E8E7;padding:0;background:#F5F6F5;border-radius:12px;overflow:hidden;position:relative;display:block;width:100%;height:150px;cursor:zoom-in}
#ed-area .ed-th img{width:100%;height:100%;object-fit:cover;object-position:left top;display:block}
#ed-area .ed-th img.a{object-fit:contain;object-position:center;background:#F1F1F6}
#ed-area .ed-th small{position:absolute;left:7px;bottom:7px;background:rgba(22,38,45,.88);color:#fff;font:800 10.5px/1.3 Inter,sans-serif;padding:3px 8px;border-radius:99px}
#ed-area .ed-th .zm{position:absolute;right:7px;top:7px;width:26px;height:26px;border-radius:50%;background:rgba(22,38,45,.75);display:grid;place-items:center}
#ed-area .ed-th .zm svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round}
#ed-area .ed-th0{cursor:default;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px}
#ed-area .ed-th0 span{font:600 12px/1.3 Inter,sans-serif;color:#6B7479}
#ed-area .ed-agd{display:grid;grid-template-columns:1fr 2fr;gap:8px}
#ed-area .ed-agt{border-radius:12px;display:grid;place-items:center;height:56px;padding:10px 12px;background:#F5F6F5}
#ed-area .ed-agt.sh{background:#ED1C24}#ed-area .ed-agt.mv{background:#fff;border:1px solid #E6E8E7}
#ed-area .ed-agt img{max-width:100%;max-height:30px;width:auto;height:auto;display:block}
#ed-area .ed-agt b{font:800 13px/1.2 Inter,sans-serif;text-align:center}
#ed-area .ed-agi{background:#F5F6F5;border-radius:12px;padding:8px 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}
#ed-area .ed-agi b,#ed-area .ed-dta b{display:block;font:800 15px/1.3 Inter,sans-serif;overflow-wrap:anywhere}
#ed-area .ed-agi small,#ed-area .ed-dta small{display:block;font:700 11px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6B7479;margin:0 0 2px}
#ed-area .ed-agi em,#ed-area .ed-dta em{display:block;font:700 11.5px/1.3 Inter,sans-serif;font-style:normal;color:#B54708;margin-top:2px}
#ed-area .ed-dta{display:grid;gap:8px}
#ed-area .ed-dta .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ed-area .ed-dta .tl{background:#F5F6F5;border-radius:12px;padding:8px 12px;min-width:0}
#ed-area .ed-dta .tl span{display:block;font:600 12px/1.3 Inter,sans-serif;color:#6B7479;margin-top:1px}
#ed-area .ed-btn-env{border:0;height:46px;border-radius:12px;background:#18794E;color:#fff;font:800 14px/1 Inter,sans-serif}
#ed-area .ed-envd{background:#E5F5EC;color:#18794E;border-radius:12px;padding:9px 12px;font:700 12.5px/1.4 Inter,sans-serif}
#ed-area .ed-undo{border:0;background:none;color:#16262D;text-decoration:underline;font:700 12px Inter,sans-serif;padding:0 0 0 4px}
#ed-area .ed-envp{background:#F5F6F5;color:#6B7479;border-radius:12px;padding:9px 12px;font:600 12.5px/1.4 Inter,sans-serif}
#ed-area .ed-ft{display:flex;align-items:center;gap:8px;font:600 12px/1.3 Inter,sans-serif;color:#6B7479}#ed-area .ed-ft span{flex:1}
#ed-area .ed-cpb{border:0;background:#F5F6F5;border-radius:10px;height:34px;padding:0 11px;font:800 12px/1 Inter,sans-serif;display:flex;align-items:center;gap:5px}
#ed-area .ed-cpb svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* visor grande */
#ed-area .ed-vw{position:fixed;inset:0;z-index:20;background:rgba(11,18,21,.94);display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
#ed-area .ed-vw[hidden]{display:none}
#ed-area .ed-vw .vh{display:flex;align-items:center;gap:10px;padding:12px 16px;color:#fff}
#ed-area .ed-vw .vh .t{flex:1;min-width:0}#ed-area .ed-vw .vh b{display:block;font:800 15px/1.3 Inter,sans-serif}#ed-area .ed-vw .vh small{color:#B9C3C7;font:500 12px/1.3 Inter,sans-serif}
#ed-area .ed-vw .x{width:40px;height:40px;border-radius:12px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:17px;flex:none}
#ed-area .ed-vw .stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:6px 16px;overflow:auto}
#ed-area .ed-vw .stage img{max-width:100%;max-height:100%;border-radius:10px;background:#fff;display:block}
#ed-area .ed-vw .sw{display:flex;gap:8px;justify-content:center;padding:6px 16px 16px;flex-wrap:wrap}
#ed-area .ed-vw .sw button,#ed-area .ed-vw .sw a{border:0;border-radius:99px;padding:10px 16px;font:800 13px/1 Inter,sans-serif;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;display:flex;align-items:center;gap:6px}
#ed-area .ed-vw .sw button.on{background:#fff;color:#16262D}
#ed-area .ed-vw .sw a{background:#E0335A}#ed-area .ed-vw .sw a svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* laptop: filtros a la izquierda y envíos en dos columnas */
@media (min-width:980px){
  #ed-area .ed-wrap{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
  #ed-area .ed-side{position:sticky;top:calc(136px + env(safe-area-inset-top));background:#fff;border-radius:18px;padding:14px;box-shadow:0 1px 2px rgba(11,18,21,.05)}
  #ed-area .ed-side h4{display:block}
  #ed-area .ed-ch{flex-direction:column;overflow:visible}
  #ed-area .ed-ch button,#ed-area .ed-ch label{justify-content:flex-start;background:#F5F6F5;box-shadow:none;border-radius:12px;padding:11px 12px}
  #ed-area .ed-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
  #ed-area .ed-th{height:170px}
}
@media (prefers-reduced-motion:reduce){#ed-area .ed-vd i{transition:none}}

/* v430-3 · tarjetas cuadradas y pequeñas en cuadrícula (2 por fila en el celular) */
#ed-area .ed-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(158px,1fr))!important;gap:10px!important;align-items:stretch!important}
#ed-area .ed-q{background:#fff;border-radius:16px;padding:10px;box-shadow:0 1px 2px rgba(11,18,21,.05),0 4px 14px rgba(11,18,21,.06);display:flex;flex-direction:column;gap:4px;min-width:0;min-height:168px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s}
#ed-area .ed-q:active{transform:scale(.98)}
#ed-area .ed-q:focus-visible{outline:3px solid #E0335A;outline-offset:2px}
#ed-area .ed-q .q1{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:24px}
#ed-area .ed-q .q1 .ed-slg{height:20px}
#ed-area .ed-q .ed-est{padding:2px 7px;font-size:10.5px;white-space:nowrap}
#ed-area .ed-q .q2{font:800 14px/1.2 Inter,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px}
#ed-area .ed-q .q3,#ed-area .ed-q .q4{font:600 11.5px/1.3 Inter,sans-serif;color:#6B7479;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ed-area .ed-q .q5{display:flex;align-items:center;gap:6px;min-width:0;margin-top:2px}
#ed-area .ed-q .q5 .ag{flex:none;height:20px;width:50px;border-radius:6px;display:grid;place-items:center;padding:3px 5px}
#ed-area .ed-q .q5 .ag.sh{background:#ED1C24}#ed-area .ed-q .q5 .ag.mv{background:#fff;border:1px solid #E6E8E7}
#ed-area .ed-q .q5 .ag img{max-width:100%;max-height:13px;display:block}
#ed-area .ed-q .q5 .of{font:700 11.5px/1.2 Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#ed-area .ed-q .q6{display:flex;flex-wrap:wrap;gap:4px}
#ed-area .ed-q .q6 .ed-chip{padding:1px 7px;font-size:10.5px}
#ed-area .ed-q .ed-vd{margin-top:auto;justify-content:center;height:30px;border-radius:10px;font-size:11.5px;padding:0 8px}
/* detalle en ventana aparte */
#ed-area .ed-sheet{position:fixed;inset:0;z-index:15;background:rgba(11,18,21,.45);display:flex;align-items:flex-end;justify-content:center}
#ed-area .ed-sheet[hidden]{display:none}
#ed-area .ed-sheet .bx{background:#EFEFED;width:min(560px,100%);max-height:calc(100dvh - 24px - env(safe-area-inset-top));overflow-y:auto;border-radius:22px 22px 0 0;padding:14px 14px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;box-shadow:0 -10px 40px rgba(11,18,21,.25)}
#ed-area .ed-dh{display:flex;align-items:center;gap:10px}
#ed-area .ed-dh .t{flex:1;min-width:0}#ed-area .ed-dh b{display:block;font:800 17px/1.25 Inter,sans-serif}
#ed-area .ed-dh small{display:block;font:600 12px/1.35 Inter,sans-serif;color:#6B7479;margin-top:2px}
#ed-area .ed-dh .ed-slg{height:26px}
#ed-area .ed-dh .x{width:38px;height:38px;border-radius:12px;border:0;background:#fff;font-size:16px;flex:none}

@media (min-width:980px){#ed-area .ed-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important}#ed-area .ed-sheet{align-items:center}#ed-area .ed-sheet .bx{border-radius:22px;max-height:calc(100dvh - 48px)}}
/* v430-5 · filtros con el mismo modelo de Notas de venta (tarjeta, buscador blanco redondo, píldoras con número) */
#ed-area .ed-fcard{background:#F6F6F4;border:.8px solid rgba(24,42,49,.09);border-radius:20px;padding:14px;box-shadow:0 1px 2px rgba(11,18,21,.04);display:flex;flex-direction:column;gap:10px;margin-bottom:4px;position:relative}
#ed-area .ed-fcard .ed-srch{background:#fff;border:0;border-radius:999px;height:46px;padding:0 14px;box-shadow:0 1px 2px rgba(24,42,49,.06),0 4px 14px rgba(24,42,49,.05)}
html body #ed-area .ed-fcard .ed-srch input:not(#_a1):not(#_a2){font:500 15px Inter,sans-serif!important}
#ed-area .ed-fcard .ed-ch{gap:6px}
#ed-area .ed-fcard .ed-ch button{height:36px;padding:0 13px;border-radius:999px;background:#fff;border:.8px solid rgba(24,42,49,.09);box-shadow:none;font:700 12.75px/1 Inter,sans-serif;color:#0B1215;display:flex;align-items:center;gap:7px}
#ed-area .ed-fcard .ed-ch button em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:rgba(24,42,49,.08);font:800 11px/20px Inter,sans-serif;text-align:center}
#ed-area .ed-fcard .ed-ch button.warn em{background:#FDE7D3;color:#B54708}
#ed-area .ed-fcard .ed-ch button.on{background:#182A31;border-color:#182A31;color:#fff}
#ed-area .ed-fcard .ed-ch button.on em{background:rgba(255,255,255,.18);color:#fff}
#ed-area .ed-fl2{display:flex;align-items:center;gap:8px;min-width:0}
#ed-area .ed-fsel{display:flex;align-items:center;gap:6px;height:36px;padding:0 6px 0 12px;border-radius:999px;background:#fff;border:.8px solid rgba(24,42,49,.09);min-width:0;flex:none;max-width:70%}
#ed-area .ed-fsel.on{background:#182A31;border-color:#182A31;color:#fff}
#ed-area .ed-fsel svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;flex:none}
html body #ed-area .ed-fsel select:not(#_a1){border:0!important;background:transparent!important;color:inherit!important;-webkit-text-fill-color:currentColor;font:700 12.75px Inter,sans-serif!important;height:34px!important;padding:0 4px!important;box-shadow:none!important;outline:0;min-width:0;max-width:100%;cursor:pointer}
#ed-area .ed-fsel.on select option{color:#16262D}
#ed-area .ed-fdate{position:absolute;left:24px;bottom:10px;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}
#ed-area .ed-fl2 .ed-res{margin-left:auto;font:600 12px/1 Inter,sans-serif;color:#6B7479;white-space:nowrap;padding:0}
@media (min-width:980px){
  #ed-area .ed-wrap{display:block!important}
  #ed-area .ed-fcard{flex-direction:row;flex-wrap:wrap;align-items:center}
  #ed-area .ed-fcard .ed-srch{flex:1 1 320px}
  #ed-area .ed-fcard .ed-ch{flex-direction:row!important}
  #ed-area .ed-fcard .ed-ch button{justify-content:center}
  #ed-area .ed-fl2{flex:1 1 260px}
}
/* v430-8 · sin la barra de secciones de abajo dentro del área */
html.ed-open .bottom-nav,html.ed-open .lv-sb,html.ed-open nav.bottom-nav{display:none!important}
/* pestañas del mismo ancho que los filtros */
#ed-area .ed-tabs{position:static!important;width:auto!important;margin:0 0 10px!important;max-width:none!important}
/* tarjetas más grandes */
#ed-area .ed-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:12px!important}
#ed-area .ed-q{padding:14px;gap:6px;min-height:0;border-radius:18px}
#ed-area .ed-q .q1 .ed-slg{height:26px}
#ed-area .ed-q .ed-est{font-size:12px;padding:3px 10px}
#ed-area .ed-q .q2{font-size:17px}
#ed-area .ed-q .q3,#ed-area .ed-q .q4{font-size:13px}
/* agencia como en «En espera»: logo en su color + nombre de la agencia */
#ed-area .ed-q .q5{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin-top:4px}
#ed-area .ed-q .q5 .ag{width:auto;height:48px;border-radius:12px;padding:8px 10px}
#ed-area .ed-q .q5 .ag.x{background:#F5F6F5}#ed-area .ed-q .q5 .ag.x b{font:800 12px/1.1 Inter,sans-serif;text-align:center}
#ed-area .ed-q .q5 .ag img{max-height:26px;max-width:100%;width:auto;height:auto}
#ed-area .ed-q .q5 .of{display:flex;flex-direction:column;justify-content:center;background:#F5F6F5;border-radius:12px;padding:6px 10px;min-width:0;white-space:normal}
#ed-area .ed-q .q5 .of small{font:700 10px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6B7479}
#ed-area .ed-q .q5 .of b{font:800 13.5px/1.25 Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ed-area .ed-q .q6 .ed-chip{font-size:11.5px;padding:2px 9px}
#ed-area .ed-q .ed-vd{height:38px;font-size:13px;border-radius:12px;margin-top:6px}
/* celular: una tarjeta por fila */
@media (max-width:560px){#ed-area .ed-grid{grid-template-columns:1fr!important}}
/* v430-9 · en laptop la fecha va alineada con las tarjetas */
@media (min-width:600px){#ed-area .ed-day{text-align:left;padding-left:2px}}
#ed-area .ed-vw .sw button.dl{background:#E0335A;color:#fff}#ed-area .ed-vw .sw button.dl svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html.ed-modal #ia-fab,html.ed-open.ed-modal .lv-fab{display:none!important}
/* v435 · «Marcar enviado» es una opción más (junto a «Copiar datos»), no una barra verde grande */
#ed-area .ed-ops{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#ed-area .ed-cpb.ed-mk{background:#fff;color:#18794E;border:1.5px solid #BFE3CF}
#ed-area .ed-cpb.ed-mk:active{background:#E5F5EC}

/* v462 · Shalom ocupa todo su recuadro */
#ed-area .ed-agt.sh,#ed-area .ed-q .q5 .ag.sh{background:#E32421!important;padding:0!important}#ed-area .ed-agt.sh img,#ed-area .ed-q .q5 .ag.sh img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
/* v502 · con una sola pestaña (Envíos Chimbote) ocupa todo el ancho; antes quedaba pegada a la izquierda (mitad vacía) */
#ed-area .ed-tabs{grid-template-columns:repeat(auto-fit,minmax(0,1fr))!important}
