body {
  --field-label-gap: 14px;
  --field-corner: max(10px, var(--radius));
  --window-corner: calc(var(--field-corner) + 5px);
}
/* Reserve the space before focus so that showing the ring never moves the form. */
body label:has(> :is(input:not([type="checkbox"], [type="radio"]), textarea, select, .choice-field)) {
  row-gap: var(--field-label-gap);
}
.board-finder > label, .flow-label, .flow-fieldset legend {
  margin-bottom: var(--field-label-gap);
}
.net-check > label { margin-bottom: 2px; }
:is(input, textarea, select, .choice-field > button):focus-visible { outline-offset: 2px; }
/* Pointer feedback comes from the fill and text. Keyboard focus keeps its own indicator. */
:is(button, a, [role="button"], input[type="submit"], input[type="button"], summary):hover:not(:focus-visible, .dialog-close, .footer-socials a, .site-footer .reviews-link) {
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.flow-dialog, .product-dialog { border-radius: var(--window-corner); }
.dialog-close {
  --close-hover-bg: #294351;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid #41545e;
  border-radius: 50%;
  background-color: #10212a;
  color: #fff;
}
.dialog-close::before, .dialog-close::after {
  content: '';
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}
.dialog-close::after { transform: rotate(-45deg); }
.board-query, .board-popup { border-radius: var(--field-corner); }
.choice-field {
  position: relative; display: block; min-width: 0; max-width: 100%;
  --choice-bg: var(--bg); --choice-ink: var(--fg);
  --choice-line: var(--line); --choice-active: var(--raised);
}
.choice-field > button, .choice-options {
  box-sizing: border-box; width: 100%; border: 1px solid var(--choice-line);
  border-radius: var(--field-corner); color: var(--choice-ink); background: var(--choice-bg);
  font: inherit; font-weight: 400; text-align: start;
}
.choice-field > button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 8px 13px;
}
.choice-field > button::after {
  content: ''; width: 7px; height: 7px; flex: none; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.choice-field > button[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.choice-field > button[aria-invalid="true"] { border-color: #d06650; }
.choice-options {
  position: absolute; z-index: 5; inset: calc(100% + 4px) 0 auto; display: grid;
  padding: 4px; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 9px 23px #0003;
}
.choice-options.opens-above { inset: auto 0 calc(100% + 4px); }
.choice-options [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 38px; padding: 6px 10px; cursor: pointer; border-radius: calc(var(--field-corner) - 4px);
}
.choice-options [role="option"]:is(:hover,.is-active) { background: var(--choice-active); }
.choice-options [aria-selected="true"]::after { content: '✓'; }
.review-controls .choice-field {
  min-width: 10em; --choice-bg: var(--review-paper); --choice-ink: var(--review-ink);
  --choice-line: var(--review-line); --choice-active: #dae8e1;
}
.review-controls .choice-field > button { min-height: 37px; }
