/* FINBELT / Iconic visual identity · November 2026
   Every major surface draws from the original blue / orange four-bar logo.
   Structural layout and rendering are server-side PHP; this layer is visual. */
:root {
  --fb-blue: #0b68b3;
  --fb-blue-deep: #075182;
  --fb-orange: #f3921f;
  --fb-ink: #192b35;
  --fb-muted: #566975;
  --fb-dark: #12394e;
  --fb-paper: #f7f6f2;
  --fb-sheet: #fffefa;
  --fb-rule: #dfe1dc;
  --fb-mono: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --fb-sans: "Plus Jakarta Sans", Aptos, "Segoe UI", system-ui, sans-serif;
  --fb-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --fb-ease: cubic-bezier(.22, 1, .36, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body, .page-viewport, .portal-shell { font-family: var(--fb-sans); background: var(--fb-paper); color: var(--fb-ink); }
* { min-width: 0; }
body { -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--fb-ink); text-wrap: balance; }
p, li, th, td, dd, dt, button, a, small, strong { overflow-wrap: anywhere; }
p { line-height: 1.68; }
a { color: var(--fb-blue-deep); text-underline-offset: 4px; }
::selection { color: #173647; background: #ffdcac; }
*:focus-visible { outline: 3px solid #e98d1c; outline-offset: 3px; }
code, .money, .num-col, .record-id, .lot-timer strong, .ticket-value, .register-count, .count-chip, .metric-card strong { font-family: var(--fb-mono); font-variant-numeric: lining-nums tabular-nums; }
.muted, .hint, .field-hint { color: var(--fb-muted); }
.eyebrow { font-size: .69rem; line-height: 1.5; color: var(--fb-blue); letter-spacing: .15em; text-transform: uppercase; font-weight: 810; }
.finbelt-divider { display: inline-flex; align-items: center; gap: 5px; }
.finbelt-divider i { display: block; height: 5px; border-radius: 99px; background: var(--fb-orange); }
.finbelt-divider i:nth-child(1) { width: 42px; }
.finbelt-divider i:nth-child(2) { width: 28px; background: var(--fb-blue); }
.finbelt-divider i:nth-child(3) { width: 20px; }
.finbelt-divider i:nth-child(4) { width: 11px; background: var(--fb-blue); }

/* INTERACTION FOUNDATION */
.button, .small-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 5px; padding: 12px 19px; min-height: 47px; font-size: .84rem; font-weight: 780; line-height: 1.35; letter-spacing: -.005em; box-shadow: none; transition: transform 190ms var(--fb-ease), color 190ms ease-out, background-color 190ms ease-out, border-color 190ms ease-out; }
.button.primary { color: #fff; background: var(--fb-blue); border-color: var(--fb-blue); }
.button.primary:hover { color: #fff; background: var(--fb-blue-deep); border-color: var(--fb-blue-deep); }
.button.ghost { color: #244758; background: transparent; border-color: #c1cccd; }
.button.ghost:hover { background: #eef3f3; }
.button.secondary { background: #e8f2f7; color: #0b527e; border-color: #c7dfe9; }
.button.secondary:hover { background: #d9ecf4; }
.button.bid-action { color: #222e35; background: var(--fb-orange); border-color: #d78010; }
.button.bid-action:hover { color: #222e35; background: #f7a644; }
.button.danger { color: #a72c2c; border-color: #ebcdca; background: #fff6f5; }
.button:hover, .small-button:hover { text-decoration: none; transform: translateY(-1px); }
.button:active, .small-button:active, .text-button:active { transform: scale(.97); }
.text-link { color: var(--fb-blue-deep); font-weight: 760; }
.text-button { color: var(--fb-blue-deep); }
.panel, .metric-card, .catalogue-card, .loan-product-sheet, .auction-listing { background: var(--fb-sheet); border: 1px solid var(--fb-rule); box-shadow: none; border-radius: 8px; }
.panel { padding: clamp(19px,2.7vw,30px); }
input, select, textarea { min-height: 45px; width: 100%; max-width: 100%; background: #fff; border: 1px solid #bec9cb; color: #182e3b; border-radius: 5px; font-size: max(16px,.91rem); padding: 11px 13px; box-shadow: none; }
input::placeholder, textarea::placeholder { color: #87949b; opacity: 1; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--fb-blue); box-shadow: 0 0 0 3px rgba(11,104,179,.12); }
input[type=checkbox], input[type=radio] { min-height: auto; width: 17px; height: 17px; accent-color: var(--fb-blue); }
label { color: #2c4855; font-size: .82rem; font-weight: 720; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: #b91c1c; background: #fffafa; }
.field-error { color: #b91c1c; font-size: .75rem; line-height: 1.5; display: block; padding-top: 3px; }
.alert { background: #edf7ef; border-color: #c0dfce; color: #1c694c; border-left-width: 4px; border-radius: 5px; }
.alert-error { background: #fff2ef; color: #a52b25; border-color: #ebcbc5; }
.notice-banner { border-radius: 6px; padding: 18px 21px; box-shadow: none; }
.notice-banner p { margin: 4px 0 0; }
.status-tag, .status { border-radius: 4px; white-space: normal; text-align: left; font-weight: 750; }
.status-tag.is-success, .status-good { background: #e8f4ec; border-color: #c4ddcc; color: #176749; }
.status-tag.is-warning, .status-tag.is-live { background: #fff3e4; border-color: #eddaa9; color: #87540e; }
.status-danger, .status-tag.is-error { color: #b91c1c; background: #fff1ed; border-color: #ebc8c0; }
.skip-link { z-index: 1100; }

/* SHARED PUBLIC CHROME / LOGO MUST REMAIN AN IMAGE */
.portal-utility { min-height: 32px; padding: 7px max(26px,calc((100vw - 1340px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #183b4f; color: #e0e9ec; font-size: .59rem; font-weight: 750; letter-spacing: .14em; line-height: 1.3; }
.portal-utility>span:first-child { color: #ffca88; }
.utility-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--fb-orange); margin-right: 8px; }
.portal-header { position: sticky; top: 0; z-index: 30; background: rgba(255,254,250,.985); border: 0; border-bottom: 1px solid #dde1de; box-shadow: none; padding: 15px max(26px,calc((100vw - 1340px)/2)); min-height: 89px; gap: 30px; }
.portal-brand { display: flex; align-items: center; gap: 0; flex: none; }
.portal-brand img { width: clamp(153px,15vw,206px); height: auto; }
.portal-brand small { display: none; }
.portal-links { gap: clamp(13px,1.9vw,30px); align-items: center; }
.portal-links>a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; font-weight: 760; color: #334a57; border: 0; text-decoration: none; transition: color 190ms ease-out; }
.portal-links>a:not(.button)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 2px; background: var(--fb-orange); transition: right 190ms ease-out; }
.portal-links>a:hover, .portal-links>a[aria-current=page] { color: var(--fb-blue); }
.portal-links>a:hover::after, .portal-links>a[aria-current=page]::after { right: 0; }
.portal-links>a.button.primary { color: #fff; padding: 10px 18px; }
.portal-menu-button { border: 1px solid #ccd6d6; background: #fffefa; color: #264958; padding: 9px 14px; border-radius: 5px; }
.surface-public .content { width: 100%; max-width: 1500px; padding: 25px clamp(18px,3.8vw,64px) 100px; }
.surface-self-service .content { width: 100%; max-width: 1340px; padding: 32px clamp(18px,3.8vw,54px) 100px; }

/* HOMEPAGE / HERO */
.loan-editorial-hero { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(335px,.96fr); gap: clamp(16px,3vw,48px); align-items: stretch; min-height: 640px; border-radius: 8px; border: 0; padding: clamp(24px,4.2vw,65px); position: relative; overflow: hidden; background: #123e58; }
.loan-editorial-hero::before { content: ""; position: absolute; top: 0; left: clamp(24px,4.2vw,65px); width: 106px; height: 5px; background: var(--fb-orange); }
.loan-hero-main { align-self: center; z-index: 1; position: relative; padding: 25px 0; }
.loan-hero-main .eyebrow { color: #f7b96e; font-weight: 800; }
.loan-hero-main .hero-location { color: #d6e4eb; font-weight: 600; }
.loan-hero-main .finbelt-divider { margin: 5px 0 5px; }
.loan-hero-main h1 { color: #fff; font-size: clamp(3.65rem,5.75vw,6.35rem); max-width: 780px; font-weight: 720; line-height: .98; letter-spacing: -.065em; margin: 20px 0 28px; }
.loan-hero-main h1 em { font-family: var(--fb-serif); font-style: italic; color: #f4bd83; font-weight: 470; letter-spacing: -.055em; }
.loan-hero-main>p:not(.eyebrow):not(.hero-fineprint) { font-size: clamp(.97rem,1.3vw,1.12rem); line-height: 1.75; color: #e1ebed; max-width: 610px; }
.loan-hero-main .inline-actions { margin: 34px 0 24px; gap: 12px; }
.loan-hero-main .inline-actions .button { min-height: 52px; padding: 14px 22px; }
.loan-hero-main .button.primary { background: #fffefa; border-color: #fffefa; color: #104a6a; }
.loan-hero-main .button.primary:hover { background: #e7f1f5; border-color: #e7f1f5; color: #093f60; }
.loan-hero-main .button.ghost { border-color: #92b1c2; color: #fff; }
.loan-hero-main .button.ghost:hover { background: #27546a; }
.loan-hero-main .hero-fineprint { color: #b8d2de; font-size: .75rem; }
.loan-hero-side { display: grid; grid-template-rows: minmax(380px,1fr) auto; align-self: stretch; min-height: 0; position: relative; }
.loan-hero-portrait { position: relative; min-height: 380px; max-height: 460px; margin: 0; border-radius: 5px 5px 0 0; overflow: hidden; background: #284c58; }
.loan-hero-portrait img { display: block; height: 100%; width: 100%; min-height: 380px; object-fit: cover; object-position: center 35%; }
.loan-hero-portrait figcaption { position: absolute; right: 15px; bottom: 15px; left: 15px; color: #25495d; background: #fffefa; padding: 10px 13px; font-size: .7rem; font-weight: 750; letter-spacing: .01em; border-radius: 3px; }
.loan-hero-side .loan-process-note { padding: 20px 24px; margin: 0; border: 0; border-top: 3px solid var(--fb-orange); border-radius: 0 0 5px 5px; background: #f5f4ef; box-shadow: none; }
.loan-hero-side .loan-process-note::before { content: none; }
.loan-hero-side .note-label { color: #276081; font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.loan-hero-side .loan-process-note ol { margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.loan-hero-side .loan-process-note li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #d9ded8; }
.loan-hero-side .loan-process-note li:last-child { border-bottom: 0; }
.loan-hero-side .loan-process-note li>span { min-width: 24px; color: #0c669e; font-family: var(--fb-mono); font-size: .73rem; font-weight: 770; }
.loan-hero-side .loan-process-note strong { font-size: .85rem; color: #1b3a49; }
.loan-hero-side .loan-process-note small { font-size: .72rem; line-height: 1.45; color: #566b74; }
.trust-strip { margin: 25px 0 28px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--fb-rule); background: #fffefa; border-radius: 6px; overflow: hidden; }
.trust-strip>div { display: flex; align-items: flex-start; gap: 17px; padding: 24px clamp(13px,2.2vw,29px); border-right: 1px solid var(--fb-rule); }
.trust-strip>div:last-child { border-right: 0; }
.trust-number { color: var(--fb-orange); font-family: var(--fb-mono); font-weight: 770; font-size: .74rem; }
.trust-strip strong { display: block; color: #203e4d; font-size: .83rem; }
.trust-strip div div span { display: block; color: #61727a; font-size: .75rem; margin-top: 5px; line-height: 1.5; }
.surface-public .notice-banner { margin: 20px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 17px; border-top: 1px solid #d1d8d3; margin: 47px 0 23px; padding: 26px 0 0; }
.section-heading h2 { color: #1b3b4b; font-family: var(--fb-serif); font-weight: 520; font-size: clamp(1.9rem,3.15vw,2.95rem); letter-spacing: -.04em; line-height: 1.13; margin-bottom: 12px; }
.section-heading p { max-width: 775px; color: #546975; font-size: .89rem; }
.count-chip { display: inline-flex; flex: none; background: #fff; border: 1px solid #d5ded9; color: #426170; padding: 8px 12px; font-size: .73rem; font-weight: 680; border-radius: 4px; }
.loan-search { margin: 8px 0 24px; border: 1px solid #d9e0db; background: #fffefa; border-radius: 6px; padding: 18px 21px; display: grid; gap: 9px; }
.loan-search label { font-size: .79rem; color: #244b60; }
.loan-search-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.loan-search-controls input { flex: 1 1 260px; min-width: 170px; }
.loan-search-controls .button { min-width: 128px; }
.loan-search small { font-size: .72rem; color: #647781; }
.loan-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.loan-product-sheet { display: flex; flex-direction: column; min-width: 0; padding: 27px; background: #fffefa; border-color: #dce3dd; min-height: 460px; transition: transform 210ms var(--fb-ease), border-color 210ms ease-out, box-shadow 210ms ease-out; }
.loan-product-sheet:hover { transform: translateY(-3px); border-color: #aac5d3; box-shadow: 0 14px 29px rgba(24,63,84,.055); }
.loan-product-sheet .product-sheet-topline { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #e2e7e3; }
.loan-product-sheet .product-sheet-topline>span:last-child { font-size: .65rem; color: #75838b; }
.loan-product-sheet .product-sheet-category { color: #9b5f22; font-weight: 800; font-size: .65rem; letter-spacing: .16em; margin: 26px 0 10px; }
.loan-product-sheet h3 { font-family: var(--fb-serif); font-size: clamp(1.5rem,2.2vw,1.97rem); font-weight: 540; line-height: 1.2; letter-spacing: -.035em; color: #1a3d4f; }
.loan-product-sheet>p:not(.product-sheet-category) { color: #576d76; font-size: .85rem; line-height: 1.68; }
.loan-product-sheet dl { border-top: 1px solid #e0e6e2; padding-top: 9px; margin-top: auto; }
.loan-product-sheet dl>div { gap: 8px; }
.loan-product-sheet dt { color: #61717b; font-size: .72rem; }
.loan-product-sheet dd { color: #274c5c; font-size: .82rem; overflow-wrap: anywhere; }
.loan-product-sheet dd.money { font-size: .75rem; }
.loan-product-sheet .product-sheet-footer { display: grid; gap: 16px; padding-top: 18px; }
.loan-product-sheet .product-sheet-footer small { color: #667782; font-size: .72rem; }
.loan-product-sheet .product-sheet-footer .button { width: 100%; }
.loan-readiness { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,4.3vw,70px); align-items: center; margin: 66px 0 30px; padding: clamp(28px,4.1vw,60px); background: #e9f0ef; border-radius: 6px; border: 1px solid #d4e1dc; }
.readiness-intro h2 { font-family: var(--fb-serif); color: #173e51; font-size: clamp(1.95rem,3.7vw,3.35rem); font-weight: 520; letter-spacing: -.04em; line-height: 1.1; }
.readiness-intro p:not(.eyebrow) { color: #516a76; max-width: 440px; font-size: .92rem; }
.readiness-intro a { margin-top: 13px; display: inline-block; }
.readiness-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.readiness-list li { display: flex; gap: 21px; padding: 19px 0; border-bottom: 1px solid #cfdcd6; }
.readiness-list li:first-child { border-top: 1px solid #cfdcd6; }
.readiness-list li>span { color: #a96723; font-family: var(--fb-mono); font-size: .76rem; font-weight: 800; padding-top: 3px; }
.readiness-list strong { font-size: .98rem; color: #214554; }
.readiness-list p { color: #5d6f75; font-size: .8rem; margin: 5px 0 0; }
.auction-crosslink { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px,4vw,55px); margin-top: 25px; background: #173e55; color: #fff; border: 0; border-radius: 6px; }
.auction-crosslink .eyebrow { color: #f9c37c; }
.auction-crosslink h2 { color: #fff; font-family: var(--fb-serif); font-weight: 540; font-size: clamp(1.9rem,3vw,2.6rem); }
.auction-crosslink p:last-child { color: #d8e6ea; max-width: 750px; line-height: 1.7; }
.auction-crosslink .button.secondary { background: #fffefa; color: #164561; border-color: #fffefa; flex: none; }

/* PUBLIC AUCTIONS / MONOGRAPH CATALOGUE */
.auction-hero.editorial-hero { background: #eaf0eb; border: 1px solid #d8e1da; min-height: 475px; border-radius: 6px; position: relative; overflow: hidden; padding: clamp(28px,4.5vw,65px); grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: clamp(23px,4vw,56px); align-items: center; }
.auction-hero.editorial-hero::before { content: ""; height: 5px; width: 103px; background: var(--fb-orange); position: absolute; left: clamp(28px,4.5vw,65px); top: 0; }
.auction-hero.editorial-hero .eyebrow { color: #30657d; }
.auction-hero.editorial-hero h1 { font-size: clamp(3rem,5vw,5.65rem); font-weight: 710; color: #173b4d; line-height: 1.04; letter-spacing: -.06em; margin: 21px 0 25px; }
.auction-hero.editorial-hero h1 em { color: var(--fb-blue); font-family: var(--fb-serif); font-weight: 480; font-style: italic; }
.auction-hero.editorial-hero .hero-lede { color: #4d6470; font-size: 1rem; max-width: 630px; line-height: 1.78; }
.auction-hero.editorial-hero .hero-fineprint { color: #526c75; font-size: .8rem; }
.auction-hero.editorial-hero .button.ghost { color: #254e63; border-color: #b9cbcb; background: transparent; }
.catalogue-register { background: #fffefa; color: #1e4254; padding: clamp(20px,2.7vw,34px); border: 1px solid #cedad4; border-radius: 5px; box-shadow: 0 13px 35px rgba(29,60,74,.065); }
.catalogue-register .register-topline { font-size: .61rem; font-weight: 790; letter-spacing: .12em; }
.catalogue-register .register-count { font-size: clamp(5.8rem,9vw,8.4rem); color: var(--fb-blue-deep); letter-spacing: -.08em; }
.catalogue-register .register-count-label { color: #596e75; }
.register-row { border-color: #e5e9e5; }
.register-stamp { color: #5c7078; }
.auction-filters.filter-sheet { background: #fffefa; border-radius: 5px; border: 1px solid #dbe2dd; padding: 22px; box-shadow: none; }
.auction-filters .filter-actions { gap: 13px; }
.auction-listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.auction-listing { display: flex; flex-direction: column; border-color: #dce3dc; background: #fffefa; overflow: hidden; transition: transform 210ms var(--fb-ease), box-shadow 210ms ease-out, border-color 210ms ease-out; }
.auction-listing:hover { transform: translateY(-3px); border-color: #b2cbd3; box-shadow: 0 15px 28px rgba(20,63,79,.06); }
.listing-media { aspect-ratio: 1.58; background: #e7eae5; }
.listing-media>img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-media-placeholder { gap: 12px; font-size: .78rem; line-height: 1.4; font-family: var(--fb-sans); letter-spacing: 0; color: #556d78; background: #edf0ec; }
.listing-media-placeholder .placeholder-symbol { font-size: 3rem; color: #7696a1; }
.lot-index { font-family: var(--fb-mono); background: #fffefa; border-radius: 3px; color: #24495b; font-weight: 760; }
.listing-body { padding: 23px 23px 20px; }
.listing-kicker { gap: 7px; flex-wrap: wrap; }
.listing-kicker>span:first-child { font-size: .7rem; color: #5a6e77; font-weight: 760; }
.listing-body h3 { font-family: var(--fb-serif); font-size: 1.58rem; font-weight: 560; letter-spacing: -.03em; line-height: 1.22; margin: 16px 0 9px; }
.listing-body h3 a { color: #1d3e4f; }
.listing-summary { font-size: .8rem; color: #5e7077; line-height: 1.64; min-height: 0; }
.clearance-line { color: #855013; background: #fff5e6; border-color: #f0dcba; border-radius: 3px; }
.listing-valuation dt, .listing-bid-row span { font-size: .7rem; }
.listing-valuation dd, .listing-bid-row strong { font-family: var(--fb-mono); font-size: .78rem; color: #21495b; overflow-wrap: anywhere; }
.listing-valuation>div { min-width: 0; }
.lot-timer { border-radius: 4px; gap: 7px; flex-wrap: wrap; background: #fff5e8; color: #945612; border-color: #efdcbd; }
.lot-timer strong { font-size: 1.03rem; }
.listing-bottom { gap: 12px; }
.listing-bottom .button { min-height: 45px; }
.empty-category-links { margin: 20px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: .78rem; }
.empty-category-links a { background: #e8f1f4; border: 1px solid #c8dce4; border-radius: 4px; padding: 7px 11px; font-weight: 710; }
.catalogue-empty { border-style: dashed; }
.lot-bid-aside { top: 110px; }
.lot-photo-sheet, .lot-information-sheet, .bid-ticket { border-radius: 7px; }

/* CUSTOMER WORKSPACE / FORMS */
.surface-self-service .page-heading, .surface-self-service .application-heading { border-bottom: 1px solid #d8dfda; padding: 18px 0 24px; margin-bottom: 24px; }
.surface-self-service .page-heading.account-overview { position: relative; background: #e7f0ee; border: 1px solid #d2e0da; padding: clamp(26px,3.7vw,49px); border-radius: 6px; align-items: center; gap: 22px; }
.surface-self-service .page-heading.account-overview::before { content: ""; position: absolute; top: 0; left: 30px; width: 78px; height: 4px; background: var(--fb-orange); }
.account-overview .inline-actions { justify-content: flex-end; max-width: 340px; }
.account-overview .inline-actions>.button { flex: 1 1 140px; }
.surface-self-service .page-heading h1, .surface-self-service .application-heading h1 { font-family: var(--fb-serif); font-weight: 540; letter-spacing: -.045em; font-size: clamp(2.2rem,3.9vw,3.65rem); color: #183e52; }
.surface-self-service .page-heading p, .surface-self-service .application-heading p { line-height: 1.7; }
.surface-self-service .metric-grid { gap: 15px; }
.surface-self-service .metric-card { min-height: 141px; border-top: 3px solid #1e6994; padding: 24px; }
.surface-self-service .metric-card strong { color: #214d62; font-size: clamp(1.6rem,2.8vw,2rem); line-height: 1.24; }
.application-form { gap: 20px; }
.application-sheet { background: #fffefa; padding: clamp(22px,3vw,36px); border-radius: 6px; }
.application-sheet-head { border-bottom-color: #e3e8e2; }
.application-sheet-head h2 { font-family: var(--fb-serif); font-size: clamp(1.45rem,2.6vw,2.25rem); font-weight: 530; color: #1a3f53; }
.sheet-number { color: var(--fb-blue); }
.application-question { border-bottom: 1px solid #e9eeea; padding: 19px 0; }
.application-question:last-child { border-bottom: 0; }
.application-question label { font-weight: 720; }
.wizard-head { border: 1px solid #cfdedc; border-radius: 6px; background: #edf3f1; }
.wizard-head progress { accent-color: var(--fb-blue); }
.wizard-controls { border: 1px solid #dae3dc; border-radius: 6px; background: #fffefa; }
.wizard-step-list { gap: 7px 17px; }
.evidence-dropzone { border: 1.5px dashed #9cbac6; border-radius: 6px; background: #f4faf9; }
.evidence-dropzone.is-dragover { background: #e9f4f5; border-color: var(--fb-blue); }
.form-context-note { border-radius: 5px; }
.form-grid { gap: 18px; }
.form-stack { gap: 19px; }
.table-wrap, .ledger-table-wrap { max-width: 100%; overflow: auto; border: 1px solid #e0e6e1; border-radius: 5px; scrollbar-width: thin; }
table { font-variant-numeric: lining-nums tabular-nums; }
table thead th { background: #f1f4f0; color: #425e6b; font-weight: 780; }
table tbody tr { transition: background-color 150ms ease-out; }
table tbody tr:hover { background: #f4f8f8; }
th, td { overflow-wrap: anywhere; }
th.num-col, td.num-col { text-align: right; }

/* SIGN-IN, REGISTRATION & RECOVERY / PHOTOGRAPHY + STATIONERY */
.auth-shell, .auth-shell .page-viewport { width: 100%; min-height: 100vh; background: #faf9f5; }
.auth-shell .content-auth { width: 100%; max-width: none; margin: 0; padding: 0; display: block; }
.auth-scene { min-height: 100vh; display: grid; grid-template-columns: minmax(390px,1.03fr) minmax(0,.97fr); }
.auth-scene-story { min-height: 100vh; position: relative; overflow: hidden; padding: 0 clamp(28px,3.9vw,62px) clamp(24px,3vw,40px); background: #183d51; display: flex; flex-direction: column; justify-content: flex-end; gap: 15px; color: #fff; }
.auth-scene-story::before, .auth-scene-story::after { content: none; }
.auth-story-photo { height: 43%; position: absolute; inset: 0 0 auto; overflow: hidden; background: #294d56; }
.auth-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.auth-story-brand { position: absolute; top: clamp(21px,3vw,45px); left: clamp(28px,3.9vw,62px); z-index: 2; display: inline-flex; align-self: flex-start; width: 225px; max-width: 70%; background: #fffefa; border: 1px solid #e0e6df; padding: 16px 16px; border-radius: 4px; }
.auth-story-brand img { width: 100%; height: auto; }
.auth-story-content { position: relative; z-index: 1; padding: 32px 0 14px; margin-top: auto; max-width: 670px; }
.auth-story-content .eyebrow { color: #e8bb81; margin: 0 0 14px; }
.auth-story-content .finbelt-divider { margin-bottom: 12px; }
.auth-story-content h2 { color: #fff; font-family: var(--fb-serif); font-weight: 500; font-size: clamp(3.5rem,5vw,6rem); line-height: 1.02; letter-spacing: -.055em; margin: 18px 0 21px; }
.auth-story-content h2 em { color: #f6bd7b; font-style: italic; font-weight: 490; }
.auth-story-content>p:last-child { color: #d8e8ed; max-width: 580px; font-size: .97rem; line-height: 1.74; }
.auth-story-bottom { display: flex; gap: 17px; align-items: center; flex-wrap: wrap; border-top: 1px solid #446577; padding: 20px 0 0; position: relative; z-index: 1; }
.auth-story-bottom span { color: #c4d7df; font-size: .72rem; }
.auth-scene-form { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(30px,5.1vw,90px); background: #faf9f5; min-height: 100vh; }
.auth-scene-form .auth-panel { width: min(100%,520px); max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.auth-scene-form .auth-panel.auth-panel-wide { width: min(100%,620px); }
.auth-scene-form .auth-panel .auth-logo { display: none; }
.auth-mark { margin: 0 0 22px; }
.auth-scene-form .auth-panel>.eyebrow { margin-bottom: 16px; font-size: .69rem; color: var(--fb-blue); }
.auth-scene-form .auth-panel h1 { font-family: var(--fb-serif); font-size: clamp(2.35rem,3.7vw,3.8rem); font-weight: 530; color: #153d54; letter-spacing: -.05em; line-height: 1.1; margin-bottom: 16px; }
.auth-scene-form .auth-panel>.muted { color: #5e7079; font-size: .92rem; max-width: 550px; margin-bottom: 31px; line-height: 1.76; }
.auth-scene-form .form-stack { gap: 20px; }
.auth-scene-form .form-stack>label { color: #2d4956; }
.auth-field-group { display: grid; gap: 8px; }
.auth-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-field-head a { font-size: .78rem; font-weight: 760; }
.auth-field-group label { font-size: .8rem; color: #294756; }
.auth-field-group input { min-height: 54px; border-color: #bac9c9; border-radius: 5px; padding: 13px 14px; }
.password-field { display: flex; position: relative; }
.password-field input { padding-right: 75px; }
.password-field button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; color: var(--fb-blue-deep); background: transparent; font-size: .78rem; font-weight: 750; padding: 10px 13px; border-radius: 4px; }
.password-field button:focus-visible { outline: 2px solid var(--fb-orange); }
.auth-scene-form .button.primary.full { min-height: 53px; font-size: .89rem; }
.auth-form-foot { margin: 26px 0 0; border-top: 1px solid #dfe4df; padding: 22px 0 0; }
.auth-form-foot p { margin: 0 0 8px; font-size: .83rem; }
.auth-form-foot .hint { font-size: .76rem; }
.auth-form-foot a { font-weight: 780; }
.auth-scene-form .hint { font-size: .79rem; color: #60747e; line-height: 1.68; }
.auth-scene-form .checkline { line-height: 1.6; font-size: .8rem; align-items: flex-start; }
.auth-scene-form .checkline input { flex: none; margin-top: 2px; }
.auth-return { margin: 30px 0 0; font-size: .77rem; color: #839197; }
.auth-return a { color: #245675; font-weight: 750; }
.auth-scene-form>.alert { width: min(100%,620px); }
.finbelt-otp-input { font-family: var(--fb-mono); font-variant-numeric: tabular-nums; font-size: 1.6rem!important; letter-spacing: .22em; min-height: 65px; text-align: center; }
.otp-secondary-form { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
.recovery-code-list li { border-radius: 4px; }

/* OPERATIONS / LIGHT FINANCIAL STATIONERY CONSOLE */
.surface-operations .sidebar { background: #f0f1ed; color: #244454; border-right: 1px solid #d4dcd5; width: 268px; flex: 0 0 268px; height: 100vh; position: sticky; top: 0; overflow-y: auto; padding: 25px 15px 20px; scrollbar-width: thin; }
.surface-operations .sidebar .brand { display: flex; justify-content: flex-start; border-bottom: 1px solid #d6ded8; padding: 6px 12px 23px; margin: 0 0 22px; }
.surface-operations .sidebar .brand img { width: 190px; max-width: 100%; }
.sidebar-caption { display: flex; align-items: center; gap: 9px; padding: 0 11px 17px; margin: 0 0 22px; border-bottom: 1px solid #d8e0db; color: #365765; font-size: .73rem; }
.surface-operations .nav-label { color: #72828b; margin: 0 11px 11px; letter-spacing: .13em; }
.surface-operations .nav-links { display: grid; gap: 3px; padding: 0 3px; }
.surface-operations .nav-links a { min-height: 42px; display: flex; align-items: center; gap: 12px; color: #3c5a69; border: 1px solid transparent; border-radius: 5px; padding: 9px 12px; font-size: .82rem; font-weight: 670; white-space: normal; }
.surface-operations .nav-links a:hover:not(.active) { color: #0a4b75; background: #e2ebee; text-decoration: none; }
.surface-operations .nav-links a.active { background: #dcecf4; border-color: #c4d9e4; color: #085889; font-weight: 810; }
.nav-bullet { flex: none; width: 13px; height: 3px; border: 0; border-radius: 99px; background: #8c9da6; transform: none; }
.nav-links a.active .nav-bullet { width: 16px; height: 4px; background: var(--fb-orange); border: 0; }
.surface-operations .sidebar-bottom { padding: 18px 9px 8px; border-top-color: #d2ddd6; }
.surface-operations .sidebar-bottom .eyebrow { color: #758990; font-size: .61rem; }
.sidebar-account strong { color: #1a3d4c; font-weight: 760; font-size: .76rem; }
.account-monogram { width: 33px; height: 33px; border-radius: 5px; background: #dbe9ed; color: #0b5d8c; border: 1px solid #c5d9e1; }
.sidebar-security-link, .sidebar-bottom .text-button { color: var(--fb-blue-deep); }
.ops-menu-button { display: none; }
.surface-operations .topbar { min-height: 76px; background: #fffefa; border-bottom: 1px solid #dce3df; padding: 12px clamp(19px,2.5vw,39px); gap: 17px; }
.topbar-title { font-size: .84rem; color: #294b5b; letter-spacing: -.01em; }
.topbar-subtitle { color: #687c85; font-size: .73rem; }
.topbar-clock { color: #657c84; }
.topbar-health { display: inline-flex; gap: 8px; align-items: center; font-size: .71rem; border: 1px solid #c8e2d1; background: #edf7ee; color: #266448; border-radius: 4px; padding: 7px 10px; font-weight: 760; }
.surface-operations .content { padding: 32px clamp(19px,2.7vw,45px) 96px; max-width: 1700px; }
.operations-heading { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 213px; padding: clamp(27px,3.4vw,47px); margin-bottom: 24px; border-radius: 6px; overflow: hidden; background: #1c495f; }
.operations-heading::before { content: ""; position: absolute; top: 0; left: 42px; width: 85px; height: 4px; background: var(--fb-orange); }
.operations-heading::after { content: ""; position: absolute; pointer-events: none; right: -18px; bottom: -70px; height: 190px; width: 240px; border: 16px solid rgba(255,255,255,.05); border-radius: 0; }
.operations-heading .eyebrow { color: #f7bf7a; }
.operations-heading h1 { font-family: var(--fb-serif); font-weight: 500; color: #fff; letter-spacing: -.045em; font-size: clamp(2.35rem,3vw,3.3rem); }
.operations-heading p:last-child { color: #d8e8ef; font-size: .9rem; max-width: 630px; }
.operations-heading .button.primary { color: #15557b; background: #fffefa; border-color: #fffefa; z-index: 1; }
.ops-review-banner { background: #e8f1f2; border-color: #cfdfe1; border-radius: 5px; }
.ops-metric-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.ops-metric-grid .metric-card { min-height: 145px; padding: 20px 17px; border-color: #dce3dd; border-radius: 5px; position: relative; overflow: visible; }
.ops-metric-grid .metric-card::before { position: absolute; top: 0; left: 17px; width: 46px; height: 3px; background: var(--fb-blue); content: ""; }
.ops-metric-grid .metric-card:first-child { background: #ecf4f7; border-color: #cbdde6; }
.ops-metric-grid .metric-card:first-child::before { background: var(--fb-orange); }
.ops-metric-grid .metric-card span { margin-top: 9px; color: #526c7a; font-size: .75rem; }
.ops-metric-grid .metric-card strong { font-size: clamp(1.7rem,2.35vw,2.4rem); color: #244f62; font-weight: 650; }
.ops-metric-grid .metric-card small { font-size: .7rem; color: #647782; line-height: 1.48; }
.ops-workflow-grid { gap: 14px; }
.ops-workflow-card { border: 1px solid #dbe3dd; border-radius: 6px; padding: 27px 25px; }
.ops-workflow-card .workflow-index { color: #0e6d9f; }
.ops-workflow-card h3 { font-family: var(--fb-serif); color: #1b4052; font-size: 1.5rem; font-weight: 560; }
.ops-workflow-card p { color: #60737b; font-size: .84rem; line-height: 1.72; }
.surface-operations .page-heading { border-bottom: 1px solid #d8e0db; padding-bottom: 19px; }
.surface-operations .page-heading h1 { color: #183d53; font-family: var(--fb-serif); font-weight: 520; font-size: clamp(2.15rem,3vw,3rem); }
.surface-operations .panel { border-radius: 6px; }
.surface-operations .table-wrap { border-radius: 4px; }
.surface-operations thead th { position: sticky; top: 0; z-index: 1; background: #ecf1ed; font-size: .68rem; color: #49606d; }
.surface-operations td { color: #2d4855; }
.surface-operations td.num-col, .surface-operations th.num-col { text-align: right; }
.form-studio-grid { grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); }
.builder-section, .builder-field, .form-preview { border-radius: 5px; }
.builder-section { background: #f3f6f2; border-color: #dbe2dc; }
.builder-field { background: #fffefa; border-color: #dce3df; }
.small-button { min-height: 35px; padding: 7px 10px; font-size: .75rem; }
.staff-layout .panel, .staff-role-form { min-width: 0; }
.staff-role-form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.staff-role-form select { min-width: 130px; flex: 1; }

/* FOOTER, EMPTY, RECOVERY, FEEDBACK */
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; background: #e9eee9; border-top: 1px solid #d9e0d9; color: #4e6570; padding: 47px max(24px,calc((100vw - 1320px)/2)) 55px; }
.footer-brand a { display: inline-block; width: 195px; max-width: 100%; }
.footer-brand img { width: 100%; }
.footer-brand span { font-size: .76rem; margin-top: 18px; }
.site-footer nav { display: flex; gap: 12px 24px; align-content: flex-start; flex-wrap: wrap; }
.site-footer nav a { font-size: .8rem; color: #2d586e; font-weight: 720; }
.site-footer>p { color: #6a7a81; font-size: .73rem; line-height: 1.7; }
.empty { background: #fffefa; border: 1px dashed #d1dcd6; border-radius: 6px; }
.empty strong, .empty h3 { color: #24465a; }
.error-panel { margin: 8vh auto 0; text-align: left; padding: clamp(28px,4vw,55px); border-top: 4px solid var(--fb-orange); }
.error-panel .eyebrow { margin: 23px 0 13px; }
.error-panel h1 { color: #173d50; font-family: var(--fb-serif); font-size: clamp(2rem,4vw,3.5rem); font-weight: 520; }
.error-panel .error-help { color: #657680; font-size: .83rem; }
.error-panel .inline-actions { gap: 12px; margin-top: 25px; }
.confirm-dialog { border-radius: 5px; }
.finbelt-feedback { position: fixed; z-index: 90; bottom: max(18px,env(safe-area-inset-bottom)); right: 18px; max-width: min(410px,calc(100vw - 36px)); border: 1px solid #cfdcda; border-left: 4px solid var(--fb-blue); background: #fffefa; color: #244555; padding: 17px 19px; border-radius: 5px; box-shadow: 0 12px 34px rgba(25,55,69,.13); font-size: .83rem; line-height: 1.55; }
.finbelt-feedback[hidden] { display: none!important; }
.finbelt-feedback[data-tone=offline] { border-left-color: #b36e1a; }
.finbelt-feedback strong { display: block; }
.finbelt-feedback p { margin: 4px 0 0; }
.is-submitting button[type=submit] { opacity: .76; cursor: progress; }
.is-submitting button[type=submit]::after { content: ""; display: inline-block; width: 11px; height: 8px; background: #e4edf0; box-shadow: 15px 0 #c5dce6, 30px 0 #a6cfe2; border-radius: 2px; margin-left: 12px; animation: fb-wait 750ms ease-in-out infinite alternate; }
@keyframes fb-wait { from { opacity: .55; transform: scaleX(.85); } to { opacity: 1; transform: scaleX(1.08); } }
.finbelt-reveal-ready .finbelt-reveal { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--fb-ease), transform 550ms var(--fb-ease); transition-delay: var(--fb-stagger,0ms); }
.finbelt-reveal-ready .finbelt-reveal.is-visible { opacity: 1; transform: translateY(0); }
.finbelt-menu-ready .portal-header .portal-links.is-open, .finbelt-ops-menu-ready .sidebar .nav-links.is-open { animation: fb-menu-in 200ms var(--fb-ease) both; transform-origin: top center; }
@keyframes fb-menu-in { from { opacity: .7; transform: translateY(-7px) scale(.95); filter: blur(3px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
.finbelt-confirm-dialog[open] { animation: fb-dialog-in 240ms var(--fb-ease) both; }
.finbelt-confirm-dialog[open].is-closing { animation: fb-dialog-out 190ms ease-in both; }
@keyframes fb-dialog-in { from { opacity: .5; transform: translateY(9px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes fb-dialog-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(7px) scale(.985); } }

/* RESPONSIVE: do not clip words, tables, financial values or actions. */
@media(max-width: 1220px) {
  .loan-product-grid, .auction-listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ops-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .surface-operations .sidebar { width: 242px; flex-basis: 242px; }
  .loan-editorial-hero { grid-template-columns: minmax(0,1fr) minmax(300px,.88fr); }
  .loan-hero-main h1 { font-size: clamp(3.3rem,5.5vw,5.2rem); }
}
@media(max-width: 980px) {
  .loan-editorial-hero, .auction-hero.editorial-hero { grid-template-columns: 1fr; }
  .loan-editorial-hero { gap: 26px; }
  .loan-hero-side { grid-template-columns: minmax(0,1fr) minmax(270px,.82fr); grid-template-rows: auto; }
  .loan-hero-portrait { max-height: none; border-radius: 5px 0 0 5px; }
  .loan-hero-side .loan-process-note { border: 0; border-top: 3px solid var(--fb-orange); border-radius: 0 5px 5px 0; }
  .catalogue-register { width: 100%; max-width: none; }
  .loan-readiness { grid-template-columns: 1fr; }
  .ops-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-studio-grid { grid-template-columns: 1fr; }
  .auth-scene { grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); }
  .auth-scene-story { padding-left: 25px; padding-right: 25px; }
  .auth-story-brand { left: 25px; }
  .auth-story-content h2 { font-size: clamp(3rem,4.7vw,4.6rem); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer>p { grid-column: 1 / -1; }
}
@media(max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .portal-utility { padding: 9px 17px; font-size: .54rem; gap: 10px; }
  .portal-utility>span:last-child { text-align: right; }
  .portal-header { padding: 12px 17px; min-height: 70px; gap: 12px; flex-wrap: wrap; }
  .portal-brand img { width: 158px; }
  .finbelt-menu-ready .portal-menu-button { display: inline-flex; margin-left: auto; }
  .finbelt-menu-ready .portal-header .portal-links:not(.is-open) { display: none; }
  .portal-header .portal-links { width: 100%; max-width: 100%; padding: 13px 0 5px; margin: 0; border-top: 1px solid #e2e7e2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; overflow: visible; }
  .portal-header .portal-links>a { padding: 10px 8px; width: auto; white-space: normal; }
  .portal-header .portal-links>a.button { justify-content: center; }
  .surface-public .content, .surface-self-service .content, .surface-operations .content { padding: 20px 16px 66px; }
  .loan-editorial-hero, .auction-hero.editorial-hero { padding: 29px 24px; border-radius: 5px; }
  .loan-hero-main { padding: 12px 0 0; }
  .loan-hero-main h1, .auction-hero.editorial-hero h1 { font-size: clamp(3rem,9.5vw,4.3rem); }
  .loan-hero-side { grid-template-columns: 1fr; }
  .loan-hero-portrait { min-height: 300px; max-height: 370px; border-radius: 4px 4px 0 0; }
  .loan-hero-portrait img { min-height: 300px; }
  .loan-hero-side .loan-process-note { border-top: 3px solid var(--fb-orange); border-radius: 0 0 4px 4px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip>div { border-right: 0; border-bottom: 1px solid #dce2db; padding: 17px 20px; }
  .trust-strip>div:last-child { border-bottom: 0; }
  .loan-product-grid, .auction-listing-grid { grid-template-columns: 1fr; }
  .loan-product-sheet { min-height: 0; }
  .section-heading { margin-top: 32px; }
  .loan-readiness { margin-top: 40px; padding: 27px 23px; }
  .auction-crosslink { flex-direction: column; align-items: flex-start; gap: 14px; }
  .surface-operations .sidebar { width: 100%; height: auto; min-height: 0; flex-basis: auto; padding: 14px 16px; position: static; display: grid; }
  .surface-operations .sidebar .brand { margin: 0 0 11px; padding: 0 0 14px; }
  .surface-operations .sidebar .brand img { width: 157px; }
  .ops-menu-button { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; min-height: 42px; padding: 10px 13px; border: 1px solid #ccd8d8; color: #1e536e; background: #fffefa; border-radius: 4px; font-size: .83rem; font-weight: 760; }
  .finbelt-ops-menu-ready .sidebar .nav-label, .finbelt-ops-menu-ready .sidebar .sidebar-caption { display: none; }
  .surface-operations .nav-links { display: flex; white-space: normal; flex-wrap: wrap; padding: 12px 0 0; gap: 7px; overflow: visible; }
  .surface-operations .nav-links a { flex: 1 1 138px; border-color: #d1deda; }
  .finbelt-ops-menu-ready .sidebar .nav-links:not(.is-open) { display: none; }
  .surface-operations .sidebar-bottom { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px 0 0; align-items: center; margin-top: 12px; }
  .surface-operations .sidebar-bottom .eyebrow { display: none; }
  .surface-operations .sidebar-bottom .sidebar-account { margin: 0; flex: 1 1 170px; }
  .surface-operations .sidebar-bottom form { margin: 0; }
  .surface-operations .topbar { min-height: 63px; padding: 12px 16px; }
  .surface-operations .topbar .breadcrumb { display: grid; gap: 3px; }
  .topbar-clock { display: none; }
  .ops-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ops-workflow-grid { grid-template-columns: 1fr; }
  .operations-heading { padding: 27px 23px; min-height: auto; }
  .account-overview .inline-actions { justify-content: flex-start; max-width: none; }
  .auth-scene { grid-template-columns: 1fr; }
  .auth-scene-story { min-height: 390px; height: auto; padding: 0 26px 25px; }
  .auth-story-photo { height: 42%; }
  .auth-story-brand { top: 19px; left: 25px; width: 175px; padding: 12px; }
  .auth-story-content { padding: 24px 0 5px; }
  .auth-story-content h2 { font-size: clamp(2.5rem,7.5vw,3.25rem); margin: 12px 0 11px; }
  .auth-story-content>p:last-child { font-size: .82rem; margin: 0; }
  .auth-story-bottom { display: none; }
  .auth-scene-form { padding: 37px 26px 55px; min-height: auto; }
  .site-footer { grid-template-columns: 1fr; padding: 37px 25px; gap: 24px; }
  .site-footer>p { grid-column: auto; }
}
@media(max-width: 490px) {
  .portal-utility>span:last-child { font-size: .51rem; }
  .portal-header .portal-links { grid-template-columns: 1fr; }
  .loan-hero-main h1, .auction-hero.editorial-hero h1 { font-size: clamp(2.85rem,11vw,3.7rem); }
  .loan-hero-main .inline-actions, .auction-hero .inline-actions { display: grid; grid-template-columns: 1fr; }
  .loan-hero-main .inline-actions .button, .auction-hero .inline-actions .button { width: 100%; }
  .loan-search-controls { display: grid; grid-template-columns: 1fr; }
  .loan-search-controls input { min-width: 0; }
  .ops-metric-grid { grid-template-columns: 1fr 1fr; }
  .ops-metric-grid .metric-card { min-height: 130px; padding: 16px 12px; }
  .ops-metric-grid .metric-card strong { font-size: 1.58rem; }
  .auth-scene-form { padding: 33px 19px 45px; }
  .auth-scene-form .auth-panel h1 { font-size: 2.6rem; }
  .auth-scene-form .form-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 30px 20px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  .finbelt-reveal-ready .finbelt-reveal { opacity: 1!important; transform: none!important; }
}

/* Operations account directory: identity records and borrower profiles have
   separate lifecycles. Keep account status prominent without crowding data. */
.surface-operations .account-directory { margin: 22px 0 26px; padding: clamp(22px,3vw,35px); }
.account-directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #e0e6e1; }
.account-directory-heading .eyebrow { margin: 0 0 7px; }
.account-directory-heading h2 { margin: 0; color: #1b4255; font-size: clamp(1.3rem,2vw,1.7rem); }
.account-directory-total { flex-shrink: 0; color: #23546b; background: #edf3f0; border: 1px solid #d8e5e0; padding: 8px 13px; border-radius: 4px; font-size: .81rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.account-directory-filters { display: grid; grid-template-columns: minmax(230px,1.5fr) minmax(180px,.9fr) auto; gap: 15px; align-items: end; margin-top: 22px; }
.account-directory-filters label { min-width: 0; display: grid; gap: 7px; color: #41545e; font-size: .79rem; font-weight: 720; }
.account-directory-filters input, .account-directory-filters select { min-width: 0; width: 100%; min-height: 46px; font-size: .89rem; }
.account-directory-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.account-directory-actions .button { min-height: 45px; white-space: nowrap; }
.account-directory-summary { color: #5d707b; font-size: .77rem; margin: 20px 0 11px; font-variant-numeric: tabular-nums; }
.account-directory-table { margin-top: 6px; }
.account-directory-table table { min-width: 840px; }
.account-directory-table thead th { font-size: .67rem; white-space: nowrap; }
.account-directory-table tbody tr { animation: fb-account-row .34s ease-out both; animation-delay: calc(min(var(--row, 0), 10) * 30ms); }
.account-directory-table td { vertical-align: middle; font-size: .84rem; }
.account-directory-table td:first-child { min-width: 185px; }
.account-directory-table td .table-detail { display: block; color: #63747a; overflow-wrap: anywhere; font-size: .73rem; }
.account-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 22px; color: #506471; font-size: .82rem; }
.account-directory-secondary { align-items: start; }
@keyframes fb-account-row { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width: 1000px) {
  .account-directory-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .account-directory-actions { grid-column: 1/-1; }
}
@media(max-width: 600px) {
  .account-directory-filters { grid-template-columns: 1fr; }
  .account-directory-actions { grid-column: auto; }
  .account-directory-actions .button { flex: 1 1 130px; }
  .account-pagination { justify-content: space-between; }
}
