/* HOTFIX FASE 73.3 - Contraste EOE + EMTP/ETM y acciones operativas */

/* EMTP / ETM: tarjetas y listados legibles sobre fondos oscuros */
.emtp-hero,
.emtp-hero *{
  color:#eaf2ff;
}
.emtp-hero .muted,
.emtp-hero li,
.emtp-hero p,
.emtp-hero small{
  color:#cbdaf2 !important;
}
.emtp-hero a:not(.btn):not(.btn-secondary){
  color:#dbeafe !important;
}
.emtp-hero .emtp-card,
.emtp-hero .table-wrap{
  background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%) !important;
  border:1px solid #b8cbe4 !important;
  color:#071126 !important;
  box-shadow:0 16px 34px rgba(15,23,42,.20) !important;
}
.emtp-hero .emtp-card *,
.emtp-hero .table-wrap *,
.emtp-hero table *,
.emtp-card *,
.table-wrap *{
  color:#071126 !important;
}
.emtp-hero .emtp-card .muted,
.emtp-hero .table-wrap .muted,
.emtp-card .muted,
.table-wrap .muted{
  color:#334155 !important;
}
.emtp-hero .table th,
.table-wrap .table th,
.emtp-hero th{
  background:#0f172a !important;
  color:#ffffff !important;
  border-bottom-color:#1e293b !important;
}
.emtp-hero .table td,
.table-wrap .table td,
.emtp-hero td{
  background:#f8fbff !important;
  color:#071126 !important;
  border-bottom:1px solid #c8d7ea !important;
}
.emtp-hero .table tr:nth-child(even) td,
.table-wrap .table tr:nth-child(even) td{
  background:#edf5ff !important;
}
.emtp-hero input,
.emtp-hero select,
.emtp-hero textarea{
  background:#ffffff !important;
  color:#071126 !important;
  border:1px solid #8ea8c8 !important;
}
.emtp-hero label{
  color:#ffffff !important;
  font-weight:800 !important;
}
.emtp-hero .table-wrap label,
.emtp-hero .emtp-card label{
  color:#0f172a !important;
}
.emtp-hero .btn,
.emtp-hero .btn *{
  color:#ffffff !important;
}
.emtp-hero .btn-secondary,
.emtp-hero .btn-secondary *{
  color:#0f172a !important;
}
.emtp-hero .btn-edit{
  background:#0f766e !important;
  color:#ffffff !important;
  border-color:#14b8a6 !important;
}
.emtp-hero .incident-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.emtp-hero .adjuntos-list{
  margin:6px 0 0;
  padding-left:18px;
}
.emtp-hero .adjuntos-list a{
  color:#1d4ed8 !important;
  font-weight:800;
}

/* EOE: fondo menos blanco, contraste fuerte y reportes legibles */
body,
.eoe-wrap{
  background:
    radial-gradient(circle at 10% 10%, rgba(37,99,235,.20) 0, rgba(37,99,235,0) 30%),
    radial-gradient(circle at 90% 18%, rgba(124,58,237,.18) 0, rgba(124,58,237,0) 28%),
    linear-gradient(180deg,#d6e4f7 0%,#eaf2ff 42%,#dfeaf8 100%) !important;
}
.eoe-main{
  background:rgba(239,246,255,.62) !important;
  border-left:1px solid rgba(148,163,184,.18);
  border-right:1px solid rgba(148,163,184,.18);
  min-height:calc(100vh - 120px);
}
.eoe-main h2{
  color:#061327 !important;
  font-size:26px !important;
  font-weight:900 !important;
}
.eoe-main .card,
.eoe-main .panel{
  background:linear-gradient(180deg,#f9fcff 0%,#eaf3ff 100%) !important;
  border:1px solid #aac0dc !important;
  border-top:5px solid #2563eb !important;
  box-shadow:0 18px 38px rgba(15,23,42,.16) !important;
}
.eoe-main .panel:nth-of-type(2n),
.eoe-main .card:nth-of-type(2n){
  border-top-color:#0ea5e9 !important;
}
.eoe-main .panel:nth-of-type(3n),
.eoe-main .card:nth-of-type(3n){
  border-top-color:#7c3aed !important;
}
.eoe-main .card span,
.eoe-main .muted,
.eoe-main small{
  color:#1e293b !important;
}
.eoe-main .card strong{
  color:#020617 !important;
  font-size:36px !important;
}
.eoe-main .table-wrap{
  background:#dcecff !important;
  border:1px solid #aac0dc !important;
  border-radius:16px !important;
  padding:10px !important;
}
.eoe-main table th{
  background:#0b1220 !important;
  color:#ffffff !important;
}
.eoe-main table td{
  background:#f8fbff !important;
  color:#071126 !important;
}
.eoe-main table tr:nth-child(even) td{
  background:#eef6ff !important;
}
.eoe-main .filters,
.eoe-main .inline,
.eoe-main .actions-row:not(.eoe-actions){
  background:rgba(220,236,255,.86) !important;
  border:1px solid #b3c9e4 !important;
}
.eoe-main input,
.eoe-main select,
.eoe-main textarea{
  background:#ffffff !important;
  color:#071126 !important;
  border-color:#7f9bbb !important;
}
.eoe-main label{
  color:#071126 !important;
  font-weight:900 !important;
}
.eoe-actions{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.btn.danger,
.eoe-main .btn.danger{
  background:#dc2626 !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(220,38,38,.22) !important;
}
.eoe-main .report-panel{
  min-height:190px;
}
.eoe-main .report-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#ffffff;
  border:1px solid #bfd2ea;
  border-radius:16px;
  padding:14px 16px;
  margin:10px 0;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}
.eoe-main .report-stat span{
  color:#0f172a;
  font-weight:800;
  font-size:15px;
}
.eoe-main .report-stat strong{
  color:#020617;
  font-size:38px;
  line-height:1;
  font-weight:950;
}
.eoe-main .report-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}
.eoe-main .report-stat-wide{
  margin:0;
}
@media(max-width:900px){
  .eoe-main .report-stat strong{font-size:32px;}
}
