/* CARGODEC_NUEVA_MODAL_R1B - only modal selectors extracted from verified CSS. */

html body .op17Nuevo[hidden]{
  display:none !important;
}

html body .op17Nuevo{
  margin:16px 18px 40px;
}

html body .op17NuevoHead{
  display:flex;
  align-items:center;
  gap:20px;
  padding:16px 18px;
  background:#fff;
  border:1px solid #dbe4ee;
  border-radius:13px;
}

html body .op17NuevoHead h2{
  margin:0;
  font-size:18px;
  color:#123d68;
}

html body .op17NuevoHead p{
  margin:4px 0 0;
  font-size:9px;
  font-weight:800;
  color:#64748b;
}

html body .op17NuevoActions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:7px;
}

html body .op17NuevoActions button{
  height:34px;
  padding:0 13px;
  border-radius:8px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

html body .op17NuevoActions button:disabled{
  opacity:.42;
  cursor:default;
}

@media(max-width:900px){

  html body .op17NuevoHead{
    align-items:flex-start;
    flex-direction:column;
  }

  html body .op17NuevoActions{
    margin-left:0;
  }
}

html body.op18EquipoActivo #op17Nuevo{
  display:none !important;
}

html body .op21NuevaOperacionBtn{
  height:32px;
  padding:0 16px;
  margin-left:7px;
  border:1px solid #1d6fb8;
  border-radius:8px;
  background:#ffffff;
  color:#075ca8;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

html body .op21NuevaOperacionBtn:hover{
  background:#eef6ff;
}

html body .op21Backdrop{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(15,23,42,.32);
  backdrop-filter:blur(1px);
}

html body .op21Backdrop[hidden]{
  display:none !important;
}

html body #op17Nuevo.op21ModalOpen{
  display:block !important;
  position:fixed !important;
  top:82px !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translateX(-50%) !important;

  width:min(1280px,calc(100vw - 40px)) !important;
  max-height:calc(100vh - 110px) !important;

  margin:0 !important;
  padding:18px !important;

  overflow:auto !important;

  z-index:10001 !important;

  background:#ffffff !important;
  border:1px solid #cbd8e6 !important;
  border-radius:16px !important;

  box-shadow:
    0 22px 65px rgba(15,23,42,.28) !important;
}

html body #op17Nuevo.op21ModalOpen .op17NuevoHead{
  position:relative;
  padding-right:54px;
}

html body #op21ModalClose{
  position:absolute;
  top:0;
  right:0;

  width:38px;
  height:38px;

  padding:0 !important;

  border:1px solid #fecaca !important;
  border-radius:9px !important;

  background:#ffffff !important;
  color:#dc2626 !important;

  font-size:26px !important;
  font-weight:500 !important;
  line-height:34px !important;

  cursor:pointer;
}

html body #op21ModalClose:hover{
  background:#fff1f2 !important;
}

html body.op21ModalBody{
  overflow:hidden;
}

@media(max-width:800px){

  html body #op17Nuevo.op21ModalOpen{
    top:62px !important;
    width:calc(100vw - 18px) !important;
    max-height:calc(100vh - 78px) !important;
    padding:12px !important;
  }

  html body .op21NuevaOperacionBtn{
    padding:0 10px;
  }
}

html body .op22Body{
  margin-top:14px;
}

html body .op22Label{
  display:block;
  margin:0 0 6px;
  color:#334155;
  font-size:10px;
  font-weight:900;
}

html body .op22Raw{
  display:block;
  width:100%;
  min-height:150px;
  resize:vertical;
  box-sizing:border-box;

  padding:14px 16px;

  border:1px solid #a9bfd8;
  border-radius:11px;

  background:#f8fbff;
  color:#0f2742;

  font-family:Consolas,monospace;
  font-size:12px;
  line-height:1.45;

  outline:none;
}

html body .op22Raw:focus{
  border-color:#1d6fb8;
  box-shadow:0 0 0 3px rgba(29,111,184,.10);
}

html body .op22ExtractRow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
}

html body .op22Extract,
html body .op22Clear,
html body .op22Save{
  height:36px;
  padding:0 18px;

  border-radius:8px;

  font-size:10px;
  font-weight:900;

  cursor:pointer;
}

html body .op22Extract{
  border:1px solid #1d6fb8;
  background:#1d6fb8;
  color:#fff;
}

