.adar-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 3px 8px;
  align-items: center;
}
.topbar .container { flex-wrap: wrap; gap: 2px 12px; padding-block: 2px; }
.adar-tools a, .adar-tools button {
  padding: 4px 9px;
  border: 1px solid #ffffff42;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  background: transparent;
}
.adar-tools button { min-width: 66px; }
.footer-bottom .adar-credit { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { flex-wrap: wrap; }
.adar-status { margin-block: 12px; }
.adar-status[data-state="error"] { color: var(--orange-dark); }
.adar-status[data-state="success"] { color: var(--ink); font-weight: 700; }
#adar-turnstile { margin-block: 12px; }
.contact-card button:disabled { opacity: .65; cursor: wait; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4eee7;
  --muted: #bdcbd0;
  --cream: #212e35;
  --line: #40515b;
  --orange: #f0a777;
  --orange-dark: #ffb891;
  --peach: #412f29;
  --white: #202c32;
  --shadow: 0 18px 60px #0004;
}
[data-theme="dark"] body { background: #162229; }
[data-theme="dark"] .site-header { background: #1a272ef7; border-color: var(--line); }
[data-theme="dark"] .brand img { background: white; border-radius: 5px; }
[data-theme="dark"] .donation-section { background: #202f30; }
[data-theme="dark"] :is(.hero-caption,.program-card,.donation-card,.amount,.report-icon,.two-cards article,.how-to li>span,input,select,textarea) {
  background: #263740;
  border-color: var(--line);
}
[data-theme="dark"] :is(.payment-note,.message-preview) {
  background: #273b36;
  color: #d6e9dc;
  border-color: var(--line);
}
[data-theme="dark"] :is(.contact-card,.report-banner,.event-card,.amount-input,.investment,.simple-list,.financial-lines>div) { border-color: var(--line); }
[data-theme="dark"] :is(.button.primary,.amount.selected,.stepper li.current>span,.cta-band) { background: #94502e; color: #fff; }
[data-theme="dark"] .button.primary:hover { background: #a45a36; }
[data-theme="dark"] :is(.payment-note strong,.payment-note .icon,.plain-note .icon) { color: #a9d6bb; }
