/* =====================================================
   WIPFLOW REPORTS — Xero-style redesign v2
   /var/www/html/wf-reports.css

   Palette:
     --wf-accent  #0e76a8  (professional teal-blue)
     --wf-text    #1a1a2e
     --wf-muted   #6b7280
     --wf-border  #dce1e7
     --wf-bg      #f5f7fa
     Section bands: blue / green / orange / purple / teal
   ===================================================== */

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --wf-bg:       #f5f7fa;
  --wf-card:     #ffffff;
  --wf-border:   #dce1e7;
  --wf-text:     #1a1a2e;
  --wf-muted:    #6b7280;
  --wf-accent:   #0e76a8;
  --wf-green:    #1a7c48;
  --wf-red:      #c0392b;
  --wf-row-alt:  #f8fafc;
  --wf-shadow:   0 1px 4px rgba(0,0,0,0.08);
  --wf-radius:   6px;
  /* Section group colours */
  --wf-ctd:      #DBEAFE;
  --wf-ytd:      #D1FAE5;
  --wf-mtd:      #FFEDD5;
  --wf-wip:      #EDE9FE;
  --wf-ret:      #CCFBF1;
}

/* =====================================================
   PAGE & OUTER WRAPPER
   ===================================================== */
._section.mt-5 {
  background: var(--wf-bg) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

._webView {
  padding: 20px 24px !important;
}

/* =====================================================
   FILTER BAR  (row of dropdowns + date pickers)
   ===================================================== */

/* Card around the filter row */
._webView > .row:first-child {
  background: var(--wf-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  padding: 12px 16px !important;
  margin: 0 0 10px 0 !important;
  box-shadow: var(--wf-shadow);
  align-items: center;
}

._webView > .row:first-child > [class*="col-"] {
  padding: 4px 8px !important;
}

/* Each filter field wrapper */
.report_fields {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

/* Filter labels */
.report_fields label.text-right {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  color: var(--wf-muted) !important;
  white-space: nowrap !important;
  min-width: 44px !important;
  text-align: right !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}

/* Selects inside filter */
.report_fields .form-control,
.report_fields select.form-control {
  height: 32px !important;
  font-size: 12.5px !important;
  border: 1px solid var(--wf-border) !important;
  border-radius: 4px !important;
  color: var(--wf-text) !important;
  background-color: var(--wf-card) !important;
  padding: 0 8px !important;
  flex: 1 !important;
}

.report_fields .form-control:focus {
  border-color: var(--wf-accent) !important;
  box-shadow: 0 0 0 2px rgba(14,118,168,0.12) !important;
  outline: none !important;
}

/* Date inputs inside filter */
.report_fields input[type="text"],
.report_fields .form-control[type="text"] {
  height: 32px !important;
  font-size: 12.5px !important;
  border: 1px solid var(--wf-border) !important;
  border-radius: 4px !important;
  padding: 0 8px !important;
  color: var(--wf-text) !important;
  background: var(--wf-card) !important;
}

/* Select2 overrides inside filter */
.report_fields .select2-container--default .select2-selection--single {
  height: 32px !important;
  border: 1px solid var(--wf-border) !important;
  border-radius: 4px !important;
}

.report_fields .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px !important;
  font-size: 12.5px !important;
  color: var(--wf-text) !important;
  padding-left: 8px !important;
}

.report_fields .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 30px !important;
}

/* =====================================================
   LOAD REPORT ROW  (Load report btn + Edit columns)
   ===================================================== */
._webView > .row:nth-child(2) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
}

._webView > .row:nth-child(2) > [class*="col-"] {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
}

