/* ═══════════════════════════════════════════════════════════════
   forms.css — Form builder + form elements + WYSIWYG + toggle (load 4 of 8)
   §6 forms incl. public form page and the form builder UI.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Form builder ────────────────────────────────────────── */
/* Builder takes the whole body-wrap. Body-wrap padding-top is zero'd via
   :has() so the sticky toolbar sits flush against the topbar — otherwise
   the wrap's padding-top leaves a visible gap above the stuck toolbar. */
.body-wrap:has(.form-builder),
.body-wrap:has(.poll-builder),
.body-wrap:has(.poll-show) { padding-top: 0; }

.form-builder,
.poll-builder,
.poll-show { display: flex; flex-direction: column; gap: 18px; }

.builder-toolbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 12px 0;
  margin: 0;
  background: var(--topbar-bg);
  backdrop-filter: blur(6px);
  transition: border-color .15s ease, box-shadow .15s ease, padding .15s ease;
  border-bottom: 1px solid transparent;
}
.builder-toolbar.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 2px 10px -8px rgba(26, 22, 18, .15);
  padding: 10px 0;
}
.builder-toolbar__left, .builder-toolbar__right { display: flex; align-items: center; gap: 10px; }
.builder-toolbar__back { color: var(--ink-3); text-decoration: none; font-size: 12px; }
.builder-toolbar__back:hover { color: var(--ink-2); }

.builder-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.builder-panel__title {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-3);
  margin: 0 0 14px;
}

.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.builder-grid__span { grid-column: 1 / -1; }
.builder-grid .field label { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; display: block; }

.builder-hint { font-size: 12px; color: var(--ink-3); margin: 10px 0 0; }

.fields-list { display: flex; flex-direction: column; gap: 10px; }

.field-card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.field-card--flash { border-color: var(--accent); background: var(--paper-2); }
.field-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.field-card__tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase;
}
.field-card__ctrl { display: flex; gap: 4px; }
.field-card__btn {
  background: transparent; border: 1px solid transparent;
  width: 26px; height: 26px; border-radius: 4px;
  display: grid; place-items: center;
  color: var(--ink-3); cursor: pointer;
  font-size: 11px;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.field-card__btn:hover { background: var(--paper-2); color: var(--ink-2); border-color: var(--rule); }
.field-card__btn--danger:hover { color: var(--accent); }

.field-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: 10px;
  align-items: end;
}
.field-card__cell { display: flex; flex-direction: column; min-width: 0; }
.field-card__cell label { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.field-card__cell .input { padding: 7px 10px; font-size: 13px; }
.field-card__required {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2);
  white-space: nowrap; padding-bottom: 8px;
}
.field-card__options { margin-top: 10px; }
.field-card__options label { font-size: 11px; color: var(--ink-3); margin-bottom: 4px; display: block; text-transform: uppercase; letter-spacing: .06em; }
.field-card__options .textarea { padding: 7px 10px; font-size: 12px; font-family: var(--font-mono); }

.contact-grid { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 12px; align-items: center;
  padding: 8px 10px; border: 1px solid var(--rule); border-radius: 5px;
  background: var(--paper);
}
.contact-row__toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.contact-row .input, .contact-row .textarea { padding: 6px 10px; font-size: 13px; }

@media (max-width: 720px) {
  .field-card__body { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; }
}

.form-card__url {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent);
  padding: 6px 10px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
  margin-top: auto;
}
.form-card__url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.form-card__url-copy {
  flex: none; background: transparent; border: 0; cursor: pointer;
  color: var(--accent); padding: 2px 4px; border-radius: 4px;
  font-size: 11px; line-height: 1;
}
.form-card__url-copy:hover { background: var(--paper); }

/* ─── Short-link cards + stats ─────────────────────────────────────────── */
.card--muted { opacity: .65; }
.card--muted:hover { opacity: 1; }
.badge--muted {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--paper); color: var(--ink-3); border: 1px solid var(--rule);
  text-transform: uppercase; letter-spacing: .08em;
}
/* Three columns share the same vertical rhythm: every column has a heading
   on row 1, then a content block on row 2 sized to the same height — so the
   eye lands on a clean baseline across totals / chart / referers. */
