/* OAIT Design System 2.1.0 · reference/css/selection.css
   Checkbox, radio, switch and choice card (unit c-inputs).

   Components
   - Checkbox and radio row (.oa-check): a native <input type="checkbox|radio"> inside a <label> row at
     least 48px tall, with an optional hint and a count at the inline end.
   - Switch (.oa-switch) and its setting row (.oa-switch-field).
   - Choice card (.oa-choice) and its group (.oa-choice-group, + --grid, --likert).

   The box. Every checkbox and radio is the native input element (semantics, keyboard, forms,
   :indeterminate). This file draws it with appearance: none to the system's drawn geometry: a 20px
   box with a 2px outline edge and a 4px radius, checked in primary-ink with a surface tick; a radio
   is a 20px ring with a 10px primary-ink dot (canonical §10.5). The input's own box is 24px, the
   drawing 2px inside it, so the input itself meets the 24px minimum target and the 48px label row
   is the full target. Tailwind products keep the native drawing with accent-color (D-CAI-12); both
   read as the same control.

   Implements canonical §10.0, §10.5, §10.6, §10.7, §2.4, §2.7, §6.2, §6.3, §7.1, §7.3, §13 and
   D-CAI-01, D-CAI-12, D-CAI-13, D-CAI-14, D-CAI-15, D-CAI-20, D-ARC-11, D-ARC-14, D-ARC-32, D-ARC-33,
   D-ARC-35, D-SEM-10, D-SEM-16, D-COL-05, D-LAY-02, C-10, V-1.

   Tokens read: --color-on-surface, --color-on-surface-variant, --color-outline, --color-outline-variant,
   --color-surface, --color-surface-container-lowest, --color-surface-container-highest,
   --color-primary-ink, --color-primary-container, --color-on-primary-container, --color-focus-ring;
   --size-touch-target, --size-icon-xs, --size-icon-lg, --size-focus-ring, --size-focus-offset;
   --space-2, --space-3, --space-4, --space-14; --radius-4px, --radius-8px, --radius-box,
   --radius-full; --text-body-lg, --text-body-md, --text-title-sm (each with its --line-height,
   --letter-spacing and --font-weight companions); --opacity-state-hover, --opacity-state-pressed,
   --opacity-state-disabled-container, --opacity-state-disabled-content; --duration-short-3,
   --duration-short-4; --ease-standard; --z-behind.
   Context property read: --oa-state (the state-layer opacity; documentation pages force it inline).
   Component-local properties: --oa-choice-line (one title line, registered below),
   --oa-choice-columns (columns of a --grid group).

   Classes: .oa-check (+ __input, __label, __hint, __count), .oa-switch (+ __track, __thumb),
   .oa-switch-field (+ __text, __label, __hint), .oa-choice (+ __indicator, __icon, __content,
   __title, __desc), .oa-choice-group (+ --grid, --likert).

   Relies on base.css for .oa-icon, the global :focus-visible ring, [data-demo-focus] and the
   reduced-motion switch (the switch thumb then jumps), and on inputs.css for .oa-fieldset (group
   legend, hint and error). Breakpoints: sm 40rem (640px) for grids and lg 64rem (1024px) for Likert
   scales: canonical §10.7 names the medium and expanded window classes, which start at sm and lg
   in the family's breakpoints (D-LAY-02). */


/* ---------------------------------------------------------------------------------------------
   1. The drawn box, shared by the checkbox row and the choice card. Component constants: the 24px
   input box, the 20px drawing 2px inside it, the 10px radio dot (D-ARC-35).
   --------------------------------------------------------------------------------------------- */

.oa-check__input,
.oa-choice__indicator {
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  inline-size: 24px;
  block-size: 24px;
  margin-block: max(0px, calc((1lh - 24px) / 2)) 0; /* centers the box on the first text line */
  margin-inline: 0;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius-4px) + 2px); /* 4px on the 20px drawing */
  background-color: transparent;
  color: var(--color-surface);
  appearance: none;
  cursor: pointer;
}