/* Load report button — Xero blue */
._webView button[type="button"],
._webView .btn-load {
  background: var(--wf-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 7px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  white-space: nowrap !important;
}

._webView button[type="button"]:hover {
  background: #0a5d87 !important;
}

/* Edit columns link */
._webView > .row:nth-child(2) a {
  color: var(--wf-accent) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

._webView > .row:nth-child(2) a:hover {
  text-decoration: underline !important;
  color: #0a5d87 !important;
}

/* =====================================================
   COLUMN TOGGLE CHECKBOXES  (Edit columns panel)
   ===================================================== */
._webView > .mt-3:not(.report_grid) {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

._webView > .mt-3 > .row {
  background: var(--wf-card) !important;
  border: 1px solid var(--wf-border) !important;
  border-radius: var(--wf-radius) !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 20px !important;
  align-items: center !important;
}

._webView > .mt-3 label {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--wf-text) !important;
  cursor: pointer !important;
  margin: 0 !important;
}

._webView > .mt-3 input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  accent-color: var(--wf-accent) !important;
  cursor: pointer !important;
}

/* =====================================================
   REPORT OUTPUT CARD
   ===================================================== */

/* Outer card wrapper — the 4th child of _webView */
._webView > div:not(.row):not([class*="mt-3"]) {
  background: var(--wf-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  overflow: hidden;
}

/* ---- Report header: logo + company name ----------- */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 {
  padding: 18px 24px 14px !important;
  border-bottom: 1px solid var(--wf-border) !important;
  margin-top: 0 !important;
}

._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 .row {
  align-items: center !important;
  margin: 0 !important;
}

._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 img {
  max-height: 56px !important;
  max-width: 110px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Company name / report title */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 ._formController {
  text-align: center !important;
}

._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 ._formController > div,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 ._formController > span,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 ._formController > p {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--wf-text) !important;
  letter-spacing: -0.2px !important;
  line-height: 1.3 !important;
}

/* Margin on Cost dropdown inside header */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 .form-control,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 select {
  display: inline-block !important;
  width: auto !important;
  font-size: 11.5px !important;
  border: 1px solid var(--wf-border) !important;
  border-radius: 4px !important;
  height: 26px !important;
  padding: 0 6px !important;
  margin-top: 6px !important;
  color: var(--wf-muted) !important;
  background: var(--wf-bg) !important;
}

/* ---- Period / metadata strip ---------------------- */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 {
  background: #f8fafc !important;
  border-bottom: 1px solid var(--wf-border) !important;
  padding: 10px 24px !important;
  margin-top: 0 !important;
}

._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .row {
  margin: 0 !important;
  align-items: baseline !important;
}

/* "October 2026" */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .col-lg-6:first-child strong,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .col-lg-6:first-child a {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--wf-accent) !important;
}

/* "Last process month" and other text in that col */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .col-lg-6:first-child {
  font-size: 12px !important;
  color: var(--wf-muted) !important;
}

/* "Date generated" and "Generated by" — right side */
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .col-lg-6.text-right,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 [class*="col-"]:last-child {
  font-size: 11px !important;
  color: var(--wf-muted) !important;
}

._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 .col-lg-6.text-right strong,
._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 [class*="col-"]:last-child strong {
  color: var(--wf-text) !important;
  font-weight: 600 !important;
}

/* ---- Description / query summary inside thead ----- */
.report_grid table thead tr:first-child th:first-child {
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 10.5px !important;
}

/* =====================================================
   TABLE WRAPPER
   ===================================================== */
.report_grid {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.report_grid._scroll,
.report_grid > ._scroll {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Scrollbar — slim and tasteful */
.report_grid ._scroll::-webkit-scrollbar,
._scroll::-webkit-scrollbar {
  height: 5px !important;
}

.report_grid ._scroll::-webkit-scrollbar-track,
._scroll::-webkit-scrollbar-track {
  background: #eef1f4 !important;
}

.report_grid ._scroll::-webkit-scrollbar-thumb,
._scroll::-webkit-scrollbar-thumb {
  background: #b0bec5 !important;
  border-radius: 3px !important;
}

/* =====================================================
   TABLE CORE
   ===================================================== */
.report_grid table.w-100,
._scroll table.w-100 {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 11.5px !important;
  color: var(--wf-text) !important;
  table-layout: auto !important;
  min-width: 900px; /* forces horizontal scroll on very narrow screens */
}

/* =====================================================
   THEAD ROW 1 — section group headers
   ===================================================== */
._scroll table.w-100 thead tr:first-child th,
.report_grid table.w-100 thead tr:first-child th {
  padding: 9px 10px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border: none !important;
  border-right: 3px solid rgba(255,255,255,0.25) !important;
  vertical-align: middle !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* Description / summary cell */
._scroll table.w-100 thead tr:first-child th:first-child,
.report_grid table.w-100 thead tr:first-child th:first-child {
  background: #F1F5F9 !important;
  text-align: left !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.88) !important;
  border-right: 3px solid rgba(255,255,255,0.3) !important;
}

/* CTD */
._scroll table.w-100 thead tr:first-child th:nth-child(2),
.report_grid table.w-100 thead tr:first-child th:nth-child(2) {
  background: var(--wf-ctd) !important;
  text-align: center !important;
}

/* YTD */
._scroll table.w-100 thead tr:first-child th:nth-child(3),
.report_grid table.w-100 thead tr:first-child th:nth-child(3) {
  background: var(--wf-ytd) !important;
  text-align: center !important;
}

/* MTD */
._scroll table.w-100 thead tr:first-child th:nth-child(4),
.report_grid table.w-100 thead tr:first-child th:nth-child(4) {
  background: var(--wf-mtd) !important;
  text-align: center !important;
}

/* WIP */
._scroll table.w-100 thead tr:first-child th:nth-child(5),
.report_grid table.w-100 thead tr:first-child th:nth-child(5) {
  background: var(--wf-wip) !important;
  text-align: center !important;
}

/* Retention */
._scroll table.w-100 thead tr:first-child th:nth-child(6),
.report_grid table.w-100 thead tr:first-child th:nth-child(6) {
  background: var(--wf-ret) !important;
  text-align: center !important;
  border-right: none !important;
}

/* =====================================================
   THEAD ROW 2 — column headers
   ===================================================== */
._scroll table.w-100 thead tr:last-child th,
.report_grid table.w-100 thead tr:last-child th {
  padding: 7px 6px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  background: #f0f4f8 !important;
  color: #374151 !important;
  border-bottom: 2px solid #b0bec5 !important;
  border-right: 1px solid #dde3eb !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* First 3 cols: left-align */
._scroll table.w-100 thead tr:last-child th:nth-child(1),
._scroll table.w-100 thead tr:last-child th:nth-child(2),
._scroll table.w-100 thead tr:last-child th:nth-child(3),
.report_grid table.w-100 thead tr:last-child th:nth-child(1),
.report_grid table.w-100 thead tr:last-child th:nth-child(2),
.report_grid table.w-100 thead tr:last-child th:nth-child(3) {
  text-align: left !important;
}

/* Section dividers in col header row */
/* CTD starts at col 4 */
._scroll table.w-100 thead tr:last-child th:nth-child(4),
.report_grid table.w-100 thead tr:last-child th:nth-child(4) {
  border-left: 3px solid var(--wf-ctd) !important;
}

/* YTD */
._scroll table.w-100 thead tr:last-child th:nth-child(7),
.report_grid table.w-100 thead tr:last-child th:nth-child(7) {
  border-left: 3px solid var(--wf-ytd) !important;
}

/* MTD */
._scroll table.w-100 thead tr:last-child th:nth-child(10),
.report_grid table.w-100 thead tr:last-child th:nth-child(10) {
  border-left: 3px solid var(--wf-mtd) !important;
}

/* WIP */
._scroll table.w-100 thead tr:last-child th:nth-child(13),
.report_grid table.w-100 thead tr:last-child th:nth-child(13) {
  border-left: 3px solid var(--wf-wip) !important;
}

/* Retention — last group */
._scroll table.w-100 thead tr:last-child th:last-child,
.report_grid table.w-100 thead tr:last-child th:last-child {
  border-left: 3px solid var(--wf-ret) !important;
  border-right: none !important;
}

/* =====================================================
   TBODY — data rows
   ===================================================== */
._scroll table.w-100 tbody tr,
.report_grid table.w-100 tbody tr {
  border-bottom: 1px solid #edf0f5 !important;
}

._scroll table.w-100 tbody tr:nth-child(even),
.report_grid table.w-100 tbody tr:nth-child(even) {
  background: var(--wf-row-alt) !important;
}

._scroll table.w-100 tbody tr:hover,
.report_grid table.w-100 tbody tr:hover {
  background: #e8f4fb !important;
}

._scroll table.w-100 tbody td,
.report_grid table.w-100 tbody td {
  padding: 7px 7px !important;
  font-size: 12px !important;
  color: var(--wf-text) !important;
  border-right: 1px solid #edf0f5 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

/* Text cells: left-align */
._scroll table.w-100 tbody td:nth-child(1),
._scroll table.w-100 tbody td:nth-child(2),
._scroll table.w-100 tbody td:nth-child(3),
.report_grid table.w-100 tbody td:nth-child(1),
.report_grid table.w-100 tbody td:nth-child(2),
.report_grid table.w-100 tbody td:nth-child(3) {
  text-align: left !important;
}

/* Job ID: small, muted */
._scroll table.w-100 tbody td:nth-child(1),
.report_grid table.w-100 tbody td:nth-child(1) {
  font-size: 10.5px !important;
  color: var(--wf-muted) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* Job Name: semibold */
._scroll table.w-100 tbody td:nth-child(2),
.report_grid table.w-100 tbody td:nth-child(2) {
  font-weight: 600 !important;
  white-space: normal !important;
}

/* Client Name */
._scroll table.w-100 tbody td:nth-child(3),
.report_grid table.w-100 tbody td:nth-child(3) {
  white-space: normal !important;
  color: #4b5563 !important;
}

/* Number cells: right-align, tabular */
._scroll table.w-100 tbody td:nth-child(n+4),
.report_grid table.w-100 tbody td:nth-child(n+4) {
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.2px !important;
}

/* Section boundary lines in data rows */
._scroll table.w-100 tbody td:nth-child(4),
.report_grid table.w-100 tbody td:nth-child(4) {
  border-left: 3px solid #c5d5e8 !important;
}

._scroll table.w-100 tbody td:nth-child(7),
.report_grid table.w-100 tbody td:nth-child(7) {
  border-left: 3px solid #c5dbc8 !important;
}

._scroll table.w-100 tbody td:nth-child(10),
.report_grid table.w-100 tbody td:nth-child(10) {
  border-left: 3px solid #e8c9be !important;
}

._scroll table.w-100 tbody td:nth-child(13),
.report_grid table.w-100 tbody td:nth-child(13) {
  border-left: 3px solid #d5c5e8 !important;
}

/* =====================================================
   TOTAL / FOOTER ROW
   ===================================================== */
._scroll table.w-100 tbody tr:last-child,
.report_grid table.w-100 tbody tr:last-child {
  background: #eef2f7 !important;
  border-top: 2px solid #b0bec5 !important;
}

._scroll table.w-100 tbody tr:last-child td,
.report_grid table.w-100 tbody tr:last-child td {
  font-weight: 700 !important;
  font-size: 12px !important;
  color: var(--wf-text) !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* "Total" label cell */
._scroll table.w-100 tbody tr:last-child td:first-child,
.report_grid table.w-100 tbody tr:last-child td:first-child {
  text-align: right !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 10px !important;
  color: var(--wf-muted) !important;
  font-weight: 700 !important;
}

/* =====================================================
   PROFIT / LOSS COLOUR HELPERS
   (can be applied via PHP or JS to .wf-loss / .wf-profit)
   ===================================================== */
.wf-profit  { color: var(--wf-green) !important; font-weight: 600 !important; }
.wf-loss    { color: var(--wf-red)   !important; font-weight: 600 !important; }

/* =====================================================
   MISC UTILITY
   ===================================================== */
.f-12 { font-size: 12px !important; }

/* Back-to-top arrow */
a._flotTop,
._flotTop,
[href="#topNav"] {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 36px !important;
  height: 36px !important;
  background: var(--wf-accent) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  opacity: 0.85 !important;
  transition: opacity 0.2s !important;
}

a._flotTop:hover,
[href="#topNav"]:hover {
  opacity: 1 !important;
}

/* =====================================================
   PRINT — LANDSCAPE for Summary Report (default)
   ===================================================== */
@media print {

  /* Hide everything except report output */
  nav,
  #wf-sb,
  ._mobileNavBar,
  ._mobileView,
  ._mobileMenu,
  ._flotTop,
  [href="#topNav"],
  ._webView > .row:first-child,
  ._webView > .row:nth-child(2),
  ._webView > div.mt-3,
  .select2-container,
  .select2-dropdown {
    display: none !important;
  }

  ._section.mt-5 {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  ._webView {
    padding: 0 !important;
  }

  ._webView > div:not(.row):not([class*="mt-3"]) {
    border: none !important;
    box-shadow: none !important;
  }

  /* Allow table to breathe for print */
  ._scroll,
  .report_grid ._scroll,
  .report_grid > ._scroll {
    overflow: visible !important;
  }

  .report_grid table.w-100,
  ._scroll table.w-100 {
    font-size: 8.5pt !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  ._scroll table.w-100 thead tr:first-child th,
  .report_grid table.w-100 thead tr:first-child th,
  ._scroll table.w-100 tbody tr:last-child,
  .report_grid table.w-100 tbody tr:last-child {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  ._scroll table.w-100 tbody tr:nth-child(even),
  .report_grid table.w-100 tbody tr:nth-child(even) {
    background: #f5f7fa !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  ._scroll table.w-100 tbody td,
  .report_grid table.w-100 tbody td {
    padding: 4px 5px !important;
    font-size: 8pt !important;
    white-space: nowrap !important;
  }

  /* Report header: tighten for print */
  ._webView > div:not(.row):not([class*="mt-3"]) > .mt-3 {
    padding: 10px 12px 8px !important;
  }

  ._webView > div:not(.row):not([class*="mt-3"]) > .mt-5 {
    padding: 6px 12px !important;
  }

  /* Default: LANDSCAPE (Summary Report) */
  @page {
    size: A3 landscape;
    margin: 8mm 10mm;
  }
}

/* =====================================================
   PRINT — PORTRAIT for Individual Job Report
   Applied when <body class="wf-print-portrait"> is set
   by JavaScript (see notes below)

   JS to add to reports page (in the report type <select> change handler):

   $(document).on('change', '#reportTypeSelect, [name="report_type"]', function() {
     const val = $(this).val() || '';
     if (val.toLowerCase().includes('individual') || val.toLowerCase().includes('proccessing')) {
       document.body.classList.add('wf-print-portrait');
     } else {
       document.body.classList.remove('wf-print-portrait');
     }
   });

   ===================================================== */
@media print {
  body.wf-print-portrait {
    /* override the A3 landscape set above */
  }
}

/* We inject this <style> via JS when individual report is selected:
   <style id="wf-page-orient">@page { size: A4 portrait; margin: 15mm; }</style>
   See reports JS file.
*/

/* =====================================================
   RESPONSIVE — narrow screen adjustments
   ===================================================== */
@media (max-width: 768px) {
  ._webView {
    padding: 12px !important;
  }

  ._webView > .row:first-child {
    padding: 10px 12px !important;
  }

  .report_fields {
    flex-wrap: wrap !important;
  }

  .report_fields label.text-right {
    min-width: 0 !important;
    text-align: left !important;
  }

  ._scroll table.w-100 {
    font-size: 10px !important;
  }
}

/* Wipflow pastel header text colours */
.report_grid table thead tr:first-child th:nth-child(1) { color: #1E293B !important; font-style: italic; }
.report_grid table thead tr:first-child th:nth-child(2) { color: #1E40AF !important; }
.report_grid table thead tr:first-child th:nth-child(3) { color: #065F46 !important; }
.report_grid table thead tr:first-child th:nth-child(4) { color: #9A3412 !important; }
.report_grid table thead tr:first-child th:nth-child(5) { color: #5B21B6 !important; }
.report_grid table thead tr:first-child th:nth-child(6) { color: #115E59 !important; }
._flotTop { display: none !important; }
