/* Hallmark · shape: Long Document (Home and XM; the hub is a Workbench of dated tables; the claim page runs as a Narrative Workflow of three numbered stages) · genre: modern-minimal · theme: Cobalt (by request) · job: sign up · draw: c06ffb · copy: verbatim
 * hero: Banner with the field visual (Home), Banner (XM, hub), Counter (calculator) · nav: a retracting bar, three-part: wordmark, six links, the account links (Log in, the Sign up key), over a strip of broker chips · footer: statement (one closing sentence large, the five part links beneath) over the locked compliance block · imagery: the rebate-flow glyph field (decorative SVG) and the product built: rate tables on graphite, the money-flow ledger, the calculator, the partner code chip · signature: the per-lot rate table set as an API reference, ruled full width with mono values, one pointed row on the cobalt wash, and Rate being confirmed printed as a value in its cell
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: checked by hand at 1280 x 800 and 390 x 844, render tier not run (no puppeteer-core); phase 2 swept with tests/tools/layout-sweep.mjs at 320, 360, 390, 768 and 1280 · v2.1.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, the locked compliance lines add text to every screen; held to one hero disclosure, one near-partner line and the footer block, set as plain Plex lines with no boxes or icons */
/* Hallmark · scope waiver (owner-directed; a statement of scope, not a gate waiver): the 450-word, six-to-nine-section landing budget binds the Home hero region only. Home continues, and the XM and comparison pages run, as 2,000+ word Long Document and Workbench reference pages for SEO, so prose windows pass the 80-word screen budget of gate 58 by the owner's decision; copy: verbatim reports 19, 58 and 69 as notes */
/* Hallmark · swaps: theme Cobalt by the owner's request, the generated ASCII field returns in phase 2 at the owner's request (full Cobalt) as one static, seeded SVG beside the Home hero: glyphs on the 8 by 16 cell shaped by the rebate flow, no script, a composed still under reduced motion · graphite carries every rate and compare table and the calculator result, so a page may hold more than one graphite panel by the owner's request · draw shape Narrative Workflow kept for the claim flow only, the reference pages keep the content plan's H2 order as Long Document and Workbench · draw hero Settled to Banner, Settled wants a picture beside the text and the material has none (no photos, screenshots or logos) · draw nav banner dropped, the brief's header part has no banner slot and the Home hero disclosure carries the risk sentence · draw close on the code sample kept on XM (the partner code chip on graphite); Home closes on the sign-up key because the plan puts no partner code on Home · pricing table with a period switch: the calculator's month or day switch carries it · Steps and Statement left out per the draw; the three-step money flow is the Pinned ledger */
/* Hallmark · dismissed F4 · Cobalt's secondary action is a key-face keycap, near the paper's own value with a grey bottom edge; the only filled colour is the one cobalt key, and the Copy code key is part of the partner code chip, not a second call to action */
/* Hallmark · dismissed F7 · the repeated recipe is Cobalt's one control material, the keycap (key face, hairline edge, 3px bottom edge, lift on hover, sink on press); tabs, option keys, the copy key and the dashboard tabs are all keys on purpose, and role is carried by fill (the one cobalt key) and by the sunken paper-3 tray */
/* Hallmark · dismissed 70 · the flagged string is the calculator data block's pendingText, the brief's missing-rate note, not a success message; the claim form prints only "Nothing was sent" in the comp */
/* Class contract: docs/feature-factory/03-brief.md sections 7.1 to 7.5 and 8.2 to 8.3. fxcs-* blocks keep their names; core blocks keep core classes; layout helpers are fxcs-* and become pattern or group className values. */

/* Theme port (fxcashback block theme): tokens.css and base.css load first as separate handles; fonts come from theme.json fontFace. fxcs block markup is styled in fxcs-blocks.css, form controls in forms.css (loaded only when the calculator or claim form renders). */

/* ---------- page ---------- */
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
.wp-site-blocks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wp-site-blocks > main, .wp-site-blocks > .fxcs-main { flex: 1 0 auto; }
.fxcs-section { padding-block: var(--section-gap) 0; }
.fxcs-section--l { padding-block-start: var(--section-gap-l); }
.fxcs-section--s { padding-block-start: var(--section-gap-s); }
p.is-style-lead, .is-style-lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; color: var(--color-ink-2); }

