/*
  Hardware: a trial look for Overlap UI (2026-11-19).

  It is NOT one of the four approved looks, so it lives in this file and not in
  overlap-ui.css. Tim picked it from Overlap Remix to try on a real app (the
  Ocarina tracker). Load overlap-ui.css first, then this file, and put
  data-ui="hardware" on the .ou-app element.

  Three tones, set with data-tone on the same element:
    data-tone="ice"      white panels on an ice body (also the default)
    data-tone="seafoam"  ice panels on a seafoam body
    data-tone="slate"    slate panels on a black body

  What makes it Hardware
  - A button is a key. 6 pixels of its side show under it, and a press sinks it 5.
  - A round key is shallower: 3 pixels of side, and a press sinks it 2. A deep side
    under a small circle reads as a long shadow, not as a key.
  - A key that switches something on stays down, and a small lamp on it lights.
  - A lamp that is off is darker than the key it sits on, so it never reads as lit.
  - Tabs are a row of keys with a thin border each. There is no bed behind the group
    (Tim, 2026-11-19: the dark bed "just kind of looks weird").
  - A dark well holds the meter. The meter is a row of whole lamps.
  - Labels are small Poppins capitals. Numbers are light Poppins.

  Two rules this file keeps (Tim, 2026-11-19)
  - Only the seven brand colors, see-through versions of them, or a mix of two.
  - The side of a key is a hard shadow, and a hard shadow is always darker than
    the key above it, in every state (resting, under the mouse, pressed, on).
  - Every key answers a press with a sound and, on a phone that can, a buzz.
    That part is ou-feel.js: a page in this look loads it too.

  Hover never moves a key. Only a press does.
*/

.ou-app[data-ui="hardware"] {
  --ou-r-shell: 1.25rem; --ou-r-card: 0.875rem; --ou-r-ctl: 0.625rem; --ou-r-input: 0.625rem; --ou-r-row: 0.5rem;
  --ou-pad: 1rem; --ou-gap: 0.75rem; --ou-blur: none;
  --ou-num-weight: 300; --ou-title-weight: 500; --ou-bar-w: min(100%, 1.5rem);
  --hw-depth: 6px; --hw-travel: 5px; --hw-press: 70ms;

  /* Ice (the default tone) */
  --ou-ground: var(--ol-ice);
  --ou-panel: var(--ol-white); --ou-surface: var(--ol-white); --ou-surface-solid: var(--ol-white);
  --ou-surface-2: var(--ol-ice); --ou-field: var(--ol-ice); --ou-edge: transparent;
  --ou-shadow: 0 1px 0 var(--ol-steel), 0 14px 26px -18px rgba(0, 0, 0, 0.5);
  --ou-shadow-hover: 0 1px 0 var(--ol-steel), 0 16px 28px -18px rgba(0, 0, 0, 0.6);
  --ou-ink: var(--ol-slate); --ou-ink-2: var(--ol-navy); --ou-ink-3: var(--ol-navy);
  --ou-line: rgba(114, 148, 171, 0.45); --ou-line-strong: var(--ol-steel);
  --ou-primary: var(--ol-navy); --ou-on-primary: var(--ol-white);
  --ou-accent: var(--ol-seafoam); --ou-on-accent: var(--ol-slate);
  --ou-accent-strong: var(--ol-navy); --ou-accent-soft: rgba(158, 206, 199, 0.4);
  --ou-dark: var(--ol-slate); --ou-on-dark: var(--ol-ice);
  --ou-feature: var(--ol-slate); --ou-bar: var(--ol-navy); --ou-bar-accent: var(--ol-seafoam);

  /* The main key: its color under the mouse, and its side. */
  --hw-main-hover: var(--ol-slate); --hw-main-edge: var(--ol-black);
  /* A plain key. */
  --hw-key: var(--ol-white); --hw-key-ink: var(--ol-slate); --hw-key-hover: var(--ol-ice); --hw-key-hover-ink: var(--ol-slate);
  --hw-key-line: var(--ol-ice); --hw-key-edge: var(--ol-steel); --hw-key-down: var(--ol-ice);
  /* A tab key: its thin border and its side. */
  --hw-tab-line: rgba(114, 148, 171, 0.65); --hw-tab-edge: var(--ol-steel);
  /* A dark key: toggle keys, the round keys, the tick key on each row. */
  --hw-dkey: var(--ol-slate); --hw-dkey-ink: var(--ol-white); --hw-dkey-hover: var(--ol-navy); --hw-dkey-hover-ink: var(--ol-white); --hw-dkey-edge: var(--ol-black);
  /* Wells and lamps. "lamp" sits on a dark part, "llamp" on a light one. */
  --hw-well: var(--ol-slate); --hw-seg-off: var(--ol-navy);
  --hw-lamp: var(--ol-seafoam); --hw-lamp-glow: rgba(158, 206, 199, 0.9); --hw-lamp-halo: rgba(158, 206, 199, 0.25);
  /* An unlit lamp is a dark socket: black, with a thin light lip under it so it shows on a dark key. */
  --hw-lamp-off: var(--ol-black); --hw-lamp-lip: rgba(224, 238, 245, 0.18);
  --hw-llamp: var(--ol-seafoam); --hw-llamp-off: var(--ol-steel); --hw-llamp-on: 0 0 0 1.5px var(--ol-navy), 0 0 7px 2px rgba(158, 206, 199, 0.95);
}