html body .op22Clear{
  border:1px solid #cbd5e1;
  background:#fff;
  color:#475569;
}

html body .op22Msg{
  margin-left:4px;
  font-size:10px;
  font-weight:900;
}

html body .op22Msg.ok{
  color:#16803a;
}

html body .op22Msg.bad{
  color:#c62828;
}

html body .op22Preview{
  margin-top:12px;
  min-height:70px;

  border:1px solid #d7e0eb;
  border-radius:11px;

  overflow:hidden;
  background:#fff;
}

html body .op22Empty{
  padding:26px 14px;
  text-align:center;

  color:#8a9bb1;
  font-size:10px;
  font-weight:900;
}

html body .op22Resumen{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;

  background:#dfe7ef;
  border-bottom:1px solid #d7e0eb;
}

html body .op22Resumen div{
  padding:9px 12px;
  background:#f8fafc;
}

html body .op22Resumen span{
  display:block;
  margin-bottom:2px;

  color:#718096;
  font-size:8px;
  font-weight:900;
}

html body .op22Resumen strong{
  color:#0f2742;
  font-size:13px;
}

html body .op22TableWrap{
  max-height:210px;
  overflow:auto;
}

html body .op22Table{
  width:100%;
  border-collapse:collapse;
}

html body .op22Table th{
  position:sticky;
  top:0;

  padding:8px 10px;

  background:#f3f6fa;
  color:#47627d;

  font-size:8px;
  font-weight:900;
  text-align:left;
}

html body .op22Table td{
  padding:8px 10px;
  border-top:1px solid #edf1f5;

  color:#16324f;
  font-size:9px;
  font-weight:800;
}

html body .op22Fields{
  display:grid;
  grid-template-columns:180px 1fr 1fr;
  gap:10px;

  margin-top:12px;
}

html body .op22Fields label{
  display:block;
  margin-bottom:5px;

  color:#475569;
  font-size:9px;
  font-weight:900;
}

html body .op22Fields input,
html body .op22Fields select{
  width:100%;
  height:38px;

  box-sizing:border-box;
  padding:0 10px;

  border:1px solid #cbd8e6;
  border-radius:8px;

  background:#fff;
  color:#0f2742;

  font-size:11px;
  font-weight:800;
}

html body .op22SaveRow{
  display:flex;
  justify-content:flex-end;
  margin-top:14px;
}

html body .op22Save{
  min-width:190px;

  border:1px solid #16803a;
  background:#16803a;
  color:#fff;
}

html body .op22Save:disabled{
  opacity:.55;
  cursor:default;
}

@media(max-width:800px){

  html body .op22Fields{
    grid-template-columns:1fr;
  }

  html body .op22Resumen{
    grid-template-columns:repeat(2,1fr);
  }

  html body .op22ExtractRow{
    flex-wrap:wrap;
  }
}

html body .op22Fields{
  grid-template-columns:
    minmax(150px,.8fr)
    minmax(180px,1fr)
    minmax(180px,1fr)
    minmax(220px,1.1fr)
    !important;
}

html body .op22Fields select,
html body .op22Fields input{
  width:100%;
  min-width:0;
}

@media(max-width:1100px){

  html body .op22Fields{
    grid-template-columns:
      1fr
      1fr
      !important;
  }
}

@media(max-width:650px){

  html body .op22Fields{
    grid-template-columns:
      1fr
      !important;
  }
}

html body #op17Nuevo.op21ModalOpen{
  left:50% !important;
  right:auto !important;
  width:78vw !important;
  max-width:1200px !important;
  transform:translateX(-50%) !important;
  box-sizing:border-box !important;
}

@media(max-width:1100px){

  html body #op17Nuevo.op21ModalOpen{
    width:94vw !important;
    max-width:94vw !important;
  }
}

html body .op22TopGridR11D{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:14px;
  align-items:start;
}

html body .op22PastePaneR11D{
  min-width:0;
}

html body .op22TopGridR11D .op22Raw{
  width:100%;
  min-height:150px;
  height:150px;
  resize:vertical;
}

html body .op22EquipoPaneR11D{
  min-width:0;
  padding:11px;
  border:1px solid #dbe4ee;
  border-radius:11px;
  background:#f8fbff;
}

