.transfer-dialog {
  width: min(480px, calc(100% - 28px));
  max-height: min(90dvh, 48rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: clamp(18px, 5vw, 30px);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #d6cabf;
  border-radius: 14px;
  box-shadow: 0 24px 90px #34202435;
}
.transfer-dialog::backdrop { background: #3027298c; backdrop-filter: blur(5px); }
.transfer-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.transfer-heading h2 { margin: 0; font: 700 1.43rem/1.45 var(--jserif); }
.transfer-heading button {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); background: transparent; font-size: 1.3rem; line-height: 1;
}
.transfer-dialog section { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.transfer-dialog h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.transfer-dialog p, .privacy-dialog ul { margin: 8px 0 13px; color: var(--muted); font-size: .91rem; line-height: 1.8; }
.privacy-dialog ul { padding-left: 1.4em; }
.privacy-dialog a { color: var(--accent); text-underline-offset: 3px; }
.transfer-dialog strong { color: var(--ink); }
.transfer-action {
  min-height: 42px; padding: 8px 15px; font-size: .91rem; font-weight: 650;
  border: 1px solid #d6bfc2; border-radius: 7px; color: var(--accent); background: var(--accent-wash);
}
.transfer-action:hover { background: #e8d8d8; }
.transfer-action:disabled { opacity: .65; cursor: wait; }
#transferStatus { margin: 16px 0 0; color: var(--sage); }
#transferStatus.transfer-error { color: #903648; }
