.guide-shell { display:grid; grid-template-columns: 380px 1fr; gap:18px; }


    .guide-form .mini-form { display:grid; gap:12px; }

    .guide-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }


    .guide-thermal { background:#fff; color:#10263d; border:1px solid #d7e2f0; border-radius:14px; padding:12px; max-width:390px; margin:0 auto; }

    .guide-history-table { width:100%; border-collapse:collapse; table-layout:auto; }

@media (max-width: 1120px) { .guide-shell { grid-template-columns:1fr; } }

    /* V48: evitar que los botones de acciones se partan en tablas de guías */
    .guide-history-table th:last-child,
    .guide-history-table td:last-child { white-space:nowrap; min-width:130px; }
    .guide-history-table td:last-child .btn,
    .guide-history-table td:last-child button {
      white-space:nowrap;
      word-break:keep-all;
      overflow-wrap:normal;
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }


/* V86 - Guías en vista completa y edición en ventana emergente */
.guide-module-v86 .guide-shell-v86{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
.guide-main-head-v86{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px;}
.guide-preview-center-v86{display:flex;justify-content:center;align-items:flex-start;padding:2px 0 8px;}
.guide-thermal-v86{max-width:390px;}
.guide-actions-v86{justify-content:center;border-top:1px solid #e6eef8;padding-top:14px;margin-top:12px;}
.guide-modal-v86{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:22px;}
.guide-modal-v86.hidden{display:none!important;}
.guide-modal-backdrop-v86{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px);}
.guide-modal-card-v86{position:relative;z-index:1;width:min(860px,96vw);max-height:90vh;overflow:auto;padding:18px!important;box-shadow:0 24px 80px rgba(15,23,42,.28);}
.guide-modal-head-v86{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;position:sticky;top:0;background:#fff;padding-bottom:10px;border-bottom:1px solid #e6eef8;z-index:2;}
.guide-modal-actions-v86{justify-content:flex-end;border-top:1px solid #e6eef8;padding-top:12px;}
@media (max-width:720px){.guide-main-head-v86{display:block}.guide-main-head-v86 .btn{margin-top:12px;width:100%}.guide-modal-v86{padding:10px}.guide-modal-card-v86{max-height:94vh}.guide-form .row2{grid-template-columns:1fr!important}}

/* ==========================================================
   AVIACARGO · FASE 3 V1 · GUÍAS
   Presentación únicamente; conserva estructura y acciones.
   ========================================================== */
.guide-module-v86 .placeholder-card,
#guidesModuleMount .placeholder-card{
  border:1px solid #d6e4f3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(8,55,112,.075)!important;
}
.guide-main-head-v86 h2,
#guidesModuleMount h2{
  color:#082f66!important;
  font-size:23px!important;
  letter-spacing:-.025em!important;
}
#guidesModuleMount label{
  display:block;
  margin-bottom:6px;
  color:#355574;
  font-size:11px;
  font-weight:850;
  letter-spacing:.02em;
}
#guidesModuleMount input,
#guidesModuleMount select,
#guidesModuleMount textarea{
  min-height:43px;
  border:1px solid #cbdbea;
  border-radius:11px;
  background:#fff;
  padding:10px 12px;
}
#guidesModuleMount input:focus,
#guidesModuleMount select:focus,
#guidesModuleMount textarea:focus{
  outline:none;
  border-color:#1471c9;
  box-shadow:0 0 0 4px rgba(20,113,201,.10);
}
#guidesModuleMount .guide-history-table{
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid #d6e4f3!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#fff!important;
}
#guidesModuleMount .guide-history-table thead th{
  padding:13px 12px!important;
  background:#f2f7fc!important;
  color:#365678!important;
  border-bottom:1px solid #d8e5f2!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
#guidesModuleMount .guide-history-table tbody td{
  padding:13px 12px!important;
  border-bottom:1px solid #edf2f7!important;
  color:#203b59!important;
  vertical-align:middle!important;
}
#guidesModuleMount .guide-history-table tbody tr:hover td{background:#f8fbff!important;}
#guidesModuleMount .btn{
  min-height:39px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:800!important;
}
.guide-modal-card-v86{
  border-radius:20px!important;
  border:1px solid #d3e1ef!important;
}
.guide-modal-head-v86{
  padding:14px 0 12px!important;
  background:#fff!important;
}