html body .op22EquipoTitleR11D{
  margin:0 0 8px;
  font-size:11px;
  font-weight:900;
  color:#123d68;
}

html body .op22EquipoFieldsR11D{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

html body .op22EquipoFieldsR11D label{
  display:block;
  margin:0 0 4px;
  font-size:9px;
  font-weight:900;
  color:#526579;
}

html body .op22EquipoFieldsR11D input{
  width:100%;
  height:34px;
  padding:0 9px;
  border:1px solid #cfdbe8;
  border-radius:8px;
  background:#fff;
  color:#102f50;
  font-size:12px;
  font-weight:800;
}

html body .op22PhotoGridR11D{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:9px;
}

html body .op22PhotoCardR11D > span{
  display:block;
  margin:0 0 4px;
  font-size:8px;
  font-weight:900;
  color:#6b7d90;
}

html body .op22PhotoR11D{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px dashed #c8d5e3;
  border-radius:9px;
  background:#fff;
}

html body .op22PhotoR11D img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

html body .op22PhotoR11D em{
  font-style:normal;
  font-size:8px;
  font-weight:900;
  color:#94a3b8;
}

html body .op22EquipoStatusR11D{
  margin-top:8px;
  min-height:17px;
  font-size:8px;
  font-weight:900;
  color:#64748b;
}

html body .op22EquipoStatusR11D.ok{
  color:#16815d;
}

html body .op22EquipoStatusR11D.warn{
  color:#a16207;
}

html body .op22FieldsR11D{
  grid-template-columns:1fr 1fr !important;
}

@media(max-width:900px){

  html body .op22TopGridR11D{
    grid-template-columns:1fr;
  }

  html body .op22EquipoPaneR11D{
    width:100%;
  }
}

@media(max-width:620px){

  html body .op22EquipoFieldsR11D,
html body .op22PhotoGridR11D,
html body .op22FieldsR11D{
    grid-template-columns:1fr !important;
  }
}

html body .op22DestinoTopR12A{
  display:grid;
  grid-template-columns:minmax(260px,420px);
  gap:6px;
  margin:0 0 12px 0;
}

html body .op22DestinoTopR12A label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
}

html body .op22DestinoTopR12A select{
  width:100%;
  min-height:38px;
  box-sizing:border-box;
}

html body .op22EquipoFieldsR11D{
  grid-template-columns:
    minmax(105px,.65fr)
    minmax(140px,1fr)
    minmax(140px,1fr);
}

html body .op22EquipoFieldsR11D select{
  width:100%;
  min-height:38px;
  box-sizing:border-box;
}

@media (max-width:900px){
  html body .op22EquipoFieldsR11D{
    grid-template-columns:1fr;
  }

  html body .op22DestinoTopR12A{
    grid-template-columns:1fr;
  }
}

html body #op17Nuevo { box-sizing:border-box; font-family:"Segoe UI",Arial,sans-serif; color:#102b4c; }

html body #op17Nuevo * { box-sizing:border-box; }

html body #op17Nuevo .op22EquipoFieldsR11D { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }

html body #op17Nuevo .op22EquipoFieldsR11D > div { min-width:0 !important; }

html body #op17Nuevo .op22EquipoPaneR11D { min-width:0 !important; }

html body #op17Nuevo .op22EquipoFieldsR11D input,
html body #op17Nuevo .op22EquipoFieldsR11D select { min-width:0 !important; max-width:100% !important; width:100% !important; }

html body #op17Nuevo #op22Destino { border:1px solid #c6d7e8; border-radius:8px; padding:9px; color:#102b4c; background:#fff; }

html body #op17Nuevo[hidden] { display:none !important; }

html body #op17Nuevo.op21ModalOpen { width:min(1100px,94vw) !important; max-width:94vw !important; min-width:0 !important; max-height:90vh !important; padding:18px !important; z-index:100011 !important; }

html body #op21Backdrop { z-index:100010 !important; }

html body #op17Nuevo button { cursor:pointer; }

html body #op17Nuevo .op22EquipoFieldsR11D input,html body #op17Nuevo .op22EquipoFieldsR11D select { width:100%;min-width:0; }

@media(max-width:760px){html body #op17Nuevo.op21ModalOpen {left:50% !important;top:50% !important;transform:translate(-50%,-50%) !important;} html body #op17Nuevo .op22TopGridR11D {grid-template-columns:1fr !important;}}