/* The 20px box: a 2px outline edge (canonical §2.4, §6.2, V-1). */
.oa-check__input::before,
.oa-choice__indicator::before {
  content: "";
  position: absolute;
  inset: 2px;
  box-sizing: border-box;
  border: 2px solid var(--color-outline);
  border-radius: var(--radius-4px);
  background-color: transparent;
  transition:
    background-color var(--duration-short-3) var(--ease-standard),
    border-color var(--duration-short-3) var(--ease-standard);
}

/* The tick, the indeterminate bar and the radio dot. */
.oa-check__input::after,
.oa-choice__indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: currentColor;
  opacity: 0;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

.oa-check__input[type="checkbox"]::after,
.oa-choice__indicator[type="checkbox"]::after {
  clip-path: polygon(40.75% 73.1%, 17.6% 50%, 24.1% 43.5%, 40.75% 60%, 75.8% 24.9%, 82.4% 32.4%);
}

.oa-check__input[type="checkbox"]:indeterminate::after,
.oa-choice__indicator[type="checkbox"]:indeterminate::after {
  clip-path: inset(45.5% 27% 45.5% 27%);
}

/* Checked and indeterminate checkbox: the primary-ink fill with a surface tick or bar (D-CAI-12). */
:is(.oa-check__input, .oa-choice__indicator)[type="checkbox"]:is(:checked, :indeterminate)::before {
  border-color: var(--color-primary-ink);
  background-color: var(--color-primary-ink);
}

:is(.oa-check__input, .oa-choice__indicator)[type="checkbox"]:is(:checked, :indeterminate)::after {
  opacity: 1;
}

/* Radio: a ring, and a 10px primary-ink dot when checked. */
:is(.oa-check__input, .oa-choice__indicator)[type="radio"],
:is(.oa-check__input, .oa-choice__indicator)[type="radio"]::before,
:is(.oa-check__input, .oa-choice__indicator)[type="radio"]::after {
  border-radius: var(--radius-full);
}

:is(.oa-check__input, .oa-choice__indicator)[type="radio"]::after {
  inset: 7px;
  color: var(--color-primary-ink);
}

:is(.oa-check__input, .oa-choice__indicator)[type="radio"]:checked::before {
  border-color: var(--color-primary-ink);
}

:is(.oa-check__input, .oa-choice__indicator)[type="radio"]:checked::after {
  opacity: 1;
}

/* Focus: the family ring 2px outside the drawn box, which sits 2px inside the input (canonical §6.3,
   D-CAI-20). In a choice card the card draws the ring instead (section 4). */
.oa-check__input:is(:focus-visible, [data-demo-focus]),
.oa-choice__indicator:is(:focus-visible, [data-demo-focus]) {
  outline-offset: calc(var(--size-focus-offset) - 2px);
}

/* Disabled: edges and fills at 38% of on-surface, the tick in surface; never to signal invalid input
   (canonical §2.7, D-CAI-06). */
.oa-check__input:disabled,
.oa-choice__indicator:disabled {
  cursor: default;
}

:is(.oa-check__input, .oa-choice__indicator):disabled::before {
  border-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}

:is(.oa-check__input, .oa-choice__indicator)[type="checkbox"]:disabled:is(:checked, :indeterminate)::before {
  border-color: transparent;
  background-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}

:is(.oa-check__input, .oa-choice__indicator)[type="radio"]:disabled::after {
  color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}

/* Forced colors: shadows and fills give way to system colors; the edge is the ::before border,
   checked states take Highlight (D-SEM-10, D-BCP-25). */
@media (forced-colors: active) {
  .oa-check__input::before,
  .oa-choice__indicator::before {
    border-color: CanvasText;
  }

  :is(.oa-check__input, .oa-choice__indicator)[type="checkbox"]:is(:checked, :indeterminate)::before {
    forced-color-adjust: none;
    border-color: Highlight;
    background-color: Highlight;
  }

  :is(.oa-check__input, .oa-choice__indicator)[type="checkbox"]:is(:checked, :indeterminate)::after {
    forced-color-adjust: none;
    background-color: HighlightText;
  }

  :is(.oa-check__input, .oa-choice__indicator)[type="radio"]:checked::before {
    border-color: Highlight;
  }

  :is(.oa-check__input, .oa-choice__indicator)[type="radio"]:checked::after {
    forced-color-adjust: none;
    background-color: Highlight;
  }

  :is(.oa-check__input, .oa-choice__indicator):disabled::before,
  :is(.oa-check__input, .oa-choice__indicator):disabled:checked::before {
    border-color: GrayText;
  }
}