/* the claim form honeypot: off screen for people, still in the form for bots (brief 8.4) */
.fxcs-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- main, breadcrumbs, page title ---------- */
.fxcs-main { padding-block-end: var(--space-2xl); }
.fxcs-main > .wp-block-breadcrumbs { margin-block-start: 0; padding-block-start: var(--space-lg); }
.fxcs-main > .wp-block-post-title { margin-block-start: var(--space-xl); }
.fxcs-main > .wp-block-breadcrumbs + .wp-block-post-title { margin-block-start: var(--space-lg); }
.fxcs-main > .wp-block-post-title + .wp-block-post-content { margin-block-start: var(--space-lg); }
.fxcs-main > :first-child { margin-block-start: 0; }
h1.wp-block-post-title { font-size: var(--text-display-s); line-height: 1.02; max-width: 22ch; }
.wp-block-breadcrumbs { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }
.wp-block-breadcrumbs ol { gap: 0; }
.wp-block-breadcrumbs li { white-space: nowrap; }
.fxcs-main .wp-block-breadcrumbs li:not(:last-child)::after { color: var(--color-rule-2); opacity: 1; margin-inline: var(--space-xs); }
.wp-block-breadcrumbs a { display: inline-block; padding-block: var(--space-2xs); color: var(--color-ink-2); }
.wp-block-breadcrumbs a:hover { color: var(--color-ink); }
.wp-block-breadcrumbs [aria-current="page"] { color: var(--color-ink); white-space: normal; }

/* ---------- the long document: post-content set as one reading column, data sheets wider ---------- */
.wp-block-post-content.fxcs-prose { font-size: var(--text-prose); line-height: 1.7; color: var(--color-ink-2); }
.fxcs-prose > h2 { margin-block-start: var(--space-3xl); scroll-margin-top: calc(var(--bar-h) + var(--space-lg)); }
.fxcs-prose > h3 { margin-block-start: var(--space-xl); }
.fxcs-prose > h2 + *, .fxcs-prose > h3 + * { margin-block-start: var(--space-md); }
.fxcs-prose > h2 + h3 { margin-block-start: var(--space-lg); }
.fxcs-prose > :is(figure, .wp-block-table, .wp-block-group, .wp-block-buttons, [class*="wp-block-fxcs-"]) { margin-block-start: var(--space-xl); }
.fxcs-prose > :is(figure, .wp-block-table, .wp-block-group, .wp-block-buttons, [class*="wp-block-fxcs-"]) + p { margin-block-start: var(--space-xl); }
.fxcs-prose > .wp-block-fxcs-when, .fxcs-prose > .wp-block-fxcs-when + p { margin-block-start: var(--space-md); }
.fxcs-prose > :is(.wp-block-fxcs-faq:has(> .fxcs-faq__heading), .wp-block-fxcs-proof:has(> .fxcs-proof__heading)) { margin-block-start: var(--space-3xl); }
.fxcs-prose > :first-child { margin-block-start: 0; }
.fxcs-prose :is(ul, ol):not([class*="is-style-"]) { padding-left: var(--space-lg); }
.fxcs-prose li + li { margin-top: var(--space-xs); }
.fxcs-prose li::marker { color: var(--color-muted); }
.fxcs-prose > :is(
  .fxcs-hero, .alignwide, .wp-block-table, .is-style-flow, .fxcs-pinned, .fxcs-codes, .fxcs-well, .fxcs-close, .fxcs-band--graphite, .fxcs-faq-section, .fxcs-head-split, .fxcs-split,
  .wp-block-fxcs-broker-cards, .wp-block-fxcs-rate-table, .wp-block-fxcs-compare-table, .wp-block-fxcs-earnings-table, .wp-block-fxcs-cost-table,
  .wp-block-fxcs-country-table, .wp-block-fxcs-promos, .wp-block-fxcs-regulators.is-variant-table, .wp-block-fxcs-rules.is-variant-table,
  .wp-block-fxcs-calculator, .wp-block-fxcs-claim-form, .wp-block-fxcs-faq, .wp-block-fxcs-existing-accounts, .wp-block-fxcs-proof,
  .fxcs-tabs, .is-style-dark-panel
) { max-width: var(--data-size); }
/* doubled class: the :is() list above scores (0,3,0) because of .wp-block-fxcs-regulators.is-variant-table */
.fxcs-prose.fxcs-prose > :is(.fxcs-hero, .alignwide, .fxcs-benefits) { max-width: none; }
/* inner blocks of plugin wrappers that have no layout support of their own */
:is(.wp-block-fxcs-when, .fxcs-faq__a, .fxcs-partner) > :is(p, ul, ol, .wp-block-buttons) + :is(p, ul, ol, .wp-block-buttons) { margin-top: var(--space-md); }

