:root {
  color-scheme: light;
  --page: #f4f7fc;
  --surface: #ffffff;
  --surface-soft: #f7f9fd;
  --ink: #182338;
  --muted: #5f6e83;
  --line: #e2e8f1;
  --primary: #315ed0;
  --primary-strong: #244eb9;
  --primary-soft: #edf3ff;
  --success: #138256;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --success-soft: #eaf7ef;
  --input-bg: #ffffff;
  --input-line: #d4dce8;
  --progress-track: #e9edf4;
  --selected-surface: #f7f9ff;
  --selected-soft: #f2f6ff;
  --note-ink: #526178;
  --autofill-bg: #f5faf7;
  --autofill-ink: #33483b;
  --autofill-line: #35a66d;
  --confirmed-input-bg: rgba(187, 247, 208, .48);
  --confirm-button-bg: #e6faed;
  --confirm-button-ink: #087c42;
  --confirm-button-line: #78ce98;
  --confirm-button-active: #168b4c;
  --check-line: #c5cedb;
  --upload-line: #c7d2e3;
  --file-picker-line: #b8c9f1;
  --radius: 20px;
  --ease-out: cubic-bezier(.2, .75, .25, 1);
  --duration-fast: 140ms;
  --duration-ui: 220ms;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101722;
  --surface: #171f2c;
  --surface-soft: #202a39;
  --ink: #f3f5f8;
  --muted: #b0bac9;
  --line: #303b4c;
  --primary: #7fa0ff;
  --primary-strong: #9ab3ff;
  --primary-soft: #202e4b;
  --success: #55d58a;
  --danger: #ff9b91;
  --danger-soft: #3a242b;
  --success-soft: #193729;
  --input-bg: #121a25;
  --input-line: #3b485b;
  --progress-track: #303b4c;
  --selected-surface: #1b2941;
  --selected-soft: #202f4b;
  --note-ink: #c3ccda;
  --autofill-bg: #17291f;
  --autofill-ink: #c8ead3;
  --autofill-line: #55c985;
  --confirmed-input-bg: rgba(27, 117, 69, .4);
  --confirm-button-bg: #183b2c;
  --confirm-button-ink: #a7ebbd;
  --confirm-button-line: #39895b;
  --confirm-button-active: #16834c;
  --check-line: #485363;
  --upload-line: #485363;
  --file-picker-line: #405783;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.5;
  touch-action: manipulation;
}
button, input, textarea { font: inherit; }
button, a, label.file-picker { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(36, 87, 214, .42);
  outline-offset: 2px;
}