.link-stats { display: grid; gap: 24px; grid-template-columns: 220px 1fr 220px; align-items: stretch; }
@media (max-width: 800px) { .link-stats { grid-template-columns: 1fr; } }
.link-stats__heading { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; font-weight: 600; }
.link-stats__numbers { display: flex; flex-direction: column; gap: 10px; }
.link-stats__numbers .link-stats__cell { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.link-stats__cell { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.link-stats__num { font-size: 28px; font-weight: 700; line-height: 1; }
.link-stats__label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; }
.link-stats__chart { display: flex; flex-direction: column; }
.link-stats__bars {
  display: flex; align-items: flex-end; gap: 2px;
  flex: 1; min-height: 140px; padding: 10px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 8px;
}
.link-stats__bar {
  flex: 1; min-width: 4px; background: var(--accent); border-radius: 2px 2px 0 0;
  transition: opacity .15s ease;
}
.link-stats__bar:hover { opacity: .75; }
.link-stats__bars-axis {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); margin-top: 4px;
}
.link-stats__referers { display: flex; flex-direction: column; }
.link-stats__ref-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.link-stats__ref-list li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 12px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px;
  font-size: 12px;
}
.link-stats__ref-list li strong { color: var(--ink); font-family: var(--font-mono); }

.public-url-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.public-url-row__url {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.public-url-row__url:hover { text-decoration: underline; }

/* Drag-handle for field cards */
.field-card { display: flex; flex-direction: column; }
.field-card.field-card--ghost { opacity: .5; }
.field-card.field-card--dragging { border-color: var(--accent); }
.field-card__drag {
  cursor: grab;
  color: var(--ink-3);
  padding: 2px 6px;
  border-radius: 4px;
}
.field-card__drag:hover { background: var(--paper-2); color: var(--ink-2); }
.field-card__drag:active { cursor: grabbing; }

/* ─── Public form page ─────────────────────────────────────── */
body.public-form {
  background:
    radial-gradient(circle at 1px 1px, rgba(26,22,18,.06) 1px, transparent 0) 0 0/16px 16px,
    var(--bg);
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
}
.pf-shell { max-width: 680px; margin: 56px auto; padding: 0 20px; }

/* Surface tone used by every public-form block. Mixes the page bg with
   pure paper so blocks sit a notch lighter than the cream backdrop — gives
   inputs (which stay pure paper) a visible step above the block itself. */
.public-form {
  --pf-block-bg: color-mix(in srgb, var(--bg) 40%, var(--paper) 60%);
}

.pf-header {
  background: var(--pf-block-bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 36px 28px;
  margin-bottom: 14px;
  position: relative;
}
.pf-tag {
  position: absolute; top: -1px; left: -1px;
  background: var(--ink); color: var(--text-on-dark);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: var(--radius-sm) 0 var(--radius-sm) 0;
  text-transform: uppercase;
}
.pf-title { font-size: 28px; font-weight: 700; letter-spacing: -.015em; margin: 14px 0 8px; line-height: 1.2; }
.pf-desc { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.pf-desc p:first-child { margin-top: 0; } .pf-desc p:last-child { margin-bottom: 0; }

.pf-card {
  background: var(--pf-block-bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 32px 24px;
  margin-bottom: 14px;
}
.pf-card__title {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3);
  margin: 0 0 18px;
}

.pf-field { margin-bottom: 18px; }
.pf-field:last-child { margin-bottom: 0; }
.pf-field__label {
  display: block;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  margin-bottom: 6px;
}
.pf-field__label--req::after { content: " *"; color: var(--accent); font-weight: 700; }
.pf-field--invalid .input,
.pf-field--invalid .textarea,
.pf-field--invalid .select { border-color: var(--accent); }
.pf-error { color: var(--accent); font-size: 12px; margin-top: 5px; font-family: var(--font-mono); }

/* Select arrow chrome */
.pf-select { position: relative; }
.pf-select .select { padding-right: 36px; }

/* Custom radio / checkbox */
.pf-choices { display: flex; flex-direction: column; gap: 6px; }
.pf-choice {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  user-select: none;
  transition: border-color .14s ease, background .14s ease;
}
.pf-choice:hover { border-color: var(--ink-3); }
.pf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pf-choice__box,
.pf-choice__dot {
  width: 18px; height: 18px;
  border: 1.5px solid var(--rule-2);
  background: var(--paper);
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: border-color .14s ease, background .14s ease;
}
.pf-choice__box { border-radius: 4px; }
.pf-choice__dot { border-radius: 50%; }
.pf-choice__box::after {
  content: "";
  width: 10px; height: 10px;
  background: transparent;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transition: background .14s ease;
}
.pf-choice__dot::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background .14s ease;
}
.pf-choice input:checked ~ .pf-choice__box,
.pf-choice input:checked ~ .pf-choice__dot { border-color: var(--accent); background: var(--paper); }
.pf-choice input:checked ~ .pf-choice__box::after,
.pf-choice input:checked ~ .pf-choice__dot::after { background: var(--accent); }
.pf-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft, rgba(199, 91, 48, 0.08)); }
.pf-choice__text { font-size: 14px; color: var(--ink-2); }