/* ---------- header part: a retracting bar ---------- */
.fxcs-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); transition: transform var(--dur-short) var(--ease-out); }
.admin-bar .fxcs-header { top: var(--wp-admin--admin-bar--height, 0px); }
.fxcs-header.is-retracted { transform: translateY(-100%); }
.fxcs-header .fxcs-header__inner { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); }
.wp-block-site-title { margin: 0; font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.wp-block-site-title a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink); text-decoration: none; }
.wp-block-site-title a::before { content: ""; width: var(--space-xs); height: var(--space-xs); background: var(--color-accent); }
.fxcs-header .wp-block-navigation { margin-left: auto; font: 500 var(--text-sm)/1 var(--font-display); }
.fxcs-header .wp-block-navigation .wp-block-navigation__container { gap: var(--space-lg); }
.fxcs-header .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.fxcs-header .wp-block-navigation-item__content:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.fxcs-header .wp-block-navigation-item__content[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.fxcs-header .fxcs-header__account { margin: 0; }
/* Focus and in-page links never land under the sticky header (layout sweep: backward tabbing at 768). */
html { scroll-padding-top: calc(var(--header-h) + var(--space-sm)); }
/* the Menu and Close keys of the core overlay */
.fxcs-header .wp-block-navigation__responsive-container-open, .fxcs-header .wp-block-navigation__responsive-container-close {
  align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink);
  font: 500 var(--text-sm)/1 var(--font-display); box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.fxcs-header .wp-block-navigation__responsive-container-open:active, .fxcs-header .wp-block-navigation__responsive-container-close:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.fxcs-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--color-paper); color: var(--color-ink); padding: var(--space-md) var(--gutter); }
.fxcs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.fxcs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-top: var(--rule-hair) solid var(--color-rule); }
.fxcs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { min-height: var(--control-h); width: 100%; font-size: var(--text-lg); }

/* ---------- keycaps: core buttons, element buttons, every state ---------- */
.wp-block-buttons { gap: var(--space-sm); padding-bottom: var(--space-2xs); }
a.wp-element-button, button.wp-element-button, .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); height: auto; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-accent-edge); border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink);
  font: 500 var(--text-md)/1.15 var(--font-display); text-align: center; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-key-accent);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
