  /* ---------- base ---------- */
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--abm-font-body, 'Plus Jakarta Sans', sans-serif);
    background: var(--abm-canvas, #EDE6D8);
    color: var(--abm-ink, #0C0C0B);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .font-display { font-family: var(--abm-font-display, 'Fraunces', ui-serif, Georgia, serif); letter-spacing: -0.012em; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  img { max-width: 100%; height: auto; }

  /* anchor targets clear the sticky header */
  /* FIX 2b: in-page jumps land with the nav condensed to 64px; 108px left a
     44px dead gap above the heading. 80px = 64px scrolled nav + 16px. */
  section[id], [data-anchor] { scroll-margin-top: 80px; }

  /* ---------- focus ---------- */
  :focus { outline: none; }
  :focus-visible {
    outline: 2px solid var(--abm-gold-dark, #6F5626);
    outline-offset: 3px;
    border-radius: 8px;
  }
  .on-dark :focus-visible { outline-color: #E3CDA3; }

  .skip-link {
    position: fixed; left: 14px; top: -80px; z-index: 70;
    background: var(--abm-ink, #0C0C0B); color: var(--abm-canvas, #EDE6D8);
    padding: 11px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(12,12,11,.5);
    transition: top .22s cubic-bezier(.22,.61,.36,1);
  }
  .skip-link:focus { top: 14px; }

  /* ---------- reveal ---------- */
  /*
   * Progressive enhancement: reveal animation is opt-in only after the
   * interaction layer has proved that it can run. If JavaScript is blocked,
   * delayed, or unsupported in a preview frame, the landing page must remain
   * readable instead of failing closed at opacity: 0.
   */
  .js .reveal,
  .js .reveal-group > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  .js .reveal.in,
  .js .reveal-group > *.in { opacity: 1; transform: none; will-change: auto; }

  /* ---------- view transition ---------- */
  .view-enter { animation: viewIn .4s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* ---------- nav ---------- */
  #site-nav {
    transition: border-color .35s ease, background-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
  }
  #site-nav.scrolled {
    background: rgba(237,230,216,.92);
    border-bottom-color: var(--abm-line, #DCD2BC);
  }
  #nav-inner { height: 84px; transition: height .35s cubic-bezier(.22,.61,.36,1); }
  #site-nav.scrolled #nav-inner { height: 64px; }

  .navlink { position: relative; padding-block: 4px; }
  .navlink::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
    background: var(--abm-gold-dark, #6F5626); border-radius: 2px;
    transform: scaleX(0); transform-origin: center;
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
  }
  .navlink:hover::after { transform: scaleX(1); }
  .navlink[aria-current="true"] { color: var(--abm-gold-dark, #6F5626); }
  .navlink[aria-current="true"]::after { transform: scaleX(1); }

  /* ---------- scroll progress ---------- */
  #scroll-progress {
    position: fixed; inset: 0 0 auto 0; height: 2px;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--abm-gold-dark, #6F5626), var(--abm-gold, #AE8A4E) 55%, #E3CDA3);
    z-index: 60; pointer-events: none;
  }

  /* ---------- buttons ---------- */
  button[class*="rounded-full"], a[class*="rounded-full"] {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease,
                transform .16s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
  }
  button[class*="rounded-full"]:hover, a[class*="rounded-full"]:hover {
    box-shadow: 0 10px 24px -14px rgba(12,12,11,.55);
  }
  button[class*="rounded-full"]:active, a[class*="rounded-full"]:active {
    transform: translateY(1px) scale(.988);
  }
  button:disabled { opacity: .5; cursor: not-allowed; }

  /* ---------- cards ---------- */
  /* FIX 1: background-color was absent from the transition list, so the hover
     tint snapped instantly while the lift eased over 400ms. box-shadow was
     transitioned but never set (the design system bans card shadows). */
  .card-lift {
    transition: transform .4s cubic-bezier(.22,.61,.36,1),
                background-color .4s ease,
                border-color .4s ease;
  }
  .card-lift:hover, .card-lift:focus-visible {
    transform: translateY(-3px);
    background-color: #FFFDF9;
  }
  .card-media {
    background:
      radial-gradient(120% 120% at 15% 0%, rgba(174,138,78,.22) 0%, rgba(174,138,78,0) 58%),
      linear-gradient(140deg, var(--abm-paper, #F5F1E8) 0%, #E7DFCC 100%);
  }

  /* ---------- range sliders ---------- */
  input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px; border-radius: 999px;
    background: #E4DCC9; outline: none; cursor: pointer;
    transition: background .1s linear;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--abm-gold, #AE8A4E); border: 3px solid var(--abm-canvas, #EDE6D8);
    box-shadow: 0 0 0 1px var(--abm-gold, #AE8A4E), 0 2px 8px rgba(12,12,11,.22);
    cursor: grab;
    transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
  }
  input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.08); }
  input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.16); }
  input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px var(--abm-gold, #AE8A4E), 0 0 0 6px rgba(174,138,78,.3);
  }
  input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--abm-gold, #AE8A4E); border: 3px solid var(--abm-canvas, #EDE6D8);
    box-shadow: 0 0 0 1px var(--abm-gold, #AE8A4E), 0 2px 8px rgba(12,12,11,.22);
    cursor: grab;
    transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
  }
  input[type="range"]:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.16); }
  input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 1px var(--abm-gold, #AE8A4E), 0 0 0 6px rgba(174,138,78,.3);
  }
  input[type="range"]:focus-visible { outline: none; }

  /* ---------- form fields ---------- */
  .field {
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
  }
  .field:hover { border-color: #D9CDB4; }
  .field:focus {
    outline: none;
    border-color: var(--abm-gold, #AE8A4E);
    box-shadow: 0 0 0 3px rgba(174,138,78,.18);
  }
  .field[aria-invalid="true"] {
    border-color: #B4402F;
    background-color: #FDF6F4;
  }
  .field[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180,64,47,.16); }
  .field-error {
    display: none;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: #9A3324;
  }
  .field-error.show { display: flex; gap: 6px; align-items: flex-start; }

  input[type="file"] { max-width: 100%; }
  input[type="file"]::file-selector-button {
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--abm-ink, #0C0C0B); background: var(--abm-paper, #F5F1E8);
    border: 1px solid #E4DCC9; border-radius: 999px;
    padding: 8px 16px; margin-right: 12px; cursor: pointer;
    transition: background-color .22s ease, border-color .22s ease;
  }
  input[type="file"]::file-selector-button:hover { background: #E9E0CE; border-color: #D0C2A5; }

  .dropzone { transition: border-color .25s ease, background-color .25s ease; }
  .dropzone:hover, .dropzone:focus-within { border-color: #C6B48D; background-color: #FEFDFB; }

  /* ---------- accordion ---------- */
  /* NOTE: currently unused. The theme renders FAQs with the core Details block
     (see inc/patterns.php), which is a native accordion needing no JS or CSS.
     Kept and modernised so it stays correct if a JS accordion is ever added.
     FIX 4: was max-height animated to a JS-measured scrollHeight, which
     overshoots the real height and breaks the easing curve. */
  .accordion-panel {
    display: grid;
    /* minmax(0,...) not bare 0fr: `0fr` means minmax(auto, 0fr), and the
       automatic minimum includes the child's padding, so a bare 0fr left the
       panel ~20px tall instead of fully collapsed. */
    grid-template-rows: minmax(0, 0fr);
    opacity: 0;
    transition: grid-template-rows .4s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
  }
  .accordion-panel > * { min-height: 0; overflow: hidden; }
  .accordion-panel.open { grid-template-rows: minmax(0, 1fr); opacity: 1; }
  /* ---------- FAQ / details accordion ----------
   *
   * Targets .wp-block-details, the class WordPress's core Details block
   * always carries, rather than depending on extra markup. That means one
   * ruleset styles the homepage FAQ, every loan product's FAQ section, and
   * the "FAQ accordion" pattern editors can add to any page — including a
   * question typed fresh in the block editor, which gets the same box,
   * spacing and chevron with no template changes at all.
   *
   * Chevron is a CSS background-image, not a markup-dependent icon span, for
   * the same reason: it has to appear whether or not whoever authored the
   * details block thought to add an icon element.
   */
  .wp-block-details {
    background: #fff;
    border: 1px solid var(--abm-line, #DCD2BC);
    border-radius: 16px;
    padding: 0 20px;
    margin-bottom: 12px;
    transition: border-color .25s ease, background-color .25s ease;
  }
  .wp-block-details:hover { border-color: #D9CDB4; }
  .wp-block-details[open] { background: var(--abm-paper, #F5F1E8); }

  .wp-block-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--abm-ink, #0C0C0B);
    cursor: pointer;
    list-style: none;
    transition: color .22s ease;
  }
  .wp-block-details > summary::-webkit-details-marker { display: none; }
  .wp-block-details > summary::marker { content: ''; }
  .wp-block-details > summary:hover,
  .wp-block-details > summary:focus-visible { color: var(--abm-gold-dark, #6F5626); }

  .wp-block-details > summary::after {
    content: '';
    flex-shrink: 0;
    width: 20px; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%236F5626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .3s cubic-bezier(.22,.61,.36,1);
  }
  .wp-block-details[open] > summary::after { transform: rotate(180deg); }

  /* The answer: whatever block content sits after <summary> — a plain
     paragraph from the seeder, or anything an editor adds in wp-admin. */
  .wp-block-details > summary ~ * {
    padding-right: 36px;
    margin-top: 0;
    padding-bottom: 20px;
  }

  /* ---------- stepper ---------- */
  .stepline { transition: background-color .4s ease; }

  /* ---------- back to top ---------- */
  #to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 25;
    width: 44px; height: 44px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    background: var(--abm-ink, #0C0C0B); color: var(--abm-canvas, #EDE6D8);
    box-shadow: 0 12px 30px -12px rgba(12,12,11,.6);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
    transition: opacity .3s ease, transform .3s cubic-bezier(.22,.61,.36,1), visibility .3s;
  }
  #to-top.show { opacity: 1; visibility: visible; transform: none; }
  #to-top:hover { background: var(--abm-charcoal, #1C1B18); }
  @media (max-width: 1023px) { #to-top { bottom: 88px; } }

  /* ---------- drawer ---------- */
  .drawer { transition: transform .4s cubic-bezier(.22,.61,.36,1); }
  #drawer-overlay {
    opacity: 0;
    transition: opacity .35s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  #drawer-overlay.show { opacity: 1; }
  /* FIX 3: padding-left is a layout property — every hover reflowed the drawer.
     transform gives the identical 6px nudge on the compositor only. */
  .drawer-link { transition: color .2s ease, transform .25s cubic-bezier(.22,.61,.36,1); }
  .drawer-link:hover { color: var(--abm-gold-dark, #6F5626); transform: translateX(6px); }

  /* ---------- misc ---------- */
  .disclaimer { background: var(--abm-paper, #F5F1E8); border: 1px solid var(--abm-line, #DCD2BC); }
  .num-tick { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
  ::selection { background: var(--abm-gold-light, #D8BE8C); color: var(--abm-ink, #0C0C0B); }
  .hairline { border-color: rgba(12,12,11,.08); }

  /* ---------- hero: representative example ---------- */
  .hero-grad {
    background:
      radial-gradient(115% 85% at 88% 8%, rgba(216,190,140,.30) 0%, rgba(216,190,140,0) 58%),
      radial-gradient(85% 75% at 2% 0%, rgba(255,255,255,.70) 0%, rgba(255,255,255,0) 52%);
  }
  .rep-card { border-top: 3px solid var(--abm-gold, #AE8A4E); }
  .rep-row {
    display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
    padding: 14px 0; border-bottom: 1px solid #E7DFCC;
  }
  .rep-row dt { font-weight: 500; color: var(--abm-charcoal, #1C1B18); }
  .rep-row dd { margin: 0; font-weight: 600; color: var(--abm-ink, #0C0C0B); white-space: nowrap; }
  .rep-sub { display: block; font-size: 12px; line-height: 1.5; color: var(--abm-slate, #5B564C); font-weight: 400; margin-top: 4px; }
  .rep-hi {
    background: var(--abm-paper, #F5F1E8); border-left: 3px solid var(--abm-gold, #AE8A4E); border-bottom: 0;
    margin: 10px 0; padding: 16px; border-radius: 0 10px 10px 0;
  }
  .rep-hi dd { font-family: var(--abm-font-display, Fraunces, ui-serif, Georgia, serif); font-size: 24px; font-weight: 500; }
  .rep-total { border-bottom: 0; border-top: 2px solid var(--abm-ink, #0C0C0B); margin-top: 10px; padding-top: 16px; }
  .rep-total dt { font-weight: 600; }
  .rep-total dd { font-family: var(--abm-font-display, Fraunces, ui-serif, Georgia, serif); font-size: 24px; font-weight: 500; }
  .ceiling-note {
    background: #F7F0E1; border: 1px solid #E3D3AC; border-radius: 16px;
    padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start;
  }
  
  /* ---------- mobile ---------- */

  /*
   * iOS Safari zooms the whole page when a focused form control has a
   * font-size below 16px, then leaves the layout scaled. The application form
   * sets 14px for desktop density, which is fine there and actively broken on
   * a phone: every tap into a field jerks the page.
   *
   * Raising it only below the tablet breakpoint keeps the desktop design and
   * removes the zoom. !important is needed because the size comes from a
   * Tailwind utility class, which outranks an element selector.
   */
  @media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    input[type="password"],
    input[type="date"],
    select,
    textarea,
    .field {
      font-size: 16px !important;
    }
  }

  /*
   * The three buttons in the mobile bar share one screen width. Padding alone
   * left them a little under the 44px minimum touch target on small phones.
   */
  #mobile-cta a,
  #mobile-cta button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Long words, URLs and IDs must not push a phone layout sideways. */
  body { overflow-wrap: break-word; }

  /* ---------- reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .reveal,
    .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .accordion-panel { transition: none !important; }
    .drawer-link:hover { transform: none !important; }
    .view-enter { animation: none !important; }
    .card-lift:hover, .card-lift:focus-visible { transform: none !important; }
    button[class*="rounded-full"]:active, a[class*="rounded-full"]:active { transform: none !important; }
    input[type="range"]::-webkit-slider-thumb,
    input[type="range"]::-moz-range-thumb { transition: none !important; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    #to-top { transition: opacity .001ms !important; }
  }
  /* ---------- [abm_apply_form] shortcode ----------
   *
   * Self-contained on purpose. assets/css/tailwind.css is a compiled build
   * generated by scanning the theme's own templates, which use arbitrary-value
   * utilities (px-[20px], py-[12px]). Standard-scale classes such as px-4 or
   * py-3 were never compiled and therefore do nothing — a shortcode written
   * with them renders unstyled, with inputs about 26px tall.
   *
   * Rather than depend on which utilities happen to exist in that build, this
   * component styles itself. Colour still comes from the Customizer via the
   * same custom properties as everything else.
   */
  .abm-apply-form {
    background: #fff;
    border-radius: 28px;
    padding: 24px;
  }
  @media (min-width: 768px) { .abm-apply-form { padding: 32px; } }

  .abm-apform-logo { height: 40px; width: auto; margin-bottom: 24px; }
  .abm-apform-title { margin-bottom: 12px; }
  .abm-apform-intro {
    margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 1px solid var(--abm-line, #DCD2BC);
  }
  .abm-apform-status { margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; border: 1px solid; }

  .abm-apform-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  @media (min-width: 640px) { .abm-apform-grid { grid-template-columns: 1fr 1fr; } }
  .abm-apform-wide { grid-column: 1 / -1; }

  .abm-apform-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--abm-charcoal, #1C1B18); }
  .abm-apform-input {
    width: 100%;
    border: 1px solid var(--abm-line, #DCD2BC);
    border-radius: 8px;
    padding: 12px 16px;
    /* 16px keeps iOS from zooming the page when the field takes focus. */
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    min-height: 48px;
  }

  .abm-apform-consents { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--abm-line, #DCD2BC); }
  .abm-apform-consent {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14px; line-height: 1.6; color: var(--abm-slate, #5B564C);
    margin-bottom: 12px;
    /* Generous vertical padding so the label itself is a comfortable target. */
    padding: 4px 0;
  }
  /* A 13px default checkbox is far below any sensible tap target. */
  .abm-apform-consent input[type="checkbox"] {
    width: 24px; height: 24px; margin-top: 1px; flex-shrink: 0;
    accent-color: var(--abm-gold-dark, #6F5626);
  }

  .abm-apform-submit {
    margin-top: 24px;
    width: 100%;
    min-height: 48px;
    background: var(--abm-ink, #0C0C0B);
    color: var(--abm-canvas, #EDE6D8);
    font-weight: 600;
    font-family: inherit;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 8px;
    transition: background-color .25s ease;
  }
  @media (min-width: 640px) { .abm-apform-submit { width: auto; } }
  .abm-apform-submit:hover { background: var(--abm-charcoal, #1C1B18); }

  .abm-apform-note { font-size: 12px; line-height: 1.6; color: var(--abm-slate, #5B564C); margin-top: 20px; }

  /* ---------- utilities used by templates but absent from the build ----------
   *
   * assets/css/tailwind.css is a compiled artifact. Any class a template uses
   * that was not present when it was generated simply does not exist, and the
   * element silently renders with no styling at all.
   *
   * That bit hard: header.php's menu buttons were changed from w-9/h-9 to
   * w-11/h-11 to meet the 44px touch target, but w-11 and h-11 were never
   * compiled, so the buttons ended up with no dimensions whatsoever — smaller
   * than before the change rather than larger.
   *
   * These declarations restore every class the templates reference. They match
   * Tailwind's own output exactly, so recompiling later makes this block
   * redundant rather than conflicting.
   */
  .w-11 { width: 2.75rem; }
  .h-11 { height: 2.75rem; }

  /* Hero headline: a deliberate one-off exception to the documented 7-step
     type scale (12/14/16/20/24/32/48). 48px was already the top of that
     scale; going bigger for the hero display line is a real design decision,
     but it meant these two sizes never existed in the compiled build. */
  .text-\[36px\] { font-size: 36px; }
  .text-\[60px\] { font-size: 60px; }
  .leading-\[1\.05\] { line-height: 1.05; }
  .leading-\[0\.98\] { line-height: .98; }
  @media (min-width: 768px) {
    .md\:text-\[60px\] { font-size: 60px; }
    .md\:leading-\[0\.98\] { line-height: .98; }
  }

  /* Hero headline: a deliberate one-off exception to the documented 7-step
     type scale (12/14/16/20/24/32/48). 48px was already the top of that
     scale; going bigger for the hero display line is a real design decision,
     but it means these two sizes never existed in the compiled build. */
  .rounded-xl { border-radius: .75rem; }
  .align-top { vertical-align: top; }
  .cursor-pointer { cursor: pointer; }

  .text-\[13px\] { font-size: 13px; }
  .mb-\[6px\]  { margin-bottom: 6px; }
  .mb-\[48px\] { margin-bottom: 48px; }
  .pb-\[20px\] { padding-bottom: 20px; }
  .pr-\[32px\] { padding-right: 32px; }
  .py-\[8px\]  { padding-top: 8px; padding-bottom: 8px; }
  .py-\[20px\] { padding-top: 20px; padding-bottom: 20px; }

  .divide-y > * + * { border-top-width: 1px; border-bottom-width: 0; border-style: solid; }
  .divide-line > * + * { border-color: var(--abm-line, #DCD2BC); }

  .space-y-\[8px\]  > * + * { margin-top: 8px; }
  .space-y-\[10px\] > * + * { margin-top: 10px; }
  .space-y-\[12px\] > * + * { margin-top: 12px; }
  .space-y-\[16px\] > * + * { margin-top: 16px; }
  .space-y-\[20px\] > * + * { margin-top: 20px; }
  .space-y-\[40px\] > * + * { margin-top: 40px; }

  /* Long-form page body, used by the apply and scam templates. */
  .prose-abm { font-size: 16px; line-height: 1.7; color: var(--abm-slate, #5B564C); }
  .prose-abm > * + * { margin-top: 16px; }
  .prose-abm h2, .prose-abm h3 { color: var(--abm-ink, #0C0C0B); margin-top: 32px; }
  .prose-abm--wide { max-width: none; }

  /* Multi-step panel on the application form. */
  .step-panel[hidden] { display: none; }

  /* ---------- screen reader only ---------- */
  /* Named the WordPress way so core's own markup picks it up too. */
  .screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .screen-reader-text:focus {
    position: static;
    width: auto; height: auto;
    margin: 0;
    clip: auto;
    white-space: normal;
  }

  /* ---------- Google reviews ----------
     Scoped classes rather than utilities: this section was added after
     tailwind.css was compiled, so any new arbitrary-value utility here would
     silently apply nothing. */
  .abm-rev-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  @media (min-width: 640px) { .abm-rev-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .abm-rev-grid { grid-template-columns: repeat(3, 1fr); } }

  .abm-rev-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 28px;
  }

  .abm-rev-stars { display: inline-flex; gap: 2px; line-height: 0; }
  .abm-rev-stars svg { fill: var(--abm-line, #DCD2BC); }
  .abm-rev-stars svg.is-on { fill: var(--abm-gold, #AE8A4E); }

  .abm-rev-text {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.65;
    color: var(--abm-ink, #0C0C0B);
    /* Reviews vary wildly in length; cap the tall ones so the grid rows stay
       even, without truncating so hard that a review loses its point. */
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .abm-rev-by {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--abm-slate, #5B564C);
  }
  .abm-rev-by strong { display: block; color: var(--abm-ink, #0C0C0B); font-weight: 600; }
  .abm-rev-when { font-size: 12px; }

  .abm-rev-avatar {
    width: 40px; height: 40px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 40px;
    background: var(--abm-paper, #F5F1E8);
  }
  .abm-rev-avatar--letter {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--abm-font-display, 'Fraunces', ui-serif, Georgia, serif);
    font-size: 17px;
    color: var(--abm-gold-dark, #6F5626);
    text-transform: uppercase;
  }

  .abm-rev-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: #FFFFFF;
    border-radius: 999px;
  }
  .abm-rev-score {
    font-family: var(--abm-font-display, 'Fraunces', ui-serif, Georgia, serif);
    font-size: 24px;
    line-height: 1;
    color: var(--abm-ink, #0C0C0B);
  }
  .abm-rev-count { font-size: 13px; color: var(--abm-slate, #5B564C); }

  .abm-rev-source {
    margin-top: 24px;
    font-size: 13px;
    color: var(--abm-slate, #5B564C);
  }
  .abm-rev-source a {
    color: var(--abm-gold-dark, #6F5626);
    font-weight: 600;
    text-decoration: none;
  }
  .abm-rev-source a:hover { text-decoration: underline; }

  /* ---------- Singpass button ----------
     The anchor is a block-level button elsewhere in the theme, so it needs to
     become a centred flex row to sit the wordmark beside its label. The mark
     inherits currentColor from the button (see abm_singpass_mark). */
  .abm-singpass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
  }
  .abm-singpass {
    display: block;
    height: auto;
    /* Optically align the wordmark's baseline with the label beside it. */
    position: relative;
    top: 1px;
    flex: 0 0 auto;
  }

  /* ---------- Singpass brand button ----------
     Carries the full-colour mark, whose "i" glyph is black, so the surface has
     to stay light. It sits inside a white card, which means the fill alone
     cannot define it — the Singpass red border does that, and doubles as the
     signal that this is the official Singpass route rather than a house button.

     Deliberately NOT tokenised to --abm-*: #F4333D is Singpass's colour, not
     part of this site's palette, and must not shift when the Customizer palette
     changes. Everything else here uses the theme tokens as usual. */
  .abm-singpass-btn--brand {
    background: #FFFFFF;
    color: var(--abm-ink, #0C0C0B);
    border: 2px solid #F4333D;
    transition: background-color .2s ease, border-color .2s ease;
  }
  .abm-singpass-btn--brand:hover,
  .abm-singpass-btn--brand:focus-visible {
    background: #FFF4F4;
    border-color: #D92B34;
  }