/* ---------------------------------------------------------------------------------------------
   2. Checkbox and radio row. A <label> at least 48px tall: 12px gap, 12px × 8px padding, the 8px
   hover shape and the state layer of on-surface on the whole row; the label in body-lg, an
   optional hint in body-md on-surface-variant, an optional count in tabular body-md at the inline
   end. Groups are a fieldset (.oa-fieldset) with the hint or error under the legend; rows stack
   with no gap (D-CAI-12, D-ARC-14, D-ARC-35).
   --------------------------------------------------------------------------------------------- */

.oa-check {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--space-3);
  align-items: start;
  box-sizing: border-box;
  min-block-size: var(--size-touch-target);
  padding-block: var(--space-3);
  padding-inline: var(--space-2);
  border-radius: var(--radius-8px);
  color: var(--color-on-surface);
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg--line-height);
  letter-spacing: var(--text-body-lg--letter-spacing);
  font-weight: var(--text-body-lg--font-weight);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.oa-check::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
  border-radius: inherit;
  background-color: currentColor;
  opacity: var(--oa-state, 0);
  pointer-events: none;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

@media (hover: hover) {
  .oa-check:hover {
    --oa-state: var(--opacity-state-hover);
  }
}

.oa-check:active {
  --oa-state: var(--opacity-state-pressed);
}

.oa-check:active::before {
  transition-duration: 0ms; /* lint-ok: a press shows at once; only hover and release fade (canonical §2.7, §7.2) */
}

.oa-check__input {
  grid-row: 1 / span 2;
}

.oa-check__label {
  grid-column: 2;
  align-self: baseline;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.oa-check__hint {
  grid-column: 2;
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
}

.oa-check__count {
  grid-column: 3;
  grid-row: 1;
  align-self: baseline;
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
  font-variant-numeric: tabular-nums;
}

.oa-check:has(.oa-check__input:disabled) {
  --oa-state: 0;
  color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
  cursor: default;
}

.oa-check:has(.oa-check__input:disabled) :is(.oa-check__hint, .oa-check__count) {
  color: inherit;
}


/* ---------------------------------------------------------------------------------------------
   3. Switch. <button type="button" role="switch" aria-checked> with a 64×48 hit area (a pill, the
   state layer of on-surface) holding a 52×32 track with a 2px border (D-CAI-13, D-ARC-11, D-ARC-33).
   On: the track in primary-ink with a transparent border; a 24px surface-container-lowest thumb at
   the inline end holding a 16px primary-ink check. Off: a surface-container-highest track with a
   2px outline border; a 16px outline thumb at the inline start. The thumb slides over short-4
   standard and jumps under reduced motion (C-10). A switch applies at once; in a form submitted
   later, use a checkbox. Component constants: 64×48, 52×32, thumbs 16 and 24 (D-CAI-13).
   --------------------------------------------------------------------------------------------- */

.oa-switch {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  inline-size: 64px;
  block-size: var(--size-touch-target);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--color-on-surface);
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.oa-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
  border-radius: inherit;
  background-color: currentColor;
  opacity: var(--oa-state, 0);
  pointer-events: none;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

@media (hover: hover) {
  .oa-switch:hover {
    --oa-state: var(--opacity-state-hover);
  }
}

.oa-switch:active {
  --oa-state: var(--opacity-state-pressed);
}

.oa-switch:active::before {
  transition-duration: 0ms; /* lint-ok: a press shows at once; only hover and release fade (canonical §2.7, §7.2) */
}

.oa-switch__track {
  position: relative;
  display: block;
  box-sizing: border-box;
  inline-size: 52px;
  block-size: 32px;
  border: 2px solid var(--color-outline);
  border-radius: var(--radius-full);
  background-color: var(--color-surface-container-highest);
  transition:
    background-color var(--duration-short-3) var(--ease-standard),
    border-color var(--duration-short-3) var(--ease-standard);
}

.oa-switch__thumb {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 6px; /* 8px from the track's outer edge */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  inline-size: 16px;
  block-size: 16px;
  margin-block: auto;
  border-radius: var(--radius-full);
  background-color: var(--color-outline);
  color: var(--color-primary-ink);
  transition:
    inset-inline-start var(--duration-short-4) var(--ease-standard),
    inline-size var(--duration-short-4) var(--ease-standard),
    block-size var(--duration-short-4) var(--ease-standard),
    background-color var(--duration-short-4) var(--ease-standard); /* the thumb changes as it moves */
}

.oa-switch__thumb > .oa-icon {
  font-size: var(--size-icon-xs);
  opacity: 0;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

.oa-switch[aria-checked="true"] .oa-switch__track {
  border-color: transparent;
  background-color: var(--color-primary-ink);
}

.oa-switch[aria-checked="true"] .oa-switch__thumb {
  inset-inline-start: 22px; /* 4px from the track's outer inline end */
  inline-size: 24px;
  block-size: 24px;
  background-color: var(--color-surface-container-lowest);
}

.oa-switch[aria-checked="true"] .oa-switch__thumb > .oa-icon {
  opacity: 1;
}

/* Disabled: the parts take the disabled mixes, never opacity on the whole control (D-ARC-33). */
.oa-switch:disabled {
  --oa-state: 0;
  cursor: default;
}

.oa-switch:disabled .oa-switch__track {
  border-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-container) * 100%), transparent);
  background-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-container) * 100%), transparent);
}