/* Contact info — read-only */
.pf-contact {
  background: var(--pf-block-bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
}
.pf-contact__list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pf-contact__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; }
.pf-contact__row dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-3); margin: 0;
  font-family: var(--font-mono);
}
.pf-contact__row dd { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.pf-contact__row dd a { color: var(--accent); text-decoration: none; }
.pf-contact__row dd a:hover { text-decoration: underline; }
/* Standalone note prose — sits below the contact dl as plain text. */
.pf-contact__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.pf-contact__note:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.pf-contact__note p:first-child { margin-top: 0; }
.pf-contact__note p:last-child  { margin-bottom: 0; }

.pf-actions { display: flex; justify-content: flex-end; }
.pf-submit { padding: 12px 26px; font-size: 14px; }

@media (max-width: 540px) {
  .pf-header, .pf-card { padding: 22px 22px; }
  .pf-contact__row { grid-template-columns: 1fr; gap: 4px; }
  .pf-contact__row dt { font-size: 10px; }
}

/* Share link */
.share-link {
  font-family: var(--font-mono);
  font-size: var(--fz-micro);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 1px;
  transition: all var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.share-link:hover { color: var(--accent); border-color: var(--accent); }
.share-link .arr { font-family: var(--font-sans); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--accent); }

/* ─── §6 Forms ───────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* .field label / .field__label */
.field label,
.field__label {
  font-family: var(--font-mono);
  font-size: var(--fz-micro);
  font-weight: 500;
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}
.field__hint { font-size: var(--fz-small); color: var(--text-muted); }
.field__error { font-size: var(--fz-small); color: var(--danger); }

/* Inputs — visible border at rest */
.input,
.textarea,
.select {
  display: block;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-md);
  color: var(--text);
  font: 400 var(--fz-body)/1.4 var(--font-sans);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  outline: none;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: var(--text-placeholder); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-ring-alpha);
}
.input:disabled, .textarea:disabled, .select:disabled {
  background: var(--paper-2);
  color: var(--text-muted);
  cursor: not-allowed;
}
.input--invalid, .textarea--invalid { border-color: var(--danger); }

.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

/* Select arrow */
.select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%238B7C68' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Inline search input variant */
.input--inline {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.input--inline:focus { box-shadow: none; border-color: transparent; }

/* Small input */
.input--sm { padding: var(--space-3) var(--space-5); font-size: var(--fz-small); border-radius: var(--radius); }

/* ─── §6 WYSIWYG host ────────────────────────────────────────── */
.wysiwyg-host {
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.wysiwyg-host .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
}
.wysiwyg-host .ql-container.ql-snow {
  border: 0;
  min-height: 120px;
  font-family: var(--font-sans);
  font-size: var(--fz-body);
  color: var(--text);
}
.wysiwyg-host:focus-within {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-ring-alpha);
}
.wysiwyg-host .ql-editor { min-height: 120px; padding: var(--space-5) var(--space-6); }
.wysiwyg-host .ql-editor.ql-blank::before { color: var(--text-placeholder); font-style: normal; }

