/* Page tool deposit-helper (public/deposit-helper.js): loaded only on the page that has the block. Site variables only. */
.deposit-helper .dh-controls { display: grid; gap: 12px; margin: 0 0 16px; }
/* html.js is set in <head> before paint: the space is reserved, so showing the controls causes no layout shift */
.js .deposit-helper .dh-controls[hidden] { display: grid; visibility: hidden; }
@media (min-width: 560px) {
  .deposit-helper .dh-controls { grid-template-columns: 1fr 1fr; }
  .deposit-helper .dh-result { grid-column: 1 / -1; }
}
.deposit-helper .dh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.deposit-helper .dh-field label { font-weight: 600; font-size: 14px; color: var(--text); }
.deposit-helper select, .deposit-helper input {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.deposit-helper select:focus-visible, .deposit-helper input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.deposit-helper .dh-result { margin: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.deposit-helper .dh-result.dh-warn { background: var(--pending-bg); color: var(--pending); }
.deposit-helper .dh-result a { display: inline-block; min-height: 44px; line-height: 44px; }
