/* KPIs, draft (?drafts=1, html.fin-tbx; user, 2026-11-04): the band rows ("Revenue by product" …) are white, not grey, and YoY is a switch
   on the tab row instead of a column (aiq-attio-draft.js kpiView, fin-years-table.js dropYoY). */
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl tr.kd-band > td:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { background: var(--sh-bed, #fff) !important; }
html.fin-tbx.aiq-desk .at-ft-tools .at-kd-yoy:not(#_):not(#_):not(#_) { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 8px; border-radius: 4px; cursor: pointer;
  font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink, #101112); white-space: nowrap; }
html.fin-tbx.aiq-desk .at-kd-yoy .kd-yoy-sw { position: relative; flex: none; width: 24px; height: 14px; border-radius: 999px; background: color-mix(in srgb, var(--a-ink, #101112) 22%, transparent); }
html.fin-tbx.aiq-desk .at-kd-yoy .kd-yoy-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
html.fin-tbx.aiq-desk .at-kd-yoy.seg-on .kd-yoy-sw { background: #455DDC; }
html.fin-tbx.aiq-desk .at-kd-yoy.seg-on .kd-yoy-sw::after { left: 12px; }
/* the Statistics tabs' band rows (category + sub-section: "Earnings", "Sales" …) are white too, same as KPIs (user, 2026-11-04: "do the same for the other tabs") */
html.fin-tbx.aiq-desk #tab-statistics table.stx-at tr.stx-grp > td:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { background: var(--sh-bed, #fff) !important; }

/* the YoY switch belongs to KPIs only: it lives in .at-ft-tools, which outlasts a tab change */
html.fin-tbx.aiq-desk:not(:has(#tab-kpi.active)) .at-kd-yoy:not(#_):not(#_):not(#_):not(#_) { display: none !important; }

/* a hairline over the first table of KPIs and every ratio page (Multiples, Profitability, ROIC, Solvency, Other ratios), so the header row is boxed in (user, 2026-11-04);
   the tables stacked under it (.fy-joined / .fy-next) already have the line of the row above */
html.fin-tbx.aiq-desk :is(#kd-root table.kd-ktbl, #tab-statistics table.stx-at):not(.fy-next):not(.fy-joined):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > thead > tr > th { border-top: var(--hair, 1px) solid var(--a-line, #EEEFF1) !important; }

/* KPIs like the income statement's table (user, 2026-11-04): no blue dot on the newest year, no icons in the header or on the band rows (the −/+ stays),
   plain white cells (no lavender tint, no newest-year tint), the only vertical line is the Metric column's, bold band and total rows */
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > thead > tr > th.stx-new::after { display: none !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > thead > tr > th .stx-hi { display: none !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.kd-band .stx-ic { display: none !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:not(:first-child):not([colspan]) { background: var(--sh-bed, #fff) !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr:hover > td:not([colspan]) { background: var(--a-hover, rgba(0,0,0,.03)) !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):not(:first-child) { border-right: 0 !important; border-left: 0 !important; }
html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.kd-band .fy-bandt, html.fin-tbx.aiq-desk #kd-root table.kd-ktbl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.kd-total > td { font-weight: 700 !important; }

/* the lock column (FY23 + every Upgrade cell) is right-aligned like the figures beside it (user, 2026-11-04) */
html.fin-tbx.aiq-desk :is(#kd-root table.kd-ktbl, #tab-statistics table.stx-at):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th.aiq-lock-th, td.aiq-lock-td) { text-align: right !important; }

/* Multiples, Profitability, ROIC, Solvency, Other ratios get the KPIs treatment (user, 2026-11-04): no blue dot on the newest year, no icons in the header or on the
   band rows (the grade pill, count and −/+ stay), plain white cells, the only vertical line is the Metric column's, bold band rows */
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > thead > tr > th.stx-new::after { display: none !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > thead > tr > th .stx-hi { display: none !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.stx-grp .stx-ic { display: none !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:not(:first-child):not([colspan]) { background: var(--sh-bed, #fff) !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr:hover > td:not([colspan]) { background: var(--a-hover, rgba(0,0,0,.03)) !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):not(:first-child) { border-right: 0 !important; border-left: 0 !important; }
html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.stx-grp > td, html.fin-tbx.aiq-desk #tab-statistics table.stx-at:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) > tbody > tr.stx-grp .fy-bandt { font-weight: 700 !important; }
