/* V499 — CAPEX Implantação / Relatórios: CSS realmente carregado no index.html.
   Escopo estrito da tela, sem modificar impressão/PDF nem Excel. */
@media screen {
  #capexImplantacaoRelatorios .panel {min-width:0;max-width:100%;overflow:hidden;}
  #capexImplantacaoRelatorios .impl-report-wrap {
    display:block!important;width:100%!important;max-width:100%!important;
    max-height:calc(100vh - 285px)!important;min-height:380px;
    overflow-x:auto!important;overflow-y:auto!important;
    border:1px solid #d8e3ed;border-radius:10px;
    scrollbar-width:auto;scrollbar-color:#8ba5b9 #edf3f7;
    position:relative;
  }
  #capexImplantacaoRelatorios #implReportTable {width:max-content!important;min-width:100%!important;}
  #capexImplantacaoRelatorios .impl-report-table {
    width:2715px!important;min-width:2715px!important;max-width:none!important;
    table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;
    white-space:normal!important;font-size:11px!important;
  }
  #capexImplantacaoRelatorios .impl-report-table th,
  #capexImplantacaoRelatorios .impl-report-table td {
    box-sizing:border-box!important;max-width:none!important;
    padding:9px 9px!important;line-height:1.35!important;
    white-space:normal!important;overflow:hidden!important;
    overflow-wrap:break-word!important;word-break:normal!important;
    text-overflow:clip!important;vertical-align:middle!important;
    border-right:1px solid #d9e4ee!important;border-bottom:1px solid #e6edf3!important;
  }
  #capexImplantacaoRelatorios .impl-report-table thead th {
    position:sticky!important;top:0!important;z-index:4;
    height:53px!important;background:#102c47!important;color:#fff!important;
    font-size:10px!important;line-height:1.3!important;text-align:left!important;
    font-weight:750!important;
  }
  #capexImplantacaoRelatorios .impl-report-table thead th small {display:block!important;font-size:9px!important;color:#cce7ec!important;}
  #capexImplantacaoRelatorios .impl-report-table tbody td {height:45px!important;color:#253b51;}
  #capexImplantacaoRelatorios .impl-report-table tbody tr:nth-child(even) td:not(.impl-r-ok):not(.impl-r-run) {background:#f8fafc;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(1),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(1) {width:100px!important;min-width:100px!important;max-width:100px!important;position:sticky!important;left:0!important;z-index:3;background:#edf5fa!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(2),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(2) {width:270px!important;min-width:270px!important;max-width:270px!important;position:sticky!important;left:100px!important;z-index:3;background:#f2f7fa!important;}
  #capexImplantacaoRelatorios .impl-report-table thead th:nth-child(-n+2) {z-index:7;background:#102c47!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(3),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(3) {width:205px!important;min-width:205px!important;max-width:205px!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(4),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(4) {width:85px!important;min-width:85px!important;max-width:85px!important;text-align:center!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(5),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(5),
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(6),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(6) {width:115px!important;min-width:115px!important;max-width:115px!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(7),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(7) {width:115px!important;min-width:115px!important;max-width:115px!important;}
  #capexImplantacaoRelatorios .impl-report-table th:nth-child(n+8),
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(n+8) {width:130px!important;min-width:130px!important;max-width:130px!important;}
  #capexImplantacaoRelatorios .impl-report-table td .impl-date-pair {display:flex!important;flex-direction:column!important;gap:3px!important;align-items:flex-start!important;white-space:nowrap!important;}
  #capexImplantacaoRelatorios .impl-report-table td .impl-date-pair small {font-size:10px!important;white-space:nowrap!important;}
  #capexImplantacaoRelatorios .impl-report-table td .impl-date-pair b {font-size:11px!important;white-space:nowrap!important;}
  #capexImplantacaoRelatorios .impl-report-table td:nth-child(3) small {display:inline!important;}
  #capexImplantacaoRelatorios .impl-report-table tbody tr:hover td {box-shadow:inset 0 0 0 999px rgba(22,111,147,.045);}
}
