:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111111;
  background: #F8F9FA;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 86%);
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid #111111; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .65; }
button { transition: background-color 160ms ease, transform 160ms ease; }
button:active:not(:disabled) { transform: scale(.97); }
button svg { flex-shrink: 0; }
p, h1, h2 { margin: 0; }
.payment { width: 100%; max-width: 640px; min-width: 0; }
.intro { text-align: center; margin-bottom: 30px; }
.eyebrow { color: #737373; font-size: 11px; font-weight: 600; letter-spacing: .22em; }
h1 { margin: 12px 0 10px; font-size: clamp(44px, 11vw, 64px); line-height: 1.08; font-weight: 750; letter-spacing: -.045em; overflow-wrap: anywhere; }
.subtitle { color: #737373; font-size: 14px; line-height: 1.6; }
.cards { display: grid; gap: 13px; }
.card { min-width: 0; padding: 21px 24px; background: #FFFFFF; border: 1px solid #E5E5E5; border-radius: 19px; box-shadow: 0 4px 15px rgba(0, 0, 0, .025); }
.label { margin-bottom: 12px; color: #737373; font-size: 10px; line-height: 1.3; font-weight: 600; letter-spacing: .15em; }
.account-row, .bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.value { min-width: 0; font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.account-name { font-size: clamp(16px, 4.3vw, 20px); }
.copy-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: #111111; color: #FFFFFF; font-size: 12px; font-weight: 550; line-height: 1; }
.copy-button svg { width: 16px; height: 16px; }
.currency { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 36px; color: #737373; font-size: 27px; font-weight: 400; }
.iban-line { width: 100%; min-width: 0; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
#iban-value { display: inline-block; font-size: clamp(12px, 4.4vw, 28px); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.iban-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.hint { margin-top: 23px; color: #949494; text-align: center; font-size: 11px; line-height: 1.6; }
.copy-error, .no-script { margin-top: 20px; border: 1px solid #E5E5E5; border-radius: 14px; padding: 16px; background: #FFFFFF; font-size: 13px; line-height: 1.6; }
.copy-error label { display: block; margin: 12px 0 5px; color: #737373; font-size: 11px; }
.copy-error input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #E5E5E5; border-radius: 8px; background: #F8F9FA; color: #111111; font-size: 16px; }
.copy-dialog { width: min(360px, calc(100% - 40px)); max-height: calc(100svh - 40px); margin: auto; padding: 0; border: 1px solid #E5E5E5; border-radius: 24px; background: #FFFFFF; color: #111111; box-shadow: 0 24px 90px rgba(0, 0, 0, .18); overflow-y: auto; }
.copy-dialog[open] { animation: dialog-in 220ms cubic-bezier(.2, .8, .2, 1) both; }
.copy-dialog::backdrop { background: rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
body.modal-open { overflow: hidden; }
.dialog-content { padding: 30px 27px 26px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; background: #111111; color: #FFFFFF; }
.success-icon svg { width: 27px; height: 27px; }
.dialog-content h2 { font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.dialog-content p { margin: 12px 0 25px; color: #737373; font-size: 14px; line-height: 1.65; }
.confirm-button { width: 100%; min-height: 48px; border: 0; border-radius: 11px; background: #111111; color: #FFFFFF; font-size: 14px; font-weight: 600; }
@media (hover: hover) { button:hover:not(:disabled) { background: #333333; } }
@media (max-width: 360px) {
  body { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .card { padding: 19px 18px; }
  .account-row { gap: 9px; }
  .copy-button { padding: 0 11px; gap: 5px; }
  .subtitle { font-size: 12px; }
}
@media (max-height: 650px) {
  body { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .intro { margin-bottom: 18px; }
  h1 { font-size: 40px; }
  .cards { gap: 10px; }
  .card { padding: 16px 18px; }
  .label { margin-bottom: 10px; }
  .iban-actions { margin-top: 14px; }
  .hint { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  .copy-dialog[open] { animation: none; }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
