/* H&H UI 2026.08 — contrato responsive común para las cuatro plataformas. */
@media(max-width:760px){
  body.hhLedger.hhAdaptiveUI section.panel[data-pending-po-v256] :is(table.dataTable,tbody,tr,td){min-width:0!important;max-width:100%!important;width:100%!important}
  body.hhLedger.hhAdaptiveUI section.panel[data-pending-po-v256] td>span{text-align:left!important;overflow-wrap:anywhere;min-width:0!important}
}
html{overflow-x:hidden}
body.hhAdaptiveUI{min-width:0;overflow-x:clip}
body.hhAdaptiveUI :where(main,.view){padding-top:clamp(16px,2vw,28px)}
body.hhAdaptiveUI :where(.pageHero,.viewHead,.metricStrip,.kpiGrid,.miniKpis,.areaMetrics){margin-bottom:clamp(10px,1.2vw,16px)}

body.hhAdaptiveUI .hhTableViewport{
  position:relative;
  width:100%;
  max-width:100%;
  overflow:auto;
  overscroll-behavior-inline:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
  border-inline:0;
}
body.hhAdaptiveUI .hhTableViewport:focus-visible{outline:3px solid rgba(165,43,46,.28);outline-offset:-3px}
body.hhAdaptiveUI .hhTableViewport::-webkit-scrollbar{width:9px;height:9px}
body.hhAdaptiveUI .hhTableViewport::-webkit-scrollbar-track{background:#efedea}
body.hhAdaptiveUI .hhTableViewport::-webkit-scrollbar-thumb{background:#a8a5a2;border:2px solid #efedea;border-radius:999px}
body.hhAdaptiveUI .hhTableViewport.hhHasOverflow{box-shadow:inset -10px 0 12px -14px rgba(25,31,40,.75)}
body.hhAdaptiveUI .hhTableScrollable{max-height:min(64vh,680px)}

body.hhAdaptiveUI table.hhAdaptiveTable{
  width:100%!important;
  min-width:max(100%,var(--hh-table-min,100%))!important;
  table-layout:auto!important;
  border-collapse:collapse;
  font-variant-numeric:tabular-nums;
}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTablePreserveLayout{table-layout:fixed!important}
body.hhAdaptiveUI table.hhAdaptiveTable thead{position:sticky;top:0;z-index:3}
body.hhAdaptiveUI table.hhAdaptiveTable th{
  min-width:var(--hh-column-min,auto);
  padding:clamp(7px,.62vw,10px) clamp(7px,.7vw,11px)!important;
  vertical-align:middle;
  line-height:1.2!important;
  white-space:normal!important;
  overflow-wrap:break-word;
}
body.hhAdaptiveUI table.hhAdaptiveTable td{
  height:auto!important;
  padding:clamp(7px,.62vw,10px) clamp(7px,.7vw,11px)!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere;
  text-overflow:clip!important;
}
body.hhAdaptiveUI table.hhAdaptiveTable :where(input,select,textarea){
  box-sizing:border-box;
  width:100%;
  min-width:0!important;
  max-width:100%;
}
body.hhAdaptiveUI table.hhAdaptiveTable :where(.hhColumn-numeric,.hhColumn-status,.hhColumn-control){white-space:nowrap!important}
body.hhAdaptiveUI table.hhAdaptiveTable td.hhColumn-numeric{text-align:right}
body.hhAdaptiveUI table.hhAdaptiveTable th.hhColumn-numeric{text-align:right}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense th{font-size:clamp(7.25px,.55vw,8.5px)!important}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense td{font-size:clamp(8.5px,.66vw,10px)!important}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense td :where(small,.sourceHint,.inputSource){font-size:clamp(7px,.52vw,8px)!important}

@media (min-width:901px){
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide th:first-child,
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide td:first-child{
    position:sticky;
    left:0;
    z-index:2;
    box-shadow:1px 0 #d8d3ce;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide th:first-child{z-index:5}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tbody tr:nth-child(odd) td:first-child{background:#fff}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tbody tr:nth-child(even) td:first-child{background:#faf9f7}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tr.riskRow td:first-child{background:#fff4f4}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tr.watchRowV72 td:first-child{background:#fffaf0}
}

@media (max-width:1100px){
  body.hhAdaptiveUI :where(main,.view){padding-inline:clamp(12px,2.1vw,22px)!important}
  body.hhAdaptiveUI table.hhAdaptiveTable th{padding:7px 8px!important}
  body.hhAdaptiveUI table.hhAdaptiveTable td{padding:7px 8px!important}
}

@media (max-width:700px){
  body.hhAdaptiveUI .hhTableScrollable{max-height:none}
  body.hhAdaptiveUI table.hhAdaptiveTable:not(.hhTableStackable){min-width:var(--hh-table-min,680px)!important}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide th:first-child,
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide td:first-child{
    position:sticky;
    left:0;
    z-index:2;
    box-shadow:1px 0 #d8d3ce;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide th:first-child{z-index:5}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tbody tr:nth-child(odd) td:first-child{background:#fff}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableWide tbody tr:nth-child(even) td:first-child{background:#faf9f7}

  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable{
    display:block;
    min-width:100%!important;
    border:0!important;
    background:transparent!important;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable tbody,
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable tr,
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable td{display:block;width:100%}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable tr{
    margin:0 0 12px;
    border:1px solid #d8d3ce;
    border-top:4px solid #303946;
    background:#fff;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable td{
    display:grid!important;
    grid-template-columns:minmax(104px,36%) minmax(0,1fr);
    gap:12px;
    align-items:start;
    min-height:42px;
    border:0!important;
    border-bottom:1px solid #ebe7e3!important;
    background:#fff!important;
    text-align:left!important;
    white-space:normal!important;
  }
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable td:last-child{border-bottom:0!important}
  body.hhAdaptiveUI table.hhAdaptiveTable.hhTableStackable td::before{
    content:attr(data-label);
    color:#6d6865;
    font-size:8px;
    font-weight:900;
    letter-spacing:.06em;
    line-height:1.3;
    text-transform:uppercase;
  }
}

/* Acceso institucional: mismo tamaño, retícula y jerarquía en las cuatro aplicaciones. */
body .hhLoginGate{
  position:fixed!important;
  inset:0!important;
  z-index:1000!important;
  display:grid!important;
  place-items:center!important;
  overflow:auto!important;
  padding:clamp(16px,4vw,36px)!important;
  background-color:#eeece9!important;
  background-image:linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px)!important;
  background-size:28px 28px!important;
}
body .hhLoginCard{
  display:block!important;
  width:min(470px,100%)!important;
  min-height:0!important;
  max-height:none!important;
  margin:auto!important;
  padding:clamp(26px,4vw,36px)!important;
  overflow:visible!important;
  border:1px solid #d8d2cd!important;
  border-top:8px solid #a52a2a!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:0 30px 90px rgba(65,27,35,.24)!important;
  color:#27303c!important;
}
body .hhLoginCard .loginBrand{
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  min-height:0!important;
  margin:0 0 22px!important;
  padding:0 0 20px!important;
  border:0!important;
  border-bottom:1px solid #d8d2cd!important;
  background:transparent!important;
}
body .hhLoginCard .loginBrand .wordmark{
  display:block!important;
  margin:0!important;
  color:#27303c!important;
  font-size:38px!important;
  font-weight:950!important;
  letter-spacing:-3px!important;
  line-height:1!important;
}
body .hhLoginCard .loginBrand b,
body .hhLoginCard .loginBrand span{display:block!important;margin:0!important}
body .hhLoginCard .loginBrand b{color:#27303c!important;font-size:11px!important;letter-spacing:1.5px!important}
body .hhLoginCard .loginBrand span{margin-top:4px!important;color:#756f6d!important;font-size:8px!important;letter-spacing:.04em!important;text-transform:uppercase!important}
body .hhLoginCard>.eyebrow{
  display:block!important;
  margin:0!important;
  color:#a52a2a!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
body .hhLoginCard>h1{
  margin:5px 0 8px!important;
  color:#27303c!important;
  font-size:28px!important;
  font-weight:850!important;
  letter-spacing:-.04em!important;
  line-height:1.15!important;
  text-transform:none!important;
}
body .hhLoginCard>p:not(.eyebrow){margin:0!important;color:#756f6d!important;font-size:11px!important;line-height:1.55!important}
body .hhLoginCard form{display:grid!important;gap:0!important;margin:0!important}
body .hhLoginCard .hhLoginField,
body .hhLoginCard form>label{
  display:grid!important;
  gap:5px!important;
  margin:13px 0 0!important;
  color:#6e6967!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body .hhLoginCard form input{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #aaa5a1!important;
  border-radius:0!important;
  background:#fffdf1!important;
  color:#27303c!important;
  font-size:14px!important;
  box-shadow:none!important;
}
body .hhLoginCard form input:focus{outline:2px solid #27303c!important;outline-offset:-2px!important;border-color:#27303c!important}
body .hhLoginCard form button[type="submit"]{
  width:100%!important;
  min-height:44px!important;
  margin:18px 0 0!important;
  padding:10px 14px!important;
  border:1px solid #a52a2a!important;
  border-radius:2px!important;
  background:#a52a2a!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body .hhLoginCard .forgotPasswordLink{
  justify-self:center!important;
  width:auto!important;
  min-height:0!important;
  margin:9px auto 0!important;
  padding:3px 0!important;
  border:0!important;
  background:transparent!important;
  color:#6e6967!important;
  font-size:8px!important;
  font-weight:800!important;
  text-decoration:underline!important;
  text-transform:none!important;
}
body .hhLoginCard :where(.loginError,#loginError){display:block!important;min-height:14px!important;margin:9px 0 0!important;color:#9c2d30!important;font-size:9px!important}
body .hhLoginCard .hhAccessNote{
  display:block!important;
  margin:18px 0 0!important;
  padding:10px 12px!important;
  border:0!important;
  border-left:4px solid #629952!important;
  background:#f1f8f2!important;
  color:#416649!important;
  font-size:8px!important;
  line-height:1.45!important;
}

@media (max-width:520px){
  body .hhLoginGate{place-items:start center!important;padding:12px!important}
  body .hhLoginCard{width:100%!important;margin:auto!important;padding:24px 20px!important}
  body .hhLoginCard .loginBrand{margin-bottom:18px!important;padding-bottom:16px!important}
  body .hhLoginCard>h1{font-size:25px!important}
}

@media (max-height:670px) and (min-width:521px){
  body .hhLoginGate{place-items:start center!important;padding-block:14px!important}
  body .hhLoginCard{padding-block:24px!important}
  body .hhLoginCard .loginBrand{margin-bottom:15px!important;padding-bottom:14px!important}
  body .hhLoginCard .hhLoginField,body .hhLoginCard form>label{margin-top:9px!important}
  body .hhLoginCard form button[type="submit"]{margin-top:13px!important}
  body .hhLoginCard .hhAccessNote{margin-top:12px!important}
}

/* Plataforma 2.2 · legibilidad y foco prevalecen sobre la densidad adaptativa. */
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense th{font-size:clamp(9px,.68vw,10px)!important}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense td{font-size:clamp(11px,.76vw,12px)!important}
body.hhAdaptiveUI table.hhAdaptiveTable.hhTableDense td :where(small,.sourceHint,.inputSource){font-size:clamp(9px,.62vw,10px)!important}
body.hhAdaptiveUI :where(button,a[href],input,select,textarea,[role="button"],[role="tab"]):focus-visible{
  outline:3px solid #1f5f8b!important;
  outline-offset:2px!important;
}
body .hhLoginCard .loginBrand span,
body .hhLoginCard .hhLoginField,
body .hhLoginCard form>label,
body .hhLoginCard .forgotPasswordLink,
body .hhLoginCard .hhAccessNote{font-size:10px!important}
body .hhLoginCard form input{font-size:16px!important}
body .hhLoginCard form button[type="submit"]{font-size:11px!important}

/* Entregas · composición estable para armado de transporte y facturación. */
body.hhAdaptiveUI .hhDeliveryUX{
  --hh-delivery-line:#d8d3ce;
  --hh-delivery-soft:#f6f4f1;
  --hh-delivery-ink:#28313d;
  --hh-delivery-red:#a52b2e;
  --hh-delivery-green:#4f7658;
}
body.hhAdaptiveUI .hhDeliveryUX :where(.deliveryLayout,.deliveryBoard,.deliveryTruck,.truckCab,.legoWorkspace,.ptShelf,.truckBay,.cargoStack,.cargoBrick,.cargoMeasureV62,.invoiceRail,.invoiceQueueV45,.invoiceCardV45,.invoiceOrderV45,.loadReconcileV47,.loadLineV47){min-width:0;box-sizing:border-box}
body.hhAdaptiveUI .hhDeliveryUX .deliveryLayout.programmingOnly{display:block;max-width:1480px;margin-inline:auto}
body.hhAdaptiveUI .hhDeliveryUX .deliveryBoard{gap:22px}
body.hhAdaptiveUI .hhDeliveryUX .hhTruckCard{
  overflow:hidden;
  border:1px solid var(--hh-delivery-line)!important;
  border-top:4px solid var(--hh-delivery-red)!important;
  border-radius:14px!important;
  background:#fff;
  box-shadow:0 10px 28px rgba(35,43,54,.08)!important;
}

/* Cabina: cinco bloques reales sin columnas implícitas ni textos montados. */
body.hhAdaptiveUI .hhDeliveryUX .hhTruckCard>.truckCab{
  display:grid;
  grid-template-columns:minmax(145px,.8fr) minmax(155px,.9fr) minmax(135px,.65fr) minmax(260px,1.5fr) minmax(120px,.55fr);
  align-items:stretch;
  overflow:hidden;
  border:0;
  background:var(--hh-delivery-ink);
}
body.hhAdaptiveUI .hhDeliveryUX .truckCab>label{min-width:0;padding:13px 14px;border-right:1px solid rgba(255,255,255,.15)}
body.hhAdaptiveUI .hhDeliveryUX .truckCab :where(input,select){width:100%;max-width:100%;min-width:0;color:#fff}
body.hhAdaptiveUI .hhDeliveryUX .truckCab select{color:#27303c!important}
body.hhAdaptiveUI .hhDeliveryUX .truckGauge{
  min-width:0;
  padding:13px 16px;
  grid-template-columns:minmax(0,1fr) auto;
  overflow:hidden;
  background:#202833;
}
body.hhAdaptiveUI .hhDeliveryUX .truckGauge :where(b,span){min-width:0;overflow-wrap:anywhere;white-space:normal}
body.hhAdaptiveUI .hhDeliveryUX .truckCab>.status{max-width:calc(100% - 20px);align-self:center;justify-self:center;white-space:normal;text-align:center}

/* Una sola ilustración del camión y un tablero lateral: ninguna capa tapa otra. */
body.hhAdaptiveUI .hhDeliveryUX .truckVisualV45.truckPhotoV60{margin:0;padding:0;border-bottom:1px solid var(--hh-delivery-line);background:#f4f5f6}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(165px,210px);
  align-items:stretch;
  width:100%;
  height:auto;
  min-height:190px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:linear-gradient(135deg,#f8f9fa 0%,#edf0f2 100%);
  box-shadow:none;
}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60>.truckPhotoFillV60{display:none!important}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60 .truckCargoFillV66{display:none!important}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60 .truckArtV66{
  grid-column:1;
  align-self:center;
  position:relative;
  inset:auto;
  left:auto;
  top:auto;
  transform:none;
  width:min(100%,850px);
  max-width:100%;
  height:180px;
  margin:auto;
}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60>.truckPhotoBaseV60{
  grid-column:1;
  position:relative;
  inset:auto;
  width:100%;
  height:180px;
  object-fit:contain;
}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoReadoutV60{
  grid-column:2;
  display:grid;
  place-content:center;
  align-items:center;
  gap:8px;
  position:static;
  inset:auto;
  min-width:0;
  padding:22px 18px;
  border:0;
  border-left:5px solid var(--load-color,var(--hh-delivery-red));
  background:rgba(255,255,255,.94);
  box-shadow:none;
  text-align:center;
}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoReadoutV60 b{font-size:clamp(28px,3vw,38px)}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoReadoutV60 span{max-width:18ch;line-height:1.35;white-space:normal}
body.hhAdaptiveUI .hhDeliveryUX .truckPhotoProgressV60{left:0;right:0;bottom:0;height:7px}

/* Selección y carga: dos pasos claros, con tarjetas que siempre ceden espacio. */
body.hhAdaptiveUI .hhDeliveryUX .legoWorkspace{display:grid;grid-template-columns:minmax(285px,.72fr) minmax(0,1.55fr);min-height:330px;background:#fff}
body.hhAdaptiveUI .hhDeliveryUX :where(.hhProductShelf,.hhTruckDropzone){padding:18px}
body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf{align-content:start;gap:10px;max-height:680px;overflow:auto;border-right:1px solid var(--hh-delivery-line);background:#f6f4f1;scrollbar-gutter:stable}
body.hhAdaptiveUI .hhDeliveryUX :where(.hhProductShelf,.hhTruckDropzone)>h4{margin:0;color:#3b4653;font-size:12px;letter-spacing:.08em}
body.hhAdaptiveUI .hhDeliveryUX :where(.hhLoadHint,.hhDropHint){margin:-3px 0 4px;color:#68717b;font-size:11px;line-height:1.4}
body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63{
  display:grid;
  grid-template-columns:minmax(96px,.38fr) minmax(0,1fr);
  width:100%;
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid #cbc6c1;
  border-radius:9px;
  background:#fff;
  transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease;
}
body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63+.ptLoadChoiceV63{margin-top:9px}
body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63 .ptUnitV63{width:100%;min-width:0;border:0;border-right:1px solid #ddd8d3;background:#f0eeeb;font-size:11px}
body.hhAdaptiveUI .hhDeliveryUX .ptBrick{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-content:center;
  width:100%;
  min-width:0;
  min-height:76px;
  padding:10px 12px;
  border:0;
  border-left:5px solid var(--hh-delivery-red);
  border-radius:0!important;
  overflow:hidden;
}
body.hhAdaptiveUI .hhDeliveryUX .ptBrick :where(b,span){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.hhAdaptiveUI .hhDeliveryUX .ptBrick strong{align-self:center;white-space:nowrap}
@media(hover:hover) and (pointer:fine){
  body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63:has(.ptBrick:not(:disabled)):hover{border-color:#75808b;box-shadow:0 5px 14px rgba(35,43,54,.12);transform:translateY(-1px)}
}
body.hhAdaptiveUI .hhDeliveryUX .hhTruckDropzone{position:relative;background:linear-gradient(180deg,#fff,#faf9f7);transition:background .16s ease,box-shadow .16s ease}
body.hhAdaptiveUI .hhDeliveryUX .hhTruckDropzone.hhDropActive{background:#eff7f1;box-shadow:inset 0 0 0 3px var(--hh-delivery-green)}
body.hhAdaptiveUI .hhDeliveryUX .hhTruckDropzone.hhDropActive .hhDropHint{color:#245a35;font-weight:850}
body.hhAdaptiveUI .hhDeliveryUX .cargoStack{display:grid;grid-template-columns:1fr;gap:11px}
body.hhAdaptiveUI .hhDeliveryUX .cargoBrick{
  display:grid;
  grid-template-columns:minmax(155px,.58fr) minmax(0,1.42fr) 40px;
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
  padding:13px;
  border:1px solid #c8c3bd;
  border-left:5px solid var(--hh-delivery-green);
  border-radius:9px;
  background:#fff;
  box-shadow:0 3px 10px rgba(35,43,54,.06);
}
body.hhAdaptiveUI .hhDeliveryUX .cargoBrick>div:first-child{min-width:0}
body.hhAdaptiveUI .hhDeliveryUX .cargoBrick>div:first-child :where(b,span){overflow-wrap:anywhere}
body.hhAdaptiveUI .hhDeliveryUX .cargoBrick .cargoMeasureV62{display:grid;grid-template-columns:minmax(100px,.72fr) minmax(82px,.48fr) minmax(130px,1fr);width:100%;min-width:0!important;gap:9px}
body.hhAdaptiveUI .hhDeliveryUX .cargoMeasureV62 :where(label,select,input,span){min-width:0;max-width:100%}
body.hhAdaptiveUI .hhDeliveryUX .cargoMeasureV62>span{grid-column:auto;padding:5px 0 5px 10px;overflow-wrap:anywhere}
body.hhAdaptiveUI .hhDeliveryUX .cargoBrick>button{width:40px;height:40px;min-width:40px;border-radius:7px!important;font-size:18px}
body.hhAdaptiveUI .hhDeliveryUX .truckEmpty{grid-column:1/-1;min-height:170px;border-radius:10px;background:#fff}
body.hhAdaptiveUI .hhDeliveryUX .truckActions{justify-content:flex-end;padding:14px 18px;background:#f6f4f1}

/* Facturación: cada embarque es un expediente independiente y flexible. */
body.hhAdaptiveUI .hhDeliveryUX .deliveryLayout.billingOnlyV45{max-width:1320px!important;margin-inline:auto!important}
body.hhAdaptiveUI .hhDeliveryUX .billingSummaryV45{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px;border:0;background:transparent}
body.hhAdaptiveUI .hhDeliveryUX .billingSummaryV45>div{min-width:0;padding:16px 18px;border:1px solid var(--hh-delivery-line);border-top:4px solid var(--hh-delivery-red);border-radius:10px;background:#fff}
body.hhAdaptiveUI .hhDeliveryUX .hhInvoiceQueue{display:grid;gap:15px;border:0;background:transparent}
body.hhAdaptiveUI .hhDeliveryUX .hhInvoiceCard{
  overflow:hidden;
  border:1px solid var(--hh-delivery-line)!important;
  border-radius:12px!important;
  background:#fff;
  box-shadow:0 7px 20px rgba(35,43,54,.07);
}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>header{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:15px 18px}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>header>div{min-width:0}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>header b{overflow-wrap:anywhere}
body.hhAdaptiveUI .hhDeliveryUX .invoiceOrderV45{grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:17px 20px}
body.hhAdaptiveUI .hhDeliveryUX .invoiceOrderV45>strong{min-width:170px;text-align:right;white-space:normal}
body.hhAdaptiveUI .hhDeliveryUX .loadReconcileV47{padding:18px 20px 20px;background:#faf9f7}
body.hhAdaptiveUI .hhDeliveryUX .loadLineV47,
body.hhAdaptiveUI .hhDeliveryUX .loadLineV47:has(.qaLotAssignmentV180){
  grid-template-columns:minmax(175px,.72fr) minmax(170px,.48fr) minmax(250px,1.1fr);
  align-items:start;
  gap:16px;
  padding:14px 0;
}
body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>div,
body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>label,
body.hhAdaptiveUI .hhDeliveryUX .qaLotAssignmentV180{min-width:0;width:100%}
body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>label{grid-template-columns:minmax(0,1fr) minmax(92px,120px)}
body.hhAdaptiveUI .hhDeliveryUX .qaLotChoicesV210{max-height:210px;padding:2px 5px 2px 2px;scrollbar-gutter:stable}
body.hhAdaptiveUI .hhDeliveryUX .qaLotChoiceV210{grid-template-columns:minmax(0,1fr) minmax(76px,92px)}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>footer{display:flex;flex-wrap:wrap;gap:9px;padding:13px 18px}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>footer>.status{margin-right:auto}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV50.compact{grid-template-columns:minmax(0,1fr) auto;margin:0;padding:18px 20px}
body.hhAdaptiveUI .hhDeliveryUX .invoiceCompactActionsV50{display:flex;flex-wrap:wrap;justify-content:flex-end}

@media(max-width:1120px){
  body.hhAdaptiveUI .hhDeliveryUX .hhTruckCard>.truckCab{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.hhAdaptiveUI .hhDeliveryUX .truckGauge{grid-column:1/-1}
  body.hhAdaptiveUI .hhDeliveryUX .truckCab>.status{justify-self:start}
  body.hhAdaptiveUI .hhDeliveryUX .legoWorkspace{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf{max-height:none;border-right:0;border-bottom:1px solid var(--hh-delivery-line)}
  body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf>h4,body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf>.hhLoadHint,body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf>.empty{grid-column:1/-1}
  body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63+.ptLoadChoiceV63{margin-top:0}
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47,
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47:has(.qaLotAssignmentV180){grid-template-columns:minmax(0,1fr) minmax(170px,.55fr)}
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>.qaLotAssignmentV180{grid-column:1/-1}
}

@media(max-width:720px){
  body.hhAdaptiveUI .hhDeliveryUX .hhTruckCard{border-radius:11px!important}
  body.hhAdaptiveUI .hhDeliveryUX .hhTruckCard>.truckCab{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .truckCab>label{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
  body.hhAdaptiveUI .hhDeliveryUX .truckGauge{grid-column:auto}
  body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60{grid-template-columns:1fr;min-height:0}
  body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60 .truckArtV66,
  body.hhAdaptiveUI .hhDeliveryUX .truckPhotoStageV60>.truckPhotoBaseV60{grid-column:1;height:138px}
  body.hhAdaptiveUI .hhDeliveryUX .truckPhotoReadoutV60{grid-column:1;padding:13px 16px;border-left:0;border-top:4px solid var(--load-color,var(--hh-delivery-red))}
  body.hhAdaptiveUI .hhDeliveryUX .truckPhotoReadoutV60 b{font-size:26px}
  body.hhAdaptiveUI .hhDeliveryUX :where(.hhProductShelf,.hhTruckDropzone){padding:14px}
  body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .hhProductShelf>*{grid-column:1!important}
  body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .ptLoadChoiceV63 .ptUnitV63{border-right:0;border-bottom:1px solid #ddd8d3}
  body.hhAdaptiveUI .hhDeliveryUX .cargoBrick{grid-template-columns:minmax(0,1fr) 44px;align-items:start}
  body.hhAdaptiveUI .hhDeliveryUX .cargoBrick>.cargoMeasureV62{grid-column:1/-1;grid-row:2}
  body.hhAdaptiveUI .hhDeliveryUX .cargoBrick>button{grid-column:2;grid-row:1}
  body.hhAdaptiveUI .hhDeliveryUX .cargoBrick .cargoMeasureV62{grid-template-columns:1fr 1fr}
  body.hhAdaptiveUI .hhDeliveryUX .cargoMeasureV62>span{grid-column:1/-1}
  body.hhAdaptiveUI .hhDeliveryUX .billingSummaryV45{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>header{grid-template-columns:1fr;gap:10px}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceOrderV45{grid-template-columns:1fr;padding:15px}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceOrderV45>strong{min-width:0;text-align:left}
  body.hhAdaptiveUI .hhDeliveryUX .loadReconcileV47{padding:15px}
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47,
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47:has(.qaLotAssignmentV180){grid-template-columns:1fr;gap:10px}
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>.qaLotAssignmentV180{grid-column:auto}
  body.hhAdaptiveUI .hhDeliveryUX .loadLineV47>label{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>footer{display:grid;grid-template-columns:1fr;padding:13px 15px}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV45>footer>*{width:100%;margin:0}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceCardV50.compact{grid-template-columns:1fr;padding:16px}
  body.hhAdaptiveUI .hhDeliveryUX .invoiceCompactActionsV50{display:grid;grid-template-columns:1fr;width:100%}
}

@media(max-width:430px){
  body.hhAdaptiveUI .hhDeliveryUX .cargoBrick .cargoMeasureV62{grid-template-columns:1fr}
  body.hhAdaptiveUI .hhDeliveryUX .cargoMeasureV62>span{grid-column:auto}
  body.hhAdaptiveUI .hhDeliveryUX .qaLotChoiceV210{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  body.hhAdaptiveUI .hhDeliveryUX :where(.ptLoadChoiceV63,.hhTruckDropzone){transition:none!important}
}

/* Cobertura v490: excepción focal a la matriz adaptativa global.
   Siete columnas permanecen tabulares en escritorio y se convierten en fichas
   reales en móvil, sin depender de `hhTableStackable`. */
body.hhAdaptiveUI .materialCoverageWorkbenchV490{width:100%;max-width:100%;min-width:0}
body.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{width:100%;max-width:100%}
body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
}
body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable th{
  min-width:0!important;
  padding:10px 11px!important;
  font-size:10px!important;
  line-height:1.3!important;
  white-space:normal!important;
}
body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable td{
  padding:11px!important;
  font-size:12px!important;
  line-height:1.42!important;
  white-space:normal!important;
}
body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable td :where(small,.sourceHint,.inputSource){font-size:10px!important;line-height:1.4!important}
body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490>td{
  position:static!important;
  left:auto!important;
  z-index:auto!important;
  padding:0!important;
  box-shadow:none!important;
}

@media(max-width:1100px){
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable{min-width:1080px!important}
}

@media(max-width:768px){
  body.hhAdaptiveUI .materialCoverageWorkbenchV490,
  body.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{width:100%!important;max-width:100%!important;min-width:0!important}
  body.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{
    max-height:none!important;
    overflow:visible!important;
    scrollbar-gutter:auto!important;
    box-shadow:none!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable:not(.hhTableStackable),
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable.hhTableWide{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    border:0!important;
    background:transparent!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable thead{
    display:table-header-group!important;
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody{
    display:grid!important;
    gap:11px;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>td,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable.hhTableWide .coverageRowV490>td:first-child{
    position:static!important;
    left:auto!important;
    z-index:auto!important;
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:11px!important;
    overflow:visible!important;
    box-shadow:none!important;
    font-size:12px!important;
    line-height:1.42!important;
    text-align:left!important;
    white-space:normal!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>td:first-child,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageIdentityV490,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>td:last-child,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageActionsV490{grid-column:1/-1}
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490{
    display:grid!important;
    grid-template-columns:minmax(0,1fr);
    grid-column:1/-1;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490[hidden]{display:none!important}
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490>td{
    position:static!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
    overflow:visible!important;
    box-shadow:none!important;
  }
}

@media(max-width:520px){
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>td:nth-child(n){grid-column:auto}
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageIdentityV490,
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageActionsV490{grid-column:1/-1}
  body.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>:is(.coverageConsumptionCellV490,.coverageOrdersCellV490,.coverageDaysCellV490){display:none!important}
}

/* Puente adaptativo del refinamiento visual v490. */
body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490,
body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{min-width:0;max-width:100%}
body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{
  border-radius:15px;
  box-shadow:0 9px 25px rgba(31,40,49,.06);
}
body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable th{
  padding:11px 12px!important;
  font-size:9px!important;
  letter-spacing:.075em;
}
body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable td{
  padding:12px!important;
  border-bottom:1px solid #e8e8e5;
}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490,
  body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhLedger.hhAdaptiveUI .materialCoverageWorkbenchV490 .hhTableViewport{
    overflow:visible!important;
    border:0!important;
    border-radius:0;
    box-shadow:none;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody{
    display:grid!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    overflow:hidden!important;
    border:1px solid #dcddda!important;
    border-left:4px solid #687582!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 7px 18px rgba(31,40,49,.065)!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490[data-signal="critical"],
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490.critical{border-left-color:#8d292d!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490[data-signal="attention"],
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490.attention{border-left-color:#b47a24!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490[data-signal="excess"],
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490.excess{border-left-color:#286146!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>td,
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable.hhTableWide .coverageRowV490>td:first-child{
    padding:11px 12px!important;
    border-color:#e9e9e6!important;
    background:#fff!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageIdentityV490{
    padding:13px 12px!important;
    background:linear-gradient(135deg,#fff,#f8f7f4)!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageActionsV490{background:#faf9f7!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490{
    margin:-11px 0 0!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageDetailRowV490>td{
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
}

@media(max-width:520px){
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable tbody>.coverageRowV490{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageIdentityV490,
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>.coverageActionsV490{grid-column:1/-1}
  body.hhLedger.hhAdaptiveUI table.materialCoverageMatrixV490.hhAdaptiveTable .coverageRowV490>:is(.coverageConsumptionCellV490,.coverageOrdersCellV490,.coverageDaysCellV490){display:none!important}
}

/* Matriz V500: seis decisiones completas; ningún dato operativo se oculta. */
body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable{
  width:100%!important;
  min-width:1020px!important;
  table-layout:fixed!important;
}
body.hhLedger.hhAdaptiveUI .materialCoverageWrapV490.hhTableViewport{
  max-height:none!important;
  overflow-x:auto!important;
}

@media(max-width:1100px) and (min-width:769px){
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable{min-width:1020px!important}
}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI .materialCoverageWrapV490.hhTableViewport{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500,
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable,
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable:not(.hhTableStackable),
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable.hhTableWide{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable tbody>.coverageDecisionRowV500{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>td:nth-child(n){grid-column:auto}
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageIdentityV490,
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageDecisionV500{grid-column:1/-1!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>:is(.coverageTodayV500,.coverageDemandV500,.coverageInboundV500,.coverageResultV500){
    position:static!important;
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageTodayV500,
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageInboundV500{border-right:1px solid #e9e9e6!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageDemandV500,
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>.coverageResultV500{border-right:0!important}
}

@media(max-width:520px){
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable tbody>.coverageDecisionRowV500{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500>:is(.coverageDemandV500,.coverageInboundV500){display:grid!important}
  body.hhLedger.hhAdaptiveUI table.materialCoverageDecisionMatrixV500.hhAdaptiveTable .coverageDecisionRowV500 .coverageDaysCellV490{display:grid!important}
}

/* V512 · Puente adaptativo final para Cobertura PT y Sugerencias PT. */
body.hhLedger.hhAdaptiveUI :is(.deliveryTabsV63,.productionTabsV70){
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain;
}
body.hhLedger.hhAdaptiveUI :is(.deliveryTabsV63,.productionTabsV70)>button{
  flex:0 0 auto!important;
  min-height:44px!important;
  white-space:nowrap!important;
}
body.hhLedger.hhAdaptiveUI :is(.ptCoverageWorkbenchV510,.ptSuggestionsWorkbenchV511,.ptSuggestionNoticeV511,.ptSuggestionKpisV511){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511).hhTableViewport{
  max-height:none!important;
  overflow-x:auto!important;
}
body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable{
  width:100%!important;
  min-width:1080px!important;
  table-layout:fixed!important;
}
body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable{
  width:100%!important;
  min-width:1160px!important;
  table-layout:fixed!important;
}

@media(min-width:769px){
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>td,
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td{
    display:table-cell!important;
  }
}

@media(max-width:1100px) and (min-width:769px){
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable{min-width:1040px!important}
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable{min-width:1120px!important}
}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511),
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511).hhTableViewport{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510,
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable,
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable:not(.hhTableStackable),
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable.hhTableWide,
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511,
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable,
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable:not(.hhTableStackable),
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable.hhTableWide{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    background:transparent!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageMatrixV510,.ptSuggestionsMatrixV511) thead{
    display:table-header-group!important;
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageMatrixV510,.ptSuggestionsMatrixV511)>tbody{
    display:grid!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable tbody>.ptCoverageRowV510{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(5,max-content)!important;
    grid-auto-rows:max-content!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>td,
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable.hhTableWide .ptCoverageRowV510>td:first-child{
    position:static!important;
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:max-content!important;
    overflow:visible!important;
    white-space:normal!important;
    text-align:left!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>td:nth-child(n){grid-column:auto}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoverageIdentityV510{grid-column:1/-1!important;grid-row:1!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoveragePolicyV510{grid-column:1/-1!important;grid-row:2!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoverageTodayV510{grid-column:1!important;grid-row:3!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoverageDemandV510{grid-column:2!important;grid-row:3!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoverageProjectionV510{grid-column:1/-1!important;grid-row:4!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>.ptCoverageDecisionV510{grid-column:1/-1!important;grid-row:5!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>:is(.ptCoveragePolicyV510,.ptCoverageTodayV510,.ptCoverageDemandV510,.ptCoverageProjectionV510,.ptCoverageDecisionV510){
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageDetailRowV510{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageDetailRowV510[hidden]{display:none!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageDetailRowV510>td{
    position:static!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  body.hhLedger.hhAdaptiveUI .ptCoverageDetailV510,
  body.hhLedger.hhAdaptiveUI .ptCoverageEquationV510,
  body.hhLedger.hhAdaptiveUI .ptTimelineV510,
  body.hhLedger.hhAdaptiveUI .ptTimelineV510>li{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>.ptSuggestionRowV511{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td,
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable.hhTableWide .ptSuggestionRowV511>td:first-child{
    position:static!important;
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    white-space:normal!important;
    text-align:left!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td:first-child{grid-column:1!important;grid-row:1!important}
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td:nth-child(2){grid-column:2!important;grid-row:1!important}
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td:nth-child(n+3){
    display:grid!important;
    grid-column:1/-1!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>tr:not(.ptSuggestionRowV511),
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>tr:not(.ptSuggestionRowV511)>td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageToolbarV510,.ptPolicyEditorV510,.ptPolicyTargetsV510,.ptSuggestionFilterV511,.ptSuggestionActionsV511) :is(button,input,select){
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
  }
}

@media(max-width:520px){
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable tbody>.ptCoverageRowV510{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable .ptCoverageRowV510>:is(.ptCoveragePolicyV510,.ptCoverageTodayV510,.ptCoverageDemandV510,.ptCoverageProjectionV510,.ptCoverageDecisionV510){display:grid!important}
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>.ptSuggestionRowV511{grid-template-columns:76px minmax(0,1fr)!important}
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable .ptSuggestionRowV511>td:nth-child(n+3){display:grid!important;grid-column:1/-1!important}
}

/* Plataforma 2.15 · el libro de gastos mantiene el mismo patrón adaptativo. */
body.hhLedger.hhAdaptiveUI .managementExpensePageV215,
body.hhLedger.hhAdaptiveUI .managementExpenseWorkspaceV215,
body.hhLedger.hhAdaptiveUI .managementExpenseTableWrapV215{width:100%!important;max-width:100%!important;min-width:0!important}
body.hhLedger.hhAdaptiveUI .managementExpenseTableWrapV215.hhTableViewport{max-height:none!important;overflow-x:auto!important}
body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable{width:100%!important;min-width:1080px!important;table-layout:fixed!important}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI .managementExpenseTableWrapV215,
  body.hhLedger.hhAdaptiveUI .managementExpenseTableWrapV215.hhTableViewport{max-height:none!important;overflow:visible!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215,
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable,
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable:not(.hhTableStackable),
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable.hhTableWide{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:auto!important;background:transparent!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable thead{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable tbody{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable tbody>tr{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable tbody>tr>td{position:static!important;display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important}
  body.hhLedger.hhAdaptiveUI table.expenseLedgerV215.hhAdaptiveTable :is(input,select,button){max-width:100%!important;min-height:44px!important}
}

/* Plataforma 2.16 · puente final para retícula PT y botón Jalar. */
@media(min-width:769px){
  body.hhLedger.hhAdaptiveUI table.ptCoverageMatrixV510.hhAdaptiveTable{
    min-width:1160px!important;
    table-layout:fixed!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable{
    min-width:1220px!important;
    table-layout:fixed!important;
  }
}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>.ptSuggestionRowV511{
    grid-template-columns:104px minmax(0,1fr)!important;
  }
}

@media(max-width:520px){
  body.hhLedger.hhAdaptiveUI table.ptSuggestionsMatrixV511.hhAdaptiveTable tbody>.ptSuggestionRowV511{
    grid-template-columns:94px minmax(0,1fr)!important;
  }
}

/* Plataforma 2.17 · flujo de página, tablas modulares y navegación discreta. */
body.hhAdaptiveUI .hhTableViewport,
body.hhAdaptiveUI .hhTableScrollable{
  max-height:none!important;
  overflow:visible!important;
  overscroll-behavior-y:auto!important;
  scrollbar-gutter:auto!important;
}
body.hhAdaptiveUI .hhTableViewport.hhHasOverflow{
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  overscroll-behavior-inline:contain;
  scrollbar-gutter:stable;
}
body.hhAdaptiveUI .hhTableViewport:not(.hhHasOverflow){box-shadow:none!important}
body.hhAdaptiveUI .hhTableViewport[data-hh-overflow-axis="horizontal"]::after{
  content:"Desplaza horizontalmente para consultar todas las columnas";
  display:block;
  position:sticky;
  left:0;
  width:max-content;
  max-width:100%;
  padding:4px 8px;
  color:#66717c;
  font-size:8px;
  font-weight:750;
  letter-spacing:.025em;
}

@media(min-width:1024px){
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511).hhTableViewport{
    max-height:none!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI table.ptCoverageDecisionTableV217,
  body.hhLedger.hhAdaptiveUI table.ptCoverageDecisionTableV217.hhAdaptiveTable,
  body.hhLedger.hhAdaptiveUI table.productionWorkbenchTableV217,
  body.hhLedger.hhAdaptiveUI table.productionWorkbenchTableV217.hhAdaptiveTable{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }
}

@media(max-width:768px){
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511),
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageWrapV510,.ptSuggestionsWrapV511).hhTableViewport{
    max-height:none!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI :is(table.ptCoverageDecisionTableV217,table.productionWorkbenchTableV217),
  body.hhLedger.hhAdaptiveUI :is(table.ptCoverageDecisionTableV217,table.productionWorkbenchTableV217).hhAdaptiveTable{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    border:0!important;
    background:transparent!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217)>thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217)>tbody{
    display:grid!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217)>tbody>tr:not([hidden]){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    border:1px solid #d5d8da!important;
    background:#fff!important;
    box-shadow:0 4px 12px rgba(39,49,62,.045);
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217)>tbody>tr>td{
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:anywhere;
  }
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217)>tbody>tr>td:not([colspan])::before{
    content:attr(data-label);
    display:block;
    margin:0 0 6px;
    color:#6b737c;
    font-size:8px;
    font-weight:900;
    letter-spacing:.055em;
    line-height:1.25;
    text-transform:uppercase;
  }

  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217>tbody>.ptCoverageRowV510{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;
    grid-auto-rows:max-content!important;
    align-items:stretch!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageIdentityV510{grid-column:1/-1!important;grid-row:auto!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoveragePolicyV510{grid-column:1/-1!important;grid-row:auto!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageBalanceV217{display:grid!important;grid-column:1/-1!important;grid-row:auto!important;gap:8px!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageProjectionV510{grid-column:1!important;grid-row:auto!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageDecisionV510{grid-column:2!important;grid-row:auto!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageDetailRowV510{
    display:block!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageDetailRowV510[hidden]{display:none!important}
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageDetailRowV510>td{
    display:block!important;
    padding:0!important;
    border:0!important;
  }

  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217>tbody>.ptSuggestionRowV511{
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    grid-auto-rows:max-content!important;
    overflow:visible!important;
  }
  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217 .ptSuggestionRowV511>td:first-child{grid-column:1!important;grid-row:1!important}
  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217 .ptSuggestionRowV511>td:nth-child(2){grid-column:2!important;grid-row:1!important}
  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217 .ptSuggestionRowV511>td:nth-child(n+3){grid-column:1/-1!important;grid-row:auto!important}
  body.hhLedger.hhAdaptiveUI :is(.ptCoverageDecisionTableV217,.productionWorkbenchTableV217) :is(input,select,button){
    max-width:100%!important;
    min-width:0!important;
  }
}

@media(max-width:480px){
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageProjectionV510,
  body.hhLedger.hhAdaptiveUI .ptCoverageDecisionTableV217 .ptCoverageRowV510>.ptCoverageDecisionV510{
    grid-column:1/-1!important;
  }
  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217>tbody>.ptSuggestionRowV511{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.hhLedger.hhAdaptiveUI .productionWorkbenchTableV217 .ptSuggestionRowV511>td:nth-child(n){
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* Plataforma 2.18 · radio corporativo único, aplicado al final de la cascada adaptativa. */
body.hhLedger.hhAdaptiveUI{--hh-corporate-radius:8px}
body.hhLedger.hhAdaptiveUI :is(#appRoot,#modalRoot,#loginRoot) :where(
  div[class],section,article,aside[class],nav[class],header[class],footer[class],
  details[class],summary[class],fieldset,table[class],tbody>tr,label[class],a[class],span[class],
  button,input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea
){
  border-radius:var(--hh-corporate-radius)!important;
}
body.hhLedger.hhAdaptiveUI #toast{border-radius:var(--hh-corporate-radius)!important}
body.hhLedger.hhAdaptiveUI :is(#appRoot,#modalRoot,#loginRoot) :is(
  .statusDot,.routeFlowArrowV82,.truckWheelsV45 i,.closureChecksV51 i,
  .purchaseFlowV420>button>span,.purchaseStageEmptyV420>i,
  [class*="Avatar"],[class*="avatar"]
){
  border-radius:50%!important;
}
.invoiceFeedbackV233 {
  margin: 12px 16px;
  padding: 12px 16px;
  border-left: 4px solid #923535;
  border-radius: 8px;
  background: #fff3f3;
  color: #742626;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.weighingDialogV234 { width: min(620px, calc(100vw - 32px)); max-height: 85vh; overflow: auto; border: 1px solid #ddd; border-top: 5px solid #923535; border-radius: 12px; padding: 24px; color: #29313d; }
.weighingDialogV234::backdrop { background: #0007; }
.weighingDialogV234 label { display: grid; gap: 8px; }
.weighingDialogV234 textarea { width: 100%; box-sizing: border-box; }
.weighingDialogV234 li { margin-block: 12px; }
.weighingDialogV234 footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
