:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #183d2c;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #fff; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, #fff 0%, #f8fcf9 44%, #e2f3e8 100%); background-attachment: fixed; }
button { font: inherit; }
.page { width: min(100% - 32px, 640px); margin: 0 auto; padding: 42px 0 40px; }
.page-header { text-align: center; margin-bottom: 28px; }
.eyebrow { margin: 0 0 12px; color: #628271; font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.page-title { margin: 0; color: #174a31; font-size: clamp(27px, 7vw, 38px); line-height: 1.15; font-weight: 850; overflow-wrap: anywhere; }
.subtitle { margin: 12px 0 0; color: #6d8175; font-size: 14px; line-height: 1.5; }
.accounts { display: grid; gap: 18px; }
.account-card { min-width: 0; padding: 22px; border: 1px solid #dce9df; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(28,74,47,.07); }
.field { min-width: 0; padding: 15px; border: 1px solid #e4ede6; border-radius: 14px; background: #fbfdfb; }
.field + .field { margin-top: 11px; }
.field-label { display: block; margin-bottom: 8px; color: #769080; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.field-value { min-width: 0; margin: 0; color: #203d2e; font-size: 15px; line-height: 1.45; font-weight: 750; overflow-wrap: anywhere; }
.field-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-value.iban { width: 100%; white-space: nowrap; overflow: hidden; font-size: clamp(8px, 2.55vw, 15px); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.copy-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 11px; border: 0; border-radius: 10px; background: #e2f4e7; color: #185b35; font-size: 12px; font-weight: 750; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.copy-button:hover { background: #d2ecd9; }
.copy-button:active { transform: scale(.98); }
.copy-button:focus-visible, .confirm-button:focus-visible { outline: 3px solid #5ba778; outline-offset: 3px; }
.copy-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bank-value-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.currency-mark { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border: 1px solid #dbe9df; border-radius: 50%; color: #47765a; font-weight: 800; }
.iban-copy-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.copy-hint { margin: 22px 0 0; color: #7b8f82; text-align: center; font-size: 11px; line-height: 1.5; }
.page-error { margin: 18px 0 0; color: #8d332c; text-align: center; font-size: 13px; }
.modal[hidden], .error-toast[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,30,20,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(100%, 360px); padding: 28px 24px 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: #fff; box-shadow: 0 20px 70px rgba(10,40,23,.22); text-align: center; animation: modal-in .18s ease-out; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: #e0f5e6; color: #188248; }
.success-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.modal-dialog h2 { margin: 0; color: #174a31; font-size: 22px; }
.modal-dialog p { margin: 12px 0 22px; color: #687b6e; font-size: 14px; line-height: 1.55; }
.confirm-button { width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: #1c7041; color: #fff; font-weight: 750; cursor: pointer; }
.confirm-button:hover { background: #155c34; }
.error-toast { position: fixed; z-index: 30; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 420px); transform: translateX(-50%); padding: 14px 16px; border: 1px solid #f0c9c5; border-radius: 13px; background: #fff8f7; color: #842f28; box-shadow: 0 8px 30px rgba(0,0,0,.12); font-size: 13px; line-height: 1.5; }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 380px) {
  .page { width: calc(100% - 22px); padding-top: 30px; }
  .account-card { padding: 15px; }
  .field { padding: 12px 10px; }
  .copy-button { padding: 8px; gap: 5px; }
  .field-value.iban { font-size: clamp(7px, 2.35vw, 9px); letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
