/* Up Only styling for the self-hosted Metabase (served by Caddy as a same-origin file; Metabase's
   CSP blocks inline <style>). Blank gap column between SQL % and AC (its column name is U+200E):
   no empty header bubble. */
[role=columnheader][data-header-id="\200E"] [data-testid=header-cell],
[role=columnheader][data-header-id="\200F"] [data-testid=header-cell],
[role=columnheader][data-header-id="\2061"] [data-testid=header-cell] { visibility: hidden !important; }

/* Estimated figures in the Explorer table: italic, slightly grey (Charlie, 2 Oct).
   Whole columns: the estimated account and revenue metrics (and ROAS / break-even built on them). Rows: SQL / cSQL / SQL % where SQL includes estimated
   days (custom.js adds .uo-est, using the invisible marker the query appends to Breakdown). */
[role=gridcell][data-column-id="eAC"] [data-testid=cell-data],
[role=gridcell][data-column-id="eA50"] [data-testid=cell-data],
[role=gridcell][data-column-id="eAC %"] [data-testid=cell-data],
[role=gridcell][data-column-id="eA50 %"] [data-testid=cell-data],
[role=gridcell][data-column-id="eCAC"] [data-testid=cell-data],
[role=gridcell][data-column-id="ecA50"] [data-testid=cell-data],
[role=gridcell][data-column-id="eRev"] [data-testid=cell-data],
[role=gridcell][data-column-id="eRevAcc"] [data-testid=cell-data],
[role=gridcell][data-column-id="ROAS 12m"] [data-testid=cell-data],
[role=gridcell][data-column-id="BE Month"] [data-testid=cell-data],
[role=gridcell].uo-est [data-testid=cell-data] { font-style: italic !important; color: #858d9d !important;
  padding-right: 0.2em; overflow: visible !important; }  /* room for the slant: right-aligned italics lose the last digit's edge */

/* Latest week / month / day row: a soft blue tint over the whole row (no yellow — Charlie, 3 Oct), layered on
   top of any green/red cell shading so that still shows, plus a blue bar at the row's left edge.
   custom.js adds .uo-latest from the query's marker. */
[role=row].uo-latest [data-testid=body-cell-container] {
  background-image: linear-gradient(rgba(80, 158, 227, 0.13), rgba(80, 158, 227, 0.13)) !important;
}
[role=row].uo-latest [role=gridcell][data-column-id="Breakdown"] [data-testid=body-cell-container] {
  box-shadow: inset 3px 0 0 #509ee3;
}