.ou-app[data-ui="hardware"][data-tone="seafoam"] {
  --ou-ground: var(--ol-seafoam);
  --ou-panel: var(--ol-ice); --ou-surface: var(--ol-ice); --ou-surface-solid: var(--ol-ice);
  --ou-surface-2: var(--ol-white); --ou-field: var(--ol-white); --ou-edge: var(--ol-white);
  --ou-shadow: 0 2px 0 var(--ol-steel), 0 16px 26px -16px rgba(0, 0, 0, 0.55);
  --ou-shadow-hover: 0 2px 0 var(--ol-steel), 0 18px 28px -16px rgba(0, 0, 0, 0.65);
  --ou-line: rgba(65, 78, 91, 0.3); --ou-line-strong: var(--ol-navy);
  --ou-primary: var(--ol-slate); --hw-main-hover: var(--ol-navy);
  --hw-key-hover: var(--ol-seafoam); --hw-key-line: var(--ol-white); --hw-key-edge: var(--ol-navy);
  --hw-tab-line: rgba(65, 78, 91, 0.45); --hw-tab-edge: var(--ol-navy);
  --hw-lamp: var(--ol-white); --hw-lamp-glow: rgba(255, 255, 255, 0.95); --hw-lamp-halo: rgba(255, 255, 255, 0.3);
}