a.wp-element-button:hover, button.wp-element-button:hover, .wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); background: var(--color-accent-deep); color: var(--color-accent-ink); text-decoration: none; }
a.wp-element-button:active, button.wp-element-button:active, .wp-block-button .wp-block-button__link:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
a.wp-element-button:focus-visible, button.wp-element-button:focus-visible, .wp-block-button .wp-block-button__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
button.wp-element-button:disabled, .wp-element-button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.wp-element-button[aria-busy="true"] { cursor: progress; }
/* the key-face key: outline buttons and partner links outside the hero and the close */
.wp-block-button.is-style-outline > .wp-block-button__link, .fxcs-codes--paper .fxcs-partner__link.wp-element-button, .fxcs-partner.is-variant-step .fxcs-partner__link.wp-element-button {
  background: var(--color-key-face); border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); box-shadow: var(--shadow-key); padding: 0 var(--space-lg);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover, .fxcs-codes--paper .fxcs-partner__link.wp-element-button:hover, .fxcs-partner.is-variant-step .fxcs-partner__link.wp-element-button:hover { background: var(--color-key-face); color: var(--color-ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:active, .fxcs-codes--paper .fxcs-partner__link.wp-element-button:active, .fxcs-partner.is-variant-step .fxcs-partner__link.wp-element-button:active { box-shadow: var(--shadow-key-press); }
.fxcs-spin { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fxcs-spin 0.8s linear infinite; }
@keyframes fxcs-spin { to { transform: rotate(1turn); } }

/* ---------- heroes: Banner. hero-home and hero-offer hold flat blocks, placed on a 12 column grid ---------- */
.fxcs-hero { padding-block: var(--space-2xl) var(--space-xl); }
.fxcs-hero.fxcs-hero > * { margin-inline: 0 !important; max-width: none; }
.fxcs-hero h1 { font-size: var(--text-display-s); line-height: 1.02; max-width: 22ch; }
.fxcs-hero--home { padding-block: var(--space-2xl) var(--space-lg); }
.fxcs-hero--offer { padding-block: var(--space-lg) var(--space-xl); }
.fxcs-trust, .fxcs-hero > p:not([class]), .fxcs-hero > p[class="wp-block-paragraph"] { font-size: var(--text-md); line-height: 1.55; color: var(--color-ink-2); max-width: 46ch; }
.fxcs-trust time { font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-ink); white-space: nowrap; }
.fxcs-hero > .wp-block-fxcs-partner-cta { justify-items: start; }
@media (min-width: 60.0625rem) {
  .fxcs-hero--home, .fxcs-hero--offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: start; }
  .fxcs-hero--home > *, .fxcs-hero--offer > * { grid-column: 1 / span 7; margin-block: 0 !important; }
  .fxcs-hero--home > :is(p:not([class]), p[class="wp-block-paragraph"], .fxcs-trust, .wp-block-fxcs-disclosures, .wp-block-fxcs-date-stamp) { grid-column: 9 / span 4; }
  .fxcs-hero--home > :is(p:not([class]), p[class="wp-block-paragraph"], .fxcs-trust) { align-self: end; }
  .fxcs-hero--offer > .wp-block-fxcs-partner-cta { grid-column: 9 / span 4; grid-row: 1 / span 3; }
}
@media (max-width: 60rem) {
  .fxcs-hero { padding-block: var(--space-lg) var(--space-xl); }
  .fxcs-hero > * + * { margin-block-start: var(--space-lg) !important; }
  .fxcs-hero .wp-block-buttons .wp-block-button { flex: 1 1 auto; }
  .fxcs-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
  /* K3: the risk warning and IB disclosure stay above the sticky bar at 375x812 and 390x844 (layout sweep, fold
     pass). The drawing (aria-hidden) and the plain trust sentence (no links, so focus order is unchanged) follow
     the disclosures on phones; the locked blocks keep their place in the content. */
  .fxcs-hero.fxcs-hero--home { display: flex; flex-direction: column; }
  .fxcs-hero.fxcs-hero--home > :is(.fxcs-hero-visual, p:not([class]), p[class="wp-block-paragraph"]) { order: 1; }
  .fxcs-prose > .wp-block-fxcs-disclosures.is-hero { margin-block-start: var(--space-md); }
}
@media (max-width: 40rem) { .fxcs-hero .wp-block-buttons { flex-direction: column; align-items: stretch; } .fxcs-hero .wp-block-buttons .wp-block-button { width: 100%; } }