.oa-switch:disabled .oa-switch__thumb {
  background-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}

.oa-switch[aria-checked="true"]:disabled .oa-switch__track {
  border-color: transparent;
}

.oa-switch[aria-checked="true"]:disabled .oa-switch__thumb {
  background-color: var(--color-surface-container-lowest);
  color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}

@media (forced-colors: active) {
  .oa-switch__track,
  .oa-switch__thumb {
    forced-color-adjust: none;
  }

  .oa-switch__track {
    border-color: CanvasText;
    background-color: Canvas;
  }

  .oa-switch__thumb {
    background-color: CanvasText;
    color: Canvas;
  }

  .oa-switch[aria-checked="true"] .oa-switch__track {
    border-color: Highlight;
    background-color: Highlight;
  }

  .oa-switch[aria-checked="true"] .oa-switch__thumb {
    background-color: HighlightText;
    color: Highlight;
  }

  .oa-switch:disabled .oa-switch__track {
    border-color: GrayText;
    background-color: Canvas;
  }

  .oa-switch:disabled .oa-switch__thumb {
    background-color: GrayText;
    color: Canvas;
  }
}

/* The setting row: the setting's name (title-sm, which names the switch through aria-labelledby)
   and an optional hint (body-md, aria-describedby) at the inline start, the switch at the inline
   end. 12px block padding, as a checkbox row has, keeps stacked rows apart (canonical §10.5).
   Inside a list, use the list row instead: it supplies the padding and the 72px height
   (canonical §10.12). */
.oa-switch-field {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-block-size: var(--size-touch-target);
  padding-block: var(--space-3);
}

.oa-switch-field__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-inline-size: 0;
}

.oa-switch-field__label {
  color: var(--color-on-surface);
  font-size: var(--text-title-sm);
  line-height: var(--text-title-sm--line-height);
  letter-spacing: var(--text-title-sm--letter-spacing);
  font-weight: var(--text-title-sm--font-weight);
}

.oa-switch-field__hint {
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
  overflow-wrap: anywhere;
}

.oa-switch-field:has(.oa-switch:disabled) :is(.oa-switch-field__label, .oa-switch-field__hint) {
  color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
}


/* ---------------------------------------------------------------------------------------------
   4. Choice card. A <label> around a visible native radio or checkbox: rounded-box, a 1px
   outline-variant hairline (the indicator identifies the control, V-2), surface-container-lowest,
   at least 56px, 12px × 16px padding, 16px gap, the indicator at the inline start, an optional
   24px icon, the title in title-sm and the description in body-md on-surface-variant (D-CAI-15).
   Selected: primary-container with a 2px primary-ink edge that does not shift (the border plus a
   1px inset line), the title and icon in on-primary-container (D-CAI-14, D-ARC-32). Hover and press
   use the layer; the card draws the ring while its input has keyboard focus.
   --------------------------------------------------------------------------------------------- */