.ou-app[data-ui="hardware"][data-tone="slate"] {
  color-scheme: dark;
  --ou-ground: var(--ol-black);
  --ou-panel: var(--ol-slate); --ou-surface: var(--ol-slate); --ou-surface-solid: var(--ol-slate);
  --ou-surface-2: rgba(224, 238, 245, 0.08); --ou-field: var(--ol-black); --ou-edge: var(--ol-navy);
  --ou-shadow: none; --ou-shadow-hover: 0 0 0 1px var(--ol-steel); --ou-shadow-strong: none;
  --ou-ink: var(--ol-white); --ou-ink-2: var(--ol-ice); --ou-ink-3: color-mix(in srgb, var(--ol-ice) 55%, var(--ol-steel));
  --ou-line: rgba(114, 148, 171, 0.35); --ou-line-strong: var(--ol-steel);
  --ou-hatch: rgba(224, 238, 245, 0.2); --ou-hover: rgba(224, 238, 245, 0.06);
  --ou-primary: var(--ol-seafoam); --ou-on-primary: var(--ol-slate);
  --ou-accent-strong: var(--ol-seafoam); --ou-accent-on-strong: var(--ol-navy); --ou-accent-soft: rgba(158, 206, 199, 0.18);
  --ou-dark: var(--ol-ice); --ou-on-dark: var(--ol-slate);
  --ou-btn-accent: var(--ou-dark); --ou-on-btn-accent: var(--ou-on-dark);
  --ou-feature: var(--ol-black); --ou-bar: var(--ol-steel);
  --ou-knob-on: var(--ou-on-accent); --ou-toast-ico: var(--ol-navy); --ou-line-1: var(--ol-seafoam);
  --ou-good: var(--ol-seafoam); --ou-good-soft: rgba(158, 206, 199, 0.13);
  --ou-warn: var(--ol-ice); --ou-warn-soft: rgba(114, 148, 171, 0.3);
  --ou-bad: var(--ol-white); --ou-bad-soft: rgba(224, 238, 245, 0.14); --ou-bad-fill: var(--ol-ice); --ou-on-bad: var(--ol-slate);
  --hw-main-hover: var(--ol-white); --hw-main-edge: var(--ol-steel);
  --hw-key: var(--ol-navy); --hw-key-ink: var(--ol-white); --hw-key-hover: var(--ol-steel); --hw-key-hover-ink: var(--ol-black);
  --hw-key-line: var(--ol-navy); --hw-key-edge: var(--ol-black); --hw-key-down: var(--ol-navy);
  --hw-tab-line: rgba(114, 148, 171, 0.6); --hw-tab-edge: var(--ol-black);
  --hw-dkey: var(--ol-navy); --hw-dkey-hover: var(--ol-steel); --hw-dkey-hover-ink: var(--ol-black);
  --hw-well: var(--ol-black); --hw-seg-off: var(--ol-navy);
  /* The tab keys are navy here, so their unlit lamp is black. */
  --hw-llamp-off: var(--ol-black);
  --hw-llamp-on: 0 0 0 2px rgba(158, 206, 199, 0.22), 0 0 8px 1px rgba(158, 206, 199, 0.9);
}

/* Inside the dark display card, the main key is seafoam, so it turns white under the mouse. */
.ou-app[data-ui="hardware"] :is(.ou-card--strong, .ou-card--feature) { --hw-main-hover: var(--ol-white); --hw-main-edge: var(--ol-steel); }
/* A dark card's own hard line is black, so it is never lighter than the card. In Slate the card is black and gets no hard line at all. */
.ou-app[data-ui="hardware"] :is(.ou-card--strong, .ou-card--feature) { --ou-shadow: 0 2px 0 var(--ol-black), 0 14px 26px -18px rgba(0, 0, 0, 0.5); --ou-shadow-hover: 0 2px 0 var(--ol-black), 0 16px 28px -18px rgba(0, 0, 0, 0.6); }
.ou-app[data-ui="hardware"][data-tone="slate"] :is(.ou-card--strong, .ou-card--feature) { --ou-shadow: none; --ou-shadow-hover: 0 0 0 1px var(--ol-steel); }

