/* ===================================================================
   GKMB CSV to HTML — project overrides
   Loaded after the extension's own frontend.css; matches the table
   look of the live site (zebra striping, primary-colored header).
   =================================================================== */

.gkmb_csv2html .ce-table {
  font-size: 80%;
}

.gkmb_csv2html .ce-table th {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  font-weight: var(--f-weight-n);
  /* gkmb_base sets table.ce-table th { font-size: var(--f-size) } directly
     on the element (126%), which re-inflates it on top of our 80% above
     since a direct rule always beats an inherited value — cancel it back
     to 100% of our table font-size so th matches td/Live again */
  font-size: 100%;
  text-align: center;
  /* fixed px, matching Live exactly (measured, not fluid/rem there either) */
  padding: 3px 15px;
  /* the extension's own CSS sets white-space:nowrap on every th/td; Live
     lets long headers (e.g. "Bushing length A") wrap onto two lines
     instead of forcing every column wide enough for one line, which is
     what pushes wide tables past the viewport */
  white-space: normal;
}

.gkmb_csv2html .ce-table td {
  text-align: center;
  padding: 11px 14px;
}

.gkmb_csv2html .ce-table tbody tr:nth-child(even) td {
  background: rgb(var(--c-neutral-lighter));
}
