/* ── Financials section (Income statement … Other ratios): one header row on desktop (user 2026-10-30, as Government /
   Congress / Charts: "tabs on the left, all the settings on the right, always one single row"). The markup is the
   server's (user, 2026-10-31: "render the one-row header server-side … no flash on load"): financials/_fsr_tabs.html
   puts the nine tabs in the section tab row (index.html, the open one marked from the hash before the first paint) and
   in the statements' controls row with Period ▾ and Excel (_statements.html). This file decides the layout from first
   paint with no script: html.aiq-desk (set in _phone.html before paint: not the phone layout, so a workspace tab's
   749px iframe counts) + :has() on which tab is open. Statements: the controls row is the row and the section tab row
   hides; KPIs + ratio pages: the section tab row is the row. js/fin-stmts-one-row.js only clicks, fades, arrows. ── */

/* outside the desktop statements row, the server's extra controls aren't there (phones, other pages keep their rows) */
#stmts-toolbar > :is(.fsr-tabs, .fsr-xl, .at-period[data-srv], .fsr-more) { display: none; }
.fsr-more[hidden] { display: none !important; }
.stmt-data-table th .fsr-unit { display: none; }

html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) .at-ft-bar:not(#_):not(#_):not(#_) { display: none !important; }

/* the row: 48px, edge to edge, hairline under, never wraps; the tabs' words line up with the page's 14px edge */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar:not(#_):not(#_):not(#_):not(#_):not(#_) { display: flex !important; align-items: center; flex-wrap: nowrap; height: 48px; min-height: 48px; gap: 2px;
  margin: -8px -14px 0 !important; padding: 0 14px 0 5px !important; border-bottom: 1px solid var(--a-line); container-type: inline-size; }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) .at-ft .at-ft-bar:not(#_):not(#_):not(#_) { display: flex; align-items: stretch; height: 48px; gap: 2px; margin: 4px -14px 0;
  padding: 0 14px 0 5px; border-bottom: 1px solid var(--a-line); container-type: inline-size; }