/* ── Lettering: small capitals on labels and keys ── */
.ou-app[data-ui="hardware"] :is(.ou-label, .ou-kicker, .ou-field > label, .ou-card__head .ou-h3) { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.ou-app[data-ui="hardware"] :is(.ou-btn, .ou-chip, .ou-segmented > button, .ou-pill, .ou-brand) { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
/* A select: the chosen value and the list under it are lettered the same way. */
.ou-app[data-ui="hardware"] .ou-select { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Panels ── */
.ou-app[data-ui="hardware"] .ou-panel { border: 1px solid var(--ou-edge); box-shadow: var(--ou-shadow); }
.ou-app[data-ui="hardware"] .ou-brand { border: 0; padding-left: 0; }
.ou-app[data-ui="hardware"] .ou-toast { border-radius: var(--ou-r-ctl); }

/* ── Keys ── */
.ou-app[data-ui="hardware"] :is(.ou-btn, .ou-chip, .ou-iconbtn, .ou-checkdot) {
  margin-bottom: var(--hw-depth); border: 0;
  transition: translate var(--hw-press), box-shadow var(--hw-press), background-color 160ms, color 160ms;
}
.ou-app[data-ui="hardware"] :is(.ou-btn, .ou-chip, .ou-iconbtn, .ou-checkdot, .ou-segmented > button):active { transform: none; scale: none; translate: 0 var(--hw-travel); }

/* A round key is shallower than the others. Everything below reads the same two numbers. */
.ou-app[data-ui="hardware"] :is(.ou-iconbtn, .ou-checkdot) { --hw-depth: 3px; --hw-travel: 2px; }

/* The main key. */
.ou-app[data-ui="hardware"] .ou-btn, .ou-app[data-ui="hardware"] .ou-btn:hover { box-shadow: 0 var(--hw-depth) 0 var(--hw-main-edge), 0 calc(var(--hw-depth) + 6px) 12px -4px rgba(0, 0, 0, 0.45); }
.ou-app[data-ui="hardware"] .ou-btn:active { box-shadow: 0 1px 0 var(--hw-main-edge); }
/* A plain key. */
.ou-app[data-ui="hardware"] :is(.ou-btn--ghost, .ou-btn--soft, .ou-chip), .ou-app[data-ui="hardware"] :is(.ou-btn--ghost, .ou-btn--soft, .ou-chip):hover {
  background: var(--hw-key); color: var(--hw-key-ink);
  box-shadow: inset 0 0 0 1px var(--hw-key-line), 0 var(--hw-depth) 0 var(--hw-key-edge), 0 calc(var(--hw-depth) + 5px) 9px -4px rgba(0, 0, 0, 0.35);
}
.ou-app[data-ui="hardware"] :is(.ou-btn--ghost, .ou-btn--soft, .ou-chip):active { box-shadow: inset 0 0 0 1px var(--hw-key-line), 0 1px 0 var(--hw-key-edge); }
/* A dark key: a toggle key, a round key, the tick key. */
.ou-app[data-ui="hardware"] :is(.ou-chip[aria-pressed], .ou-iconbtn, .ou-checkdot), .ou-app[data-ui="hardware"] :is(.ou-chip[aria-pressed], .ou-iconbtn, .ou-checkdot):hover {
  background: var(--hw-dkey); color: var(--hw-dkey-ink);
  box-shadow: 0 var(--hw-depth) 0 var(--hw-dkey-edge), 0 calc(var(--hw-depth) + 5px) 10px -5px rgba(0, 0, 0, 0.5);
}
/* A key that is on is pressed in, and it stays in under the mouse: the mouse changes its color only, never its shadow. It comes back up when it is pressed again. */
.ou-app[data-ui="hardware"] :is(.ou-chip[aria-pressed], .ou-iconbtn, .ou-checkdot):active,
.ou-app[data-ui="hardware"] :is(.ou-chip, .ou-checkdot)[aria-pressed="true"],
.ou-app[data-ui="hardware"] :is(.ou-chip, .ou-checkdot)[aria-pressed="true"]:hover { translate: 0 var(--hw-travel); box-shadow: 0 1px 0 var(--hw-dkey-edge); }
.ou-app[data-ui="hardware"] .ou-chip[aria-pressed="true"] { font-weight: 600; }
.ou-app[data-ui="hardware"] .ou-iconbtn--strong { background: var(--hw-dkey); color: var(--hw-dkey-ink); }
.ou-app[data-ui="hardware"] .ou-btn:disabled, .ou-app[data-ui="hardware"] .ou-btn[aria-disabled="true"] { background: var(--ou-surface-2); color: var(--ou-ink-3); box-shadow: inset 0 0 0 1px var(--ou-line); translate: none; }

/* The lamp on a toggle key and on the tick key: a dark socket when off, lit when on. */
.ou-app[data-ui="hardware"] .ou-chip[aria-pressed]::before, .ou-app[data-ui="hardware"] .ou-checkdot::before {
  content: ""; width: 0.5rem; height: 0.5rem; flex: none; border: 0; border-radius: 50%; clip-path: none;
  background: var(--hw-lamp-off); box-shadow: 0 1px 0 var(--hw-lamp-lip);
  transition: background-color 120ms, box-shadow 120ms;
}
.ou-app[data-ui="hardware"] .ou-checkdot::before { grid-area: 1 / 1; }
.ou-app[data-ui="hardware"] :is(.ou-chip, .ou-checkdot)[aria-pressed="true"]::before { background: var(--hw-lamp); box-shadow: 0 0 0 2px var(--hw-lamp-halo), 0 0 8px 1px var(--hw-lamp-glow); }
.ou-app[data-ui="hardware"] .ou-checkdot { width: 1.75rem; height: 1.75rem; }
.ou-app[data-ui="hardware"] .ou-checkdot .ou-ico { display: none; }

/* ── Tabs: a row of keys, each with a thin border. No bed behind the group. The chosen key stays down with its lamp lit. ── */
/* The keys in a group are always the same width, like a row of keys on a machine, and the group fills the width of the box it sits in.
   The one exception: a group that shares a row with other controls (it sits in an .ou-row beside a search box or a button) is only as
   wide as its keys need. Its keys are still the same width as each other.
   The keys stay on one row. A label too long for its key breaks onto a second line and the whole row grows with it.
   The group does not scroll, because a scrolling box would cut off the keys' shadows. */
.ou-app[data-ui="hardware"] .ou-segmented { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-self: stretch; width: 100%; gap: 6px; padding: 0 0 var(--hw-depth); border-radius: 0; background: none; overflow: visible; }
.ou-app[data-ui="hardware"] .ou-row > .ou-segmented { align-self: auto; width: auto; }
.ou-app[data-ui="hardware"] .ou-segmented > button {
  min-width: 0; height: auto; min-height: 2.375rem; padding: 7px 0.625rem 0; white-space: normal; line-height: 1.2;
  position: relative; border-radius: var(--ou-r-ctl);
  background: var(--hw-key); color: var(--hw-key-ink);
  box-shadow: inset 0 0 0 1px var(--hw-tab-line), 0 var(--hw-depth) 0 var(--hw-tab-edge), 0 calc(var(--hw-depth) + 5px) 9px -4px rgba(0, 0, 0, 0.35);
  transition: translate var(--hw-press), box-shadow var(--hw-press), background-color 160ms, color 160ms;
}
.ou-app[data-ui="hardware"] .ou-segmented > button::before { content: ""; position: absolute; top: 7px; left: 50%; width: 12px; height: 2px; margin-left: -6px; border-radius: 2px; background: var(--hw-llamp-off); }
.ou-app[data-ui="hardware"] .ou-segmented > button[aria-pressed="true"],
.ou-app[data-ui="hardware"] .ou-segmented > button:active { translate: 0 var(--hw-travel); box-shadow: inset 0 0 0 1px var(--hw-tab-line), 0 1px 0 var(--hw-tab-edge); }
.ou-app[data-ui="hardware"] .ou-segmented > button[aria-pressed="true"] { background: var(--hw-key-down); color: var(--hw-key-ink); }
.ou-app[data-ui="hardware"] .ou-segmented > button[aria-pressed="true"]::before { background: var(--hw-llamp); box-shadow: var(--hw-llamp-on); }

/* ── The meter: a well holding a row of lamps ──
   Put the share that is done on the track as --p (0 to 1) and the meter draws whole
   lamps: 6 pixels wide, 2 apart, the row trimmed to a whole number of lamps and the lit
   part rounded up to the next whole lamp. Without --p the track shows its plain bars.
   A browser that cannot round in CSS keeps the plain line above each rounded one. */
.ou-app[data-ui="hardware"] .ou-progress { position: relative; height: 1.125rem; gap: 2px; padding: 4px; border-radius: 5px; background: var(--hw-well); }
.ou-app[data-ui="hardware"] .ou-progress > i { --ou-bar-r: 1px; background: var(--hw-seg-off); }
.ou-app[data-ui="hardware"] .ou-progress > i:is(.is-accent, .is-strong) { background: var(--hw-lamp); }
.ou-app[data-ui="hardware"] .ou-progress[style*="--p:"] > i { visibility: hidden; }
.ou-app[data-ui="hardware"] .ou-progress[style*="--p:"]::before, .ou-app[data-ui="hardware"] .ou-progress[style*="--p:"]::after {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 50%; translate: calc(-50% + 1px) 0;
  width: calc(100% - 8px); width: round(down, calc(100% - 6px), 8px);
}
.ou-app[data-ui="hardware"] .ou-progress[style*="--p:"]::before { background: repeating-linear-gradient(90deg, var(--hw-seg-off) 0 6px, transparent 6px 8px); }
.ou-app[data-ui="hardware"] .ou-progress[style*="--p:"]::after {
  background: repeating-linear-gradient(90deg, var(--hw-lamp) 0 6px, transparent 6px 8px); filter: drop-shadow(0 0 3px var(--hw-lamp-glow));
  clip-path: inset(-4px calc(100% - var(--p, 0) * 100%) -4px -4px);
  clip-path: inset(-4px calc(100% - round(up, calc(var(--p, 0) * 100%), 8px)) -4px -4px);
}

/* ── The display card: a dark window with a lit number ── */
.ou-app[data-ui="hardware"] .ou-card--feature .ou-num { color: var(--hw-lamp); text-shadow: 0 0 18px var(--hw-lamp-halo); }
.ou-app[data-ui="hardware"][data-tone="slate"] .ou-card--feature { border-color: var(--ol-navy); }

/* A card you can press is a panel, and a panel does not shrink: only its key moves. */
.ou-app[data-ui="hardware"] .ou-card--go:active { transform: none; }

/* ── Badges ── */
.ou-app[data-ui="hardware"] .ou-pill { height: 1.375rem; padding: 0 0.5rem; border-radius: 0.3125rem; font-size: 0.625rem; }
.ou-app[data-ui="hardware"] .ou-count { border-radius: 0.3125rem; }

@media (hover: hover) {
  .ou-app[data-ui="hardware"] .ou-btn:hover { background: var(--hw-main-hover); }
  .ou-app[data-ui="hardware"] :is(.ou-btn--ghost, .ou-btn--soft, .ou-chip:not([aria-pressed])):hover { background: var(--hw-key-hover); color: var(--hw-key-hover-ink); }
  .ou-app[data-ui="hardware"] :is(.ou-chip[aria-pressed], .ou-iconbtn, .ou-checkdot):hover { background: var(--hw-dkey-hover); color: var(--hw-dkey-hover-ink); }
  .ou-app[data-ui="hardware"] .ou-segmented > button:not([aria-pressed="true"]):hover { background: var(--hw-key-hover); color: var(--hw-key-hover-ink); }
  .ou-app[data-ui="hardware"] :is(.ou-iconbtn, .ou-btn):hover .ou-ico { scale: none; translate: none; }
}
@media (pointer: coarse) {
  .ou-app[data-ui="hardware"] .ou-checkdot { width: 2rem; height: 2rem; }
}

/* ── The parts added on 2026-11-19, as hardware ── */
.ou-app[data-ui="hardware"] { --ou-slide: 0; --hw-hot: var(--ol-ice); }
.ou-app[data-ui="hardware"][data-tone="seafoam"] { --hw-hot: var(--ol-seafoam); }
/* Lettering: a list that opens is lettered like the control that opens it. */
.ou-app[data-ui="hardware"] :is(.ou-pick__btn, .ou-date__btn, .ou-listbox > [role="option"], .ou-menu > :is(button, a), .ou-tabs > [role="tab"]) { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.ou-app[data-ui="hardware"] :is(.ou-menu, .ou-listbox, .ou-date__pop) { border-radius: var(--ou-r-card); }
/* A split button is two keys joined into one shape, with a groove where they meet and no gap. Each half goes down by itself. */
.ou-app[data-ui="hardware"] .ou-split > .ou-btn:first-child { border-radius: var(--ou-r-ctl) 0 0 var(--ou-r-ctl); }
.ou-app[data-ui="hardware"] .ou-split > .ou-split__more { margin-left: 0; border-left: 1px solid var(--hw-main-edge); border-radius: 0 var(--ou-r-ctl) var(--ou-r-ctl) 0; }
.ou-app[data-ui="hardware"] .ou-split > .ou-split__more:is(.ou-btn--ghost, .ou-btn--soft) { margin-left: -1px; border-left: 0; }
/* The stepper: two small keys with the number between them, and no bed behind the group. */
.ou-app[data-ui="hardware"] .ou-stepper { gap: 0.375rem; padding: 0 0 3px; background: none; }
.ou-app[data-ui="hardware"] .ou-stepper > button { border: 0; border-radius: var(--ou-r-ctl); background: var(--hw-key); color: var(--hw-key-ink); box-shadow: inset 0 0 0 1px var(--hw-tab-line), 0 3px 0 var(--hw-key-edge); transition: translate var(--hw-press), box-shadow var(--hw-press), background-color 160ms; }
.ou-app[data-ui="hardware"] .ou-stepper > button:active { translate: 0 2px; box-shadow: inset 0 0 0 1px var(--hw-tab-line), 0 1px 0 var(--hw-key-edge); }
.ou-app[data-ui="hardware"] .ou-stepper > button:disabled { background: var(--ou-surface-2); color: var(--ou-ink-3); box-shadow: inset 0 0 0 1px var(--ou-line); }
/* The dial: a dark round key with a lamp for its mark. */
.ou-app[data-ui="hardware"] .ou-knob__cap { border: 0; background: var(--hw-dkey); box-shadow: 0 3px 0 var(--hw-dkey-edge), 0 9px 12px -6px rgba(0, 0, 0, 0.5); }
.ou-app[data-ui="hardware"] .ou-knob.is-held .ou-knob__cap { scale: none; translate: 0 2px; box-shadow: 0 1px 0 var(--hw-dkey-edge); }
.ou-app[data-ui="hardware"] .ou-knob__mark { background: var(--hw-lamp); box-shadow: 0 0 0 2px var(--hw-lamp-halo), 0 0 8px 1px var(--hw-lamp-glow); }
.ou-app[data-ui="hardware"] input.ou-slider { --ou-slider-fill: var(--ou-accent); --ou-slider-rest: var(--hw-well); --track: 0.5rem; }
/* The level meter: lamps in a well. */
.ou-app[data-ui="hardware"] .ou-level { --lit: var(--hw-lamp); --hot: var(--hw-hot); height: 1.125rem; border: 4px solid var(--hw-well); border-radius: 5px; background: repeating-linear-gradient(90deg, var(--hw-seg-off) 0 calc(var(--seg) - 2px), transparent calc(var(--seg) - 2px) var(--seg)), var(--hw-well); }
.ou-app[data-ui="hardware"] .ou-level::after { filter: drop-shadow(0 0 3px var(--hw-lamp-glow)); }
/* The rolling number: lit digits in a dark window. */
.ou-app[data-ui="hardware"] .ou-odometer { padding: 0 0.5rem; border-radius: 0.375rem; background: var(--hw-well); color: var(--hw-lamp); text-shadow: 0 0 14px var(--hw-lamp-halo); box-sizing: content-box; padding-block: 0.25rem; }
.ou-app[data-ui="hardware"] .ou-milestones > li.is-now::before { background: var(--hw-llamp); box-shadow: var(--hw-llamp-on); }
