/* GENERATED by flux/defxn-product-kit/scripts/build.mjs from src/mech.css. Do not edit; edit src/mech.css, then rebuild. */
/* DEFXN mech kit: the "wheel mechanical" component layer (owner direction 2026-11-13, sheets in docs/mech-kit-refs/).
   Layer: app (a UI layer every DEFXN page may load). Class prefix: .mx-
   Built to the ten reference sheets: card shells, icons, navigation, badges, inputs, action buttons, choices,
   floating components, feedback, system pieces. The site's 3D portal is the model: light grey chamfered plates with a
   light bevel on the top and left edges and a darker rail under them, dark inset wells, small lit strips, round hubs
   made of ring blocks around a dark core, thin dark outlines, flat cel faces.

   Colour: theme roles only (owner ruling 2026-11-13). Every colour below is a mix of SDK roles read as hsl(var(--role)).
   No colour is written as a number. The sheets draw the light in mint; here the light is --primary, so a theme that
   sets mint as its base draws the sheets exactly, and every other theme draws its own base.
   Type: var(--font-display), var(--font-sans), var(--font-mono); sizes only var(--fs-*). Space: var(--sp-*) only.
   Pointer (design laws 84-87): hover, press and focus change light only. Nothing moves under the pointer.

   HOW IT IS BUILT. Twelve primitives are defined once (PRIMITIVES below). A component never draws a chamfer, a bevel,
   a rail, a strip or a ring itself. It joins a primitive's selector list and sets the primitive's numbers
   (--mx-cut, --mx-frame, --mx-rail-h, --mx-strip, --mx-face, --mx-arc-turn ...). The chamfer is CSS corner-shape:
   bevel on border-radius, so outlines, bevels, rails and the focus ring all follow the cut. A browser without
   corner-shape gets the same cut from one clip-path polygon (its rails and focus ring are then clipped). */

/* ------------------------------------------------------------------------------------------------------------------
   0. Registered numbers. Not inherited, so a component's cut or lift never leaks into the parts inside it.
   ------------------------------------------------------------------------------------------------------------------ */
@property --mx-cut { syntax: '<length-percentage>'; inherits: false; initial-value: 0px; }
@property --mx-lift { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --mx-rail-h { syntax: '<length>'; inherits: false; initial-value: 4px; }
@property --mx-ring { syntax: '*'; inherits: false; }
@property --mx-under { syntax: '*'; inherits: false; }

/* ------------------------------------------------------------------------------------------------------------------
   1. TOKENS: the mech colour roles, each a mix of SDK roles. Recomputed wherever a theme is set, and on every part:
   a custom property resolves its var() where it is declared, so a mix declared only on :root keeps the root's roles,
   and a palette set on an ancestor (defxn.com's world pages set --primary on .auth-world and #scene:has(...)) would
   never reach the part. Declared on the part, each mix reads the roles the part inherits.
   ------------------------------------------------------------------------------------------------------------------ */
:where(:root, [data-theme], [data-dx-theme], [class^="mx-"], [class*=" mx-"]) {
  /* plate: the light grey face, its bevel highlight and its shaded side */
  --mx-plate: color-mix(in oklab, hsl(var(--text-strong)) 74%, hsl(var(--surface)));
  --mx-plate-hi: color-mix(in oklab, hsl(var(--text-strong)) 92%, hsl(var(--surface)));
  --mx-plate-lo: color-mix(in oklab, hsl(var(--text-strong)) 52%, hsl(var(--surface)));
  /* rail: the darker base under every plate; well: the dark inset */
  --mx-rail: color-mix(in oklab, hsl(var(--text-muted)) 42%, hsl(var(--nested)));
  --mx-rail-hi: color-mix(in oklab, hsl(var(--text-muted)) 58%, hsl(var(--nested)));
  --mx-well: color-mix(in oklab, hsl(var(--canvas)) 62%, hsl(var(--surface)));
  --mx-well-edge: color-mix(in oklab, hsl(var(--text-muted)) 30%, hsl(var(--nested)));
  /* line: the thin dark outline of every part */
  --mx-line: color-mix(in oklab, hsl(var(--canvas)) 80%, hsl(var(--text-inverse)));
  /* ink: text on a plate; text on a well is the page's own text */
  --mx-ink: hsl(var(--text-inverse));
  /* light: the strips, arcs and lit states (base role and its tone ladder, laws 71-77) */
  --mx-light: hsl(var(--primary));
  --mx-light-hi: color-mix(in oklab, hsl(var(--primary)) 70%, hsl(var(--text-strong)));
  --mx-light-dim: color-mix(in oklab, hsl(var(--primary)) 45%, hsl(var(--nested)));
  --mx-light-ink: hsl(var(--primary-ink, var(--text-inverse)));
  /* the complement, spent once per view on the dominant action (law 73) */
  --mx-complement: hsl(var(--secondary));
  /* masks read alpha only; any opaque role serves */
  --mx-opaque: hsl(var(--text-strong));
  /* the two trapezoids every strip and tab is cut from */
  --mx-trap-up: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  --mx-trap-down: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

/* ------------------------------------------------------------------------------------------------------------------
   2. PRIMITIVES
   P1 chamfer   every .mx- part: border-radius from --mx-cut, corner-shape bevel. One rule, one number.
   P2 plate     light face, top/left bevel, outline, base rail (--mx-rail-h). Face from --mx-face, lit by --mx-lift.
   P3 well      dark inset with an edge line and a top shadow.
   P4 frame     a plate drawn as a thick border around a well: light top/left, plate right, rail bottom.
   P5 strip     a lit trapezoid on a frame or plate: ::after at the bottom, ::before at the top (the tab).
   P6 hub       round ring of blocks (repeating conic) + arc band (::before) + dark core (::after).
   P7 ring      a segmented ring with a hollow middle (spinner, refresh), cut by a radial mask.
   P8 glyph     a currentColor shape cut by an SVG mask; each glyph is one --mx-glyph url.
   P9 seam      a 1px line in the line colour between joined parts.
   P10 light    hover, press and focus: light only (--mx-lift, --mx-strip-lift, the focus ring).
   P11 muted    disabled: grey and quiet.
   P12 type     display, sans and mono labels on the one scale.
   ------------------------------------------------------------------------------------------------------------------ */

/* P1 chamfer */
:where([class^="mx-"], [class*=" mx-"]) {
  box-sizing: border-box;
  border-radius: var(--mx-cut);
  corner-shape: bevel;
}
@supports not (corner-shape: bevel) {
  :where([class^="mx-"], [class*=" mx-"]) {
    border-radius: 0;
    clip-path: polygon(var(--mx-cut) 0, calc(100% - var(--mx-cut)) 0, 100% var(--mx-cut), 100% calc(100% - var(--mx-cut)),
      calc(100% - var(--mx-cut)) 100%, var(--mx-cut) 100%, 0 calc(100% - var(--mx-cut)), 0 var(--mx-cut));
  }
}

/* P2 plate */
:where(.mx-plate, .mx-key, .mx-tab, .mx-rail-item, .mx-tree-row, .mx-crumb, .mx-page, .mx-jump-link, .mx-menu-trigger,
  .mx-anchor, .mx-return-chip, .mx-notch, .mx-version, .mx-filter, .mx-keycap, .mx-latch, .mx-selector__seg,
  .mx-panel-rail, .mx-accordion > summary, .mx-action-footer, .mx-drag-handle, .mx-scroll-thumb, .mx-divider__plate,
  .mx-labeled-divider__plate, .mx-chip-tag, .mx-corner-cap, .mx-resize-grip) {
  --mx-face: var(--mx-plate);
  position: relative;
  background: color-mix(in oklab, var(--mx-face), var(--mx-lift-to, var(--mx-plate-hi)) var(--mx-lift));
  color: var(--mx-ink);
  border: 0;
  box-shadow:
    var(--mx-ring, 0 0 transparent),
    inset 2px 2px 0 color-mix(in oklab, var(--mx-plate-hi), transparent 20%),
    inset -2px -2px 0 color-mix(in oklab, var(--mx-plate-lo), transparent 30%),
    0 0 0 1px var(--mx-line),
    0 var(--mx-rail-h) 0 0 var(--mx-rail),
    0 var(--mx-rail-h) 0 1px var(--mx-line),
    var(--mx-under, 0 0 transparent);
}

/* P3 well */
:where(.mx-well, .mx-card__split > *, .mx-field__key, .mx-pop__head, .mx-menu-trigger__well, .mx-lozenge__label,
  .mx-skeleton-media__well) {
  background: var(--mx-well);
  color: hsl(var(--text));
  box-shadow: inset 0 0 0 1px var(--mx-line), inset 0 3px 0 color-mix(in oklab, var(--mx-line), transparent 40%);
}

/* P4 frame */
:where(.mx-frame, .mx-card, .mx-tile, .mx-field, .mx-pop, .mx-tooltip, .mx-menu, .mx-listbox, .mx-dialog, .mx-chip,
  .mx-lozenge, .mx-toast, .mx-callout, .mx-valid, .mx-key--inset, .mx-inset-highlight, .mx-progress-shell, .mx-stats) {
  --mx-frame: 7px;
  --mx-band: calc(var(--mx-frame) + 4px);
  position: relative;
  background: var(--mx-well);
  color: hsl(var(--text));
  border-style: solid;
  border-width: var(--mx-frame) var(--mx-frame) var(--mx-band);
  border-color: var(--mx-plate-hi) var(--mx-plate) var(--mx-rail) var(--mx-plate-hi);
  box-shadow:
    var(--mx-ring, 0 0 transparent),
    inset 0 0 0 1px var(--mx-line),
    inset 0 3px 0 color-mix(in oklab, var(--mx-line), transparent 40%),
    0 0 0 1px var(--mx-line),
    var(--mx-under, 0 0 transparent);
}

/* P5 strip: the bottom light (::after) and the top tab (::before) */
:where(.mx-card, .mx-tile, .mx-field, .mx-pop, .mx-tooltip, .mx-menu, .mx-listbox, .mx-dialog, .mx-key, .mx-tab,
  .mx-panel-rail, .mx-version, .mx-keycap, .mx-skeleton-media, .mx-toast)::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: calc(var(--mx-band, var(--mx-rail-h)) * -1);
  inline-size: var(--mx-strip-w, 32%);
  block-size: var(--mx-strip-h, calc(var(--mx-band, var(--mx-rail-h)) - 2px));
  background: color-mix(in oklab, var(--mx-strip, var(--mx-light)), hsl(var(--text-strong)) var(--mx-strip-lift, 0%));
  clip-path: var(--mx-trap-up);
  pointer-events: none;
}
:where(.mx-card, .mx-tile, .mx-pop, .mx-menu, .mx-listbox, .mx-dialog, .mx-skeleton-media, .mx-tooltip)::before {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  top: calc(var(--mx-frame) * -1);
  inline-size: var(--mx-tab-w, 30%);
  block-size: calc(var(--mx-frame) + 4px);
  background: var(--mx-tab, var(--mx-plate-lo));
  box-shadow: inset 0 -1px 0 var(--mx-line);
  clip-path: var(--mx-trap-down);
  pointer-events: none;
}

/* P6 hub */
:where(.mx-hub, .mx-count, .mx-status-dot, .mx-seal, .mx-avatar, .mx-radio) {
  --mx-hub: 58px;
  --mx-arc: var(--mx-light);
  --mx-arc-turn: 0deg;
  --mx-core: var(--mx-well);
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  inline-size: var(--mx-hub);
  block-size: var(--mx-hub);
  padding: 0;
  border: 0;
  border-radius: 50%;
  corner-shape: round;
  clip-path: none;
  color: hsl(var(--text-strong));
  background: repeating-conic-gradient(from -22.5deg,
    color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift)) 0 41deg, var(--mx-line) 41deg 45deg,
    var(--mx-plate-lo) 45deg 86deg, var(--mx-line) 86deg 90deg);
  box-shadow: 0 0 0 1px var(--mx-line), 0 var(--sp-1) 0 1px var(--mx-line), var(--mx-ring, 0 0 transparent);
}
:where(.mx-hub, .mx-count, .mx-status-dot, .mx-seal, .mx-avatar, .mx-radio)::before,
:where(.mx-hub, .mx-count, .mx-status-dot, .mx-seal, .mx-avatar, .mx-radio)::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  corner-shape: round;
  pointer-events: none;
}
:where(.mx-hub, .mx-count, .mx-status-dot, .mx-seal, .mx-avatar, .mx-radio)::before {
  inset: 15%;
  background: conic-gradient(from calc(-28deg + var(--mx-arc-turn)),
    var(--mx-arc) 0 56deg, var(--mx-rail) 56deg 180deg, var(--mx-arc) 180deg 236deg, var(--mx-rail) 236deg);
  box-shadow: 0 0 0 1px var(--mx-line);
}
:where(.mx-hub, .mx-count, .mx-status-dot, .mx-seal, .mx-avatar, .mx-radio)::after {
  inset: 25%;
  background: var(--mx-core);
  box-shadow: 0 0 0 1px var(--mx-line), inset 0 2px 0 color-mix(in oklab, var(--mx-line), transparent 30%);
}

