/* help.css — the "?" beside a field (help.js). Uses setup's tokens or the site's (theme.css, light and dark), with fallbacks. */
/* setup and errorstate wrap a field in .field; the site's forms use .form-group. */
.field, .form-group { position: relative; }
.field:has(> .help-tip) > label, .field:has(> .help-tip) > .label,
.form-group:has(> .help-tip) > label { padding-inline-end: 30px; }
.help-tip { position: relative; display: inline-block; vertical-align: middle; margin-inline-start: 6px; }
.field > .help-tip, .form-group > .help-tip { position: absolute; top: -3px; inset-inline-end: 0; margin: 0; }
.help-tip-btn {
  width: 24px; height: 24px; padding: 0; border-radius: 50%; cursor: pointer;
  display: inline-grid; place-items: center; font: 700 12px/1 inherit;
  border: 1px solid var(--border, #d0d5dd); background: var(--surface-2, var(--muted, #f7f8fa)); color: var(--text-2, var(--muted-foreground, #475467));
}
.help-tip-btn:hover, .help-tip-btn[aria-expanded="true"] { border-color: var(--brand, var(--primary, #3b6ef6)); color: var(--text, var(--foreground, #101828)); }
.help-tip-btn:focus-visible { outline: 2px solid var(--brand, var(--primary, #3b6ef6)); outline-offset: 2px; }
.help-tip-text {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60;
  width: min(320px, calc(100vw - 32px)); padding: 10px 12px; text-align: start;
  background: var(--surface, var(--card, #fff)); color: var(--text, var(--foreground, #101828)); border: 1px solid var(--border, #d0d5dd);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(16, 20, 32, .14);
  font-size: 12.5px; font-weight: 400; line-height: 1.5; white-space: normal;
}