/* ---------- core list styles: steps (respects <ol start>), checklist, bold-led, flow ---------- */
ol.is-style-steps, ul.is-style-steps { counter-reset: step var(--fxcs-steps-reset, 0); list-style: none; padding-left: 0; }
/* Not a grid: a step mixes elements and bare text, and bare text would become its own grid item in the number column. */
.is-style-steps > li { counter-increment: step; position: relative; margin: 0; padding-block: var(--space-sm); padding-inline-start: calc(2.5rem + var(--space-sm)); border-top: var(--rule-hair) solid var(--color-rule); }
.is-style-steps > li:first-child { border-top: 0; }
.is-style-steps > li::before { content: counter(step); position: absolute; inset-inline-start: 0; inset-block-start: var(--space-sm); font: 600 var(--text-lg)/1.4 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-accent); }
.fxcs-prose > .is-style-steps + .is-style-steps { margin-block-start: 0; }
.is-style-checklist { list-style: none; padding-left: 0; }
.is-style-checklist > li { position: relative; margin: 0; padding: var(--space-sm) 0 var(--space-sm) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.is-style-checklist > li:first-child { border-top: 0; }
.is-style-checklist > li::before { content: ""; position: absolute; left: 0; top: calc(var(--space-sm) + 0.62em); width: 7px; height: 7px; background: var(--color-success); }
.is-style-checklist > li:has(> .fxcs-verdict) { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-md); padding-left: 0; }
.is-style-checklist > li:has(> .fxcs-verdict)::before { content: none; }
.is-style-bold-led { list-style: none; padding-left: 0; }
.is-style-bold-led > li { margin: 0; padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.is-style-bold-led > li:first-child { border-top: 0; }
.is-style-bold-led > li > strong:first-child { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.fxcs-verdict { display: inline-flex; align-items: baseline; gap: var(--space-xs); font: 500 var(--text-sm)/1.9 var(--font-display); color: var(--color-success); white-space: nowrap; }
.fxcs-verdict::before { content: ""; flex: none; width: 7px; height: 7px; background: currentColor; transform: translateY(-1px); }
.fxcs-verdict.is-no { color: var(--color-error-ink); }
.fxcs-verdict.is-no::before { background: transparent; border: 1.5px solid currentColor; }
/* money flow: a ruled ledger of who pays whom; the active row sits on the wash */
.is-style-flow { counter-reset: flow; list-style: none; margin-inline: 0; padding: var(--space-xs) var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); }
/* Not a grid either: a flow row mixes elements and bare text (layout sweep: every word on its own line at 320 to 390). */
.is-style-flow > li { counter-increment: flow; position: relative; margin: 0; padding: var(--space-md) var(--space-sm) var(--space-md) calc(2.5rem + var(--space-sm)); border-top: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); transition: background-color var(--dur-short) var(--ease-out); }
.is-style-flow > li:first-child { border-top: 0; }
.is-style-flow > li::before { content: counter(flow) ".0"; position: absolute; inset-inline-start: var(--space-sm); inset-block-start: var(--space-md); font: 600 var(--text-md)/1.7 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-accent); }
.is-style-flow > li > strong:first-child { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.is-style-flow > li.is-active { background: var(--color-accent-wash); }
.is-style-flow > li:has(> .fxcs-flow__from) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-inline-start: var(--space-sm); }
.is-style-flow > li:has(> .fxcs-flow__from)::before { content: none; }
.fxcs-flow__from, .fxcs-flow__to { font: 500 var(--text-md)/1.25 var(--font-display); color: var(--color-ink); }
.fxcs-flow__to { text-align: right; }
.fxcs-flow__what { position: relative; font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; padding-bottom: var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.fxcs-flow__what::after { content: ""; position: absolute; right: -1px; bottom: -4px; width: 7px; height: 7px; border-top: var(--rule-hair) solid var(--color-rule-2); border-right: var(--rule-hair) solid var(--color-rule-2); transform: rotate(45deg); }
.is-style-flow li.is-active .fxcs-flow__what { border-bottom-color: var(--color-accent); color: var(--color-ink); }
.is-style-flow li.is-active .fxcs-flow__what::after { border-color: var(--color-accent); }

/* ---------- core group and paragraph styles ---------- */
.wp-block-group.is-style-answer-first { font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink); max-width: 58ch; padding-left: var(--space-md); border-left: 2px solid var(--color-accent); }
.wp-block-group.is-style-answer-first > * + * { margin-block-start: var(--space-sm); }
.wp-block-group.is-style-callout { padding: var(--space-lg) var(--space-xl); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); border-bottom: var(--rule-hair) solid var(--color-rule-2); max-width: 70ch; }
.wp-block-group.is-style-callout > * + * { margin-block-start: var(--space-sm); }
.wp-block-group.is-style-callout > :is(.wp-block-buttons, .wp-block-fxcs-partner-cta, ul, ol) { margin-block-start: var(--space-md); }
@media (max-width: 40rem) { .wp-block-group.is-style-callout { padding: var(--space-md); } }

