@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #faf9f3;
  --white: #ffffff;
  --ink: #193c2c;
  --green: #173f2d;
  --leaf: #315e38;
  --lime: #e3ee9a;
  --pith: #f0f3df;
  --muted: #687267;
  --line: #dfe4d7;
  --danger: #8b3527;
  --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
input:disabled, select:disabled { opacity: .7; }
button, input, select { border-radius: 8px; }
button { color: inherit; }
:focus-visible { outline: 3px solid #6b8431; outline-offset: 4px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -.045em; line-height: 1.12; }
h2 { font-size: 2rem; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.05rem; line-height: 1.4; font-weight: 600; }
h4 { font-size: .95rem; }
p { overflow-wrap: break-word; }
small, .small { font-size: .8rem; }
strong { font-weight: 600; }
button, a, select, input { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 16px; padding: 12px 20px; background: var(--white); border: 2px solid var(--green); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sandbox-strip { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 32px; padding: 5px 16px; background: var(--green); color: #f1f5d8; font-size: .72rem; letter-spacing: .015em; }
.sandbox-strip strong { font-weight: 650; }
.sandbox-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: auto; min-height: 106px; padding: 18px 40px; display: flex; align-items: center; gap: 46px; }
.brand { display: inline-flex; gap: 11px; align-items: center; flex-shrink: 0; }
.brand > span { font-size: 2.3rem; font-weight: 650; letter-spacing: -.075em; line-height: 1; }
.brand-bank { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .28em; margin-top: 4px; margin-left: 3px; }
.brand-mark { color: var(--green); }
.primary-nav { display: flex; align-self: stretch; align-items: center; gap: 28px; flex: 1; }
.primary-nav a { position: relative; display: flex; align-items: center; align-self: stretch; padding: 10px 0; font-size: .86rem; font-weight: 500; color: #626c61; white-space: nowrap; }
.primary-nav a:hover { color: var(--green); }
.primary-nav a[aria-current="page"] { color: var(--green); font-weight: 650; }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: -19px; height: 3px; left: 0; right: 0; background: var(--green); border-radius: 3px; }
.customer { display: flex; align-items: center; gap: 10px; font-size: .8rem; white-space: nowrap; }
.customer small { display: block; color: var(--muted); font-size: .68rem; }
.avatar { border-radius: 50%; background: #e9eedb; width: 36px; height: 36px; display: grid; place-items: center; font-size: .73rem; font-weight: 650; }
main { max-width: 1280px; padding: 48px 40px 74px; margin: auto; min-height: 66vh; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.eyebrow { font-size: .67rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--leaf); margin-bottom: 12px; }
.lede { color: var(--muted); max-width: 640px; margin-top: 16px; font-size: .98rem; line-height: 1.65; }
.welcome-label { align-self: flex-start; color: var(--muted); font-size: .76rem; margin-top: 10px; }
.muted { color: var(--muted); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; font-size: .86rem; font-weight: 600; background: var(--green); border: 1px solid var(--green); color: #fff; border-radius: 8px; line-height: 1.35; text-align: center; transition: background .15s, transform .15s; }
.button:hover:not(:disabled) { background: #295339; }
.button svg { width: 18px; height: 18px; }
.button.secondary { background: transparent; color: var(--green); border-color: #becbb7; }
.button.secondary:hover:not(:disabled) { background: #eef2e4; }
.button.lime { background: var(--lime); color: var(--green); border-color: var(--lime); }
.button.lime:hover { background: #eff5bf; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-button { border: none; padding: 5px 0; min-height: 34px; background: none; font-size: .78rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.inline-link { display: inline-flex; align-items: center; gap: 14px; font-size: .85rem; font-weight: 600; min-height: 36px; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.overview-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; }
.balance-feature { min-height: 310px; background: var(--green); color: #f6f9e6; border-radius: var(--radius); padding: 30px 32px; display: flex; flex-direction: column; }
.balance-top { display: flex; justify-content: space-between; align-items: center; color: #e1e9d3; font-size: .9rem; }
.currency-label { font-size: .68rem; letter-spacing: .1em; padding: 4px 9px; border: 1px solid #56715a; border-radius: 5px; }
.hero-balance { font-size: clamp(2.8rem, 4.5vw, 4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.2; margin-top: 26px; font-variant-numeric: tabular-nums; }
.balance-caption { color: #bbcdb6; font-size: .78rem; margin-top: 7px; }
.balance-bottom { margin-top: auto; padding-top: 30px; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.leaf-detail { color: #c9d9bf; font-family: Georgia, serif; font-style: italic; font-size: 1rem; }
.next-step { padding: 28px 30px; border: 1px solid #dce3c8; border-radius: var(--radius); background: var(--pith); }
.next-step .round-icon { float: right; margin-left: 15px; }
.next-step .eyebrow { margin: 7px 0 18px; }
.next-step h2 { font-size: 2rem; max-width: 315px; }
.next-step > p:not(.eyebrow) { color: #65715b; font-size: .88rem; line-height: 1.65; margin: 15px 0 12px; max-width: 350px; }
.round-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e0e9b8; color: var(--green); flex-shrink: 0; }
.round-icon.subtle { background: #edf1e5; }
.section-block { margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { font-size: 1.75rem; }
.section-heading > .muted { font-size: .77rem; }
.section-heading .eyebrow { margin-bottom: 8px; }
.account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.account-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.account-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.account-symbol { color: #476443; }
.account-number { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.account-card h3 { font-size: .9rem; font-weight: 500; color: #53634f; }
.account-balance { font-size: 1.9rem; margin-top: 5px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.business-heading { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin: 24px 0 12px; }
.business-heading .eyebrow { margin: 0; }
.business-heading .muted { font-size: .72rem; }
.business-accounts .account-card { background: #f4f5ed; padding-top: 17px; padding-bottom: 17px; }
.business-accounts .account-card-top { margin-bottom: 10px; }
.business-accounts .account-balance { font-size: 1.6rem; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quick-action { display: flex; align-items: center; gap: 12px; padding: 20px 16px; background: #f0f2e8; border: 1px solid #e6e9dd; border-radius: 12px; font-size: .85rem; font-weight: 550; }
.quick-action:hover { background: #e6edcf; }
.quick-icon { width: 31px; }
.quick-arrow { margin-left: auto; color: #6c7d5c; }
.empty-inline { display: flex; gap: 20px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.empty-inline h3 { font-size: .95rem; }
.empty-inline p { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.empty-inline > .inline-link { margin-left: auto; flex-shrink: 0; }
.activity-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.activity-row { display: flex; align-items: center; gap: 18px; padding: 21px 24px; }
.activity-row + .activity-row { border-top: 1px solid var(--line); }
.activity-row:hover { background: #f5f7ef; }
.activity-icon { background: #eff3e8; border-radius: 50%; padding: 10px; }
.activity-label { flex: 1; }
.activity-label strong { display: block; font-size: .9rem; }
.activity-label small, .activity-amount small { display: block; color: var(--muted); margin-top: 3px; font-size: .75rem; }
.activity-amount { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.activity-amount small { font-weight: 400; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.product-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.product-card.featured-product { background: #edf2d8; border-color: #d3dfad; }
.product-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.product-topline .eyebrow { margin: 0; }
.product-card h2 { font-size: 2.7rem; margin-bottom: 14px; }
.product-card > p { color: #626f59; line-height: 1.7; }
.feature-list { list-style: none; padding: 25px 0; margin: 0 0 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: .9rem; }
.feature-list svg { width: 18px; height: 18px; margin-top: 2px; color: #516e38; }
.product-action { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.research-note { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 34px; }
.research-note h2 { max-width: 350px; }
.research-note p:not(.eyebrow) { font-size: .88rem; margin-bottom: 13px; line-height: 1.7; }
.task-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
.task-option { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 18px 10px; font-size: .85rem; font-weight: 500; }
.task-option:hover { background: var(--pith); }
.task-option.selected { border-color: var(--green); background: #e9eed9; box-shadow: inset 0 0 0 1px var(--green); font-weight: 650; }
.task-option svg { width: 21px; height: 21px; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.form-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); }
.panel-heading { margin-bottom: 28px; }
.panel-heading h2 { margin-bottom: 10px; }
.panel-heading > p { color: var(--muted); font-size: .88rem; }
.panel-heading .eyebrow { color: var(--leaf); font-size: .67rem; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.label-hint { font-weight: 400; color: var(--muted); margin-left: 5px; }
.fixed-field { border: 1px solid var(--line); background: #f7f8f2; padding: 15px 16px; border-radius: 8px; display: flex; justify-content: space-between; gap: 14px; font-size: .85rem; }
.fixed-field strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fixed-field .muted { margin-left: 5px; }
.field-help { font-size: .75rem; color: var(--muted); margin-top: 7px; line-height: 1.6; }
select, input { width: 100%; color: var(--ink); border: 1px solid #b9c4b1; background: var(--white); padding: 13px 14px; min-height: 48px; }
select { padding-right: 28px; }
.amount-input { position: relative; }
.amount-input > span { position: absolute; left: 16px; top: 12px; font-size: 1.5rem; color: var(--muted); pointer-events: none; }
.amount-input input { padding: 12px 16px 12px 40px; font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
input[readonly] { background: #f3f5ec; }
input[aria-invalid="true"] { border: 2px solid var(--danger); background: #fff9f5; }
.scenario-options { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
summary { cursor: pointer; padding: 16px 0; font-size: .8rem; font-weight: 600; }
summary:hover { color: #4c6f28; }
.scenario-options .field { margin: 4px 0 20px; }
.form-bottom { margin-top: 26px; }
.form-bottom > p:not(.inline-notice) { margin-top: 10px; font-size: .74rem; color: var(--muted); }
.inline-notice { font-size: .9rem; margin-bottom: 16px; color: #526842; }
.opening-summary { display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #f8faf3; }
.opening-summary h3 { font-size: 1rem; }
.opening-summary p { font-size: .78rem; margin-top: 4px; color: var(--muted); }
.opening-summary > strong { margin-left: auto; font-size: 1.5rem; white-space: nowrap; text-align: right; }
.opening-summary small { display: block; font-size: .67rem; color: var(--muted); font-weight: 400; }
.review-aside { padding: 27px 22px; }
.review-aside h2 { font-size: 2.4rem; max-width: 280px; }
.preparation-steps { list-style: none; padding: 0; margin: 30px 0; }
.preparation-steps li { display: flex; gap: 18px; margin-bottom: 26px; }
.preparation-steps li > span { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #c9d4b5; border-radius: 50%; color: var(--leaf); font-size: .8rem; }
.preparation-steps strong { font-size: .9rem; display: block; margin-top: 3px; }
.preparation-steps p { font-size: .85rem; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.aside-footnote { border-top: 1px solid var(--line); padding-top: 20px; font-size: .75rem; line-height: 1.65; color: var(--muted); }
.form-error { margin-top: 22px; background: #fff1e8; border-left: 3px solid var(--danger); padding: 14px; color: var(--danger); font-size: .85rem; }
.record-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.filter-group { display: inline-flex; background: #eef1e6; padding: 5px; border-radius: 10px; gap: 4px; }
.filter-group button { border: 1px solid transparent; background: none; font-size: .8rem; font-weight: 500; padding: 10px 15px; min-height: 40px; }
.filter-group button[aria-pressed="true"] { background: var(--white); border-color: #e1e7d7; box-shadow: 0 2px 3px #173f2d08; }
.journey-list { border: 1px solid var(--line); background: var(--white); border-radius: 14px; overflow: hidden; }
.journey-row { display: flex; gap: 20px; align-items: center; padding: 24px; }
.journey-row + .journey-row { border-top: 1px solid var(--line); }
.journey-row:hover { background: #f5f7ee; }
.journey-symbol { background: #eef2e4; border-radius: 12px; display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; }
.journey-description { flex: 1; }
.journey-description strong { display: block; font-size: .95rem; }
.journey-description small { display: block; color: var(--muted); margin-top: 5px; font-size: .73rem; }
.journey-amount { font-weight: 600; min-width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; background: #f0f1ea; color: #5d665a; border: 1px solid #e0e4d8; border-radius: 30px; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.status > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-awaiting_approval { background: #fcf0d8; color: #80591c; border-color: #eddfbd; }
.status-result_ready { background: #ecf1d4; color: #50632a; border-color: #dce5b8; }
.status-completed { background: #e6f0e1; color: #2f5b35; border-color: #d4e3cc; }
.status-blocked, .status-revoked { background: #f9ece5; color: #8a4c35; border-color: #ecd9cf; }
.empty-state { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 45px 24px; background: #f3f5ea; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2, .empty-state h1 { margin: 20px 0 12px; }
.empty-state p { color: var(--muted); max-width: 510px; font-size: .9rem; margin-bottom: 24px; }
.record-note { display: flex; align-items: center; gap: 16px; padding: 22px 0; margin-top: 18px; }
.record-note > span { color: #758565; }
.record-note p { flex: 1; font-size: .76rem; line-height: 1.65; color: var(--muted); max-width: 700px; }
.record-note .inline-link { margin-left: auto; flex-shrink: 0; font-size: .77rem; }
.back-link { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; margin-bottom: 28px; color: var(--muted); }
.back-link:hover { color: var(--green); }
.journey-progress { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 0 34px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: #f0f3e6; }
.journey-progress li { display: flex; align-items: center; gap: 10px; color: #747d6a; font-size: .8rem; position: relative; }
.journey-progress li > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #c4ccb8; border-radius: 50%; flex-shrink: 0; font-size: .73rem; }
.journey-progress li > span svg { width: 17px; height: 17px; }
.journey-progress li small { display: block; font-size: .68rem; font-weight: 400; margin-top: 2px; }
.journey-progress .step-done, .journey-progress .step-current { color: var(--green); }
.journey-progress .step-done > span { color: white; background: var(--green); border-color: var(--green); }
.journey-progress .step-current > span { background: var(--lime); border-color: #aebf71; }
.journey-progress .step-current { font-weight: 600; }
.journey-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-card-heading { padding: 30px 32px 0; }
.review-card-heading h2 { margin-bottom: 14px; }
.review-card-heading p:not(.eyebrow) { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.review-amount { padding: 26px 32px; }
.review-amount > span { display: block; color: var(--muted); font-size: .8rem; }
.review-amount strong { display: block; font-size: 2.9rem; font-weight: 450; letter-spacing: -.04em; line-height: 1.4; font-variant-numeric: tabular-nums; }
.review-amount small { font-size: .73rem; color: var(--muted); }
.transfer-facts { margin: 0 32px; border-top: 1px solid var(--line); padding-top: 6px; }
.transfer-facts > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 17px 0; font-size: .83rem; }
.transfer-facts dt { color: var(--muted); flex-shrink: 0; }
.transfer-facts dd { text-align: right; margin: 0; }
.reason-box { margin: 24px 32px; padding: 18px; background: #faf0e5; border: 1px solid #ead8c1; border-radius: 10px; color: #805437; font-size: .85rem; }
.reason-box p { margin-top: 5px; }
.result-box { margin: 24px 32px; padding: 20px; border: 1px solid #d9e3c6; background: #f1f5e6; border-radius: 10px; display: flex; align-items: flex-start; gap: 14px; }
.result-box h3 { font-size: .98rem; }
.result-box p { margin-top: 7px; font-size: .85rem; }
.result-box .reference { font-size: .72rem; overflow-wrap: anywhere; }
.result-box .small { display: block; color: var(--muted); font-size: .7rem; margin-top: 10px; }
.approval-actions { padding: 24px 32px 30px; }
.approval-language { color: #5e6e54; font-size: .78rem; line-height: 1.65; margin-bottom: 20px; }
.context-card { background: #edf1df; border: 1px solid #dce4cc; border-radius: var(--radius); padding: 28px; }
.context-card h2 { margin-bottom: 24px; }
.context-section { border-top: 1px solid #d7dfc6; padding: 19px 0; }
.context-label { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #68775b; }
.context-section h3 { font-size: 1rem; margin: 7px 0; }
.context-section p { color: #5d6b53; font-size: .82rem; line-height: 1.7; }
.context-footnote { font-size: .72rem; color: #667359; line-height: 1.7; border-top: 1px solid #d7dfc6; padding-top: 18px; }
.evidence-section { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 34px; }
.evidence-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; }
.evidence-facts { background: #f0f2e8; border: 1px solid #e0e5d6; border-radius: 12px; padding: 6px 26px; }
.evidence-facts dl { margin: 0; }
.evidence-facts dl > div { padding: 20px 0; }
.evidence-facts dl > div + div { border-top: 1px solid #dce2d1; }
.evidence-facts dt { font-size: .7rem; color: #657359; font-weight: 600; margin-bottom: 6px; }
.evidence-facts dd { margin: 0; font-size: .85rem; line-height: 1.65; overflow-wrap: anywhere; }
.timeline-panel { padding: 8px 6px; }
.timeline-panel > h3 { margin: 0 0 25px; font-family: Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.timeline { list-style: none; padding: 0 0 0 9px; margin: 0; }
.timeline li { position: relative; padding: 0 0 25px 26px; border-left: 1px solid #c7d3bb; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-dot { position: absolute; width: 9px; height: 9px; background: #809956; border: 2px solid var(--paper); border-radius: 50%; left: -5px; top: 5px; box-shadow: 0 0 0 1px #809956; }
.timeline time { font-size: .68rem; color: var(--muted); }
.timeline h4 { margin-top: 5px; font-size: .85rem; }
.timeline p { font-size: .8rem; color: var(--muted); line-height: 1.65; margin-top: 5px; }
.operator-controls { border-top: 1px solid var(--line); margin-top: 12px; }
.operator-controls > p { font-size: .82rem; line-height: 1.7; color: var(--muted); max-width: 740px; margin-bottom: 20px; }
.operator-controls .button { font-size: .8rem; }
.provenance { background: #eff2e7; border-radius: 10px; padding: 6px 20px; margin-top: 20px; }
.provenance > div { display: grid; grid-template-columns: 180px 1fr; padding: 12px 0; gap: 15px; font-size: .75rem; }
.provenance dt { color: var(--muted); }
.provenance dd { margin: 0; overflow-wrap: anywhere; }
.message { padding: 17px 22px; margin-bottom: 26px; border: 1px solid; border-radius: 10px; font-size: .85rem; }
.message p { margin: 5px 0; }
.error-message { background: #fcf1e9; color: var(--danger); border-color: #e8cbb8; }
.success-message { color: #3d612f; background: #edf3df; border-color: #d4e2c1; }
.site-footer { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); padding: 28px 0 34px; display: flex; justify-content: space-between; gap: 30px; color: #76816d; font-size: .72rem; line-height: 1.8; }
.site-footer strong { color: #506246; font-weight: 500; }
.footer-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 2px 20px; }
.footer-controls > span { display: block; flex-basis: 100%; text-align: right; }
.footer-controls .text-button { font-size: .7rem; }
.loading-state { padding: 50px 0; }
.loading-state p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; max-width: 520px; width: calc(100% - 40px); padding: 30px; box-shadow: 0 20px 100px #102c2733; }
dialog::backdrop { background: #102c2766; backdrop-filter: blur(3px); }
dialog p:not(.eyebrow) { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 20px 0 25px; }
.noscript { position: fixed; bottom: 0; background: #fff0df; color: #7b4028; margin: 0; padding: 20px; width: 100%; }

@media (min-width: 1500px) { main { padding-top: 56px; } }
@media (max-width: 1140px) {
  .header-inner { gap: 28px; padding-inline: 28px; }
  .primary-nav { gap: 20px; }
  .customer > span:last-child { display: none; }
  main { padding-inline: 28px; }
  .site-footer { margin-inline: 28px; }
  .next-step h2 { font-size: 1.8rem; }
  .quick-action { font-size: .8rem; padding-inline: 13px; gap: 8px; }
  .leaf-detail { font-size: .9rem; }
  .journey-row { gap: 14px; }
  .journey-description small { max-width: 320px; }
}
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; gap: 18px; padding-top: 20px; padding-bottom: 0; }
  .brand { margin-right: auto; }
  .customer { order: 1; }
  .customer > span:last-child { display: inline; }
  .primary-nav { order: 2; flex-basis: 100%; justify-content: space-between; gap: 12px; min-height: 49px; }
  .primary-nav a { padding: 14px 0; font-size: .82rem; }
  .primary-nav a[aria-current="page"]::after { bottom: 0; }
  .overview-grid { grid-template-columns: 1.25fr 1fr; gap: 18px; }
  .balance-feature { padding: 26px; }
  .hero-balance { font-size: 3rem; }
  .balance-bottom { flex-wrap: wrap; }
  .leaf-detail { display: none; }
  .next-step { padding: 24px; }
  .next-step .round-icon { display: none; }
  .next-step h2 { font-size: 1.7rem; }
  .welcome-label { display: none; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-action { padding: 20px; }
  .empty-inline { flex-wrap: wrap; }
  .empty-inline > .inline-link { margin-left: 64px; }
  .empty-inline > div { flex: 1; }
  .product-card { padding: 26px; }
  .product-card h2 { font-size: 2.2rem; }
  .research-note { gap: 30px; }
  .task-option { flex-direction: column; gap: 7px; padding: 14px 8px; font-size: .78rem; }
  .builder-grid, .journey-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .review-aside { padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
  .review-aside h2 { max-width: none; font-size: 2rem; }
  .preparation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 12px; }
  .preparation-steps li { flex-direction: column; gap: 10px; }
  .context-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .context-card > .eyebrow, .context-card > h2, .context-footnote { grid-column: 1 / -1; margin: 0; }
  .context-card h2 { margin-bottom: 5px; }
  .context-section { padding-bottom: 8px; }
  .context-section h3 { font-size: .9rem; }
  .journey-row { flex-wrap: wrap; }
  .journey-description { flex-basis: calc(100% - 70px); }
  .journey-row > .status { margin-left: 60px; }
  .journey-amount { margin-left: auto; }
  .evidence-grid { gap: 24px; }
  .evidence-facts { padding-inline: 20px; }
  .record-note { flex-wrap: wrap; }
  .record-note p { flex-basis: calc(100% - 50px); }
  .record-note .inline-link { margin-left: 40px; }
  .page-heading > .button { flex-shrink: 0; }
}
@media (max-width: 600px) {
  :root { font-size: 14px; }
  .sandbox-strip { font-size: .69rem; min-height: 30px; gap: 7px; }
  .header-inner { padding: 18px 20px 0; gap: 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand > span { font-size: 2.1rem; }
  .brand-bank { font-size: .57rem; }
  .customer { font-size: .75rem; gap: 8px; }
  .customer small { font-size: .61rem; }
  .avatar { width: 30px; height: 30px; font-size: .65rem; }
  .primary-nav { gap: 18px; overflow-x: auto; justify-content: flex-start; margin: 0 -20px; padding: 0 20px; flex-basis: calc(100% + 40px); }
  .primary-nav a { font-size: .78rem; min-height: 47px; }
  main { padding: 32px 20px 48px; }
  h1 { font-size: 2.7rem; }
  .page-heading { margin-bottom: 26px; display: block; }
  .page-heading > .button, .page-heading > .status { margin-top: 20px; }
  .lede { font-size: .92rem; margin-top: 14px; }
  .eyebrow { font-size: .65rem; }
  .overview-grid { grid-template-columns: 1fr; }
  .balance-feature { min-height: 285px; padding: 26px; border-radius: 16px; }
  .hero-balance { font-size: 3.75rem; margin-top: 22px; }
  .leaf-detail { display: inline; font-size: .9rem; max-width: 130px; }
  .balance-bottom { flex-wrap: nowrap; padding-top: 24px; }
  .balance-bottom .button { padding-inline: 16px; font-size: .78rem; gap: 10px; }
  .next-step { padding: 24px; }
  .next-step h2 { font-size: 1.9rem; max-width: 310px; }
  .next-step .round-icon { display: inline-flex; width: 38px; height: 38px; }
  .next-step .eyebrow { margin-top: 4px; }
  .next-step > p:not(.eyebrow) { max-width: none; font-size: .88rem; }
  .section-block { margin-top: 30px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 1.65rem; }
  .section-heading > .muted { font-size: .68rem; text-align: right; }
  .section-heading > .inline-link { font-size: .72rem; gap: 6px; }
  .account-grid, .account-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .account-card { padding: 18px 16px; border-radius: 12px; }
  .account-card-top { margin-bottom: 14px; }
  .account-card h3 { font-size: .83rem; }
  .account-number { font-size: .68rem; }
  .account-symbol svg { width: 20px; height: 20px; }
  .account-balance { font-size: 1.65rem; }
  .account-card .small { font-size: .7rem; }
  .business-heading { align-items: flex-start; }
  .business-heading .muted { font-size: .65rem; max-width: 135px; text-align: right; }
  .business-accounts .account-balance { font-size: 1.55rem; }
  .quick-grid { gap: 10px; }
  .quick-action { padding: 18px 13px; font-size: .78rem; gap: 6px; }
  .quick-icon { width: 26px; }
  .quick-icon svg { width: 21px; height: 21px; }
  .empty-inline { gap: 14px; padding: 20px; }
  .empty-inline .round-icon { display: none; }
  .empty-inline > div { flex-basis: 100%; }
  .empty-inline > .inline-link { margin-left: 0; }
  .activity-row { padding: 18px 16px; gap: 12px; }
  .activity-icon { display: none; }
  .activity-label strong { font-size: .85rem; }
  .activity-label small { font-size: .66rem; }
  .activity-amount { font-size: .88rem; }
  .activity-row > span:last-child { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card { padding: 28px; }
  .product-card h2 { font-size: 2.5rem; }
  .product-topline { margin-bottom: 25px; }
  .research-note { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 28px; }
  .research-note h2 { max-width: 290px; }
  .task-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
  .task-option { flex-direction: row; justify-content: flex-start; padding: 16px 13px; gap: 10px; font-size: .8rem; }
  .form-panel { padding: 24px 20px; border-radius: 14px; }
  .panel-heading h2 { font-size: 1.85rem; }
  .fixed-field { flex-direction: column; gap: 5px; padding: 14px; }
  .fixed-field .muted { margin-left: 3px; }
  .fixed-field > .small { margin-left: 0; }
  .field { margin-bottom: 21px; }
  select, input { font-size: 16px; }
  .opening-summary { flex-wrap: wrap; padding: 17px; gap: 12px; }
  .opening-summary .round-icon { display: none; }
  .opening-summary > strong { font-size: 1.4rem; }
  .form-bottom .button { width: 100%; }
  .preparation-steps { display: block; }
  .preparation-steps li { flex-direction: row; gap: 16px; margin-bottom: 22px; }
  .preparation-steps p { font-size: .86rem; }
  .review-aside { padding: 25px; }
  .record-toolbar { gap: 10px; align-items: flex-end; }
  .record-toolbar > .muted { display: none; }
  .filter-group { width: 100%; gap: 3px; }
  .filter-group button { flex: 1; padding: 9px 6px; font-size: .76rem; }
  .journey-row { padding: 20px 16px; gap: 12px; }
  .journey-symbol { width: 38px; height: 38px; border-radius: 9px; }
  .journey-symbol svg { width: 20px; height: 20px; }
  .journey-description { flex-basis: calc(100% - 54px); }
  .journey-description strong { font-size: .88rem; }
  .journey-description small { font-size: .7rem; }
  .journey-row > .status { margin-left: 50px; font-size: .64rem; }
  .journey-amount { min-width: 0; font-size: .88rem; }
  .journey-arrow { display: none; }
  .back-link { margin-bottom: 23px; }
  .journey-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; padding: 20px 18px; }
  .journey-progress li { gap: 8px; font-size: .74rem; }
  .journey-progress li > span { width: 25px; height: 25px; }
  .review-card-heading { padding: 26px 22px 0; }
  .review-card-heading h2 { font-size: 1.95rem; }
  .review-amount { padding: 25px 22px; }
  .transfer-facts { margin-inline: 22px; }
  .transfer-facts > div { gap: 16px; font-size: .8rem; }
  .transfer-facts dt { max-width: 100px; }
  .reason-box, .result-box { margin-inline: 22px; }
  .result-box { padding: 16px; gap: 10px; }
  .result-box .round-icon { display: none; }
  .approval-actions { padding: 22px; }
  .approval-actions .button-row { flex-direction: column; }
  .approval-actions > .button { width: 100%; }
  .context-card { display: block; padding: 25px; }
  .context-card > h2 { margin: 12px 0 24px; }
  .context-section { padding: 18px 0; }
  .context-section h3 { font-size: 1rem; }
  .context-section p { font-size: .87rem; }
  .context-footnote { padding-top: 17px; }
  .evidence-section { margin-top: 32px; padding-top: 28px; }
  .evidence-section > .section-heading { display: block; }
  .evidence-section > .section-heading > span { display: block; margin-top: 12px; }
  .evidence-section h2 { max-width: 300px; font-size: 1.85rem; }
  .evidence-grid { grid-template-columns: 1fr; gap: 28px; }
  .evidence-facts { padding-inline: 22px; }
  .timeline-panel { padding: 0 6px; }
  .record-note { gap: 12px; align-items: flex-start; }
  .record-note p { flex-basis: calc(100% - 40px); }
  .record-note .inline-link { margin-left: 36px; }
  .provenance { padding: 8px 16px; }
  .provenance > div { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { margin-inline: 20px; padding-top: 24px; display: block; font-size: .72rem; }
  .footer-controls { margin-top: 20px; justify-content: flex-start; }
  .footer-controls > span { text-align: left; }
  .footer-controls .text-button { font-size: .72rem; }
  dialog { padding: 25px; }
  dialog .button-row { flex-direction: column-reverse; }
}
@media (max-width: 370px) {
  main { padding-inline: 16px; }
  .header-inner { padding-inline: 16px; }
  .customer > span:last-child { display: none; }
  .hero-balance { font-size: 3.2rem; }
  .leaf-detail { display: none; }
  .balance-bottom .button { width: 100%; }
  .account-balance, .business-accounts .account-balance { font-size: 1.4rem; }
  .account-card { padding-inline: 12px; }
  .journey-row > .status { margin-left: 0; }
  .task-option { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .button, .button-row, .task-picker, .operator-controls, .back-link { display: none !important; }
  .sandbox-strip { position: static; color: #000; background: #fff; border-bottom: 1px solid; }
  main { padding: 20px 0; }
  .journey-detail-grid, .evidence-grid { display: block; }
  .context-card, .evidence-section { margin-top: 25px; }
  .review-card, .context-card, .evidence-facts { break-inside: avoid; }
}