.app-shell {
  width: min(100%, 640px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.topbar { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px;
  color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(49, 94, 208, .12); border-radius: 15px;
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-document__outline, .brand-document__detail { stroke-dasharray: 100; stroke-dashoffset: 100; animation: document-draw 720ms var(--ease-out) forwards; }
.brand-document__detail { animation-delay: 120ms; }
@keyframes document-draw { to { stroke-dashoffset: 0; } }
.topbar-copy { min-width: 0; }
.theme-toggle { width: 44px; height: 44px; margin-left: auto; flex: 0 0 44px; display: grid; place-items: center; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 14px; transition: background-color var(--duration-ui) ease, border-color var(--duration-ui) ease, transform var(--duration-fast) ease; }
.theme-toggle:hover { border-color: var(--primary); }
.theme-toggle:active { transform: scale(.96); }
.theme-toggle svg { width: 20px; height: 20px; animation: theme-icon-enter 260ms var(--ease-out) both; }
@keyframes theme-icon-enter { from { opacity: .35; transform: rotate(-24deg) scale(.8); } to { opacity: 1; transform: rotate(0) scale(1); } }
.eyebrow { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 550; letter-spacing: 0; }
h1 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }

.progress-wrap { margin: 24px 0 25px; }
.progress-copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 550; }
#step-label { padding: 4px 9px; color: var(--primary); background: var(--primary-soft); border-radius: 999px; font-variant-numeric: tabular-nums; }
#step-name { color: var(--ink); font-size: 13px; font-weight: 650; }
.progress-track { height: 6px; overflow: hidden; background: var(--progress-track); border-radius: 999px; }
.progress-track span { position: relative; display: block; width: 100%; height: 100%; background: var(--primary); border-radius: inherit; transform: scaleX(.2); transform-origin: left center; transition: transform 430ms var(--ease-out); }
.progress-track span::after { content: ""; position: absolute; top: 50%; right: 0; width: 10px; height: 10px; border: 2px solid var(--surface); border-radius: 50%; background: var(--primary); transform: translate(1px, -50%); }

main { flex: 1; padding-bottom: 16px; }
.screen-heading { margin: 0 0 7px; font-size: 26px; line-height: 1.2; letter-spacing: -.045em; font-weight: 730; }
.screen-subtitle { margin: 0 0 22px; max-width: 48ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.section-label { margin: 22px 0 10px; color: var(--note-ink); font-size: 13px; font-weight: 650; }
.screen[data-transition="entering"] > section { animation: screen-arrive 240ms var(--ease-out) both; }
@keyframes screen-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.bank-list { display: grid; gap: 10px; }
.bank-card {
  width: 100%; min-height: 72px; padding: 11px 14px; display: flex; align-items: center; gap: 13px;
  color: var(--ink); text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 17px;
  box-shadow: 0 2px 8px rgba(24, 35, 56, .025);
  transition: border-color var(--duration-ui) ease, background-color var(--duration-ui) ease, box-shadow var(--duration-ui) ease, transform var(--duration-fast) ease;
}
.bank-card:hover { border-color: #b8c7ed; }
.bank-card:active { transform: scale(.992); }
.bank-card[aria-pressed="true"] { border-color: var(--primary); background: var(--selected-surface); box-shadow: 0 0 0 2px rgba(49, 94, 208, .13), 0 5px 14px rgba(24, 35, 56, .045); }
.screen[data-transition="entering"] .bank-card { animation: bank-arrive 300ms var(--ease-out) both; animation-delay: calc(var(--item-index, 0) * 38ms); }
@keyframes bank-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.bank-mark { flex: 0 0 76px; width: 76px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #fff; }
.bank-mark img { display: block; max-width: 100%; max-height: 42px; object-fit: contain; }
.bank-fallback { display: none; color: var(--bank-color, var(--primary)); font-size: 17px; font-weight: 750; }
.bank-mark.logo-failed .bank-fallback { display: block; }
.bank-mark.logo-failed { background: var(--surface-soft); }
.bank-copy { min-width: 0; flex: 1; }
.bank-name { display: block; font-size: 15px; font-weight: 650; }
.bank-caption { display: block; color: var(--muted); font-size: 12px; }
.bank-check { width: 19px; height: 19px; border: 1.5px solid var(--check-line); border-radius: 50%; display: grid; place-items: center; color: #fff; }
.bank-card[aria-pressed="true"] .bank-check { border-color: var(--primary); background: var(--primary); animation: check-pop 220ms var(--ease-out) both; }
.bank-check svg { width: 12px; height: 12px; }
.bank-check svg path, .choice-check svg path, .done-icon svg path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.bank-card[aria-pressed="true"] .bank-check svg path, .choice-card[aria-pressed="true"] .choice-check svg path, .done-icon svg path { animation: check-draw 280ms var(--ease-out) forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes check-pop { 0% { transform: scale(.76); } 70% { transform: scale(1.13); } 100% { transform: scale(1); } }

.upload-zone {
  min-height: 188px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed var(--upload-line); border-radius: 20px; background: var(--surface-soft); text-align: center;
  transition: border-color var(--duration-ui) ease, background-color var(--duration-ui) ease, transform var(--duration-ui) ease;
}
.upload-zone:focus-within { border-color: var(--primary); background: var(--selected-soft); }
.upload-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(49, 94, 208, .12); border-radius: 16px; }
.upload-icon svg { width: 24px; height: 24px; }
.upload-icon svg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: check-draw 500ms var(--ease-out) 100ms forwards; }
.upload-title { margin: 2px 0 0; font-weight: 650; font-size: 14px; }
.upload-help { margin: 0; color: var(--muted); font-size: 12px; }
.file-picker { min-height: 44px; margin-top: 5px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: var(--surface); border: 1px solid var(--file-picker-line); border-radius: 12px; font-size: 13px; font-weight: 650; cursor: pointer; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-summary { width: 100%; margin-top: 8px; padding: 11px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; animation: file-arrive 260ms var(--ease-out) both; }
@keyframes file-arrive { from { opacity: 0; transform: translateY(5px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.file-summary svg { flex: 0 0 20px; width: 20px; color: var(--primary); }
.file-summary span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }

.summary-card, .form-card, .payment-card, .done-card { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.summary-card { margin: 0 0 17px; box-shadow: 0 7px 20px rgba(24, 35, 56, .045); }
.summary-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.summary-label { margin: 0; color: var(--muted); font-size: 12px; }
.summary-amount { margin: 3px 0 0; font-size: 31px; line-height: 1.15; letter-spacing: -.045em; font-weight: 750; font-variant-numeric: tabular-nums; animation: amount-settle 280ms var(--ease-out) both; }
@keyframes amount-settle { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.summary-tag { padding: 6px 9px; color: var(--success); background: var(--success-soft); border-radius: 999px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.summary-divider { height: 1px; margin: 13px 0; background: var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; color: var(--muted); font-size: 13px; }
.summary-row strong { color: var(--ink); font-weight: 600; text-align: right; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card, .method-card {
  width: 100%; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: left;
  transition: border-color var(--duration-ui) ease, background-color var(--duration-ui) ease, box-shadow var(--duration-ui) ease, transform var(--duration-fast) ease;
}
.choice-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.choice-card:active, .method-card:active { transform: scale(.99); }
.choice-card[aria-pressed="true"], .method-card[aria-pressed="true"] { border-color: var(--primary); background: var(--selected-soft); box-shadow: 0 0 0 2px rgba(49, 94, 208, .12); }
.choice-copy { display: block; min-width: 0; }
.choice-title { display: block; font-size: 14px; font-weight: 700; }
.choice-subtitle { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.choice-check { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; color: transparent; background: transparent; border: 1px solid var(--check-line); border-radius: 50%; transform: scale(.88); transition: color var(--duration-ui) ease, background-color var(--duration-ui) ease, border-color var(--duration-ui) ease, transform var(--duration-ui) var(--ease-out); }
.choice-check svg { width: 14px; height: 14px; }
.choice-card[aria-pressed="true"] .choice-check { color: #fff; background: var(--primary); border-color: var(--primary); transform: scale(1); }
.info-note { margin: 13px 0 0; padding: 11px 12px; color: var(--note-ink); border-radius: 12px; background: var(--surface-soft); font-size: 12px; line-height: 1.5; }

.form-fields { display: grid; gap: 15px; }
.field { position: relative; min-width: 0; border-radius: 14px; }
.field > * { position: relative; z-index: 1; }
/* Clip only the decorative wave; native input carets stay outside that layer. */
.field .field-fill { position: absolute; z-index: 0; inset: 0; overflow: hidden; isolation: isolate; border-radius: inherit; pointer-events: none; }
.field-fill::before { content: ""; position: absolute; top: 74px; left: calc(100% - 24px); width: max(220%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34, 197, 94, .38) 0 72%, rgba(34, 197, 94, .22) 80%, rgba(34, 197, 94, 0) 100%); transform: translate(-50%, -50%) scale(.01); transition: transform 1100ms cubic-bezier(.18, .72, .24, 1); }
.field.field-confirmed .field-fill::before { transform: translate(-50%, -50%) scale(1); }
.field-head { min-height: 44px; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field label { display: block; margin: 0; font-size: 13px; font-weight: 650; }
.field-head > label { min-width: 0; }
.autofill-note { margin: 0 0 16px; padding: 11px 13px; border-left: 3px solid var(--autofill-line); border-radius: 5px 11px 11px 5px; background: var(--autofill-bg); color: var(--autofill-ink); font-size: 13px; line-height: 1.5; }
.field-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.field-control { position: relative; }
.field-control.has-review input { padding-right: 56px; }
.field-confirm { position: absolute; z-index: 2; top: 2px; right: 2px; width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--confirm-button-line); border-radius: 12px; background: var(--confirm-button-bg); color: var(--confirm-button-ink); cursor: pointer; transition: color var(--duration-ui) ease, border-color var(--duration-ui) ease, background-color var(--duration-ui) ease, transform var(--duration-fast) ease, box-shadow var(--duration-ui) ease; }
.field-confirm svg { width: 20px; height: 20px; }
.field-confirm[aria-pressed="true"] svg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: check-draw 260ms var(--ease-out) both; }
.field-confirm:active { transform: scale(.97); }
.field-confirm:focus-visible { outline: 3px solid rgba(35, 126, 75, .35); outline-offset: -4px; }
.field-confirm[aria-pressed="true"] { border-color: var(--confirm-button-active); background: var(--confirm-button-active); color: #fff; box-shadow: none; }
.field-edited .field-confirm { border-color: var(--confirm-button-line); background: var(--confirm-button-bg); color: var(--confirm-button-ink); cursor: default; box-shadow: none; }
.field-confirm:disabled { opacity: 1; }
.field.field-confirmed input, .field.field-confirmed textarea { background: var(--confirmed-input-bg); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; color: var(--ink); background: var(--input-bg); border: 1px solid var(--input-line); border-radius: 12px;
  font-size: 16px; line-height: 1.4; transition: border-color 150ms ease, box-shadow 150ms ease;
  caret-color: var(--primary); -webkit-user-select: text; user-select: text; cursor: text;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #98a0ae; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: inset 0 0 0 1px rgba(36, 87, 214, .35); outline: 2px solid var(--primary); outline-offset: -3px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; min-height: 0; margin-top: 5px; color: var(--danger); font-size: 12px; }
.field-error:empty { display: none; }
.field-optional { margin-left: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.field .address-match { min-height: 44px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 400; cursor: pointer; }
.address-match input { width: 20px; min-height: 20px; height: 20px; margin: 0; padding: 0; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.field textarea[readonly] { background: var(--surface-soft); }

@media (prefers-reduced-motion: reduce) {
  .field-fill::before { transition: none; }
  .field-confirm { transition: none; }
}

.method-list { display: grid; gap: 10px; }
.method-card { min-height: 72px; display: flex; align-items: center; gap: 12px; }
.method-icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.method-icon svg { width: 21px; height: 21px; }
.method-name { display: block; font-size: 14px; font-weight: 700; }
.method-hint { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.done-card { padding: 24px 18px; text-align: center; }
.done-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; color: var(--success); background: var(--success-soft); border-radius: 18px; }
.done-icon svg { width: 27px; height: 27px; }
.done-card h2 { margin: 0 0 7px; font-size: 21px; letter-spacing: -.03em; }
.done-card p { margin: 0; color: var(--muted); font-size: 14px; }
.done-amount { margin: 16px 0 0 !important; color: var(--ink) !important; font-size: 16px !important; font-weight: 700; }
.invoice-link { min-height: 48px; margin-top: 14px; padding: 12px 15px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--primary); border-radius: 13px; text-decoration: none; font-size: 14px; font-weight: 700; }

.notice { margin: -9px 0 15px; padding: 10px 12px; border-radius: 12px; color: var(--danger); background: var(--danger-soft); font-size: 13px; }
.notice[hidden] { display: none; }
.actions { margin-top: auto; padding-top: 10px; display: grid; gap: 9px; }
.button {
  width: 100%; min-height: 50px; padding: 12px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 14px; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background-color 150ms ease, opacity 150ms ease, transform 100ms ease;
}
.button > svg { width: 18px; height: 18px; flex: 0 0 18px; }
.button:active { transform: scale(.99); }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover:not(:disabled) { background: var(--primary-strong); }
.button-secondary { color: var(--ink); background: var(--surface-soft); }
.button-quiet { min-height: 42px; color: var(--muted); background: transparent; font-size: 13px; }
.button:disabled { cursor: not-allowed; opacity: 1; }
.button-primary:disabled { color: var(--muted); background: var(--progress-track); }
.button .spinner { width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.button-drop-overlay { position: fixed; z-index: 2147483646; pointer-events: none; overflow: hidden; isolation: isolate; }
.button-drop-overlay::before { content: ""; position: absolute; left: var(--drop-x); top: var(--drop-y); width: var(--drop-diameter); height: var(--drop-diameter); border-radius: 50%; background: rgba(49, 94, 208, .16); opacity: 0; transform: translate(-50%, -50%) scale(.01); animation: button-drop 560ms cubic-bezier(.18, .72, .24, 1) both; }
.button-drop-overlay::after { content: ""; position: absolute; left: var(--drop-x); top: var(--drop-y); width: var(--drop-diameter); height: var(--drop-diameter); border: 1px solid rgba(49, 94, 208, .38); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.01); animation: button-drop-ring 560ms cubic-bezier(.18, .72, .24, 1) both; }
@keyframes button-drop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.01); }
  12% { opacity: .82; transform: translate(-50%, -50%) scale(.09); }
  78% { opacity: .8; transform: translate(-50%, -50%) scale(.92); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes button-drop-ring { 0% { opacity: .62; transform: translate(-50%, -50%) scale(.03); } 72% { opacity: .42; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.support-note { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.support-note a { color: var(--primary); text-decoration: none; font-weight: 600; }
.support-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hidden { display: none !important; }

#dialog-root:empty { display: none; }
.dialog-backdrop { position: fixed; z-index: 2147483647; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(10, 15, 24, .56); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.review-dialog { width: min(100%, 390px); padding: 24px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .24); animation: dialog-enter 220ms cubic-bezier(.2, .8, .2, 1) both; }
.dialog-icon { width: 46px; height: 46px; margin-bottom: 16px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 15px; }
.dialog-icon svg { width: 23px; height: 23px; }
.review-dialog h2 { margin: 0 0 9px; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.review-dialog p { margin: 0 0 9px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.review-dialog .button { margin-top: 13px; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 600px) {
  .app-shell { min-height: min(100dvh, 920px); padding-right: 30px; padding-left: 30px; }
  .progress-wrap { margin-top: 29px; }
}
@media (min-width: 700px) {
  body { padding: 24px 16px; }
  .app-shell { min-height: min(calc(100dvh - 48px), 920px); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 18px 56px rgba(29, 50, 85, .09); }
}
@media (hover: hover) and (pointer: fine) {
  .bank-card:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(24, 35, 56, .06); }
  .choice-card:hover, .method-card:hover { border-color: #aebfe9; }
  .file-picker:hover { border-color: var(--primary); background: var(--selected-soft); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