/* ---------- core table: always a scroll region (D5); is-style-fxcs-data is the API sheet ---------- */
.wp-block-table { margin-inline: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.wp-block-table:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: var(--text-md); line-height: 1.4; }
.wp-block-table :is(th, td) { border: 0; border-top: var(--rule-hair) solid var(--color-rule); padding: var(--space-sm) var(--space-md) var(--space-sm) 0; text-align: left; vertical-align: baseline; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table thead th { border-top: 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); font: 500 var(--text-sm)/1.3 var(--font-display); color: var(--color-muted); white-space: nowrap; vertical-align: bottom; }
.wp-block-table tbody tr:first-child > * { border-top: 0; }
.wp-block-table :is(th, td):last-child { padding-right: 0; }
/* A narrow phone column wrapped one word per line (layout sweep). Browsers ignore min-width on cells, so the
   table gets a floor from its column count and the figure scrolls instead. */
.wp-block-table table:has(tr > :nth-child(3)), .fxcs-table__table:has(tr > :nth-child(3)) { min-width: 30rem; }
.wp-block-table table:has(tr > :nth-child(4)), .fxcs-table__table:has(tr > :nth-child(4)) { min-width: 40rem; }
.wp-block-table table:has(tr > :nth-child(5)), .fxcs-table__table:has(tr > :nth-child(5)) { min-width: 48rem; }
.wp-block-table figcaption, .wp-block-table .wp-element-caption { margin-top: var(--space-xs); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule-2); font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); text-align: left; }
.wp-block-table.is-style-fxcs-data { padding: var(--space-md) var(--space-xl); background: var(--color-key-face); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.wp-block-table.is-style-fxcs-data tbody th { font: 500 var(--text-md)/1.3 var(--font-display); color: var(--color-ink); }
.wp-block-table.is-style-fxcs-data td { font-size: var(--text-sm); color: var(--color-ink-2); }
@supports (corner-shape: bevel) { .wp-block-table.is-style-fxcs-data { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }
@media (max-width: 60rem) { .wp-block-table.is-style-fxcs-data { padding: var(--space-sm) var(--space-md); } }

/* ---------- layout helpers used by the patterns ---------- */
.fxcs-head-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; }
.fxcs-head-split > :first-child { grid-column: 1 / span 6; }
.fxcs-head-split.fxcs-head-split > :not(:first-child) { grid-column: 7 / span 6; margin: 0 !important; }
.fxcs-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.fxcs-split > :first-child, .fxcs-split__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.fxcs-split.fxcs-split > :last-child, .fxcs-split__body { grid-column: 7 / span 6; margin: 0 !important; }
.fxcs-pinned { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.fxcs-pinned.fxcs-pinned > :first-child { grid-column: 1 / span 6; position: sticky; top: calc(var(--bar-h) + var(--space-2xl)); margin: 0 !important; }
.fxcs-pinned.fxcs-pinned > :last-child { grid-column: 8 / span 5; margin: 0 !important; }
.fxcs-codes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.fxcs-codes.fxcs-codes > * { margin: 0 !important; max-width: none; }
.fxcs-codes--paper { padding: var(--space-lg) var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); }
.fxcs-codes--paper > * + * { border-left: var(--rule-hair) solid var(--color-rule); padding-left: var(--gap-columns); }
.fxcs-codes > .wp-block-group { display: grid; gap: var(--space-md); align-content: start; }
.fxcs-step-title { font-size: var(--text-title); }
.fxcs-sample-line { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }
.fxcs-faq-section > .wp-block-heading { margin-bottom: var(--space-lg); }
/* the close: the paper-2 well, and the one graphite band */
.fxcs-well { padding: var(--section-gap-s) var(--space-xl); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.fxcs-close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.fxcs-close.fxcs-close > * { grid-column: 1 / span 7; margin: 0 !important; }
.fxcs-close > :is(.wp-block-fxcs-date-stamp, .wp-block-fxcs-author, .fxcs-close__end) { grid-column: 9 / span 4; }
.fxcs-close__title, p.fxcs-close__title { font: 600 var(--text-section)/1.02 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 18ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.fxcs-band--graphite { padding: var(--section-gap-s) var(--space-xl); background: var(--color-graphite); color: var(--color-graphite-ink); border-radius: var(--radius-card); }
.fxcs-band--graphite > * + * { margin-block-start: var(--space-lg); }
.fxcs-band--graphite :is(h2, h3, .fxcs-close__title, strong) { color: var(--color-graphite-ink); }
.fxcs-band--graphite :is(p, .fxcs-disclosure, .fxcs-copy__status) { color: var(--color-graphite-ink); }
.fxcs-band--graphite .fxcs-partner__code { color: var(--color-graphite-muted); }
.fxcs-band--graphite a:not(.wp-element-button) { color: var(--color-graphite-ink); text-decoration-color: var(--color-graphite-muted); }
.fxcs-band--graphite a:not(.wp-element-button):hover { text-decoration-color: var(--color-accent-2); }
.fxcs-band--graphite :focus-visible { outline-color: var(--color-accent-2); }
.fxcs-band--graphite .fxcs-partner__code code { background: var(--color-graphite-2); border-color: var(--color-graphite-muted); color: var(--color-accent-2); }
.fxcs-band--graphite .fxcs-disclosure.is-near { border-left-color: var(--color-graphite-muted); }
.fxcs-band--graphite a.wp-element-button { box-shadow: 0 3px 0 0 var(--color-accent-edge); }
.fxcs-band--graphite a.wp-element-button:active { box-shadow: none; }
.fxcs-band--graphite .fxcs-copy { background: var(--color-graphite-2); border-color: var(--color-graphite-muted); color: var(--color-graphite-ink); box-shadow: none; }
.fxcs-band--graphite .fxcs-copy:hover { background: var(--color-graphite-2); color: var(--color-graphite-ink); }
.fxcs-formula { font: 400 var(--text-sm)/1.7 var(--font-outlier); color: var(--color-graphite-ink); background: var(--color-graphite); border-radius: var(--radius-input); padding: var(--space-md) var(--space-lg); overflow-x: auto; white-space: pre; max-width: 65ch; }
.fxcs-formula:focus-visible { outline-offset: 3px; }

/* ---------- page-end part ---------- */
.fxcs-page-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: var(--space-lg) var(--gap-columns); margin-block-start: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.fxcs-page-end.fxcs-page-end > * { margin: 0 !important; }
.fxcs-page-end .fxcs-author { border-top: 0; padding-top: 0; }

/* ---------- footer part: a statement, the part's links beneath, over the compliance block ---------- */
.fxcs-footer { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.fxcs-footer .fxcs-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.fxcs-footer .fxcs-footer__top > * { grid-column: 1 / -1; margin: 0; }
.fxcs-footer .fxcs-footer__statement { grid-column: 1 / span 10; font: 600 var(--text-section)/1.04 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 24ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.fxcs-footer .fxcs-footer__links .wp-block-navigation__container { gap: var(--space-2xs) var(--space-xl); }
.fxcs-footer .fxcs-footer__links .wp-block-navigation-item__content { display: inline-flex; min-height: 44px; align-items: center; font: 500 var(--text-md)/1 var(--font-display); color: var(--color-ink-2); text-decoration: none; }
.fxcs-footer .fxcs-footer__links .wp-block-navigation-item__content:hover, .fxcs-footer .fxcs-footer__links .wp-block-navigation-item__content[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.fxcs-footer .fxcs-footer__legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink-2); line-height: 1.5; }
.fxcs-footer .fxcs-footer__legal > * { grid-column: 1 / -1; margin: 0; }
.fxcs-footer .fxcs-footer__legal > .wp-block-fxcs-disclosures { grid-column: 1 / span 8; gap: var(--space-sm); }
.fxcs-footer .fxcs-footer__legal .fxcs-disclosure { max-width: 80ch; }
.fxcs-footer .fxcs-footer__meta { grid-column: 10 / span 3; display: grid; gap: var(--space-sm); align-content: start; color: var(--color-ink-2); }
.fxcs-footer .fxcs-footer__meta > * { margin: 0; }
.fxcs-footer__copy { color: var(--color-muted); }
.fxcs-theme-fallback { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); }
.fxcs-theme-fallback .fxcs-disclosure + .fxcs-disclosure { margin-top: var(--space-xs); }

/* ---------- sticky-cta part: mobile only, never covering a focused field ---------- */
.fxcs-sticky-cta { display: none; }
@media (max-width: 60rem) {
  html:has(.fxcs-sticky-cta) { scroll-padding-bottom: calc(var(--control-h) + var(--space-xl)); }
  body:has(.fxcs-sticky-cta) { padding-bottom: calc(var(--control-h) + var(--space-xl)); }
  .fxcs-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: block; padding: var(--space-xs) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule-2); }
  .fxcs-sticky-cta .fxcs-sticky-cta__bar { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-xs); }
  .fxcs-sticky-cta .wp-block-buttons { flex: 1 1 auto; margin: 0; padding: 0; }
  .fxcs-sticky-cta .wp-block-button { flex: 1 1 auto; }
  .fxcs-sticky-cta .wp-block-button__link { width: 100%; }
}
/* the sign-up key moves to the sticky bar on phones; member pages have neither bar nor strip */
@media (max-width: 40rem) { .fxcs-header .fxcs-member-nav__item:has(> .fxcs-member-nav__link--signup) { display: none; } }
body:has(main [class*="wp-block-fxcs-member-"]) .fxcs-sticky-cta { display: none; }
/* 320 to 384px: wordmark, Menu key and Log in share one bar without spilling past the gutter (layout sweep) */
@media (max-width: 24rem) {
  .fxcs-header .fxcs-header__inner { gap: var(--space-sm); }
  .fxcs-header .wp-block-site-title { font-size: var(--text-md); }
  .fxcs-header .wp-block-navigation__responsive-container-open { padding: 0 var(--space-sm); }
}
@media (max-width: 60rem) { body:has(main [class*="wp-block-fxcs-member-"]) { padding-bottom: 0; } html:has(main [class*="wp-block-fxcs-member-"]) { scroll-padding-bottom: 0; } }

