/* Finbelt Design System 0.1.1
   Editorial public portal · reassuring customer journey · precise owner ledger.
   These rules layer on top of app.css so existing non-redesigned forms keep working.
   All backgrounds are flat solids. No gradients, blur glass, animations that bounce,
   or imagery that could imply an unverified collateral item is for sale. */

:root {
  --brand-blue: #0B68B3;
  --brand-blue-deep: #074B81;
  --brand-orange: #F3921F;
  --paper: #F7F6F2;
  --sheet: #FFFFFF;
  --paper-rule: #E2DFD7;
  --ink: #1C2127;
  --muted: #525B66;
  --forest: #1E6F50;
  --amber: #B45309;
  --brick: #B91C1C;
  --navy: #273540;
  --blue: var(--brand-blue);
  --green: var(--brand-blue);
  --orange: var(--brand-orange);
  --orange-dark: #995305;
  --red: var(--brick);
  --cream: var(--paper);
  --soft: #F2F1EC;
  --stroke: var(--paper-rule);
  --card: var(--sheet);
  --shadow: none;
  --ui-font: "Plus Jakarta Sans", "IBM Plex Sans", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --money-font: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--ui-font); line-height: 1.55; }
.portal-shell,.app-shell { background: var(--paper); }
/* Neutralize earlier theme gradients and shadows on legacy authentication/auction views. */
.auth-shell { background: var(--paper); }
.auth-panel { border: 1px solid var(--paper-rule); border-radius: 8px; box-shadow: none; }
.auth-icon { background: var(--brand-blue); border-radius: 6px; box-shadow: none; }
.auction-hero:not(.editorial-hero) { background: #EDEFEA; color: var(--ink); border: 1px solid var(--paper-rule); border-radius: 8px; }
.auction-card .lot-icon,.lot-detail-icon { background: #E7E9E5; color: #66777C; }
.portal-hero-mark { transform: none; box-shadow: none; border-radius: 8px; }
h1,h2,h3,h4 { color: var(--ink); letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 3.35vw, 3.35rem); font-weight: 760; line-height: 1.13; }
h2 { font-size: clamp(1.18rem, 2vw, 1.62rem); font-weight: 740; }
h3 { font-size: 1.09rem; font-weight: 730; }
small { line-height: 1.45; }
a { color: var(--brand-blue); }
input,select,textarea,button { font-family: var(--ui-font); }
.money, .record-id, .num-col, .lot-index, .ticket-value, .register-count, .lot-timer strong,
.metric-card>strong { font-family: var(--money-font); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.035em; }
.money { white-space: nowrap; font-weight: 650; }
.record-id { font-size: .76rem; color: #4A5760; overflow-wrap: anywhere; }
.muted,.hint { color: var(--muted); }
.eyebrow { font-size: .66rem; font-weight: 800; letter-spacing: .13em; color: var(--brand-blue-deep); }
.skip-link { position: fixed; z-index: 900; top: -90px; left: 14px; background: var(--brand-blue); color: #fff; padding: 12px 18px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
:focus-visible { outline: 3px solid var(--brand-orange)!important; outline-offset: 3px; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
input,select,textarea { background: var(--sheet); border: 1px solid #C7CBD0; border-radius: 6px; color: var(--ink); padding: 12px 13px; box-shadow: none; }
input:hover,select:hover,textarea:hover { border-color: #8C9AA5; }
input:focus,select:focus,textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(11,104,179,.11); }
input[aria-invalid="true"] { border-color: var(--brick); }
label { font-size: .85rem; color: #34404A; font-weight: 680; }
.button { border-radius: 6px; padding: 11px 18px; font-weight: 750; font-size: .86rem; box-shadow: none!important; transition: background-color .18s ease-out, border-color .18s ease-out, transform .12s ease-out; }
.button:active { transform: scale(.97); }
.button.primary { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.button.primary:hover { background: var(--brand-blue-deep); border-color: var(--brand-blue-deep); }
.button.secondary { background: #F0F5F9; color: var(--brand-blue-deep); border: 1px solid #B6CDE0; }
.button.secondary:hover { background: #E4EEF5; }
.button.ghost { background: transparent; color: var(--brand-blue); border: 1px solid var(--paper-rule); }
.button.ghost:hover { background: #EDF3F7; border-color: #B7CAD6; }
.button.bid-action { background: var(--brand-orange); border: 1px solid #D47B14; color: #20262B; }
.button.bid-action:hover { background: #F8A942; }
.button.danger { background: #FFF3F1; color: var(--brick); border: 1px solid #E7BEBA; }
.button.danger:hover { background: #FCE9E6; }
.text-link { font-weight: 730; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.panel,.catalogue-card,.metric-card { border: 1px solid var(--paper-rule); background: var(--sheet); border-radius: 8px; box-shadow: none; }
.panel { padding: clamp(20px,2.1vw,30px); }
.status-tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 9px; border-radius: 4px; border: 1px solid #D6DFE6; background: #F1F4F6; color: #40505C; font-size: .71rem; line-height: 1.3; font-weight: 780; letter-spacing: .01em; text-transform: none; }
.status-tag.is-success { background: #EAF5EF; color: var(--forest); border-color: #BCD8C7; }
.status-tag.is-warning { background: #FFF3E4; color: var(--amber); border-color: #EBD3B0; }
.status-tag.is-danger { background: #FEF0EF; color: var(--brick); border-color: #EFC0BF; }
.status-tag.is-live { background: #FFF1DD; color: #8E4F06; border-color: #EDC58C; }
.status-tag.is-neutral { background: #F2F4F5; color: #4D5B66; border-color: #DCE1E3; }
.status { border-radius: 4px; }
.status-good { color: var(--forest); background: #EAF5EF; }
.status-muted { color: #495762; background: #F2F4F5; }
.finbelt-divider { display: inline-flex; align-items: center; gap: 5px; height: 13px; }
.finbelt-divider i { display: block; height: 3px; border-radius: 9px; background: var(--brand-orange); }
.finbelt-divider i:nth-child(1) { width: 38px; }
.finbelt-divider i:nth-child(2) { width: 26px; }
.finbelt-divider i:nth-child(3) { width: 17px; }
.finbelt-divider i:nth-child(4) { width: 9px; }
.notice-banner { border: 1px solid var(--paper-rule); border-left: 4px solid var(--brand-blue); border-radius: 6px; background: #F0F5F9; display: grid; grid-template-columns: minmax(135px,.23fr) 1fr; gap: 17px; align-items: start; padding: 15px 19px; margin: 21px 0 30px; }
.notice-banner strong { font-size: .86rem; color: #174A71; }
.notice-banner p { margin: 0; font-size: .84rem; color: #435565; }
.notice-banner.notice-amber { background: #FFFAF2; border-left-color: var(--amber); }
.notice-banner.notice-amber strong { color: #92500B; }
.notice-banner.notice-amber p { color: #665747; }
.notice-banner a { text-decoration: underline; text-underline-offset: 2px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 42px 0 22px; }
.section-heading h2 { margin: 0 0 4px; }
.section-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.section-heading .eyebrow { margin-bottom: 7px; }
.count-chip { border: 1px solid var(--paper-rule); background: var(--sheet); border-radius: 4px; padding: 7px 10px; color: #59636A; font-size: .76rem; font-weight: 770; white-space: nowrap; }
.breadcrumb-trail { display: flex; flex-wrap: wrap; gap: 10px; color: #6B747B; font-size: .78rem; margin: 10px 0 22px; }
.breadcrumb-trail a { color: var(--brand-blue); font-weight: 740; }
.breadcrumb-trail span:last-child { overflow-wrap: anywhere; }
.field-hint,.legal-fineprint { display: block; color: #626F76; font-size: .75rem; font-weight: 450; line-height: 1.55; }
.legal-fineprint { border-top: 1px solid var(--paper-rule); padding-top: 14px; margin-top: 18px; }

/* Navigation: the public area is airy, the borrower area restrained, owner area dense. */
.surface-public .content { max-width: 1360px; padding: 40px 38px 86px; }
.surface-self-service .content { max-width: 1240px; padding: 38px 36px 80px; }
.surface-operations .content { max-width: 1600px; padding: 28px 33px 72px; }
.portal-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--paper-rule); box-shadow: none; padding-top: 16px; padding-bottom: 16px; }
.portal-brand { gap: 12px; }
.portal-brand img { object-fit: contain; }
.portal-brand small { color: #707B82; letter-spacing: .1em; }
.portal-links { gap: 22px; }
.portal-links>a { color: #3B4750; font-size: .85rem; font-weight: 720; border-bottom: 2px solid transparent; padding: 7px 1px; }
.portal-links>a[aria-current="page"] { color: var(--brand-blue); border-color: var(--brand-blue); }
.surface-operations .sidebar { background: #26353E; border-right: 1px solid #334A55; box-shadow: none; }
.surface-operations .sidebar .brand { margin-bottom: 22px; }
.surface-operations .sidebar .brand small { color: #A9BDC6; letter-spacing: .14em; }
.sidebar-caption { display: flex; align-items: center; justify-content: space-between; color: #B9C7CE; text-transform: uppercase; letter-spacing: .12em; font-size: .63rem; border-bottom: 1px solid rgba(255,255,255,.11); padding-bottom: 23px; margin-bottom: 18px; }
.sidebar-caption .finbelt-divider { transform: scale(.7); transform-origin: left center; }
.surface-operations .nav-label { color: #8DABB9; font-size: .65rem; }
.surface-operations .nav-links a { border-radius: 5px; color: #CAD6DD; font-weight: 550; font-size: .86rem; }
.surface-operations .nav-links a.active,.surface-operations .nav-links a[aria-current="page"] { background: var(--brand-blue); color: #fff; }
.surface-operations .nav-links a:hover:not(.active) { background: #354954; color: #fff; }
.surface-operations .topbar { background: #fff; border-bottom: 1px solid var(--paper-rule); box-shadow: none; padding: 0 33px; min-height: 77px; }
.topbar-title { display: block; color: #293943; font-size: .89rem; font-weight: 780; letter-spacing: -.01em; }
.topbar-subtitle { display: block; color: #748087; font-size: .71rem; margin-top: 3px; }
.topbar-meta { display: flex; align-items: center; gap: 15px; }
.topbar-clock { font-size: .73rem; color: #68757D; font-family: var(--money-font); }
.topbar-pill { background: #FFF5E8; color: #995305; border: 1px solid #EAD2AB; font-size: .68rem; padding: 6px 10px; }

/* Public editorial auction catalogue. */
.auction-hero.editorial-hero { background: #EDEFEA; color: var(--ink); border: 1px solid #D9DED6; border-radius: 8px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.78fr); gap: clamp(25px,4vw,70px); align-items: stretch; padding: clamp(28px,4.5vw,62px); margin: 0 0 22px; }
.editorial-hero-copy { padding: 8px 0; }
.editorial-hero .eyebrow { color: #335B73; }
.editorial-hero h1 { max-width: 720px; color: #1B303C; font-size: clamp(2.5rem,5vw,4.65rem); margin: 21px 0 20px; font-weight: 760; }
.editorial-hero .hero-lede { max-width: 660px; color: #4F6069; font-size: 1.05rem; line-height: 1.72; }
.editorial-hero .inline-actions { margin-top: 28px; }
.hero-fineprint { margin: 22px 0 0; color: #64747D; font-size: .75rem; }
.catalogue-register { background: var(--sheet); border: 1px solid #D3D9D5; border-radius: 6px; padding: clamp(21px,2.8vw,34px); display: flex; flex-direction: column; align-self: stretch; }
.register-topline { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--paper-rule); font-family: var(--money-font); color: #6F7A80; font-size: .63rem; }
.register-count { font-size: clamp(4.5rem,9vw,8.3rem); line-height: 1; color: var(--brand-blue); font-weight: 520; margin-top: 27px; }
.register-count-label { font-size: .78rem; color: #63717A; margin: 8px 0 auto; }
.register-row { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--paper-rule); padding: 11px 0; font-size: .74rem; }
.register-row span { color: #687680; }
.register-row strong { text-align: right; font-size: .75rem; color: #33424C; }
.register-stamp { border-top: 1px solid var(--paper-rule); padding-top: 15px; margin-top: 8px; font-size: .65rem; font-weight: 820; letter-spacing: .09em; color: var(--amber); }
.catalogue-heading { scroll-margin-top: 100px; }
.filter-sheet.auction-filters { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 16px; background: #fff; border: 1px solid var(--paper-rule); border-radius: 8px; padding: 19px; margin: 0 0 26px; }
.filter-sheet label { font-size: .77rem; }
.filter-sheet .filter-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; padding-bottom: 1px; }
.auction-listing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 21px; }
.auction-listing { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--paper-rule); background: var(--sheet); border-radius: 8px; overflow: hidden; transition: border-color .18s ease-out, transform .18s ease-out; }
.auction-listing:hover { border-color: #C1C9CA; transform: translateY(-2px); }
.listing-media { position: relative; aspect-ratio: 16/10; background: #E6E6E0; overflow: hidden; border-bottom: 1px solid var(--paper-rule); }
.listing-media>img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-media-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; gap: 15px; background: #E8E8E2; color: #737C78; text-align: center; font-family: var(--money-font); font-size: .63rem; letter-spacing: .12em; }
.placeholder-symbol { font-size: 4rem; line-height: 1; font-weight: 250; color: #A7AFAB; }
.lot-index { position: absolute; bottom: 11px; left: 12px; background: #fff; color: #42525B; border: 1px solid #D4DAD8; padding: 6px 9px; border-radius: 3px; font-size: .61rem; letter-spacing: .055em; }
.listing-body { display: flex; flex-direction: column; padding: 20px; gap: 0; flex: 1; }
.listing-kicker { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 13px; color: var(--brand-blue-deep); font-size: .7rem; font-weight: 800; }
.listing-body h3 { font-size: 1.21rem; line-height: 1.3; margin: 0 0 10px; }
.listing-body h3>a { color: var(--ink); }
.listing-body h3>a:hover { color: var(--brand-blue); text-decoration: none; }
.listing-summary { color: #56626B; font-size: .85rem; margin: 0 0 17px; line-height: 1.55; }
.clearance-line { border-left: 3px solid var(--amber); padding: 9px 10px; background: #FFF8EF; font-size: .68rem; color: #725B42; display: flex; align-items: flex-start; gap: 8px; margin: auto 0 17px; line-height: 1.5; }
.clearance-line strong { color: #815119; }
.clearance-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; margin-top: 6px; }
.listing-valuation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-top: 1px solid var(--paper-rule); border-bottom: 1px solid var(--paper-rule); }
.listing-valuation>div { padding: 13px 6px 13px 0; min-width: 0; }
.listing-valuation>div+div { border-left: 1px solid var(--paper-rule); padding-left: 13px; }
.listing-valuation dt { color: #66727B; font-size: .68rem; }
.listing-valuation dd { margin: 6px 0 0; font-size: .85rem; color: #24343E; }
.listing-bid-row { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; }
.listing-bid-row>div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.listing-bid-row>div:last-child { align-items: flex-end; text-align: right; }
.listing-bid-row span { font-size: .68rem; color: #66747C; }
.listing-bid-row strong { font-size: .8rem; }
.listing-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 11px; border-top: 1px solid var(--paper-rule); padding-top: 16px; margin-top: auto; }
.lot-timer { background: transparent; border: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; border-radius: 0; }
.listing-bottom .lot-timer { margin: 0; }
.lot-timer small { color: #7B6360; font-size: .66rem; font-weight: 750; }
.lot-timer strong { font-size: 1.11rem; color: #A35A0C; font-weight: 650; }
.lot-timer span { color: #737E83; font-size: .65rem; }
.listing-bottom .button { flex: none; text-align: center; font-size: .75rem; padding: 10px 12px; }
.catalogue-disclaimer { margin: 19px 0 0; color: #6B747B; font-size: .74rem; }

/* Single auction lot: paper inventory sheet beside a sticky bidding ticket. */
.lot-detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 21px; }
.lot-detail-heading h1 { margin: 0 0 9px; font-size: clamp(2rem,3.5vw,3.2rem); }
.lot-detail-heading p:last-child { color: #68737B; font-size: .78rem; margin: 0; }
.lot-detail-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(310px,.82fr); align-items: start; gap: 23px; }
.lot-detail-main { min-width: 0; display: grid; gap: 20px; }
.lot-bid-aside { min-width: 0; display: grid; gap: 19px; position: sticky; top: 95px; }
.lot-photo-sheet { padding: 15px; overflow: hidden; }
.lot-photo-sheet .auction-photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.lot-photo-sheet .auction-photo-gallery figure { margin: 0; background: #F0F0EA; }
.lot-photo-sheet .auction-photo-gallery img { width: 100%; height: 230px; object-fit: cover; }
.lot-photo-sheet .auction-photo-gallery figcaption { font-size: .71rem; color: #51616A; padding: 9px; }
.lot-photo-empty { background: #E9E9E3; min-height: 318px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; }
.lot-photo-empty strong { color: #546269; margin-top: 10px; font-size: .94rem; }
.lot-photo-empty p { color: #727D80; max-width: 330px; font-size: .77rem; margin: 8px 0 0; }
.photo-sheet-caption { display: flex; justify-content: space-between; gap: 10px; padding: 13px 8px 0; color: #7B868A; font-family: var(--money-font); font-size: .62rem; letter-spacing: .04em; }
.lot-information-sheet>h2 { margin-bottom: 16px; }
.lot-information-sheet>p:not(.eyebrow):not(.legal-fineprint) { color: #4B5660; font-size: .9rem; line-height: 1.75; }
.inspection-sheet { border: 1px solid var(--paper-rule); background: #FBFBF8; padding: 18px; border-radius: 5px; margin: 21px 0 5px; }
.inspection-sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.inspection-sheet-heading strong { font-size: .85rem; }
.inspection-sheet>p { color: #4D5962; margin: 14px 0 0; font-size: .86rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; margin: 0; }
.fact-grid>div { border-top: 1px solid var(--paper-rule); padding: 13px 0; }
.fact-grid dt { color: #6D777E; font-size: .72rem; }
.fact-grid dd { margin: 6px 0 0; color: #273844; font-size: .9rem; font-weight: 700; }
.bid-ticket { border-color: #C8D0D0; padding: 25px; }
.ticket-overline { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--paper-rule); font-family: var(--money-font); font-size: .62rem; color: #6F7981; }
.bid-ticket h2 { font-size: 1.19rem; margin: 19px 0 24px; }
.ticket-caption { color: #5C6970; font-size: .78rem; margin-bottom: 3px; }
.ticket-value { display: block; font-size: clamp(1.65rem,2.4vw,2.25rem); color: var(--brand-blue-deep); line-height: 1.25; }
.ticket-bid-count { color: #768189; margin: 7px 0 18px; font-size: .72rem; }
.ticket-timer { border-top: 1px solid var(--paper-rule); border-bottom: 1px solid var(--paper-rule); padding: 18px 0; margin: 12px 0 22px; }
.ticket-timer strong { font-size: 1.78rem; }
.ticket-timer small { color: #A25D12; }
.bid-ticket-form { gap: 7px; }
.bid-ticket-form input { font-family: var(--money-font); letter-spacing: .01em; }
.bid-ticket-form .button { margin-top: 10px; }
.ticket-help,.ticket-policy p { color: #596870; font-size: .79rem; }
.ticket-policy { border-top: 1px solid var(--paper-rule); padding-top: 17px; margin-top: 23px; }
.ticket-policy strong { font-size: .78rem; color: #32424A; }
.ticket-policy p { margin: 6px 0 0; }
.save-lot-sheet .checkline { display: flex; gap: 10px; font-size: .78rem; line-height: 1.45; }
.save-lot-sheet .checkline input { width: auto; margin-top: 2px; }
.save-lot-sheet .saved-meta { color: var(--forest); font-size: .76rem; font-weight: 720; }
.bid-history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--paper-rule); }
.bid-history-row strong { color: #31424A; font-size: .82rem; }
.bid-history-row time { color: #6C7881; font-size: .68rem; }

/* Loan-product editorial page. */
.loan-editorial-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(295px,.68fr); gap: clamp(25px,4vw,68px); background: #EFEEE9; border: 1px solid #DEDCD4; border-radius: 8px; padding: clamp(25px,4vw,54px); }
.loan-hero-main h1 { max-width: 750px; color: #1C303D; font-size: clamp(2.7rem,5.1vw,5rem); line-height: 1.1; margin: 24px 0; }
.loan-hero-main>p:not(.eyebrow):not(.hero-fineprint) { max-width: 650px; color: #53636A; font-size: 1.05rem; line-height: 1.72; }
.loan-hero-main .inline-actions { margin-top: 30px; }
.loan-process-note { border: 1px solid #D9DDD8; background: #fff; border-radius: 5px; padding: clamp(19px,2.5vw,30px); }
.note-label { font-family: var(--money-font); font-size: .63rem; color: #64717A; padding-bottom: 14px; border-bottom: 1px solid var(--paper-rule); letter-spacing: .07em; }
.loan-process-note ol { margin: 20px 0; padding: 0; list-style: none; }
.loan-process-note li { display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--paper-rule); padding: 15px 0; }
.loan-process-note li>span { font-family: var(--money-font); color: var(--brand-blue); font-size: 1.13rem; }
.loan-process-note li strong { display: block; font-size: .85rem; }
.loan-process-note li small { display: block; font-size: .73rem; margin-top: 4px; color: #647179; }
.loan-process-note>p { font-size: .71rem; color: #8B5A1D; margin: 0; }
.loan-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.loan-product-sheet { background: #fff; border: 1px solid var(--paper-rule); border-radius: 7px; padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.product-sheet-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 21px; border-bottom: 1px solid var(--paper-rule); color: #778189; font-size: .68rem; font-family: var(--money-font); }
.product-sheet-category { margin: 22px 0 8px; color: var(--brand-blue); font-size: .63rem; font-weight: 810; letter-spacing: .12em; }
.loan-product-sheet h3 { margin-bottom: 11px; font-size: 1.45rem; }
.loan-product-sheet>p:not(.product-sheet-category) { color: #5D6871; font-size: .85rem; line-height: 1.65; min-height: 56px; }
.loan-product-sheet dl { margin: 10px 0 24px; border-top: 1px solid var(--paper-rule); }
.loan-product-sheet dl>div { padding: 12px 0; border-bottom: 1px solid var(--paper-rule); display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.loan-product-sheet dt { font-size: .72rem; color: #66737B; }
.loan-product-sheet dd { margin: 0; text-align: right; font-size: .79rem; font-weight: 730; }
.loan-product-sheet dd span { font-family: var(--ui-font); font-size: .7rem; color: #718089; font-weight: 500; }
.product-sheet-footer { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.product-sheet-footer small { color: #738089; font-size: .69rem; }
.product-sheet-footer .button { text-align: center; }
.auction-crosslink { margin-top: 40px; background: #EAF1F4; border: 1px solid #D2E0E7; border-radius: 7px; padding: clamp(23px,3vw,38px); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.auction-crosslink h2 { margin-bottom: 9px; }
.auction-crosslink p:last-child { max-width: 740px; color: #516471; margin: 0; font-size: .85rem; }
.auction-crosslink .button { flex: none; }

/* Borrower journey: large, quiet numbered sheets, with no JavaScript requirement. */
.application-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.application-heading h1 { font-size: clamp(2rem,3vw,2.8rem); margin-bottom: 10px; }
.application-heading p:last-child { color: #68747C; margin: 0; font-size: .91rem; max-width: 740px; }
.form-context-note { padding: 12px 16px; background: #EFF4F4; border-left: 3px solid var(--brand-blue); color: #4D6872; font-size: .82rem; }
.application-form { display: grid; gap: 22px; max-width: 1000px; margin: 0 auto; }
.application-sheet { padding: clamp(24px,3.5vw,42px); }
.application-sheet-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
.sheet-number { font-family: var(--money-font); font-size: 1.22rem; color: var(--brand-blue); min-width: 40px; padding-top: 2px; }
.application-sheet-head h2 { font-size: clamp(1.24rem,2.2vw,1.7rem); margin: 0 0 8px; }
.application-sheet-head p:last-child { color: #647179; margin: 0; font-size: .83rem; }
.application-question { padding: 17px 0; border-top: 1px solid #ECEAE4; }
.application-question:first-child { border-top: 0; padding-top: 0; }
.application-question label { width: 100%; }
.application-question[hidden],.application-section[hidden] { display: none!important; }
.required-star { color: var(--brick); font-size: 1rem; }
.application-value-preview { background: #F3F6F6; border-left: 3px solid var(--brand-blue); padding: 18px 21px; margin-top: 26px; display: grid; gap: 3px; }
.application-value-preview span { color: #687982; font-size: .71rem; }
.application-value-preview strong { font-size: 1.25rem; color: #24465A; }
.application-value-preview small { color: #76828A; font-size: .68rem; }
.upload-later { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; padding: 17px 18px; border: 1px dashed #9AAEBB; border-radius: 6px; background: #F7FAFB; font-weight: 450; }
.upload-later strong { width: 100%; font-size: .87rem; }
.upload-later small { color: #617681; font-size: .74rem; }
.wizard-head { background: #fff; border: 1px solid var(--paper-rule); border-radius: 7px; padding: 19px 25px; }
.wizard-head[hidden],.wizard-controls[hidden] { display: none!important; }
.wizard-headline { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.wizard-headline>div { display: flex; flex-direction: column; gap: 3px; }
.wizard-headline span { color: #617078; font-family: var(--money-font); font-size: .72rem; }
.wizard-headline strong { font-size: .95rem; color: #263A46; }
.wizard-headline .wizard-completion { font-weight: 800; color: var(--brand-blue); }
.wizard-head progress { display: block; width: 100%; height: 6px; margin-top: 17px; border-radius: 999px; border: none; overflow: hidden; accent-color: var(--brand-blue); }
.wizard-head progress::-webkit-progress-bar { background: #E8EDF0; }
.wizard-head progress::-webkit-progress-value { background: var(--brand-blue); }
.wizard-step-list { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 14px 0 0; padding: 0; list-style: none; }
.wizard-step-list li { font-size: .69rem; color: #818C93; }
.wizard-step-list li.is-current { color: var(--brand-blue); font-weight: 800; }
.wizard-step-list li.is-complete { color: var(--forest); }
.wizard-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--paper-rule); padding: 17px 22px; border-radius: 7px; }
.wizard-next-note { flex: 1; text-align: center; color: #77848C; font-size: .73rem; }
.review-snapshot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 12px; background: #F4F7F7; border: 1px solid #E1E9E8; border-radius: 6px; padding: 18px; margin-bottom: 20px; }
.review-snapshot>span { color: #6B7780; font-size: .72rem; }
.review-snapshot>strong { color: #284357; font-size: .9rem; }
.application-review-step .button { margin-top: 18px; }
.application-detail-heading { margin-bottom: 20px; }
.application-progress-track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0 0 25px; padding: 0; background: #fff; border: 1px solid var(--paper-rule); border-radius: 7px; }
.application-progress-track li { display: flex; gap: 12px; padding: 19px 20px; align-items: flex-start; border-right: 1px solid var(--paper-rule); }
.application-progress-track li:last-child { border-right: 0; }
.application-progress-track li>span { font-family: var(--money-font); font-size: .85rem; color: #8F999D; }
.application-progress-track li.is-complete>span { color: var(--forest); }
.application-progress-track li.is-current>span { color: var(--brand-blue); }
.application-progress-track li strong { display: block; font-size: .82rem; }
.application-progress-track li small { display: block; margin-top: 3px; font-size: .68rem; color: #75818A; }
.evidence-slot { padding: 15px 0; border-top: 1px solid var(--paper-rule); }
.evidence-upload-form { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.evidence-dropzone { position: relative; flex: 1 1 280px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 23px 16px; border: 1px dashed #9BAEBB; background: #F8FAFA; border-radius: 7px; cursor: pointer; transition: background .18s, border-color .18s; }
.evidence-dropzone:hover,.evidence-dropzone.is-dragover { background: #E9F2F7; border-color: var(--brand-blue); }
.evidence-dropzone input { width: 100%; max-width: 320px; padding: 7px 0; border: 0; background: transparent; font-size: .72rem; }
.evidence-dropzone strong { font-size: .8rem; }
.evidence-dropzone small { color: #71818A; font-size: .69rem; }
.dropzone-icon { display: grid; place-items: center; border: 1px solid #C8D6DE; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; color: var(--brand-blue); margin-bottom: 10px; }
.selected-file { font-family: var(--money-font); font-size: .68rem; color: #55636C; margin-top: 7px; overflow-wrap: anywhere; }
.document-verification-row { border-top: 1px solid var(--paper-rule); padding: 14px 0; }
.document-verification-row>div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.document-verification-row strong { font-size: .83rem; overflow-wrap: anywhere; }
.document-steps { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; margin: 13px 0 0; padding: 0; }
.document-steps li { font-size: .69rem; color: #7C868D; }
.document-steps li:not(:last-child)::after { content: "→"; color: #A7AFAF; margin-left: 12px; }
.document-steps .is-complete { color: var(--forest); font-weight: 760; }
.document-steps .is-current { color: var(--amber); font-weight: 760; }

/* Operations console: dense readable tables and independent financial controls. */
.operations-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.operations-heading h1 { font-size: clamp(1.8rem,2.8vw,2.5rem); margin-bottom: 8px; }
.operations-heading p:last-child { color: #66737B; font-size: .86rem; margin-bottom: 0; }
.ops-review-banner { display: flex; align-items: center; gap: 16px; border: 1px solid #D7E3EA; background: #EFF5F8; border-left: 4px solid var(--brand-blue); border-radius: 6px; padding: 17px 19px; margin: 0 0 25px; }
.review-banner-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #DCECF6; color: var(--brand-blue-deep); font-size: 1.25rem; }
.ops-review-banner>div { flex: 1; }
.ops-review-banner strong { color: #234D65; font-size: .86rem; }
.ops-review-banner p { font-size: .78rem; margin: 3px 0 0; color: #59717F; }
.ops-review-banner a { flex: none; font-size: .78rem; font-weight: 760; }
.ops-metric-grid { margin-top: 8px; }
.ops-metric-grid .metric-card { min-height: 128px; padding: 20px; }
.ops-metric-grid .metric-card span { color: #61717B; font-size: .75rem; }
.ops-metric-grid .metric-card strong { color: #1D455C; font-size: 2.05rem; line-height: 1.3; }
.ops-metric-grid .metric-card small { color: #89939A; font-size: .68rem; }
.ops-workflow-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.ops-workflow-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; }
.workflow-index { font-family: var(--money-font); font-size: .62rem; color: var(--brand-blue); border-bottom: 1px solid var(--paper-rule); width: 100%; padding-bottom: 12px; margin-bottom: 20px; }
.ops-workflow-card h3 { font-size: 1.17rem; }
.ops-workflow-card p { color: #62727B; font-size: .81rem; }
.ops-workflow-card>div { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: auto; padding-top: 18px; }
.ledger-metric-grid .metric-card { min-height: 125px; }
.ledger-metric-grid .metric-card>strong { color: #1E455F; font-size: clamp(1.14rem,2vw,1.65rem); overflow-wrap: anywhere; white-space: normal; }
.ledger-panel { padding: 22px; }
.ledger-panel .section-heading { margin: 0 0 18px; }
.ledger-table-wrap { overflow: auto; max-height: min(72vh,780px); border: 1px solid var(--paper-rule); border-radius: 5px; }
.ledger-table { border-collapse: separate; border-spacing: 0; min-width: 760px; background: #fff; font-size: .78rem; }
.ledger-table thead th { position: sticky; top: 0; z-index: 2; background: #F4F4F0; border-bottom: 1px solid #D4D5CF; color: #53626A; font-size: .64rem; font-weight: 790; letter-spacing: .07em; white-space: nowrap; padding: 12px 13px; }
.ledger-table tbody td { padding: 14px 13px; border-bottom: 1px solid #ECEBE5; vertical-align: middle; color: #35434B; }
.ledger-table tbody tr:hover { background: #F7FAFC; }
.ledger-table .num-col { text-align: right; white-space: nowrap; }
.ledger-table .money { font-weight: 600; }
.ledger-table .borrower-cell { font-weight: 710; }
.ledger-table .date-cell { font-size: .73rem; white-space: nowrap; }
.ledger-table .table-detail { color: #7B8990; font-size: .67rem; margin-top: 4px; }
.table-action { white-space: nowrap; font-size: .76rem; font-weight: 780; text-decoration: underline; text-underline-offset: 3px; }
.double-entry-table .debit-cell { color: var(--brand-blue-deep); }
.double-entry-table .credit-cell { color: var(--forest); }
.operations-tabs { margin-top: 23px; }
.tablist { display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid var(--paper-rule); margin-bottom: 17px; }
.tablist [role="tab"] { border: 1px solid transparent; border-bottom: 3px solid transparent; background: transparent; border-radius: 4px 4px 0 0; padding: 13px 18px; font-size: .79rem; font-weight: 760; color: #66727A; }
.tablist [role="tab"][aria-selected="true"] { color: var(--brand-blue); border-bottom-color: var(--brand-blue); background: #EEF4F8; }
.tablist [role="tab"]:hover { color: var(--brand-blue); background: #F1F5F7; }
.operations-tabs [data-tab-panel][hidden] { display: none!important; }

/* A small, accessible native dialog for consequential existing form submissions. */
.confirm-dialog { border: 1px solid #D4D8D7; border-radius: 8px; padding: 0; max-width: min(92vw,460px); width: 100%; color: var(--ink); box-shadow: 0 22px 55px rgba(24,41,50,.18); }
.confirm-dialog::backdrop { background: rgba(28,33,39,.48); }
.confirm-dialog-body { padding: 28px; }
.confirm-dialog h2 { font-size: 1.34rem; margin-bottom: 11px; }
.confirm-dialog p:not(.eyebrow) { color: #59666E; font-size: .85rem; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

@media (max-width: 1180px) {
  .auction-listing-grid,.loan-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-sheet.auction-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-sheet .filter-actions { grid-column: 1/-1; }
  .lot-detail-layout { grid-template-columns: minmax(0,1.32fr) minmax(300px,.9fr); }
  .ops-workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .auction-hero.editorial-hero,.loan-editorial-hero { grid-template-columns: 1fr; }
  .catalogue-register { max-width: 100%; }
  .register-count { font-size: 5rem; }
  .lot-detail-layout { grid-template-columns: 1fr; }
  .lot-bid-aside { position: static; }
  .auction-crosslink { align-items: flex-start; flex-direction: column; }
  .surface-operations .content { padding: 28px 22px 64px; }
}
@media (max-width: 720px) {
  .surface-public .content,.surface-self-service .content,.surface-operations .content { padding: 24px 16px 58px; }
  .portal-header { padding: 13px 16px; gap: 12px; }
  .portal-links { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; padding-bottom: 3px; }
  .portal-links>a { white-space: nowrap; }
  .surface-operations .sidebar { border-right: 0; }
  .sidebar-caption,.topbar-subtitle,.topbar-clock { display: none; }
  .surface-operations .topbar { padding: 0 16px; min-height: 57px; }
  .auction-hero.editorial-hero,.loan-editorial-hero { padding: 25px 22px; }
  .editorial-hero h1,.loan-hero-main h1 { font-size: clamp(2.1rem,8vw,3rem); }
  .section-heading { align-items: flex-start; margin: 32px 0 17px; }
  .auction-listing-grid,.loan-product-grid,.ops-workflow-grid { grid-template-columns: 1fr; }
  .filter-sheet.auction-filters { grid-template-columns: 1fr; }
  .filter-sheet .filter-actions { grid-column: auto; }
  .listing-media { aspect-ratio: 16/9; }
  .lot-detail-heading,.application-heading,.operations-heading { flex-direction: column; }
  .lot-photo-empty { min-height: 225px; }
  .notice-banner { grid-template-columns: 1fr; gap: 6px; }
  .application-sheet-head { gap: 12px; }
  .application-progress-track { grid-template-columns: 1fr; }
  .application-progress-track li { border-right: 0; border-bottom: 1px solid var(--paper-rule); }
  .application-progress-track li:last-child { border-bottom: 0; }
  .wizard-controls { flex-wrap: wrap; }
  .wizard-next-note { display: none; }
  .ops-review-banner { align-items: flex-start; flex-wrap: wrap; }
  .ops-review-banner a { margin-left: 48px; }
  .ledger-panel { padding: 16px; }
  .ops-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 460px) {
  .fact-grid,.listing-valuation,.review-snapshot { grid-template-columns: 1fr; }
  .listing-valuation>div+div { border-left: 0; border-top: 1px solid var(--paper-rule); padding-left: 0; }
  .listing-bottom { align-items: stretch; flex-direction: column; }
  .listing-bottom .button { width: 100%; }
  .loan-product-sheet dl>div { flex-direction: column; }
  .loan-product-sheet dd { text-align: left; }
  .lot-photo-sheet .auction-photo-gallery { grid-template-columns: 1fr; }
  .ops-metric-grid { grid-template-columns: 1fr; }
  .topbar-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition-duration: .01ms!important; animation-duration: .01ms!important; scroll-behavior: auto!important; }
}