/* ─── §6 Toggle ──────────────────────────────────────────────── */
.toggle {
  position: relative;
  display: inline-block;
  width: 36px; height: 20px;
  cursor: pointer;
}
.toggle input { opacity: 0; position: absolute; inset: 0; }
.toggle__track {
  position: absolute; inset: 0;
  background: var(--rule-2);
  border-radius: var(--radius-full);
  transition: background var(--duration) var(--ease);
}
.toggle__track::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 2px; top: 2px;
  background: var(--paper);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease);
}
.toggle input:checked + .toggle__track { background: var(--accent); }
.toggle input:checked + .toggle__track::before { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__track { box-shadow: 0 0 0 3px var(--focus-ring-alpha); }

/* Inline field errors — paired with the validator's $e->fields map and
   the .field--invalid wrapper class set by views. Keeps the input
   visually anchored to its message instead of relying on a toast/flash. */
.field--invalid > .input,
.field--invalid > input,
.field--invalid > textarea,
.field--invalid > select {
  border-color: var(--danger, #C75B30);
}
.field__error {
  color: var(--danger, #C75B30);
  font-size: 12px;
  margin-top: 4px;
}

/* Auth: "remember me" row sits between the password field and the
   submit button. Inline-flex so the checkbox and label hug each other. */
.auth-remember-me {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
/* Auth: full-width submit on the login/register `.brief` cards. The
   global `.submit` rule is inline-flex with content-width sizing, so
   this modifier widens it and lifts it off the previous control. */
.auth-submit { margin-top: 18px; width: 100%; }
.auth-submit--tight { margin-top: 22px; }
/* Auth: pending-approval screen (after sign-up while a moderator
   reviews the account). One-off icon-headline-paragraph stack — kept
   visually centred by `.text-center` on `.brief`. */
.auth-pending__icon {
  font-size: 48px;
  color: var(--brand);
  margin-bottom: 18px;
}
.auth-pending__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
}
.auth-pending__body {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* V-9: fieldset/legend grouping for long admin forms. Visually a thin
   heading above a stack of fields, semantically a screen-reader group. The
   browser's default fieldset border/padding is reset so this slots into
   the existing field-grid layouts without visual collision. */
.field-group { border: 0; padding: 0; margin: 0 0 24px; }
.field-group__legend {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3, var(--text-muted));
  margin-bottom: 10px;
  padding: 0;
}

/* ─── Wave 9.1e Group D — builder-panel hint variants ───────────
   .builder-hint already covers the standard "12 px ink-3 hint that sits
   under a field" case (margin-top:10px). These two add the inverse-flow
   pattern (hint appears above the next block) for the polls / forms
   public-URL and integration-template captions. */
.builder-panel__hint {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0 0 12px;
}
/* Tighter 11 px variant used for the task-title-template helper line
   inside the forms-builder integration panel. */
.builder-template-hint {
  font-size: 11px;
  color: var(--ink-3);
  margin: 6px 0 0;
}

/* ─── Wave 9.1e Group E — tag-picker shell + profile/settings actions ─── */

/* Tag-picker chip row — flex row of .tag pills used to display the
   currently-attached tags above the search input. */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Inline "×" button inside a tag-picker chip — un-styled native button
   that lets the user detach the tag. */
.tag-picker__chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-3);
  padding: 0;
  font-size: 10px;
}
/* Wrapper around the "+ Add tag" search input. Owns the position-
   relative so the absolute-positioned dropdown can anchor below it. */
.tag-input-wrap {
  margin-top: 8px;
  position: relative;
  width: 100%;
}
/* Tag-picker search input is intentionally smaller than the default
   form .input — it sits inline next to attached chips. */
.tag-picker__input { font-size: 13px; }
/* Tag-picker dropdown — visibility toggled inline by JS
   (display:block / 'none'), so we own the cosmetic bits only and start
   hidden in CSS. */
.tag-picker__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  max-height: 240px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  margin-top: 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
}

/* /profile/tokens "Create token" form bottom-bar — tighter "Create"
   button row sitting directly under the form-grid. */
.profile-form__actions--mt-8 { margin-top: var(--space-8); }

/* /admin/settings bottom Save row — single primary button with the
   standard form gutter; matches the visual rhythm of .profile-form__
   actions but is wider than .profile-form__actions's wrap. */
.settings-form__actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