/* the table starts on the row's hairline, as on the statements (the tab row's box kept a 12px gap under it) */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="kpi"], [data-k^="statistics"], [data-k="pay"])) .at-ft:not(#_):not(#_) { margin-bottom: 0 !important; }
/* in a workspace tab (iframe, html.is-popout) there's no rail beside the page: the -14px bleed overhung its 12px padding */
html.aiq-desk.is-popout:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { margin-right: -12px !important; }
html.aiq-desk.is-popout:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) .at-ft .at-ft-bar:not(#_):not(#_):not(#_):not(#_) { margin-right: -12px; }
html.aiq-desk.is-popout:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) .stmt-table-wrap:not(#_):not(#_):not(#_):not(#_) { margin-right: -12px !important; }   /* the table under it too */
html.aiq-desk.is-popout:has(.at-ft-tabs > .on:is([data-k="kpi"], [data-k^="statistics"])) :is(#kd-root .kd-card, .stx-tview):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { margin-right: -12px !important; }   /* KPI / ratio tables bled 2px too */

/* only the desktop statements row's own pieces: the old ones (statement picker, title, unit note, Flow | Bars, the
   Annual | Quarterly toggle Period ▾ stands for, the script-built action box) stay out of it */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > :not(.fsr-more, .fsr-tabs, .at-period, #stmts-controls, .fsr-xl):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-controls > :not(.stmt-opt, #stmt-currency-wrap, #stmt-period-wrap, .stmt-ar-tgl):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
/* the toggle stays measurable for stmtPills (Capital, Credit … hide it, and Period ▾ with it) but takes no room */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmt-period-wrap:not(.at-seg-gone):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { position: absolute !important; visibility: hidden; width: 0; height: 0; overflow: hidden; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > :is(.fsr-tabs, .at-period:not([hidden]), .fsr-xl, .fsr-more:not([hidden])):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex !important; }

/* tabs, Airtable-style (as Congress's .cg-vtab): plain words, no fill, no box, no count; the open tab is ink with a 2px
   bar on the row's bottom edge. The strip scrolls without a scrollbar and fades at an edge while tabs hide past it. */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > .fsr-tabs:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) .at-ft .at-ft-tabs:not(#_):not(#_):not(#_):not(#_) { order: -2; display: flex; align-items: stretch; align-self: stretch; gap: 2px;
  flex: 0 1 auto; min-width: 0; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
:is(.fsr-tabs, .at-ft-tabs)::-webkit-scrollbar { display: none; }
:is(.fsr-tabs, .at-ft-tabs).fade { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
:is(.fsr-tabs, .at-ft-tabs).fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px);
  mask-image: linear-gradient(90deg, transparent, #000 28px); }
:is(.fsr-tabs, .at-ft-tabs).fade.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft .at-ft-t):not(#_):not(#_):not(#_):not(#_) { position: relative; display: inline-flex; align-items: center; flex: none; height: auto;
  padding: 0 9px; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; white-space: nowrap;
  color: var(--a-label); font: 500 14px/20px Inter, system-ui, sans-serif; }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft .at-ft-t):hover:not(#_):not(#_):not(#_):not(#_) { color: var(--a-ink); background: none; }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft .at-ft-t).on:not(#_):not(#_):not(#_):not(#_) { color: var(--a-ink); font-weight: 600; background: none; box-shadow: none; }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft .at-ft-t).on::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2px;
  border-radius: 2px 2px 0 0; background: var(--a-ink); }
/* the statements row's tabs are a copy: the open one follows the section tab row's (secTabs keeps that one current) */
html:has(.at-ft-tabs > .on[data-k="income_statement"]) .fsr-tab[data-k="income_statement"],
html:has(.at-ft-tabs > .on[data-k="balance_sheet"]) .fsr-tab[data-k="balance_sheet"],
html:has(.at-ft-tabs > .on[data-k="cash_flow"]) .fsr-tab[data-k="cash_flow"] { color: var(--a-ink) !important; font-weight: 600 !important; }
html:has(.at-ft-tabs > .on[data-k="income_statement"]) .fsr-tab[data-k="income_statement"]::after,
html:has(.at-ft-tabs > .on[data-k="balance_sheet"]) .fsr-tab[data-k="balance_sheet"]::after,
html:has(.at-ft-tabs > .on[data-k="cash_flow"]) .fsr-tab[data-k="cash_flow"]::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 0;
  height: 2px; border-radius: 2px 2px 0 0; background: var(--a-ink); }
/* KPIs only where the company has them (index.html leaves the tab out of the section row then) */
html:not(:has(.at-ft-tabs > [data-k="kpi"])) .fsr-tab[data-k="kpi"] { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) .at-ft .at-ft-tools:not(#_):not(#_) { align-self: center; gap: 2px; margin-left: 8px; }

/* right side, in this order: Period · (currency) · View settings · Excel */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > :is(.at-period, #stmts-controls):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 3; flex: none; margin-left: 0 !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > .fsr-xl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 9; flex: none; margin-left: 8px !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar #stmts-controls:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: flex !important; align-items: center; gap: 2px; }

/* view settings (Period · View settings) are plain borderless ink words, dropdowns keep their ⌄, leading icons go; Excel
   makes something, so it stays the outlined Attio .at-btn with its icon. No blue: nothing is created here. */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar :is(.at-period, #stmt-opt-btn):not(#_):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) #stmts-toolbar .at-period:not(#_):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="kpi"], [data-k^="statistics"])) .at-ft .at-ft-tools .at-vs-btn:not(#_):not(#_):not(#_):not(#_) {
  display: inline-flex; align-items: center; gap: 6px; height: 28px !important; padding: 0 9px !important; border: 0 !important; border-radius: 8px !important;
  box-shadow: none !important; background: transparent !important; color: var(--a-ink) !important; flex: none;
  font: 500 14px/20px Inter, system-ui, sans-serif !important; letter-spacing: -0.07px !important; white-space: nowrap; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar :is(.at-period, #stmt-opt-btn):hover:not(#_):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) #stmts-toolbar .at-period:hover:not(#_):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="kpi"], [data-k^="statistics"])) .at-ft .at-ft-tools .at-vs-btn:hover:not(#_):not(#_):not(#_):not(#_) { background: var(--a-fill, rgba(0,0,0,.04)) !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar :is(.at-period > i:first-child, #stmt-opt-btn > .at-bic):not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) #stmts-toolbar .at-period > i:first-child:not(#_):not(#_):not(#_),
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="kpi"], [data-k^="statistics"])) .at-ft .at-ft-tools .at-vs-btn > i:first-child:not(#_):not(#_):not(#_) { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .at-period .at-sort-k:not(#_):not(#_), html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) #stmts-toolbar .at-period .at-sort-k:not(#_):not(#_) { color: var(--a-label) !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .at-period .at-car:not(#_):not(#_) { font-size: 11px; color: var(--a-mute); }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .fsr-xl:not(#_):not(#_):not(#_):not(#_) { align-items: center; gap: 6px; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar > .at-period[hidden]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }

/* laptop widths: still one row, sized to the row (sidebar open or not): the tabs scroll first, then the words go */
@container (max-width: 900px) {
  html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft-t):not(#_):not(#_):not(#_):not(#_):not(#_) { padding: 0 7px; }
  html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) :is(.fsr-tab, .at-ft-t)::after { left: 7px !important; right: 7px !important; }
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .at-period .at-sort-k:not(#_):not(#_):not(#_) { display: none; }
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .fsr-xl > span:not(#_):not(#_):not(#_) { display: none; }
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar .fsr-xl:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { width: 30px !important; min-width: 30px; padding: 0 !important; justify-content: center; }
}
@container (max-width: 640px) {
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar #stmt-opt-btn:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { font-size: 0 !important; gap: 0; }
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar #stmt-opt-btn > .at-bic:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-block !important; font-size: 16px; }
  html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="income_statement"], [data-k="balance_sheet"], [data-k="cash_flow"])):has(#tab-financials.active #stmts-toolbar:not(.at-tb-empty)) #stmts-toolbar #stmt-opt-btn > svg:not(#_):not(#_) { display: none; }
}

/* the unit in the table's corner cell (user, 2026-10-30: "move the USD millions somewhere else"); phones keep the
   statement's name there */
html.aiq-desk .stmt-data-table th .fsr-cn { display: none; }
html.aiq-desk .stmt-data-table th .fsr-unit:not(#_) { display: inline; color: var(--a-mute); font-weight: 500; }

/* "‹" / "›" beside the strip while tabs hide past that edge (user, 2026-10-30); the strip keeps the free space after it */
.fsr-more { display: inline-flex; align-items: center; justify-content: center; align-self: center; flex: none; width: 24px; height: 24px;
  padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; color: var(--a-label); }
.fsr-more:hover { color: var(--a-ink); background: var(--a-fill, rgba(0,0,0,.04)); }
.fsr-more i { font-size: 14px; }
.fsr-more.fsr-prev { order: -3; }
.fsr-more.fsr-next:not(#_) { order: -1; margin-right: auto; }
:is(.fsr-tabs, .at-ft-tabs):has(+ .fsr-next:not([hidden])):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { margin-right: 0 !important; }

/* ══ The other sections (user, 2026-10-31: "restyle the remaining headers within pages"): Valuation, Capital, Business,
   Ownership, Documents get the same row (the rules above run on any section with 2+ pages). A page's own controls
   row sits on the tab row's right (no row of its own): placed there by CSS the moment it is inserted (position:
   absolute in its panel, top = the tab row's), never moved; the tab row keeps room for it (--fsr-r, measured by the
   script, a per-page guess until then). ══ */
html.aiq-desk:has(.at-ft-tabs > :nth-child(2)):not(:has(.at-ft-tabs > [data-k^="charts"])) .at-ft .at-ft-bar:not(#_):not(#_):not(#_):not(#_) { padding-right: calc(14px + var(--fsr-r, 0px)); }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) { --fsr-r: 470px; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) { --fsr-r: 330px; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) { --fsr-r: 120px; }
:is(html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) #tab-comparables, html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling, html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials).tab-panel.active:not(#_):not(#_) { position: relative; }
:is(html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) #tab-comparables.active #comp-root > .cmp-row3, html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling.active .mw-bar, html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials.active #stmts-toolbar:not(.at-tb-empty)):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) {
  position: absolute !important; top: var(--fsr-top, -60px); right: 0; z-index: 3; display: flex !important; align-items: center; flex-wrap: nowrap; gap: 2px;
  width: max-content !important; height: 48px; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  container-type: normal !important; }   /* size containment made max-content 0 wide */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials.active #stmts-toolbar > :not(.at-period, #stmts-controls):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
/* Period ▾ by CSS, not by measuring a hidden row: the statements, Capital structure and Acquisitions show their own
   Annual | Quarterly toggle; Properties, Patents, Board, Executive pay don't (their toolbar is then empty and hides) */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials.active #stmts-toolbar > .at-period:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"])) #tab-financials.active #stmts-toolbar > .at-period:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex !important; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials.active #stmts-controls > :not(#stmt-period-wrap):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
/* the page's own Annual | Quarterly toggle stays measurable: stmtPills shows Period ▾ only where the page shows it */
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])) #tab-financials.active #stmt-period-wrap:not(.at-seg-gone):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { position: absolute !important; visibility: hidden; width: 0; height: 0; overflow: hidden; }
html.aiq-desk:has(.at-ft-tabs > .on:is([data-k="x-cap"], [data-k="acquisitions"], [data-k="properties"], [data-k="patents"], [data-k="subsidiaries"], [data-k="board"], [data-k="pay"])).is-popout #tab-financials.active #stmts-toolbar:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { right: 0; }

/* Comparables: View · Peers · Show · View settings are view settings (plain words, no leading icon); CSV is an action */
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 :is(.at-viewpill, #cmp-peers, #cmp-ind-btn, #cmp-show):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex; align-items: center; gap: 6px; height: 28px !important; padding: 0 8px !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; background: transparent !important; color: var(--a-ink) !important; font: 500 14px/20px Inter, system-ui, sans-serif !important; white-space: nowrap; flex: none; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 :is(.at-viewpill, #cmp-peers, #cmp-ind-btn, #cmp-show):hover:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { background: var(--a-fill, rgba(0,0,0,.04)) !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 :is(.at-viewpill > .at-bic, #cmp-peers > svg, #cmp-ind-btn > .at-bic, #cmp-show > i:first-child, .at-row3-grow):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 :is(.at-segpill-k, .cmp-peer-n):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { color: var(--a-label) !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 .at-car:not(#_):not(#_):not(#_):not(#_) { font-size: 11px; color: var(--a-mute); }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-peers:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 1; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-show:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 2; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-ind-btn:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 3; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-csv-btn:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { order: 9; display: inline-flex; align-items: center; gap: 6px; height: 28px !important; padding: 0 8px !important; margin-left: 8px !important;
  border: 0 !important; border-radius: 8px !important; background: var(--a-bg) !important; color: var(--a-ink) !important; box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)) !important; font: 500 14px/20px Inter, system-ui, sans-serif !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-csv-btn svg:not(#_):not(#_):not(#_):not(#_) { width: 14px; height: 14px; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 > .at-r2:not(:has(> :not([hidden]))):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }   /* rowTwo's box, empty here */
/* short of room (html.fsr-tight, set by the script before paint when the tabs and the controls don't both fit): the
   settings keep their values, the keys go ("View", "Show"), View settings and CSV become icons (still outlined) */
html.fsr-tight.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 .at-segpill-k:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.fsr-tight.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-ind-btn > span:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),
html.fsr-tight.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-csv-btn > :is(.cmp-btn-t, .pro-tag):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.fsr-tight.aiq-desk:has(.at-ft-tabs > .on[data-k="comparables"]) .cmp-row3 #cmp-ind-btn > .at-bic:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-block !important; font-size: 16px; }
html.fsr-tight.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar a.ghost:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }

/* Modeling: the models picker and All models are plain words; New model is the page's one create action (blue) */
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar :is([data-pick="lv"], a.ghost):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex; align-items: center; gap: 6px; height: 28px !important; padding: 0 8px !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; background: transparent !important; color: var(--a-ink) !important; font: 500 14px/20px Inter, system-ui, sans-serif !important; white-space: nowrap; flex: none; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar :is([data-pick="lv"], a.ghost):hover:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { background: var(--a-fill, rgba(0,0,0,.04)) !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar :is([data-pick="lv"] > i:first-child, a.ghost > i, .sp):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar [data-pick="lv"] > i:last-child:not(#_):not(#_):not(#_):not(#_) { font-size: 11px; color: var(--a-mute); }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar .mw-btn.pri:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex; align-items: center; gap: 6px; height: 28px !important; padding: 0 8px 0 6px !important; margin-left: 8px !important;
  border: 0 !important; border-radius: 8px !important; background: var(--a-blue) !important; color: #fff !important; box-shadow: var(--a-btn-pri) !important;
  font: 500 14px/20px Inter, system-ui, sans-serif !important; }
html.aiq-desk:has(.at-ft-tabs > .on[data-k="modeling"]) #tab-modeling .mw-bar .mw-btn.pri:hover:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) { background: var(--a-blue-h) !important; }


/* Business pages: their source filing on the tab row's right (js finSrcBtn, user 2026-10-31), one page's at a time */
.at-ft-tools .fin-src-btn:not(#_):not(#_):not(#_):not(#_) { display: none !important; }
:is(html:has(.at-ft-tabs > .on[data-k="acquisitions"]) .fin-src-btn[data-page="acquisitions"], html:has(.at-ft-tabs > .on[data-k="properties"]) .fin-src-btn[data-page="properties"],
  html:has(.at-ft-tabs > .on[data-k="patents"]) .fin-src-btn[data-page="patents"], html:has(.at-ft-tabs > .on[data-k="subsidiaries"]) .fin-src-btn[data-page="subsidiaries"]):not(#_):not(#_):not(#_):not(#_):not(#_) { display: inline-flex !important; }
/* …and their tables edge to edge (user, same day: "do the same with all of the tabs. Always edge to edge"): out to the
   panel's sides with a hairline above and below, no box; an empty page says so in plain text */
:is(#acq-root .acq-card, #prp-root .prp-card, #pat-root .pat-tbl, #sub-root .sub-tbl):not(#_) { margin: 0 -14px; border: 0; border-radius: 0;
  border-top: 1px solid var(--s2-line2); border-bottom: 1px solid var(--s2-line2); background: none; overflow-x: auto; }
:is(#acq-root .acq-card, #prp-root .prp-card, #pat-root .pat-tbl, #sub-root .sub-tbl) > table:not(#_) { width: 100%; }
:is(#acq-root .acq-card, #prp-root .prp-card, #pat-root .pat-tbl, #sub-root .sub-tbl) :is(th, td):first-child:not(#_) { padding-left: 14px; }
:is(#acq-root .acq-card, #prp-root .prp-card, #pat-root .pat-tbl, #sub-root .sub-tbl) :is(th, td):last-child:not(#_) { padding-right: 14px; }
#prp-root .prp-card + .prp-card:not(#_) { margin-top: 24px; }
/* the Attio card rules (aiq-table-attio.css) give every card a 12px radius, an outline and a rounded ::after hairline; these
   edge-to-edge tables keep only the hairline above and below, square (user, 2026-11-04: "not rounded at the edges") */
html.at-fin-d .lkl-fin .tab-panel :is(#acq-root .acq-card, #prp-root .prp-card):not(.lkl-promo):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) {
  border-radius: 0 !important; outline: 0 !important; box-shadow: none !important; background: none !important;
  border-top: 1px solid var(--s2-line2) !important; border-bottom: 1px solid var(--s2-line2) !important; }
html.at-fin-d .lkl-fin .tab-panel :is(#acq-root .acq-card, #prp-root .prp-card):not(.lkl-promo):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::after { display: none !important; }
:is(#acq-root .acq-empty, #prp-root .prp-empty, #pat-root .pat-empty, #sub-root .sub-empty):not(#_) { margin: 0; border: 0; padding: 4px 0; background: none; }