/* One title line, measured on the card (1lh), so the 24px icon centers on it in every language. */
@property --oa-choice-line {
  syntax: "<length>";
  inherits: true;
  initial-value: 24px;
}

.oa-choice {
  --oa-choice-line: 1lh;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  box-sizing: border-box;
  min-block-size: var(--space-14);
  padding-block: var(--space-3);
  padding-inline: var(--space-4);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-box);
  background-color: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg--line-height);
  letter-spacing: var(--text-body-lg--letter-spacing);
  font-weight: var(--text-body-lg--font-weight);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--duration-short-3) var(--ease-standard),
    border-color var(--duration-short-3) var(--ease-standard),
    color var(--duration-short-3) var(--ease-standard);
}

/* The state layer covers the card's border box, so hover shows no lighter rim at the 1px edge. */
.oa-choice::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: var(--z-behind);
  border-radius: inherit;
  background-color: currentColor;
  opacity: var(--oa-state, 0);
  pointer-events: none;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

@media (hover: hover) {
  .oa-choice:hover {
    --oa-state: var(--opacity-state-hover);
  }
}

.oa-choice:active {
  --oa-state: var(--opacity-state-pressed);
}

.oa-choice:active::before {
  transition-duration: 0ms; /* lint-ok: a press shows at once; only hover and release fade (canonical §2.7, §7.2) */
}

.oa-choice__icon {
  font-size: var(--size-icon-lg);
  margin-block-start: max(0px, calc((var(--oa-choice-line) - var(--size-icon-lg)) / 2));
  color: var(--color-on-surface-variant);
}

.oa-choice__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-inline-size: 0;
}

.oa-choice__title {
  color: inherit;
  font-size: var(--text-title-sm);
  line-height: var(--text-title-sm--line-height);
  letter-spacing: var(--text-title-sm--letter-spacing);
  font-weight: var(--text-title-sm--font-weight);
  overflow-wrap: anywhere;
}

.oa-choice__desc {
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
}

.oa-choice:has(.oa-choice__indicator:checked) {
  border-color: var(--color-primary-ink);
  background-color: var(--color-primary-container);
  box-shadow: inset 0 0 0 1px var(--color-primary-ink);
  color: var(--color-on-primary-container);
}

/* A selected card's icon takes its on-color and the filled glyph (canonical §8.2). */
.oa-choice:has(.oa-choice__indicator:checked) .oa-choice__icon {
  color: var(--color-on-primary-container);
  font-variation-settings: "FILL" 1;
}

/* The card draws the ring; the indicator's own outline stays transparent (forced colors still
   draw it) (D-CAI-15). */
.oa-choice:has(.oa-choice__indicator:focus-visible) {
  outline: var(--size-focus-ring) solid var(--color-focus-ring);
  outline-offset: var(--size-focus-offset);
}

.oa-choice__indicator:focus-visible {
  outline-color: transparent;
}

.oa-choice:has(.oa-choice__indicator:disabled) {
  --oa-state: 0;
  border-color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-container) * 100%), transparent);
  box-shadow: none;
  color: color-mix(in srgb, var(--color-on-surface) calc(var(--opacity-state-disabled-content) * 100%), transparent);
  cursor: default;
}

.oa-choice:has(.oa-choice__indicator:disabled) :is(.oa-choice__icon, .oa-choice__desc) {
  color: inherit;
}

@media (forced-colors: active) {
  .oa-choice:has(.oa-choice__indicator:checked):not(:has(:focus-visible)) {
    outline: 2px solid Highlight;
    outline-offset: -3px;
  }
}

/* Groups: a fieldset (.oa-fieldset) around .oa-choice-group. Cards stack 8px apart; --grid puts
   short parallel options in up to three columns from sm (--oa-choice-columns, 3 by default);
   --likert is a five-point scale, five equal columns from lg, stacked below (D-CAI-15, D-LAY-02). */
.oa-choice-group {
  --oa-choice-columns: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-inline-size: 0;
}

@media (width >= 40rem) {
  .oa-choice-group--grid {
    display: grid;
    grid-template-columns: repeat(var(--oa-choice-columns), minmax(0, 1fr));
  }
}

@media (width >= 64rem) {
  .oa-choice-group--likert {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