/* P7 ring: a segmented ring with a hollow middle */
:where(.mx-ring, .mx-spinner, .mx-refresh) {
  --mx-ring-size: 58px;
  --mx-ring-segs: var(--mx-plate) 0 40deg, var(--mx-line) 40deg 45deg, var(--mx-plate-lo) 45deg 85deg, var(--mx-line) 85deg 90deg;
  display: inline-block;
  inline-size: var(--mx-ring-size);
  block-size: var(--mx-ring-size);
  border-radius: 50%;
  corner-shape: round;
  background: repeating-conic-gradient(from 0deg, var(--mx-ring-segs));
  mask: radial-gradient(closest-side, transparent 66%, var(--mx-opaque) 67% 98%, transparent 99%);
}

/* P8 glyph */
.mx-glyph {
  display: inline-block;
  flex: none;
  inline-size: var(--mx-glyph-size, 18px);
  block-size: var(--mx-glyph-size, 18px);
  background: currentColor;
  mask: var(--mx-glyph) center / contain no-repeat;
}
.mx-glyph--search { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><path d='M15.5 15.5 21 21'/></svg>"); }
.mx-glyph--add { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='square'><path d='M12 4v16M4 12h16'/></svg>"); }
.mx-glyph--minus { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='square'><path d='M5 12h14'/></svg>"); }
.mx-glyph--close { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='square'><path d='M5 5l14 14M19 5 5 19'/></svg>"); }
.mx-glyph--copy { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M8 7h11v15H8z'/><path d='M5 3h10v2H7v13H5z'/></svg>"); }
.mx-glyph--link { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round'><path d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/><path d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/></svg>"); }
.mx-glyph--unlink { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round'><path d='M15 8.5l1.5-1.5a3.5 3.5 0 0 1 5 5L20 13.5M9 15.5 7.5 17a3.5 3.5 0 0 1-5-5L4 10.5M14.5 9.5l-5 5'/></svg>"); }
.mx-glyph--lock { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M5 11h14v10H5zM11 14v4h2v-4z'/><path d='M8 11V7a4 4 0 0 1 8 0v4' fill='none' stroke='currentColor' stroke-width='2.4'/></svg>"); }
.mx-glyph--unlock { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M5 11h14v10H5zM11 14v4h2v-4z'/><path d='M8 11V7a4 4 0 0 1 7.6-1.8' fill='none' stroke='currentColor' stroke-width='2.4'/></svg>"); }
.mx-glyph--upload { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linejoin='round'><path d='M12 15V4M7 9l5-5 5 5M4 15v5h16v-5'/></svg>"); }
.mx-glyph--download { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linejoin='round'><path d='M12 4v11M7 10l5 5 5-5M4 15v5h16v-5'/></svg>"); }
.mx-glyph--eye { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12zm11 4a4 4 0 1 0 0-8 4 4 0 0 0 0 8z'/><circle cx='12' cy='12' r='2' fill='currentColor'/></svg>"); }
.mx-glyph--settings { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M10 2h4l.6 3 2.4 1.4 2.9-1 2 3.4-2.3 2v2.4l2.3 2-2 3.4-2.9-1L14.6 19 14 22h-4l-.6-3L7 17.6l-2.9 1-2-3.4 2.3-2v-2.4l-2.3-2 2-3.4 2.9 1L9.4 5zm2 13.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/></svg>"); }
.mx-glyph--chevron-left { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M15 5l-7 7 7 7'/></svg>"); }
.mx-glyph--chevron-right { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5l7 7-7 7'/></svg>"); }
.mx-glyph--chevron-down { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 9l7 7 7-7'/></svg>"); }
.mx-glyph--triangle-down { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M4 7h16l-8 11z'/></svg>"); }
.mx-glyph--triangle-left { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M17 4v16L5 12z'/></svg>"); }
.mx-glyph--play { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M7 4v16l13-8z'/></svg>"); }
.mx-glyph--check { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3.4' stroke-linecap='square'><path d='M4 12.5l5 5L20 6'/></svg>"); }
.mx-glyph--arrow-up-right { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='square'><path d='M6 18 17 7M9 6h9v9'/></svg>"); }
.mx-glyph--undo { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='M9 14 4 9l5-5'/><path d='M4 9h10a6 6 0 0 1 0 12h-3'/></svg>"); }
.mx-glyph--menu { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M3 4h18v4H3zM3 10h18v4H3zM3 16h18v4H3z'/></svg>"); }
.mx-glyph--user { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><circle cx='12' cy='8' r='4.5'/><path d='M3 21a9 8 0 0 1 18 0z'/></svg>"); }
.mx-glyph--filter { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M3 4h18l-7 8v7l-4 2v-9z'/></svg>"); }
.mx-glyph--folder { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linejoin='round'><path d='M3 5h6l2 2h10v12H3z'/></svg>"); }
.mx-glyph--clip { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round'><path d='M20 11.5 12 19.5a5 5 0 0 1-7-7l8.5-8.5a3.5 3.5 0 0 1 5 5L10 17.5a2 2 0 0 1-3-3l7.5-7.5'/></svg>"); }
.mx-glyph--clock { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 3'/></svg>"); }
.mx-glyph--calendar { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4M9 15h.01M15 15h.01'/></svg>"); }
.mx-glyph--image { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><circle cx='17' cy='7' r='2.5'/><path d='M2 20l7-10 5 6 3-3 5 7z'/></svg>"); }
.mx-glyph--help { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round'><circle cx='12' cy='12' r='9.5'/><path d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6V14M12 17.5v.01'/></svg>"); }
.mx-glyph--pencil { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linejoin='round'><path d='M4 20h4L19 9l-4-4L4 16zM13 7l4 4'/></svg>"); }
.mx-glyph--trash { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linejoin='round'><path d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6'/></svg>"); }
.mx-glyph--file { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linejoin='round'><path d='M6 3h8l4 4v14H6z'/><path d='M14 3v4h4'/></svg>"); }
.mx-glyph--star { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linejoin='round'><path d='M12 3l2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.8 6.6 19.7l1.1-6.1L3.2 9.4l6.1-.8z'/></svg>"); }
.mx-glyph--more { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><circle cx='5' cy='12' r='2'/><circle cx='12' cy='12' r='2'/><circle cx='19' cy='12' r='2'/></svg>"); }
.mx-glyph--grip { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M6 5h3v14H6zM10.5 5h3v14h-3zM15 5h3v14h-3z'/></svg>"); }
.mx-glyph--dots { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><circle cx='5' cy='8' r='2'/><circle cx='12' cy='8' r='2'/><circle cx='19' cy='8' r='2'/><circle cx='5' cy='16' r='2'/><circle cx='12' cy='16' r='2'/><circle cx='19' cy='16' r='2'/></svg>"); }
.mx-glyph--refresh { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M20 11a8 8 0 0 0-14.5-4.5L4 8M4 3v5h5M4 13a8 8 0 0 0 14.5 4.5L20 16M20 21v-5h-5'/></svg>"); }
.mx-glyph--warning { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M10 2h4l-.6 14h-2.8z'/><path d='M10 18.5h4V22h-4z'/></svg>"); }
.mx-glyph--info { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M10 2h4v4h-4zM10 9h4v13h-4z'/></svg>"); }
.mx-glyph--share { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.6' stroke-linejoin='round'><path d='M12 14V3M8 7l4-4 4 4M5 11v10h14V11'/></svg>"); }
.mx-glyph--activity { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12h4l3-8 5 16 3-8h5'/></svg>"); }
.mx-glyph--machine { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M3 3h18v8H3zM6 6v2h3V6zM12 6v2h6V6zM3 13h18v8H3zM6 16v2h3v-2zM12 16v2h6v-2z'/></svg>"); }
.mx-glyph--package { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linejoin='round'><path d='M3 7l9-4 9 4v10l-9 4-9-4z'/><path d='M3 7l9 4 9-4M12 11v10M7.5 5l9 4'/></svg>"); }
.mx-glyph--alert { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' fill-rule='evenodd' d='M12 2 23 21H1zM11 9v6h2V9zM11 17v2h2v-2z'/></svg>"); }
.mx-glyph--stack { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4'><rect x='4' y='4' width='16' height='6' rx='1'/><rect x='4' y='14' width='16' height='6' rx='1'/></svg>"); }

/* P9 seam: a line between joined parts */
:where(.mx-seam) { inline-size: 1px; align-self: stretch; background: var(--mx-line); box-shadow: 1px 0 0 color-mix(in oklab, var(--mx-plate-hi), transparent 60%); }

/* P10 light: hover, press, focus. Light only; nothing moves. */
:where([class^="mx-"], [class*=" mx-"]):is(button, a[href], summary, label, [role="tab"], [role="option"], [role="menuitem"]):is(:hover, :focus-visible) {
  --mx-lift: 34%;
  --mx-strip-lift: 30%;
}
.mx-accordion > summary:hover { --mx-lift: 34%; --mx-strip-lift: 30%; }
:where([class^="mx-"], [class*=" mx-"]):is(button, a[href], summary, [role="tab"], [role="option"], [role="menuitem"]):active {
  --mx-lift: 40%;
  --mx-lift-to: var(--mx-plate-lo);
}
:where([class^="mx-"], [class*=" mx-"]):is(button, a[href], summary, input, select, textarea, [tabindex], [role="tab"]):focus-visible,
.mx-accordion > summary:focus-visible,
.mx-focus {
  outline: 2px solid var(--mx-light);
  outline-offset: 4px;
}
.mx-field:focus-within { outline: 2px solid var(--mx-light); outline-offset: 4px; --mx-strip-lift: 30%; }
:where([class^="mx-"], [class*=" mx-"]) :where(input, select, textarea):focus-visible { outline: none; }
:where([class^="mx-"], [class*=" mx-"]) { transition: background-color .14s ease, box-shadow .14s ease, color .14s ease, --mx-lift .14s ease; }
:where(button, a)[class*="mx-"] { cursor: pointer; text-decoration: none; }

/* P11 muted */
:where([class^="mx-"], [class*=" mx-"]):is(:disabled, [aria-disabled="true"]) {
  --mx-light: var(--mx-plate-lo);
  --mx-arc: var(--mx-rail-hi);
  filter: grayscale(1);
  opacity: .62;
  cursor: not-allowed;
}

/* P12 type */
:where([class^="mx-"], [class*=" mx-"]) { font-family: var(--font-sans); font-size: var(--fs-tertiary); line-height: 1.3; }
.mx-label { font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mx-title { font-family: var(--font-display); font-size: var(--fs-secondary); letter-spacing: .02em; color: hsl(var(--text-strong)); margin: 0; }
.mx-text { font-family: var(--font-sans); font-size: var(--fs-tertiary); color: hsl(var(--text-muted)); margin: 0; }
.mx-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ==================================================================================================================
   SHEET 1. CARD SHELLS (12)
   ================================================================================================================== */
.mx-card { --mx-cut: 18px; display: block; padding: var(--sp-5); min-block-size: 120px; }
/* inset well card: a second ring inside the frame, a lit top tab */
.mx-card--inset { --mx-tab: var(--mx-light); --mx-strip: var(--mx-rail-hi); --mx-ring: inset 0 0 0 var(--sp-3) var(--mx-rail), inset 0 0 0 calc(var(--sp-3) + 1px) var(--mx-line); padding: var(--sp-6); }
/* stacked card: two plates behind, offset up and right */
.mx-card--stacked { --mx-under: 7px -7px 0 0 var(--mx-plate-lo), 7px -7px 0 1px var(--mx-line), 14px -14px 0 0 var(--mx-rail-hi), 14px -14px 0 1px var(--mx-line); }
/* selected card: a lit ring inside the frame */
.mx-card--selected, .mx-card[aria-selected="true"], .mx-card[aria-checked="true"], .mx-card[aria-pressed="true"], .mx-card:has(> input:checked) { --mx-ring: inset 0 0 0 var(--sp-1) var(--mx-light), inset 0 0 0 calc(var(--sp-1) + 1px) var(--mx-line); --mx-tab: var(--mx-light); }
/* expandable card: the top tab is a real button */
.mx-card__toggle {
  position: absolute; z-index: 1; left: 50%; translate: -50% 0; top: calc(var(--mx-frame) * -1 - 7px);
  --mx-cut: 7px; display: grid; place-items: center; inline-size: 58px; block-size: 22px; padding: 0;
  border: 0; background: color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift)); color: var(--mx-light);
  box-shadow: 0 0 0 1px var(--mx-line), inset 0 -3px 0 var(--mx-plate-lo);
}
.mx-card__toggle[aria-expanded="true"] .mx-glyph { rotate: 180deg; }
.mx-card--expandable::before { display: none; }
/* image frame card: lit corner brackets drawn in the well */
.mx-card--image {
  --mx-tab: var(--mx-light);
  --mx-b: var(--mx-light);
  background:
    linear-gradient(var(--mx-b), var(--mx-b)) left 14px top 14px / 18px 3px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) left 14px top 14px / 3px 18px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) right 14px top 14px / 18px 3px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) right 14px top 14px / 3px 18px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) left 14px bottom 14px / 18px 3px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) left 14px bottom 14px / 3px 18px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) right 14px bottom 14px / 18px 3px no-repeat,
    linear-gradient(var(--mx-b), var(--mx-b)) right 14px bottom 14px / 3px 18px no-repeat,
    var(--mx-well);
  --mx-ring: inset 0 0 0 var(--sp-2) var(--mx-rail), inset 0 0 0 calc(var(--sp-2) + 1px) var(--mx-line);
}
.mx-card--image > img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
/* split layout card: the frame's plate shows between two wells */
.mx-card--split { --mx-tab: var(--mx-light); padding: 0; background: var(--mx-plate); }
.mx-card__split { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-2); block-size: 100%; min-block-size: inherit; }
.mx-card__split > * { --mx-cut: 7px; padding: var(--sp-4); }
/* removable card: a close key on the top right corner */
.mx-card__remove {
  position: absolute; z-index: 1; top: calc(var(--mx-frame) * -1 - 4px); right: calc(var(--mx-frame) * -1 - 4px);
  --mx-cut: 7px; display: grid; place-items: center; inline-size: 29px; block-size: 29px; padding: 0; border: 0;
  background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: hsl(var(--text-strong));
  box-shadow: 0 0 0 1px var(--mx-line), inset 1px 1px 0 var(--mx-rail-hi);
}
/* draggable card: the top tab carries a grip */
.mx-card--draggable::before { display: none; }
.mx-card__grip {
  position: absolute; z-index: 1; left: 50%; translate: -50% 0; top: calc(var(--mx-frame) * -1 - 11px);
  --mx-cut: 11px; display: grid; place-items: center; inline-size: 76px; block-size: 29px; padding: 0; border: 0;
  background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: var(--mx-light); cursor: grab;
  box-shadow: 0 0 0 1px var(--mx-line), inset 0 2px 0 var(--mx-rail-hi);
}
/* compact icon tile: square, lit tab and strip, lit side inserts */
.mx-tile {
  --mx-cut: 18px; --mx-tab: var(--mx-light); --mx-strip-w: 38%; --mx-tab-w: 38%;
  display: inline-grid; place-items: center; inline-size: 123px; aspect-ratio: 1; color: hsl(var(--text-strong));
  background:
    linear-gradient(var(--mx-light), var(--mx-light)) left 4px center / 4px 36% no-repeat,
    linear-gradient(var(--mx-light), var(--mx-light)) right 4px center / 4px 36% no-repeat,
    var(--mx-well);
}
.mx-tile .mx-glyph { --mx-glyph-size: 29px; }
/* folded file card: a large cut and a folded corner on the top right */
.mx-card--file { border-top-right-radius: 29px; }
.mx-card--file::before {
  left: auto; right: calc(var(--mx-frame) * -1); translate: none; top: calc(var(--mx-frame) * -1);
  inline-size: 29px; block-size: 29px; background: var(--mx-plate-hi); clip-path: polygon(0 0, 100% 100%, 0 100%);
  box-shadow: none;
}
/* card with action footer: a rail band holding the actions */
.mx-card--footer { padding-block-end: 0; display: flex; flex-direction: column; }
.mx-card--footer > :not(.mx-card__footer) { flex: 1; }
.mx-card__footer {
  display: flex; gap: var(--sp-3); justify-content: flex-end; margin-inline: calc(var(--sp-5) * -1);
  margin-block-start: var(--sp-5); padding: var(--sp-3); background: var(--mx-rail);
  box-shadow: inset 0 1px 0 var(--mx-line), inset 0 2px 0 var(--mx-rail-hi);
}

/* ==================================================================================================================
   SHEET 2. ICONS (12): every icon is a .mx-hub button holding one .mx-glyph
   ================================================================================================================== */
.mx-hub { cursor: pointer; }
.mx-hub > .mx-glyph { --mx-glyph-size: 22px; color: hsl(var(--text-strong)); }
.mx-hub--lg { --mx-hub: 76px; }
.mx-hub--lg > .mx-glyph { --mx-glyph-size: 29px; }
.mx-hub[aria-pressed="true"] { --mx-arc: var(--mx-light-hi); --mx-core: var(--mx-light-dim); }
/* glyphs whose sheet colours a part in the light */
.mx-hub > .mx-glyph--eye, .mx-hub > .mx-glyph--settings, .mx-hub > .mx-glyph--play { color: var(--mx-light); }

/* ==================================================================================================================
   SHEET 3. NAVIGATION (12)
   ================================================================================================================== */
/* tab: a plate with a domed top and sloped sides, a lit inset when selected */
.mx-tab {
  --mx-cut: 18px; --mx-rail-h: 7px; --mx-strip-h: 7px; --mx-strip-w: 46%;
  display: inline-grid; place-items: center; min-inline-size: 123px; padding: var(--sp-5) var(--sp-6) var(--sp-4);
  border-radius: 29px 29px 0 0 / 18px 18px 0 0; font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.mx-tab::after { bottom: auto; top: var(--sp-3); clip-path: var(--mx-trap-down); background: var(--mx-rail); box-shadow: none; }
.mx-tab:is([aria-selected="true"], [aria-pressed="true"], .is-on)::after { background: color-mix(in oklab, var(--mx-light), hsl(var(--text-strong)) var(--mx-strip-lift, 0%)); }
/* small tab: a 29 px tab with the 11 px label. Its strip is 3 px on the top edge, clear of the label (AUDIT-13: the 7 px strip of the large
   tab lay on the word) */
.mx-tab--sm { --mx-cut: 11px; --mx-rail-h: 4px; --mx-strip-h: 3px; min-inline-size: 0; min-block-size: 29px; padding: var(--sp-3) var(--sp-5) var(--sp-2); font-size: var(--fs-tertiary); border-radius: 18px 18px 0 0 / 11px 11px 0 0; }
.mx-tab--sm::after { top: 0; }
/* segmented tabs: a tablist of joined tabs; an unselected tab sits in the rail */
.mx-tabs { display: inline-flex; gap: 0; }
.mx-tabs > .mx-tab { border-radius: 0; }
.mx-tabs > .mx-tab:first-child { border-top-left-radius: 29px 18px; }
.mx-tabs > .mx-tab:last-child { border-top-right-radius: 29px 18px; }
/* a closed tab takes the strong ink on the rail face: 5.5 against 1, as the inset keys measure (AUDIT-14 fix 4: --text read 3.8 against 1) */
.mx-tabs > .mx-tab[aria-selected="false"] { --mx-face: var(--mx-rail); --mx-lift-to: var(--mx-rail-hi); color: hsl(var(--text-strong)); }
/* rail item: a side-rail row with a dark cap and a lit square when current */
.mx-rail-item {
  --mx-cut: 11px; display: flex; align-items: center; gap: var(--sp-4); min-inline-size: 199px;
  padding: var(--sp-4) var(--sp-5) var(--sp-4) var(--sp-4); border-left: 11px solid var(--mx-rail);
  font-weight: 600;
}
.mx-rail-item::before { content: ""; inline-size: 18px; block-size: 18px; border-radius: 4px; corner-shape: bevel; background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line); }
.mx-rail-item[aria-current]::before { background: var(--mx-light); }
/* nested tree row: rows joined by a connector line */
.mx-tree, .mx-tree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.mx-tree ul { padding-inline-start: var(--sp-6); position: relative; }
.mx-tree ul::before { content: ""; position: absolute; left: var(--sp-4); top: calc(var(--sp-3) * -1); bottom: var(--sp-5); inline-size: var(--sp-5); border: solid var(--mx-plate-lo); border-width: 0 0 3px 3px; }
.mx-tree-row { --mx-cut: 11px; display: flex; align-items: center; gap: var(--sp-4); inline-size: 100%; padding: var(--sp-3) var(--sp-5); border-left: 7px solid var(--mx-rail); font-weight: 600; text-align: start; }
.mx-tree-row[aria-expanded="false"] .mx-glyph { rotate: -90deg; }
.mx-tree-row[aria-current]::after { content: ""; order: -1; inline-size: 11px; block-size: 11px; background: var(--mx-light); box-shadow: 0 0 0 1px var(--mx-line); }
/* breadcrumb: arrow plates, the current one lit */
.mx-breadcrumb { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; filter: drop-shadow(0 1px 0 var(--mx-line)) drop-shadow(0 -1px 0 var(--mx-line)); }
.mx-crumb {
  --mx-rail-h: 0px; display: block; padding: var(--sp-3) var(--sp-6) var(--sp-3) var(--sp-5); margin-inline-end: calc(var(--sp-3) * -1);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
  border-bottom: 4px solid var(--mx-rail); font-weight: 600;
}
li:first-child > .mx-crumb { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.mx-crumb[aria-current] { --mx-face: var(--mx-light); color: var(--mx-light-ink); border-bottom-color: var(--mx-light-dim); }
/* previous-next: back and next keys with sloped outer ends */
.mx-prevnext { display: inline-flex; gap: var(--sp-5); }
/* pagination: a row of small keys; the current page lit */
.mx-pagination { display: inline-flex; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.mx-page {
  --mx-cut: 7px; display: grid; place-items: center; min-inline-size: 36px; block-size: 36px; padding: 0 var(--sp-3);
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-secondary);
}
.mx-page[aria-current="page"] { --mx-face: var(--mx-light); color: var(--mx-light-ink); }
.mx-page--end { --mx-cut: 14px; }
/* rail page: a page key on the rail face with strong ink, for a long row of page links (a topic row), so many light plates never outweigh
   the view's one key. The current page is still lit (the rule above outweighs this one) */
.mx-page--rail { --mx-face: var(--mx-rail); --mx-lift-to: var(--mx-rail-hi); color: hsl(var(--text-strong)); }
/* small page: a 29 px page key with the 11 px mono label, the size a 29 px row holds */
.mx-page--sm { --mx-rail-h: 4px; min-inline-size: 29px; block-size: 29px; padding: 0 var(--sp-4); font-size: var(--fs-tertiary); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
/* a small end page keeps the small cut, as the small inset key does: 14 px on 29 px meets at a point */
.mx-page--sm.mx-page--end { --mx-cut: 7px; }
/* jump link: a link plate ending in a lit arrow cap */
.mx-jump-link { --mx-cut: 11px; display: inline-flex; align-items: stretch; min-inline-size: 199px; font-weight: 600; }
.mx-jump-link > :first-child { flex: 1; padding: var(--sp-4) var(--sp-5); }
.mx-jump-link__cap {
  display: grid; place-items: center; padding: 0 var(--sp-4); background: var(--mx-light); color: var(--mx-light-ink);
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%); padding-inline-start: var(--sp-5);
}
/* step marker: rings joined by lines; done and current are lit */
.mx-steps { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.mx-steps > li { display: flex; align-items: center; }
.mx-steps > li + li::before { content: ""; inline-size: 36px; block-size: 4px; background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line); }
.mx-steps > li[data-done] + li::before, .mx-steps > li[data-done]::before { background: var(--mx-light); }
.mx-step {
  inline-size: 36px; block-size: 36px; border-radius: 50%; corner-shape: round; padding: 0; border: 4px solid var(--mx-plate);
  background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line); color: transparent; overflow: hidden;
}
[data-done] > .mx-step { background: var(--mx-plate-lo); }
.mx-step[aria-current="step"] { background: var(--mx-light); }
/* stepper: the step marker for a list whose steps carry words (a title, a line). Each item is a marker ring and its words, joined to the
   next by a rail post; a done post is lit. State on the item: data-state="done" | "current" | "pending" (or data-done, or the ring's
   aria-current="step"). The ring shows its number here */
.mx-stepper { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.mx-stepper__item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--sp-4); padding-block-end: var(--sp-5); }
.mx-stepper__item:last-child { padding-block-end: 0; }
.mx-stepper__item:not(:last-child)::before {
  content: ""; display: block; position: absolute; left: 16px; top: 40px; bottom: var(--sp-2); inline-size: 4px;
  background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line);
}
.mx-stepper__item:last-child::before { display: none; }
.mx-stepper__item:is([data-state="done"], [data-done])::before { background: var(--mx-light); }
.mx-stepper .mx-step { display: grid; place-items: center; color: hsl(var(--text-strong)); font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; }
.mx-stepper__item:is([data-state="done"], [data-done]) > .mx-step { background: var(--mx-plate-lo); color: var(--mx-ink); }
.mx-stepper__item[data-state="current"] > .mx-step, .mx-stepper .mx-step[aria-current="step"] { background: var(--mx-light); color: var(--mx-light-ink); }
.mx-stepper__item[data-state="pending"] > .mx-step { color: hsl(var(--text-muted)); }
/* numbered stepper: a stepper whose items hold only their words (an ordered list of steps to read, none of them current). Each ring is
   drawn before its words and shows the step's number; the rail posts join them. --mx-step-size sets the ring (36 by default) */
.mx-stepper--numbered { --mx-step-size: 36px; counter-reset: mx-step; }
.mx-stepper--numbered > .mx-stepper__item {
  counter-increment: mx-step; display: block; min-block-size: var(--mx-step-size);
  padding-inline-start: calc(var(--mx-step-size) + var(--sp-4)); padding-block-start: calc((var(--mx-step-size) - 1.3em) / 2);
}
.mx-stepper--numbered > .mx-stepper__item:not(:last-child)::before { left: calc(var(--mx-step-size) / 2 - 2px); top: calc(var(--mx-step-size) + 4px); }
.mx-stepper--numbered > .mx-stepper__item::after {
  content: counter(mx-step); position: absolute; left: 0; top: 0; box-sizing: border-box; display: grid; place-items: center;
  inline-size: var(--mx-step-size); block-size: var(--mx-step-size); border-radius: 50%; corner-shape: round; border: 4px solid var(--mx-plate);
  background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line);
  color: hsl(var(--text-strong)); font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; line-height: 1;
}
/* step bar: the steps of a short flow as a row of labelled segments (a wizard's steps). Each item holds one button (or link): a rail
   segment (.mx-stepbar__seg) over the step's word. A done segment is plate, the current one lit; a step not reached yet is a disabled
   button. State on the item: data-state="done" | "current", or the classes --done and --current */
.mx-stepbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }
.mx-stepbar__item > :is(button, a) {
  display: grid; gap: var(--sp-3); inline-size: 100%; padding: 0; border: 0; background: none; text-align: start; text-decoration: none; cursor: pointer;
  font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase;
  color: hsl(var(--text-muted));
}
.mx-stepbar__item > button:disabled { cursor: default; }
.mx-stepbar__item > :is(button:not(:disabled), a):is(:hover, :focus-visible) { color: hsl(var(--text-strong)); }
.mx-stepbar__seg { display: block; block-size: 7px; border-radius: 2px; corner-shape: bevel; background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line), inset 0 2px 0 var(--mx-line); }
.mx-stepbar__item:is([data-state="done"], .mx-stepbar__item--done) .mx-stepbar__seg { background: var(--mx-plate-lo); }
.mx-stepbar__item:is([data-state="current"], .mx-stepbar__item--current) .mx-stepbar__seg { background: var(--mx-light); }
.mx-stepbar__item:is([data-state="done"], [data-state="current"], .mx-stepbar__item--done, .mx-stepbar__item--current) > :is(button, a) { color: hsl(var(--text-strong)); }
/* menu trigger: a square plate with a dark well and lit bars */
.mx-menu-trigger { --mx-cut: 11px; display: inline-grid; place-items: center; inline-size: 58px; block-size: 58px; padding: var(--sp-2); border-inline: 4px solid var(--mx-rail); }
.mx-menu-trigger__well { --mx-cut: 7px; display: grid; place-items: center; inline-size: 100%; block-size: 100%; color: var(--mx-light); }
.mx-menu-trigger[aria-expanded="true"] .mx-menu-trigger__well { color: var(--mx-light-hi); --mx-lift: 0%; background: var(--mx-light-dim); }
/* section anchor: a bookmark plate with a lit inset */
.mx-anchor {
  --mx-rail-h: 0px; display: inline-flex; justify-content: center; inline-size: 47px; block-size: 58px; padding-block-start: var(--sp-3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); border-left: 3px solid var(--mx-plate-lo); color: transparent; overflow: hidden;
}
.mx-anchor::before { content: ""; inline-size: 60%; block-size: 11px; background: var(--mx-light); box-shadow: 0 0 0 1px var(--mx-line); }
/* return chip: a chip with dark end caps and a back glyph */
.mx-return-chip {
  --mx-cut: 11px; display: inline-flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-5);
  border-inline: 7px solid var(--mx-rail); font-weight: 600;
}

/* ==================================================================================================================
   SHEET 4. BADGES (wheel mechanical assets, 12)
   ================================================================================================================== */
/* count badge: a hub whose core holds a number */
.mx-count { --mx-hub: 76px; --mx-arc-turn: 0deg; font-family: var(--font-display); font-size: var(--fs-secondary); color: var(--mx-light); }
.mx-count--sm { --mx-hub: 47px; font-size: var(--fs-tertiary); }
/* status dot: a small hub whose core is the state */
.mx-status-dot { --mx-hub: 29px; --mx-core: var(--mx-light); --mx-arc: var(--mx-rail); }
/* the state as an attribute, or as a class where a page marks state with classes (--off, --warning, --danger) */
.mx-status-dot:is([data-state="offline"], .mx-status-dot--off) { --mx-core: var(--mx-rail-hi); }
.mx-status-dot:is([data-state="warning"], .mx-status-dot--warning) { --mx-core: hsl(var(--warning)); }
.mx-status-dot:is([data-state="danger"], .mx-status-dot--danger) { --mx-core: hsl(var(--danger)); }
/* confirmed seal: a hub with arcs on the diagonals and a lit check */
.mx-seal { --mx-hub: 76px; --mx-arc-turn: 45deg; color: var(--mx-light); }
.mx-seal::before { background: conic-gradient(from 17deg, var(--mx-arc) 0 56deg, var(--mx-rail) 56deg 90deg, var(--mx-arc) 90deg 146deg, var(--mx-rail) 146deg 180deg, var(--mx-arc) 180deg 236deg, var(--mx-rail) 236deg 270deg, var(--mx-arc) 270deg 326deg, var(--mx-rail) 326deg); }
.mx-seal > .mx-glyph { --mx-glyph-size: 29px; }
/* offline lozenge and role tag: a lozenge plate around a dark label well */
.mx-lozenge {
  --mx-cut: 18px; --mx-frame: 7px; display: inline-grid; place-items: center; padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-mono); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--text-strong));
}
.mx-role-tag {
  background:
    linear-gradient(var(--mx-insert, var(--mx-light)), var(--mx-insert, var(--mx-light))) left center / 4px 50% no-repeat,
    linear-gradient(var(--mx-insert, var(--mx-light)), var(--mx-insert, var(--mx-light))) right center / 4px 50% no-repeat,
    var(--mx-well);
}
/* muted role tag: a state that is not live (built, planned, not yet open) keeps the tag's shape and never wears the light */
.mx-role-tag--muted { --mx-insert: var(--mx-rail-hi); color: hsl(var(--text-muted)); }
/* unread notch: a plate with a lit corner tab */
.mx-notch { --mx-cut: 11px; display: inline-block; inline-size: 47px; block-size: 36px; border-top-left-radius: 18px; }
.mx-notch::after { content: ""; position: absolute; top: -4px; right: -4px; inline-size: 18px; block-size: 14px; background: var(--mx-light); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
/* version tag: a mono label plate with lit side inserts and a rail tab */
.mx-version {
  --mx-cut: 11px; --mx-rail-h: 4px; display: inline-block; padding: var(--sp-2) var(--sp-5); font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-secondary);
  background:
    linear-gradient(var(--mx-light), var(--mx-light)) left 4px center / 7px 4px no-repeat,
    linear-gradient(var(--mx-light), var(--mx-light)) right 4px center / 7px 4px no-repeat,
    color-mix(in oklab, var(--mx-face), var(--mx-plate-hi) var(--mx-lift));
  --mx-strip: var(--mx-rail); --mx-strip-w: 46%;
}
/* removable filter: icon cap, label, remove key */
.mx-filter { --mx-cut: 7px; display: inline-flex; align-items: stretch; padding: 0; font-weight: 600; font-size: var(--fs-secondary); }
.mx-filter > * { display: grid; place-items: center; padding: var(--sp-3) var(--sp-4); }
.mx-filter__icon { border-right: 1px solid var(--mx-line); }
.mx-filter__remove { border: 0; background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: hsl(var(--text-strong)); box-shadow: inset 1px 0 0 var(--mx-line); }
/* keycap: a tall plate key with a lit strip on its base */
.mx-keycap {
  --mx-cut: 7px; --mx-rail-h: 7px; --mx-strip-w: 52%; --mx-strip-h: 4px; --mx-band: 6px;
  display: inline-grid; place-items: center; min-inline-size: 36px; padding: var(--sp-2) var(--sp-3) var(--sp-3);
  font-family: var(--font-display); font-size: var(--fs-tertiary); font-weight: 900; border-bottom: 7px solid var(--mx-rail);
}
.mx-keycap--lg { min-inline-size: 58px; font-size: var(--fs-primary); }
.mx-keycap::after { bottom: 1px; }
/* small keycap: a shortcut inside a 29 px small key. One line in an 18 px box, the 11 px mono label in the key's own ink, a 1 px edge in
   that ink. No rail and no strip, so it fits the key's face and never outweighs the key's label */
.mx-keycap--sm {
  --mx-cut: 4px; --mx-rail-h: 0px;
  min-inline-size: 18px; block-size: 18px; padding: 0 var(--sp-2); border-bottom: 0;
  font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; line-height: 1; letter-spacing: .06em; white-space: nowrap;
  background: transparent; color: inherit; box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor, transparent 45%);
}
.mx-keycap--sm::after { display: none; }
/* shortcut chord: keycaps joined by plus signs */
.mx-chord { display: inline-flex; align-items: center; gap: var(--sp-3); }
.mx-chord__plus { color: var(--mx-light); font-family: var(--font-display); font-size: var(--fs-secondary); }
/* avatar medallion: a hub with arcs on the sides and a person or a picture */
.mx-avatar { --mx-hub: 76px; --mx-arc-turn: 90deg; color: hsl(var(--text-strong)); overflow: visible; }
.mx-avatar > .mx-glyph { --mx-glyph-size: 29px; }
.mx-avatar > img { inline-size: 50%; block-size: 50%; border-radius: 50%; corner-shape: round; object-fit: cover; }
/* avatar group: medallions overlapping in a row */
.mx-avatar-group { display: inline-flex; }
.mx-avatar-group > .mx-avatar { --mx-hub: 58px; }
.mx-avatar-group > .mx-avatar + .mx-avatar { margin-inline-start: calc(var(--sp-5) * -1); }
.mx-avatar-group > .mx-avatar:nth-child(1) { z-index: 3; }
.mx-avatar-group > .mx-avatar:nth-child(2) { z-index: 2; }

/* ==================================================================================================================
   SHEET 5. INPUTS (12): one field shell around a real control
   ================================================================================================================== */
.mx-field {
  --mx-cut: 18px; --mx-frame: 7px; --mx-strip: var(--mx-rail-hi); --mx-strip-w: 46%;
  display: flex; align-items: center; gap: var(--sp-4); min-inline-size: 240px; min-block-size: 58px;
  padding: var(--sp-2) var(--sp-5); border-inline-width: 11px;
  background:
    linear-gradient(var(--mx-light), var(--mx-light)) left 3px center / 4px 50% no-repeat,
    linear-gradient(var(--mx-light), var(--mx-light)) right 3px center / 4px 50% no-repeat,
    var(--mx-well);
  color: hsl(var(--text-strong));
}
.mx-field > input, .mx-field > select, .mx-field > textarea, .mx-field__control {
  flex: 1; min-inline-size: 0; appearance: none; border: 0; background: transparent; color: inherit; padding: var(--sp-2) 0;
  font-family: var(--font-sans); font-size: var(--fs-secondary); caret-color: var(--mx-light);
}
.mx-field ::placeholder { color: hsl(var(--text-faint)); }
.mx-field > .mx-glyph { color: hsl(var(--text-muted)); }
.mx-field > .mx-seam { block-size: 29px; align-self: center; background: hsl(var(--text-faint)); box-shadow: none; }
.mx-field__toggle {
  display: grid; place-items: center; padding: var(--sp-2); border: 0; background: transparent; color: hsl(var(--text-muted)); cursor: pointer;
  border-radius: 4px; corner-shape: bevel;
}
.mx-field__toggle[aria-pressed="true"] { color: var(--mx-light); }
.mx-field__toggle:is(:hover, :focus-visible) { color: hsl(var(--text-strong)); }
/* number stepper: rail keys either side of the number */
.mx-field--stepper { padding-inline: var(--sp-2); }
.mx-field--stepper > input { text-align: center; font-family: var(--font-mono); -moz-appearance: textfield; }
.mx-field--stepper > input::-webkit-inner-spin-button, .mx-field--stepper > input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.mx-field__key {
  --mx-cut: 7px; display: grid; place-items: center; inline-size: 40px; block-size: 40px; padding: 0; border: 0; cursor: pointer;
  background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: hsl(var(--text-strong));
  box-shadow: 0 0 0 1px var(--mx-line), inset 1px 1px 0 var(--mx-rail-hi);
}
.mx-field__key:hover { --mx-lift: 40%; }
/* select (compact) */
.mx-field--select { position: relative; }
.mx-field--select > select { cursor: pointer; padding-inline-end: var(--sp-6); }
.mx-field--select > select option { background: var(--mx-well); color: hsl(var(--text-strong)); }
.mx-field--select > .mx-glyph--chevron-down { position: absolute; right: var(--sp-5); pointer-events: none; color: hsl(var(--text-muted)); }
/* a bare select that is its own field shell: the chevron is two gradient halves in the muted ink, at the well's right end */
select.mx-field {
  appearance: none; cursor: pointer; padding-inline-end: var(--sp-7);
  background:
    linear-gradient(45deg, transparent 50%, hsl(var(--text-muted)) 50%) right calc(var(--sp-5) + 6px) center / 6px 6px no-repeat,
    linear-gradient(135deg, hsl(var(--text-muted)) 50%, transparent 50%) right var(--sp-5) center / 6px 6px no-repeat,
    linear-gradient(var(--mx-light), var(--mx-light)) left 3px center / 4px 50% no-repeat,
    var(--mx-well);
}
select.mx-field option { background: var(--mx-well); color: hsl(var(--text-strong)); }
/* textarea: taller shell, a lit resize mark */
.mx-field--textarea { align-items: stretch; min-block-size: 123px; padding-block: var(--sp-4); }
.mx-field--textarea > textarea { resize: vertical; min-block-size: 76px; }
.mx-field--textarea > textarea::-webkit-resizer { background: linear-gradient(135deg, transparent 45%, var(--mx-light) 45% 55%, transparent 55% 70%, var(--mx-light) 70% 80%, transparent 80%); }
/* tags field: plate chips in the well, then the input */
.mx-field--tags { flex-wrap: wrap; padding-block: var(--sp-3); }
.mx-chip-tag { --mx-cut: 4px; --mx-rail-h: 0px; display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); font-weight: 600; font-size: var(--fs-tertiary); }
.mx-chip-tag > button { display: grid; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.mx-chip-tag > button .mx-glyph { --mx-glyph-size: 11px; }
/* date and time fields: the native picker's own icon gives way to ours */
.mx-field > input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.mx-field > input:is([type="date"], [type="time"]) { font-family: var(--font-mono); color-scheme: dark; }
/* range slider: a lit fill, a plate thumb */
.mx-field--range > input[type="range"] { --mx-value: 50%; block-size: 29px; cursor: pointer; }
.mx-field--range > input[type="range"]::-webkit-slider-runnable-track {
  block-size: 11px; border-radius: 4px; corner-shape: bevel; box-shadow: 0 0 0 1px var(--mx-line);
  background: linear-gradient(90deg, var(--mx-light) 0 var(--mx-value), var(--mx-rail) var(--mx-value));
}
.mx-field--range > input[type="range"]::-webkit-slider-thumb {
  appearance: none; inline-size: 22px; block-size: 29px; margin-block-start: calc(var(--sp-3) * -1); border-radius: 4px; corner-shape: bevel;
  background: var(--mx-plate); box-shadow: 0 0 0 1px var(--mx-line), inset 2px 2px 0 var(--mx-plate-hi), inset -2px -2px 0 var(--mx-plate-lo);
}
.mx-field--range > input[type="range"]::-moz-range-track { block-size: 11px; background: var(--mx-rail); }
.mx-field--range > input[type="range"]::-moz-range-progress { block-size: 11px; background: var(--mx-light); }
.mx-field--range > input[type="range"]::-moz-range-thumb { inline-size: 22px; block-size: 29px; border: 0; border-radius: 4px; background: var(--mx-plate); }
/* file pick control: the file input is read by its label; a folder key ends the field */
.mx-field--file { padding-inline-end: var(--sp-2); cursor: pointer; }
.mx-field--file > input[type="file"] { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.mx-field--file > .mx-field__control { color: hsl(var(--text-muted)); }
.mx-field--file > .mx-field__key { inline-size: 47px; block-size: 40px; }
/* colour input: the native swatch drawn as a lit square */
.mx-field--color > input[type="color"] { flex: none; inline-size: 36px; block-size: 36px; padding: 0; cursor: pointer; border-radius: 4px; corner-shape: bevel; box-shadow: 0 0 0 1px var(--mx-line); }
.mx-field--color > input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.mx-field--color > input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 4px; corner-shape: bevel; }
.mx-field--color > output { flex: 1; font-family: var(--font-mono); font-size: var(--fs-secondary); color: hsl(var(--text-muted)); }

/* ==================================================================================================================
   SHEET 6. ACTION BUTTONS (12)
   ================================================================================================================== */
/* primary key: a plate key with a lit strip on its rail */
.mx-key {
  --mx-cut: 14px; --mx-rail-h: 7px; --mx-band: 7px; --mx-strip-h: 5px; --mx-strip-w: 36%;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3); min-inline-size: 76px; min-block-size: 47px;
  padding: var(--sp-3) var(--sp-6);
  /* the sheet's keys carry bold capitals at the reading size (AUDIT-12: 11 px mono read small on a 47 px key) */
  font-family: var(--font-sans); font-size: var(--fs-secondary); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.mx-key::after { bottom: -6px; }
/* small key: a 29 px control (a bar, a row, an icon key). Its label is the 11 px mono label, the one size that fits 29 px */
.mx-key--sm {
  --mx-cut: 7px; --mx-rail-h: 4px; --mx-band: 4px; --mx-strip-h: 3px; --mx-strip-w: 40%;
  min-inline-size: 29px; min-block-size: 29px; padding: 0 var(--sp-4); gap: var(--sp-3);
  font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .1em;
}
.mx-key--sm::after { bottom: -4px; }
/* the small inset key keeps the small cut: the inset key's 14 px cut on a 29 px face met at a point, so a bar key had pointed ends and an
   icon key read as a diamond (AUDIT-14 fix 3) */
.mx-key--sm.mx-key--inset { --mx-cut: 7px; --mx-frame: 4px; --mx-band: 4px; }
/* the one dominant action on a view takes the complement (law 73) */
.mx-key--dominant { --mx-strip: var(--mx-complement); }
/* inset secondary key: a plate frame around a rail well */
/* its bottom frame is the plate's shade, never the rail: on the rail tone it read as an open frame (AUDIT-13 fix 10) */
.mx-key--inset { --mx-cut: 14px; --mx-frame: 6px; --mx-band: 6px; background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: hsl(var(--text-strong)); border-bottom-color: var(--mx-plate-lo); }
.mx-key--inset::after { display: none; }
/* flat text action: a word over a lit bar */
.mx-text-action {
  /* the bar stands 7 px under the letters' line box, clear of their feet (AUDIT-12: the bar touched them); one word group never wraps */
  display: inline-block; padding: var(--sp-2) var(--sp-1) var(--sp-4); border: 0; background: none; color: hsl(var(--text-strong));
  font-family: var(--font-display); font-size: var(--fs-secondary); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 -4px 0 color-mix(in oklab, var(--mx-light), hsl(var(--text-strong)) var(--mx-strip-lift, 0%));
}
/* small text action: a quiet secondary link that stands beside a view's one dominant action and never outweighs its label. The 11 px mono
   label at 600, the text ink, a 2 px bar 7 px under the letters. Hover and focus lift the ink and the bar, nothing moves (AUDIT-13 fix 8) */
.mx-text-action--sm {
  padding: var(--sp-1) var(--sp-1) var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .1em;
  color: hsl(var(--text));
  box-shadow: inset 0 -2px 0 color-mix(in oklab, var(--mx-light), hsl(var(--text-strong)) var(--mx-strip-lift, 0%));
}
.mx-text-action--sm:is(:hover, :focus-visible) { color: hsl(var(--text-strong)); }
/* row text action: a name that links, inside an 11 px table row or fact list. It keeps the row's font, size and ink, takes no capitals and
   no bar, and is underlined 3 px under its letters. Hover and focus lift the ink and light the line, nothing moves.
   The line is drawn inside the part's own box (phase 5, 2026-11-13): as a bare inline the line hung 4 px under the baseline, past the bottom
   of the line box (about 2 px under it at line-height 1.3 in FXN Basalt), so a box with overflow: hidden round it, such as a table cell or a
   one-line fact, cut the line off. The part is its own inline block with a 4 px foot of padding the line stands in, its own ellipsis for a
   long name, and top alignment, so its letters keep the row's line */
.mx-text-action--row {
  display: inline-block; vertical-align: top; max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis;
  padding: 0 0 var(--sp-2); font: inherit; letter-spacing: inherit; text-transform: none; white-space: inherit; color: inherit; box-shadow: none;
  text-decoration: underline 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor, transparent 40%);
}
.mx-text-action--row:is(:hover, :focus-visible) { color: hsl(var(--text-strong)); text-decoration-color: var(--mx-light); }
/* split button: a key and its menu key */
.mx-split { display: inline-flex; gap: 0; }
.mx-split > .mx-key:first-child { border-start-end-radius: 0; border-end-end-radius: 0; }
.mx-split > .mx-key:last-child { --mx-face: var(--mx-rail); --mx-lift-to: var(--mx-rail-hi); min-inline-size: 47px; padding-inline: var(--sp-4); color: hsl(var(--text-strong)); border-start-start-radius: 0; border-end-start-radius: 0; }
.mx-split > .mx-key:last-child::after { display: none; }
/* back key (dark) and next key (plate): the outer end is cut deep */
.mx-key--back { --mx-face: var(--mx-rail); --mx-lift-to: var(--mx-rail-hi); color: hsl(var(--text-strong)); border-start-start-radius: 23px; border-end-start-radius: 23px; }
.mx-key--back::after { display: none; }
.mx-key--next { border-start-end-radius: 23px; border-end-end-radius: 23px; }
/* disclosure button: a small square key with a turning chevron */
.mx-key--disclosure { --mx-cut: 11px; min-inline-size: 47px; padding: var(--sp-3); }
.mx-key--disclosure::after { display: none; }
.mx-key--disclosure[aria-expanded="true"] .mx-glyph { rotate: 180deg; }
/* latched toggle: one button, two halves; pressed lights the first */
.mx-latch {
  --mx-cut: 14px; display: inline-grid; grid-template-columns: 1fr 1fr; inline-size: 152px; block-size: 52px; padding: var(--sp-2);
  font-family: var(--font-display); font-size: var(--fs-secondary); color: hsl(var(--text-strong));
}
.mx-latch > span { display: grid; place-items: center; background: var(--mx-rail); box-shadow: inset 0 0 0 1px var(--mx-line); }
.mx-latch > span:first-child { border-radius: 9px 0 0 9px; corner-shape: bevel; }
.mx-latch > span:last-child { border-radius: 0 9px 9px 0; corner-shape: bevel; }
.mx-latch[aria-pressed="true"] > span:first-child, .mx-latch[aria-pressed="false"] > span:last-child { background: var(--mx-light); color: var(--mx-light-ink); }
/* paired segmented action: two keys joined by a seam */
.mx-pair { display: inline-flex; gap: 0; }
.mx-pair > .mx-key { min-inline-size: 58px; }
.mx-pair > .mx-key::after { display: none; }
.mx-pair > .mx-key:first-child { border-start-end-radius: 0; border-end-end-radius: 0; }
.mx-pair > .mx-key:last-child { border-start-start-radius: 0; border-end-start-radius: 0; }
/* loading button: a dark key holding a turning ring */
.mx-key[aria-busy="true"] { --mx-face: var(--mx-rail); color: hsl(var(--text-strong)); cursor: progress; }
.mx-key[aria-busy="true"]::after { display: none; }
.mx-key[aria-busy="true"] > .mx-spinner { --mx-ring-size: 29px; }

/* ==================================================================================================================
   SHEET 7. CHOICES (12): real radios and checkboxes
   ================================================================================================================== */
.mx-choice { display: inline-flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-secondary); color: hsl(var(--text)); cursor: pointer; }
/* radio: four plate blocks around a core; checked lights the core; focus rings it; disabled greys it */
.mx-radio {
  --mx-hub: 47px; appearance: none; margin: 0; cursor: pointer;
  background: repeating-conic-gradient(from -22.5deg, color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift)) 0 41deg, var(--mx-line) 41deg 45deg, var(--mx-plate-lo) 45deg 86deg, var(--mx-line) 86deg 90deg);
}
.mx-radio::before { background: var(--mx-rail); }
.mx-radio:checked { --mx-core: radial-gradient(circle, var(--mx-light) 0 52%, var(--mx-line) 54%, var(--mx-well) 58%); }
.mx-radio:hover { --mx-lift: 34%; }
.mx-radio:focus-visible, .mx-radio.mx-focus { outline: 0; --mx-ring: 0 0 0 7px hsl(var(--canvas)), 0 0 0 10px var(--mx-light); }
.mx-radio:disabled { filter: grayscale(1) brightness(.75); }
/* checkbox: a square frame of four corner blocks */
.mx-check {
  --mx-cut: 4px; appearance: none; margin: 0; position: relative; inline-size: 40px; block-size: 40px; cursor: pointer; flex: none;
  border: 7px solid transparent;
  background:
    linear-gradient(var(--mx-well), var(--mx-well)) padding-box,
    linear-gradient(var(--mx-line), var(--mx-line)) center / 100% 1px no-repeat border-box,
    linear-gradient(var(--mx-line), var(--mx-line)) center / 1px 100% no-repeat border-box,
    linear-gradient(color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift)), color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift))) border-box;
  box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line), var(--mx-ring, 0 0 transparent);
}
.mx-check::after { content: ""; position: absolute; inset: 3px; background: var(--mx-light); mask: var(--mx-glyph) center / contain no-repeat; opacity: 0; }
.mx-check:checked::after { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3.4' stroke-linecap='square'><path d='M4 12.5l5 5L20 6'/></svg>"); opacity: 1; }
.mx-check:indeterminate::after, .mx-check[aria-checked="mixed"]::after { --mx-glyph: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M4 10h16v4H4z'/></svg>"); opacity: 1; }
.mx-check:hover { --mx-lift: 34%; }
/* switch: a rounded track, a plate knob; on lights the track */
.mx-switch {
  appearance: none; margin: 0; position: relative; flex: none; inline-size: 94px; block-size: 47px; cursor: pointer;
  border-radius: 999px; corner-shape: round; border: 6px solid var(--mx-plate); border-inline-color: var(--mx-rail);
  background: var(--mx-well); box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line), inset 0 3px 0 var(--mx-line), 0 var(--sp-1) 0 1px var(--mx-line);
}
.mx-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; inline-size: 29px; block-size: 29px; border-radius: 50%;
  background: color-mix(in oklab, var(--mx-plate), var(--mx-plate-hi) var(--mx-lift));
  box-shadow: 0 0 0 1px var(--mx-line), inset 2px 2px 0 var(--mx-plate-hi), inset -2px -2px 0 var(--mx-plate-lo);
  transition: left .16s ease;
}
.mx-switch:checked { background: var(--mx-light); }
.mx-switch:checked::after { left: calc(100% - 31px); }
.mx-switch:hover { --mx-lift: 34%; }
/* selector (3-position): a curved bank of three radios */
.mx-selector { display: inline-flex; gap: 0; border: 0; margin: 0; padding: 0; }
.mx-selector > label { position: relative; display: block; cursor: pointer; }
.mx-selector > label > input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mx-selector__seg {
  --mx-cut: 4px; --mx-rail-h: 9px; display: grid; place-items: center; min-inline-size: 70px; block-size: 40px; padding: 0 var(--sp-4);
  font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
/* a segment can be its own button: pressed, selected or on lights it as a checked radio does */
.mx-selector__seg:is([aria-pressed="true"], [aria-selected="true"], [aria-checked="true"], .is-on) { --mx-face: var(--mx-light); color: var(--mx-light-ink); }
/* flat selector: the same bank in a straight row (a segmented control: filters, themes, speeds) */
.mx-selector.mx-selector--flat > label .mx-selector__seg { rotate: none; translate: none; }
.mx-selector--flat { gap: var(--sp-2); flex-wrap: wrap; }
.mx-selector > label:first-child .mx-selector__seg { rotate: -9deg; translate: 0 7px; border-top-left-radius: 14px; }
.mx-selector > label:last-child .mx-selector__seg { rotate: 9deg; translate: 0 7px; border-top-right-radius: 14px; }
.mx-selector > label:hover .mx-selector__seg { --mx-lift: 34%; }
.mx-selector input:checked + .mx-selector__seg { --mx-face: var(--mx-light); color: var(--mx-light-ink); }
.mx-selector input:focus-visible + .mx-selector__seg { outline: 2px solid var(--mx-light); outline-offset: 4px; }
/* choice chip (removable): a framed chip with lit side inserts and a lit remove mark */
.mx-chip {
  --mx-cut: 11px; --mx-frame: 6px; display: inline-flex; align-items: center; gap: var(--sp-5); min-inline-size: 199px; padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-5);
  border-inline-width: 9px; border-inline-color: var(--mx-light); font-weight: 600; font-size: var(--fs-secondary); color: hsl(var(--text-strong));
}
.mx-chip > span { flex: 1; }
.mx-chip > button { display: grid; padding: var(--sp-1); border: 0; background: none; color: var(--mx-light); cursor: pointer; border-radius: 4px; corner-shape: bevel; }
.mx-chip > button:hover { color: var(--mx-light-hi); }
/* swatch selector: radios whose face is a theme role; the checked one is framed in the light */
.mx-swatches { display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; border: 0; margin: 0; padding: 0; }
.mx-swatch {
  --mx-cut: 7px; appearance: none; margin: 0; inline-size: 47px; block-size: 47px; cursor: pointer; border: 6px solid var(--mx-plate);
  background: var(--mx-swatch, var(--mx-well));
  box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line);
}
.mx-swatch:checked { border-color: var(--mx-light); box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line), 0 0 0 4px var(--mx-light-dim); }
.mx-swatch:hover { border-color: var(--mx-plate-hi); }

/* ==================================================================================================================
   SHEET 8. FLOATING COMPONENTS (12): one popover shell (frame, lit top tab, optional pointer)
   ================================================================================================================== */
.mx-pop, .mx-tooltip, .mx-menu, .mx-listbox, .mx-dialog {
  --mx-cut: 14px; --mx-frame: 6px; --mx-tab: var(--mx-light); --mx-tab-w: 26%; --mx-strip: var(--mx-rail-hi); --mx-strip-w: 26%;
  display: block; min-inline-size: 199px; padding: var(--sp-4); color: hsl(var(--text));
}
/* the pointer: a plate notch below (data-point="below") or above */
:where(.mx-pop, .mx-tooltip)[data-point] > .mx-point {
  position: absolute; left: 50%; translate: -50% 0; inline-size: 22px; block-size: 14px; background: var(--mx-plate);
  filter: drop-shadow(0 1px 0 var(--mx-line));
}
:where(.mx-pop, .mx-tooltip)[data-point="below"] > .mx-point { bottom: calc(var(--mx-band) * -1 - 13px); clip-path: polygon(0 0, 100% 0, 50% 100%); }
:where(.mx-pop, .mx-tooltip)[data-point="above"] > .mx-point { top: calc(var(--mx-frame) * -1 - 13px); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
/* tooltip and shortcut tooltip */
.mx-tooltip { min-inline-size: 0; max-inline-size: 280px; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-tertiary); }
.mx-tooltip--shortcut { display: inline-flex; align-items: center; gap: var(--sp-4); }
.mx-tooltip--shortcut > .mx-seam { block-size: 22px; background: hsl(var(--text-faint)); }
/* help popover: a head row with a close key */
.mx-pop__head { --mx-cut: 7px; display: flex; align-items: center; gap: var(--sp-4); margin: calc(var(--sp-4) * -1) calc(var(--sp-4) * -1) var(--sp-4); padding: var(--sp-3) var(--sp-4); }
.mx-pop__head > :first-child { flex: 1; }
.mx-pop__body { display: flex; gap: var(--sp-4); align-items: flex-start; }
.mx-pop__body > .mx-glyph { --mx-glyph-size: 29px; color: var(--mx-light); }
/* context menu, nested flyout, select list, suggestions menu: rows in a well */
.mx-menu, .mx-listbox { padding: var(--sp-2); list-style: none; margin: 0; }
.mx-menu > li, .mx-listbox > li { list-style: none; }
.mx-listbox__list { display: grid; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.mx-menu__item, .mx-option {
  display: flex; align-items: center; gap: var(--sp-4); inline-size: 100%; padding: var(--sp-3) var(--sp-4); border: 0;
  background: color-mix(in oklab, transparent, var(--mx-rail) var(--mx-lift)); color: hsl(var(--text)); text-align: start; cursor: pointer;
  font-size: var(--fs-tertiary); border-radius: 4px; corner-shape: bevel;
}
.mx-menu__item > .mx-glyph, .mx-option > .mx-glyph { color: hsl(var(--text-strong)); }
.mx-menu__item > .mx-glyph:last-child:not(:first-child) { margin-inline-start: auto; }
.mx-menu__sep { block-size: 1px; margin: var(--sp-1) var(--sp-3); background: var(--mx-well-edge); }
.mx-menu__item:is([aria-expanded="true"], [aria-pressed="true"]), .mx-option[aria-selected="true"], .mx-option.is-active {
  background: var(--mx-light); color: var(--mx-light-ink);
}
.mx-menu__item:is([aria-expanded="true"], [aria-pressed="true"]) > .mx-glyph, .mx-option[aria-selected="true"] > .mx-glyph, .mx-option.is-active > .mx-glyph { color: var(--mx-light-ink); }
.mx-option:not([aria-selected="true"]) > .mx-glyph--check { visibility: hidden; }
.mx-flyout { display: inline-flex; align-items: flex-start; gap: 0; }
.mx-flyout > .mx-menu + .mx-menu { margin-block-start: var(--sp-6); margin-inline-start: calc(var(--sp-2) * -1); min-inline-size: 152px; }
/* compact action sheet: icon actions split by seams */
.mx-action-sheet { display: inline-flex; align-items: center; gap: var(--sp-2); min-inline-size: 0; padding: var(--sp-2); }
.mx-action-sheet > button { display: grid; place-items: center; inline-size: 47px; block-size: 40px; padding: 0; border: 0; color: hsl(var(--text-strong)); cursor: pointer; background: color-mix(in oklab, transparent, var(--mx-rail) var(--mx-lift)); border-radius: 4px; corner-shape: bevel; }
.mx-action-sheet > .mx-seam { block-size: 29px; background: var(--mx-well-edge); box-shadow: none; }
/* confirm dialog: a real <dialog>; its footer holds a quiet key and the dominant key */
.mx-dialog:not([open]) { display: none; }
.mx-dialog { position: relative; inset: auto; min-inline-size: 280px; max-inline-size: 380px; padding: var(--sp-5); margin: 0; }
.mx-dialog::backdrop { background: color-mix(in oklab, hsl(var(--canvas)), transparent 30%); }
.mx-dialog__body { display: flex; gap: var(--sp-4); align-items: flex-start; margin-block-end: var(--sp-5); }
.mx-dialog__body > .mx-hub, .mx-dialog__body > .mx-seal { flex: none; }
.mx-dialog__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.mx-dialog__foot > .mx-key { min-inline-size: 0; }
.mx-dialog__foot > .mx-key:not(.mx-key--dominant) { --mx-face: var(--mx-plate-lo); }
/* select list: a closed select on top, the open list below */
.mx-listbox__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-4); margin-block-end: var(--sp-2); border-radius: 7px; corner-shape: bevel; background: var(--mx-rail); color: hsl(var(--text-strong)); }
/* suggestions menu: a search row on top */
.mx-suggest__search { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); margin-block-end: var(--sp-2); border-radius: 7px; corner-shape: bevel; background: var(--mx-rail); }
.mx-suggest__search > input { flex: 1; border: 0; background: none; color: hsl(var(--text-strong)); font-size: var(--fs-tertiary); font-family: var(--font-sans); }
/* swatch popover */
.mx-pop--swatch .mx-swatches { display: grid; grid-template-columns: repeat(4, 47px); }
/* date popover: a month head and a grid of day keys */
.mx-cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-block-end: var(--sp-3); color: hsl(var(--text-strong)); font-family: var(--font-display); font-size: var(--fs-tertiary); }
.mx-cal__head > button { display: grid; padding: var(--sp-2); border: 0; background: none; color: hsl(var(--text-strong)); cursor: pointer; border-radius: 4px; corner-shape: bevel; }
.mx-cal { display: grid; grid-template-columns: repeat(7, 29px); gap: var(--sp-2); }
.mx-cal > abbr { text-align: center; text-decoration: none; font-family: var(--font-mono); color: hsl(var(--text-faint)); border-block-end: 2px solid var(--mx-well-edge); }
.mx-cal > button {
  block-size: 29px; padding: 0; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: var(--fs-tertiary); border-radius: 4px; corner-shape: bevel;
  background: color-mix(in oklab, var(--mx-rail), var(--mx-rail-hi) var(--mx-lift)); color: hsl(var(--text));
}
.mx-cal > button:hover { --mx-lift: 40%; }
.mx-cal > button[aria-selected="true"] { background: var(--mx-light); color: var(--mx-light-ink); }
.mx-cal > button[aria-current="date"] { box-shadow: inset 0 0 0 2px var(--mx-light); }
/* hover preview: a picture well and its lines, pointing at its source */
.mx-preview { display: flex; gap: var(--sp-4); align-items: center; }
.mx-preview__media { --mx-cut: 7px; display: grid; place-items: center; flex: none; inline-size: 94px; aspect-ratio: 4 / 3; background: var(--mx-rail); color: hsl(var(--text-muted)); box-shadow: inset 0 0 0 1px var(--mx-line); overflow: hidden; }
.mx-preview__media > .mx-glyph { --mx-glyph-size: 47px; }
.mx-preview__media > img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* ==================================================================================================================
   SHEET 9. FEEDBACK (12)
   ================================================================================================================== */
/* inline validation tick and warning mark: a lozenge plate, a well, the mark between two lit arcs */
.mx-valid {
  --mx-cut: 18px; --mx-frame: 7px; --mx-band: 7px; --mx-mark: var(--mx-light);
  display: inline-grid; place-items: center; inline-size: 110px; block-size: 58px; border-inline-width: 14px; color: var(--mx-mark);
  /* a lit ring, its top and bottom covered by a well band: two arcs either side of the mark */
  background:
    linear-gradient(var(--mx-well), var(--mx-well)) center / 46% 100% no-repeat,
    radial-gradient(closest-side, transparent 80%, var(--mx-mark) 81% 94%, transparent 95%) center / 78% 110% no-repeat,
    var(--mx-well);
}
.mx-valid > .mx-glyph { --mx-glyph-size: 29px; }
.mx-valid--warning { --mx-mark: hsl(var(--warning)); }
/* error callout and info strip: a half hub cap on the left, the message in a well */
.mx-callout {
  --mx-cut: 18px; --mx-frame: 6px; --mx-mark: hsl(var(--danger));
  display: flex; align-items: center; gap: var(--sp-4); min-inline-size: 280px; padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-3);
  border-left-width: 0; border-start-start-radius: 29px; border-end-start-radius: 29px; color: hsl(var(--text-strong));
}
.mx-callout::before {
  content: ""; position: absolute; left: -14px; top: -10px; bottom: -14px; inline-size: 47px; border-radius: 50% 0 0 50%; corner-shape: round;
  background: repeating-conic-gradient(from 0deg, var(--mx-plate) 0 40deg, var(--mx-line) 40deg 45deg);
  mask: radial-gradient(farthest-side at 100% 50%, transparent 72%, var(--mx-opaque) 73%);
  filter: drop-shadow(0 0 1px var(--mx-line));
}
.mx-callout > .mx-glyph { --mx-glyph-size: 29px; color: var(--mx-mark); flex: none; }
.mx-callout > p { margin: 0; flex: 1; }
.mx-callout--info { --mx-mark: var(--mx-light); box-shadow: inset 0 0 0 1px var(--mx-line), inset -7px 0 0 var(--mx-light), 0 0 0 1px var(--mx-line); }
/* dismissible toast and undo snackbar: a frame with lit corner tabs */
.mx-toast {
  --mx-cut: 14px; --mx-frame: 6px; --mx-strip: transparent;
  display: flex; align-items: center; gap: var(--sp-4); min-inline-size: 320px; padding: var(--sp-3) var(--sp-4); color: hsl(var(--text-strong));
  background:
    linear-gradient(var(--mx-light), var(--mx-light)) left 18px top 0 / 40px 3px no-repeat,
    linear-gradient(var(--mx-light), var(--mx-light)) right 18px top 0 / 40px 3px no-repeat,
    var(--mx-well);
}
.mx-toast > .mx-glyph:first-child { color: var(--mx-light); --mx-glyph-size: 22px; }
.mx-toast > p { flex: 1; margin: 0; }
.mx-toast > .mx-seam { block-size: 29px; background: var(--mx-well-edge); box-shadow: none; }
.mx-toast > button { display: grid; place-items: center; padding: var(--sp-2); border: 0; background: none; color: hsl(var(--text-muted)); cursor: pointer; border-radius: 4px; corner-shape: bevel; }
.mx-toast > button:is(:hover, :focus-visible) { color: hsl(var(--text-strong)); }
.mx-toast > .mx-toast__undo { display: flex; gap: var(--sp-2); align-items: center; color: var(--mx-light); font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
/* skeleton text and skeleton media tile: plate bars and a framed blank picture; the light breathes */
.mx-skeleton-text { display: grid; gap: var(--sp-3); inline-size: 280px; }
.mx-skeleton-text > span { --mx-cut: 4px; display: block; block-size: 18px; background: var(--mx-plate-lo); }
.mx-skeleton-text > span:nth-child(2) { inline-size: 80%; }
.mx-skeleton-text > span:nth-child(3) { inline-size: 55%; }
.mx-skeleton-media { --mx-tab: var(--mx-light); --mx-cut: 18px; display: grid; place-items: center; inline-size: 199px; aspect-ratio: 16 / 10; }
.mx-skeleton-media::after { bottom: calc(var(--mx-band) * -1); }
.mx-skeleton-media > .mx-glyph { --mx-glyph-size: 58px; color: var(--mx-plate-lo); }
.mx-skeleton-media { background: var(--mx-rail); }
/* circular spinner: a segmented ring, its lit segments turning */
.mx-spinner { --mx-ring-segs: var(--mx-light) 0 40deg, var(--mx-line) 40deg 45deg, var(--mx-plate) 45deg 85deg, var(--mx-line) 85deg 90deg; }
/* progress bar and segmented meter: real <progress> and <meter> */
.mx-progress {
  --mx-cut: 11px; appearance: none; inline-size: 320px; block-size: 22px; padding: 0; border: 4px solid var(--mx-plate);
  background: var(--mx-well); color: var(--mx-light); box-shadow: 0 0 0 1px var(--mx-line), inset 0 0 0 1px var(--mx-line), 0 var(--sp-1) 0 1px var(--mx-line);
}
.mx-progress::-webkit-progress-bar { background: var(--mx-well); }
.mx-progress::-webkit-progress-value { background: var(--mx-light); }
.mx-progress::-moz-progress-bar { background: var(--mx-light); }
.mx-meter {
  appearance: none; inline-size: 240px; block-size: 29px; transform: skewX(-18deg);
  background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line);
  -webkit-mask: repeating-linear-gradient(90deg, var(--mx-opaque) 0 calc(20% - 4px), transparent calc(20% - 4px) 20%);
  mask: repeating-linear-gradient(90deg, var(--mx-opaque) 0 calc(20% - 4px), transparent calc(20% - 4px) 20%);
}
.mx-meter::-webkit-meter-bar { background: var(--mx-rail); border: 0; border-radius: 0; block-size: 100%; }
.mx-meter::-webkit-meter-optimum-value, .mx-meter::-webkit-meter-suboptimum-value, .mx-meter::-webkit-meter-even-less-good-value { background: var(--mx-light); }
.mx-meter:-moz-meter-optimum::-moz-meter-bar { background: var(--mx-light); }
/* refresh arrow: a plate ring holding the lit refresh mark */
.mx-refresh-wrap { position: relative; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: var(--mx-light); }
.mx-refresh-wrap > * { grid-area: 1 / 1; }
.mx-refresh-wrap > .mx-glyph { --mx-glyph-size: 47px; }
.mx-refresh-wrap:is(:hover, :focus-visible) { color: var(--mx-light-hi); }
.mx-refresh { --mx-ring-size: 76px; }

/* ==================================================================================================================
   SHEET 10. SYSTEM PIECES (12)
   ================================================================================================================== */
/* chamfered corner cap: an L of plate with a lit inset in its bend */
.mx-corner-cap {
  --mx-rail-h: 0px; display: inline-block; inline-size: 94px; block-size: 94px; border-top-left-radius: 36px;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 40% 40%, 40% 100%, 0 100%);
}
.mx-corner-cap::after { content: ""; position: absolute; left: 22%; top: 22%; inline-size: 18%; block-size: 18%; background: var(--mx-light); border-top-left-radius: 11px; corner-shape: bevel; }
/* panel border rail: a plate bar with seams, a rail below and a lit strip */
.mx-panel-rail {
  --mx-rail-h: 11px; --mx-band: 11px; --mx-strip-w: 32%; --mx-strip-h: 11px; display: block; inline-size: 100%; block-size: 36px; margin-block-end: var(--sp-4);
  background:
    linear-gradient(var(--mx-line), var(--mx-line)) left 14% top 0 / 1px 100% no-repeat,
    linear-gradient(var(--mx-line), var(--mx-line)) right 14% top 0 / 1px 100% no-repeat,
    var(--mx-plate);
}
.mx-panel-rail::after { bottom: 0; clip-path: var(--mx-trap-up); }
/* orbit arc accent: a lit arc, the edge of a ring */
.mx-orbit-arc { display: block; inline-size: 199px; block-size: 47px; border: 7px solid transparent; border-top-color: var(--mx-light); border-radius: 50% 50% 0 0 / 100% 100% 0 0; corner-shape: round; }
/* narrow inset highlight: a short frame holding a lit bar */
.mx-inset-highlight { --mx-cut: 7px; --mx-frame: 4px; --mx-band: 4px; display: block; inline-size: 152px; block-size: 29px; border-color: var(--mx-rail); background: var(--mx-light); box-shadow: inset 0 0 0 1px var(--mx-line), 0 0 0 1px var(--mx-line), inset 0 0 0 3px var(--mx-rail); }
/* horizontal divider: a line with a plate boss in the middle */
.mx-divider { position: relative; display: flex; align-items: center; justify-content: center; block-size: 18px; border: 0; margin: 0; }
.mx-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; block-size: 3px; translate: 0 -50%; background: var(--mx-plate-lo); box-shadow: 0 0 0 1px var(--mx-line); }
.mx-divider__plate { --mx-cut: 7px; --mx-rail-h: 0px; display: block; inline-size: 76px; block-size: 14px; }
/* vertical separator: a thin plate post with a lit middle */
.mx-separator {
  display: inline-block; inline-size: 7px; block-size: 94px; border-radius: 2px; corner-shape: bevel;
  background:
    linear-gradient(var(--mx-line), var(--mx-line)) center 32% / 100% 1px no-repeat,
    linear-gradient(var(--mx-line), var(--mx-line)) center 68% / 100% 1px no-repeat,
    linear-gradient(var(--mx-plate), var(--mx-plate)) top / 100% 32% no-repeat,
    linear-gradient(var(--mx-plate), var(--mx-plate)) bottom / 100% 32% no-repeat,
    var(--mx-light);
  box-shadow: 0 0 0 1px var(--mx-line);
}
/* labeled divider: lines either side of a lozenge plate label with lit ends */
.mx-labeled-divider { display: flex; align-items: center; gap: 0; }
.mx-labeled-divider::before, .mx-labeled-divider::after { content: ""; flex: 1; block-size: 3px; background: var(--mx-plate-lo); box-shadow: 0 0 0 1px var(--mx-line); }
.mx-labeled-divider__plate {
  --mx-cut: 11px; --mx-rail-h: 0px; display: block; padding: var(--sp-2) var(--sp-5); border-inline: 7px solid var(--mx-light);
  font-family: var(--font-mono); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
/* drag handle: plate end caps on a dark body with lit bars */
.mx-drag-handle { --mx-cut: 7px; --mx-face: var(--mx-rail); --mx-lift-to: var(--mx-rail-hi); display: inline-grid; place-items: center; inline-size: 94px; block-size: 47px; padding: 0; border-inline: 14px solid var(--mx-plate); color: var(--mx-light); cursor: grab; }
.mx-drag-handle > .mx-glyph { --mx-glyph-size: 29px; }
/* resize grip: a plate triangle with lit steps */
.mx-resize-grip {
  --mx-rail-h: 0px; display: inline-block; inline-size: 58px; block-size: 58px; padding: 0; cursor: nwse-resize;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, var(--mx-light) 4px 11px, transparent 11px 14px) right 7px bottom 4px / 50% 60% no-repeat,
    color-mix(in oklab, var(--mx-face), var(--mx-plate-hi) var(--mx-lift));
}
/* scroll thumb: a plate thumb with rail ends and a lit insert; .mx-scroll dresses a real scroll area the same way */
.mx-scroll-thumb { --mx-cut: 4px; --mx-rail-h: 0px; display: inline-grid; place-items: center; inline-size: 22px; block-size: 94px; border-block: 11px solid var(--mx-rail); }
.mx-scroll-thumb::after { content: ""; inline-size: 9px; block-size: 36px; background: var(--mx-light); border-radius: 2px; corner-shape: bevel; box-shadow: 0 0 0 1px var(--mx-line); }
.mx-scroll { scrollbar-color: var(--mx-plate) var(--mx-well); scrollbar-width: thin; }
.mx-scroll::-webkit-scrollbar { inline-size: 14px; block-size: 14px; background: var(--mx-well); }
.mx-scroll::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--mx-plate) 0 30%, var(--mx-light) 30% 70%, var(--mx-plate) 70%); border-block: 7px solid var(--mx-rail); }
/* accordion header: a real <details>; the summary is a plate bar with a turning triangle and a lit end */
.mx-accordion { display: block; }
.mx-accordion > summary {
  --mx-cut: 7px; --mx-rail-h: 9px; display: flex; align-items: center; gap: var(--sp-5); padding: var(--sp-4) var(--sp-6) var(--sp-4) var(--sp-5); list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: var(--fs-secondary); letter-spacing: .12em; text-transform: uppercase;
  background:
    linear-gradient(var(--mx-light), var(--mx-light)) right 14px center / 29px 50% no-repeat,
    color-mix(in oklab, var(--mx-face), var(--mx-plate-hi) var(--mx-lift));
}
.mx-accordion > summary::-webkit-details-marker { display: none; }
.mx-accordion > summary > .mx-glyph { transition: rotate .16s ease; rotate: -90deg; }
.mx-accordion[open] > summary > .mx-glyph { rotate: 0deg; }
.mx-accordion > :not(summary) { margin-block-start: var(--sp-4); }
/* action footer: a plate bar holding a quiet key and the lit key */
.mx-action-footer { --mx-cut: 7px; --mx-rail-h: 11px; display: flex; gap: var(--sp-3); justify-content: flex-end; padding: var(--sp-3); }
.mx-action-footer > .mx-key { --mx-rail-h: 0px; min-block-size: 40px; }
.mx-action-footer > .mx-key::after { display: none; }
.mx-action-footer > .mx-key:last-child { --mx-face: var(--mx-light); color: var(--mx-light-ink); --mx-lift-to: var(--mx-light-hi); }

/* ==================================================================================================================
   PARTS NO SHEET DRAWS, BUILT FROM THE PRIMITIVES (2026-11-13): table, drawer, app shell. Names are fixed: another session builds on them.
   ================================================================================================================== */
/* table: on a <table> (or on a wrapper round one). Rows 29 px, a hairline between rows and none after the last, fixed column widths,
   one line per cell with an ellipsis, no zebra. Hover and focus change light only. The frame, when wanted, is the wrapper's (.mx-frame) */
table.mx-table, .mx-table > table { inline-size: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.mx-table { background: var(--mx-well); color: hsl(var(--text)); font-family: var(--font-sans); font-size: var(--fs-tertiary); line-height: 1.3; }
.mx-table :is(th, td) {
  block-size: 29px; padding: 0 var(--sp-4); border: 0; text-align: start; vertical-align: middle;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: inherit; color: inherit;
  background: color-mix(in oklab, transparent, var(--mx-rail) var(--mx-lift));
}
.mx-table :is(thead, .mx-table__head) :is(th, td), .mx-table tr.mx-table__head > :is(th, td) {
  font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--text-muted));
  background: var(--mx-rail); box-shadow: inset 0 -1px 0 var(--mx-line);
}
.mx-table tbody th { font-weight: 600; color: hsl(var(--text-strong)); }
.mx-table tbody tr:not(:last-child) > :is(th, td) { border-block-end: 1px solid var(--mx-well-edge); }
/* a number column: right-aligned, mono, every digit one width */
.mx-table :is(th, td).mx-table__num, .mx-table__num { text-align: end; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* a state cell: a lit square before a mono word. data-state="warning" | "danger" | "offline" changes the square */
.mx-table :is(th, td).mx-table__state, .mx-table__state { font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--text-strong)); }
.mx-table__state::before {
  content: ""; display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: var(--sp-3); vertical-align: middle;
  background: var(--mx-state, var(--mx-light)); box-shadow: 0 0 0 1px var(--mx-line);
}
.mx-table__state[data-state="warning"] { --mx-state: hsl(var(--warning)); }
.mx-table__state[data-state="danger"] { --mx-state: hsl(var(--danger)); }
.mx-table__state[data-state="offline"] { --mx-state: var(--mx-rail-hi); }
/* a head cell names its column and states nothing: a state column's head keeps the head's ink and draws no mark (the mark stood before the
   column name when a th carried .mx-table__state) */
.mx-table :is(thead, .mx-table__head) .mx-table__state, .mx-table tr.mx-table__head > .mx-table__state { color: hsl(var(--text-muted)); }
.mx-table :is(thead, .mx-table__head) .mx-table__state::before, .mx-table tr.mx-table__head > .mx-table__state::before,
.mx-table__state:is(th[scope="col"], th[scope="colgroup"])::before { content: none; }
/* light only: the row under the pointer or holding focus; an action row says it can be pressed */
.mx-table tbody tr:is(:hover, :focus-within) > :is(th, td) { --mx-lift: 34%; }
.mx-table__row--action { cursor: pointer; }
.mx-table__row--action:focus-visible { outline: 2px solid var(--mx-light); outline-offset: -2px; }
/* the selected row: a lit edge on its first cell and the light's dim tone under it */
.mx-table :is(.mx-table__row--selected, tr[aria-selected="true"]) > :is(th, td) { background: color-mix(in oklab, var(--mx-light-dim), transparent 40%); color: hsl(var(--text-strong)); }
.mx-table :is(.mx-table__row--selected, tr[aria-selected="true"]) > :first-child { box-shadow: inset 4px 0 0 var(--mx-light); }

/* drawer: a panel from the right, full height, min(475px, 90vw) wide. On a <dialog> (shown with showModal, its ::backdrop is the shade)
   or on any element beside a .mx-drawer__shade. Head (a well row), body (the one part that scrolls), foot (.mx-action-footer) */
.mx-drawer {
  --mx-cut: 0px; position: fixed; inset: 0 0 0 auto; z-index: 50; display: flex; flex-direction: column;
  inline-size: min(475px, 90vw); block-size: 100%; max-inline-size: none; max-block-size: none; margin: 0; padding: 0;
  background: var(--mx-well); color: hsl(var(--text)); border: 0; border-inline-start: 7px solid var(--mx-plate);
  box-shadow: inset 1px 0 0 var(--mx-line), -1px 0 0 var(--mx-line), inset 3px 0 0 var(--mx-plate-hi);
}
dialog.mx-drawer:not([open]), .mx-drawer[hidden], .mx-drawer__shade[hidden] { display: none; }
.mx-drawer::backdrop, .mx-drawer__shade { background: color-mix(in oklab, hsl(var(--canvas)), transparent 30%); }
.mx-drawer__shade { position: fixed; inset: 0; z-index: 49; border: 0; padding: 0; }
.mx-drawer__head {
  --mx-cut: 0px; flex: none; display: flex; align-items: center; gap: var(--sp-4); min-block-size: 47px; padding: var(--sp-3) var(--sp-5);
  background: var(--mx-rail); color: hsl(var(--text-strong)); font-family: var(--font-display); font-size: var(--fs-secondary);
  box-shadow: inset 0 -1px 0 var(--mx-line), inset 0 -4px 0 var(--mx-plate-lo);
}
.mx-drawer__head > :first-child { flex: 1; min-inline-size: 0; margin: 0; font: inherit; }
.mx-drawer__body {
  flex: 1; min-block-size: 0; overflow: auto; overscroll-behavior: contain; padding: var(--sp-5); font-size: var(--fs-secondary);
  scrollbar-color: var(--mx-plate) var(--mx-well); scrollbar-width: thin;
}
.mx-drawer > .mx-action-footer { flex: none; --mx-cut: 0px; --mx-rail-h: 0px; margin: 0; padding: var(--sp-4) var(--sp-5); }

/* app shell: a top bar over a side rail and the main area. The main area is every child that is not the bar or the rail */
.mx-shell {
  --mx-cut: 0px; display: grid; grid-template: "top top" auto "rail main" minmax(0, 1fr) / auto minmax(0, 1fr);
  min-block-size: 100dvh; background: hsl(var(--canvas)); color: hsl(var(--text)); font-size: var(--fs-secondary);
}
.mx-shell > :not(.mx-topbar, .mx-rail) { grid-area: main; min-inline-size: 0; min-block-size: 0; overflow: auto; }
.mx-topbar {
  --mx-cut: 0px; grid-area: top; display: flex; align-items: center; gap: var(--sp-4); min-block-size: 47px; padding: 0 var(--sp-5);
  background: var(--mx-rail); color: hsl(var(--text-strong));
  box-shadow: inset 0 -4px 0 var(--mx-plate-lo), inset 0 -5px 0 var(--mx-line), 0 1px 0 var(--mx-line);
}
.mx-topbar__mark {
  --mx-cut: 7px; display: grid; place-items: center; flex: none; inline-size: 29px; block-size: 29px; padding: 0;
  background: var(--mx-plate); color: var(--mx-light); box-shadow: 0 0 0 1px var(--mx-line), inset 2px 2px 0 var(--mx-plate-hi), inset -2px -2px 0 var(--mx-plate-lo);
}
.mx-topbar__mark > :is(img, svg) { inline-size: 18px; block-size: 18px; }
.mx-topbar__name { margin: 0; font-family: var(--font-display); font-size: var(--fs-secondary); letter-spacing: .04em; color: hsl(var(--text-strong)); white-space: nowrap; }
.mx-topbar__state {
  display: inline-flex; align-items: center; gap: var(--sp-3); margin-inline-start: auto;
  font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--text-muted));
}
.mx-rail {
  --mx-cut: 0px; grid-area: rail; display: flex; flex-direction: column; gap: var(--sp-3); inline-size: var(--mx-rail-w, 240px);
  min-block-size: 0; overflow: auto; margin: 0; padding: var(--sp-4); list-style: none;
  background: var(--mx-well); box-shadow: inset -4px 0 0 var(--mx-rail), inset -5px 0 0 var(--mx-line);
}
.mx-rail > .mx-rail-item { min-inline-size: 0; inline-size: 100%; font-size: var(--fs-tertiary); }
.mx-rail-item--end { margin-block-start: auto; }
.mx-rail-item[aria-current="page"] { --mx-face: var(--mx-plate-hi); }
/* icon rail item: one glyph in a 47 px keycap (a rail of icons). The current one is lit; its name goes in aria-label */
.mx-rail-item--icon {
  --mx-cut: 7px; --mx-rail-h: 7px; justify-content: center; gap: 0; inline-size: 47px; min-inline-size: 0; block-size: 47px; padding: 0;
  border-left: 0; flex: none;
}
.mx-rail-item--icon::before { display: none; }
.mx-rail-item--icon > .mx-glyph { --mx-glyph-size: 22px; }
.mx-rail > .mx-rail-item--icon { inline-size: 47px; }
.mx-rail-item--icon[aria-current] { --mx-face: var(--mx-light); --mx-lift-to: var(--mx-light-hi); color: var(--mx-light-ink); }

/* stat row: one framed bar of figures (a network's figures, a status and its numbers). Each .mx-stat is a cell: an optional glyph, icon or
   status dot, a .mx-label name and a .mx-num value. A seam parts each cell from the next. .mx-stat--lead is the row's first cell: its words
   are the reading size (a status, a title). A value that is absent reads a word (TBA, Not measured), never 0 */
.mx-stats { --mx-cut: 11px; --mx-frame: 4px; --mx-band: 7px; display: flex; align-items: stretch; padding: 0 var(--sp-3); }
.mx-stat {
  position: relative; display: flex; align-items: center; gap: var(--sp-3); min-inline-size: 0; padding: 0 var(--sp-5); white-space: nowrap;
  color: hsl(var(--text)); font-family: var(--font-sans); font-size: var(--fs-tertiary);
}
.mx-stat + .mx-stat::before { content: ""; position: absolute; left: 0; top: var(--sp-3); bottom: var(--sp-3); inline-size: 1px; background: var(--mx-well-edge); }
.mx-stat .mx-label { color: hsl(var(--text-muted)); }
.mx-stat .mx-num { font-size: var(--fs-secondary); font-weight: 600; color: hsl(var(--text-strong)); }
.mx-stat--lead { font-size: var(--fs-secondary); font-weight: 600; color: hsl(var(--text-strong)); }
/* the status dot slot: a cell may open with one 18 px status dot before its words */
.mx-stat > .mx-status-dot { --mx-hub: 18px; flex: none; }
/* column forms: three or five cells of one width, so the seams stand at fixed places whatever the values say */
.mx-stats--cols-3, .mx-stats--cols-5 { display: grid; }
.mx-stats--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mx-stats--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mx-stats:is(.mx-stats--cols-3, .mx-stats--cols-5) > .mx-stat > :is(.mx-label, .mx-num) { overflow: hidden; text-overflow: ellipsis; }

/* segmented filter: joined segments in a rail well; a pressed segment is lit. One light state; hover lifts the light, nothing moves */
.mx-segment { --mx-cut: 7px; display: inline-flex; gap: var(--sp-1); padding: var(--sp-1); background: var(--mx-rail); box-shadow: 0 0 0 1px var(--mx-line), inset 0 2px 0 var(--mx-line); }
.mx-segment__item {
  --mx-cut: 4px; display: inline-grid; place-items: center; min-inline-size: 47px; block-size: 29px; padding: 0 var(--sp-4); border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  background: color-mix(in oklab, var(--mx-rail-hi), var(--mx-plate-lo) var(--mx-lift)); color: hsl(var(--text-strong));
  box-shadow: 0 0 0 1px var(--mx-line);
}
.mx-segment__item[aria-pressed="true"] { background: color-mix(in oklab, var(--mx-light), var(--mx-light-hi) var(--mx-lift)); color: var(--mx-light-ink); }

/* two-up viewer: two pictures side by side, a caption under each, and a tool row (previous, zoom out, the zoom value, zoom in, the
   side-by-side toggle, next). data-view="one" shows the first picture alone */
.mx-preview--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); align-items: start; }
.mx-preview--two[data-view="one"] { grid-template-columns: minmax(0, 1fr); }
.mx-preview--two[data-view="one"] > figure ~ figure { display: none; }
.mx-preview--two > figure { display: grid; gap: var(--sp-3); margin: 0; min-inline-size: 0; }
.mx-preview--two .mx-preview__media { inline-size: 100%; }
.mx-preview__caption { font-family: var(--font-mono); font-size: var(--fs-tertiary); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--text-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-preview__tools { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.mx-preview__tools > .mx-num { min-inline-size: 58px; text-align: center; font-size: var(--fs-secondary); color: hsl(var(--text-strong)); }
.mx-preview__tools .mx-key[aria-pressed="true"] { --mx-face: var(--mx-light); --mx-lift-to: var(--mx-light-hi); color: var(--mx-light-ink); }

/* ------------------------------------------------------------------------------------------------------------------
   Motion: the spinner turns, skeletons breathe, a drawer comes in from the right. Reduced motion stops both and every transition.
   ------------------------------------------------------------------------------------------------------------------ */
@keyframes mx-turn { to { rotate: 1turn; } }
@keyframes mx-breathe { 50% { opacity: .55; } }
@keyframes mx-drawer-in { from { translate: 100% 0; } }
@media (prefers-reduced-motion: no-preference) {
  .mx-drawer { animation: mx-drawer-in .2s ease-out; }
  .mx-spinner { animation: mx-turn 1.2s steps(8) infinite; }
  .mx-skeleton-text > span, .mx-skeleton-media > .mx-glyph { animation: mx-breathe 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  :where([class^="mx-"], [class*=" mx-"]), :where([class^="mx-"], [class*=" mx-"])::after { transition: none; }
}