/* ---------- header under 72rem: links take their own row (600px and up); under 600px core's overlay and the Menu key ---------- */
@media (max-width: 72rem) and (min-width: 600px) {
  .fxcs-header .fxcs-header__inner { flex-wrap: wrap; column-gap: var(--space-md); row-gap: 0; }
  .fxcs-header .fxcs-header__account { margin-left: auto; }
  .fxcs-header .wp-block-navigation { order: 9; flex-basis: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: thin; }
  .fxcs-header .wp-block-navigation .wp-block-navigation__container { flex-wrap: nowrap; gap: var(--space-md); }
}

/* ---------- under 60rem: everything stacks in reading order ---------- */
@media (max-width: 60rem) {
  :root { --bar-h: 56px; }
  .fxcs-head-split > *, .fxcs-split > *, .fxcs-split__text, .fxcs-split__body, .fxcs-pinned > *, .fxcs-close > *, .fxcs-footer .fxcs-footer__legal > *, .fxcs-footer .fxcs-footer__meta, .fxcs-footer .fxcs-footer__statement { grid-column: 1 / -1 !important; }
  .fxcs-pinned.fxcs-pinned > :first-child { position: static; }
  .fxcs-pinned.fxcs-pinned > :last-child, .fxcs-split.fxcs-split > :last-child, .fxcs-split.fxcs-split > .fxcs-split__body { margin-top: var(--space-xl) !important; }
  .fxcs-codes { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .fxcs-codes--paper { padding: var(--space-md); }
  .fxcs-codes--paper > * + * { border-left: 0; padding-left: 0; border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-lg); }
  .fxcs-well, .fxcs-band--graphite { padding: var(--space-2xl) var(--space-md); }
}
@media (max-width: 40rem) {
  .is-style-checklist > li:has(> .fxcs-verdict) { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .is-style-flow { padding-inline: var(--space-sm); }
  .is-style-flow > li:has(> .fxcs-flow__from) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: var(--space-xs); }
  .fxcs-flow__what { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

/* ---------- reduced motion (base.css also settles every transition) ---------- */
@media (prefers-reduced-motion: reduce) {
  .fxcs-header, .wp-element-button, .wp-block-button__link, .is-style-flow > li, .fxcs-sticky-cta, a { transition: none; }
  .fxcs-header.is-retracted { transform: none; }
  .fxcs-spin { animation: none; }
}
