/* OF COMPONENTS — the controls of every Outer Fields screen, as the devices draw them.
   Needs of-tokens.css and of-base.css. No raw value here: tokens only.

   The grammar (guides/01-principles.md):
     ink only              no control has a colour; lit is ink, unlit is the same ink thinner
     the label is over     capitals, centred, as they are: not tracked, not small print
     the value is inside   a number stands in its box, in bold, and the box fills up to it
     box or O              a value stands in a box, a thing that turns or triggers is round
     short hairs           a divider is a short stroke at the side or on the axis, never a rule
     four corners          the focus                                                        */

/* ── Words ──────────────────────────────────────────────────────────── */
.of-label {
  display: block; font-weight: var(--of-w-regular); font-size: var(--of-fs-label); line-height: 1.2;
  letter-spacing: var(--of-tr-label); text-transform: uppercase; text-align: center; color: var(--of-ink);
}
/* a term and what it does: the line of every manual. <p class="of-say"><b>FREEZE:</b> it stops …</p> */
.of-say { font-size: var(--of-fs-body); line-height: 1.5; color: var(--of-ink-2); }
.of-say > b:first-child { font-family: var(--of-term); font-weight: var(--of-w-regular); font-size: 1.15em; letter-spacing: var(--of-tr-label); color: var(--of-ink); text-transform: uppercase; }
.of-say i, .of-say em { font-style: italic; color: var(--of-ink); }
.of-prose { font-size: var(--of-fs-prose); line-height: var(--of-lh-prose); color: var(--of-ink-2); max-width: var(--of-measure); }

/* the wordmark: |OUTER|FIELDS| */
.of-bars { display: inline-flex; align-items: stretch; font-weight: var(--of-w-thin); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.of-bars > * { padding: 0.16em 0.24em; border-left: var(--of-hair) solid currentColor; }
.of-bars > *:last-child { border-right: var(--of-hair) solid currentColor; }

/* the mark without its square, the way the devices carry it: two letters on the axis */
.of-mark { display: block; width: auto; height: var(--of-play); fill: currentColor; }

/* a name on a photograph, and under it the line that says what it is, opened until it is as wide */
.of-cover { display: inline-grid; justify-items: stretch; }
.of-cover__name { font-family: var(--of-name); font-weight: 400; font-size: var(--of-fs-name); line-height: 0.95; text-transform: uppercase; text-align: center; white-space: nowrap; }
.of-cover__sub { font-weight: var(--of-w-regular); display: flex; justify-content: space-between; font-size: var(--of-fs-label); line-height: 1; text-transform: uppercase; white-space: nowrap; padding-top: var(--of-s3); }
.of-cover__sub > span { white-space: pre; }

/* ── Focus: four corners ────────────────────────────────────────────── */
.of-focus { position: relative; }
.of-box, .of-knob, .of-btn, .of-trig, .of-check, .of-pick, .of-seg > button, .of-dots > label, .of-play { position: relative; }
.of-box::after, .of-knob::after, .of-btn::after, .of-trig::after, .of-check::after, .of-pick::after, .of-seg > button::after, .of-play::after, .of-dots > label::after {
  content: ""; position: absolute; inset: calc(-1 * var(--of-s2)); pointer-events: none; opacity: 0;
  --_c: var(--of-ink); --_l: var(--of-corner); --_w: var(--of-edge-w);
  background:
    linear-gradient(var(--_c), var(--_c)) 0 0 / var(--_l) var(--_w), linear-gradient(var(--_c), var(--_c)) 0 0 / var(--_w) var(--_l),
    linear-gradient(var(--_c), var(--_c)) 100% 0 / var(--_l) var(--_w), linear-gradient(var(--_c), var(--_c)) 100% 0 / var(--_w) var(--_l),
    linear-gradient(var(--_c), var(--_c)) 0 100% / var(--_l) var(--_w), linear-gradient(var(--_c), var(--_c)) 0 100% / var(--_w) var(--_l),
    linear-gradient(var(--_c), var(--_c)) 100% 100% / var(--_l) var(--_w), linear-gradient(var(--_c), var(--_c)) 100% 100% / var(--_w) var(--_l);
  background-repeat: no-repeat; transition: opacity var(--of-dur-fast) var(--of-ease);
}
.of-box:has(:focus-visible)::after, .of-knob:has(:focus-visible)::after, .of-btn:focus-visible::after, .of-trig:focus-visible::after,
.of-check:focus-visible::after, .of-pick:has(> .of-pick__btn:focus-visible)::after, .of-seg > button:focus-visible::after, .of-play:focus-visible::after,
.of-dots > label:has(:focus-visible)::after, .of-check:has(> input:focus-visible)::after, .is-focus::after { opacity: 1 !important; }
.of-btn:focus-visible, .of-trig:focus-visible, .of-check:focus-visible, .of-seg > button:focus-visible, .of-play:focus-visible,
.of-box :focus-visible, .of-knob__dial:focus-visible, .of-pick__btn:focus-visible, .of-dots :focus-visible { outline: 0; }

/* ── Box: the slider of the devices ─────────────────────────────────────
   <label class="of-box"><span class="of-label">Min wind</span><input type="range" class="of-slider" …><output></output></label>
   The whole box is the control. It fills up to the value with a veil of ink, and the
   number stands inside. of-slider.js writes --p (the value) and --o (the origin). */
.of-box { display: grid; grid-template: "label" auto "box" var(--of-row) / minmax(0, 1fr); row-gap: var(--of-s1); min-width: 0; }
.of-box > .of-label { grid-area: label; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-box > input, .of-box > output { grid-area: box; }
.of-box > output {
  display: grid; place-items: center; pointer-events: none; padding: 0 var(--of-s2);
  font-weight: var(--of-w-bold); font-size: var(--of-fs-value); line-height: 1; color: var(--of-ink); white-space: nowrap;
}
.of-box[data-value="start"] > output { place-items: center start; }
.of-slider {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--of-row); margin: 0; padding: 0;
  border: var(--of-edge-w) solid var(--of-edge); border-radius: var(--of-radius); cursor: ew-resize; touch-action: pan-y;
  --p: 50%; --o: 0%; --_v: color-mix(in srgb, var(--of-ink) var(--of-veil), transparent);
  --_a: min(var(--p), var(--o)); --_b: max(var(--p), var(--o));
  background: linear-gradient(to right, transparent var(--_a), var(--_v) var(--_a) var(--_b), transparent var(--_b));
  transition: border-color var(--of-dur-fast) var(--of-ease);
}
.of-slider::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.of-slider::-moz-range-track { height: 100%; background: transparent; }
.of-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1px; height: 100%; background: transparent; border: 0; }
.of-slider::-moz-range-thumb { width: 1px; height: 100%; background: transparent; border: 0; border-radius: 0; }
.of-slider:hover, .of-box.is-hover > .of-slider { border-color: var(--of-ink); }
.of-slider:disabled { cursor: not-allowed; border-color: var(--of-unlit); --_v: transparent; }
.of-box:has(:disabled) > output, .of-box:has(:disabled) > .of-label { color: var(--of-edge); font-weight: var(--of-w-regular); }

/* two ends of one range in one box: the fill stands between them (of-slider.js, data-pair) */
.of-box--pair > .of-slider { grid-area: box; }
.of-box--pair > .of-slider + .of-slider { border-color: transparent; background: none; pointer-events: none; }
.of-box--pair > output { place-items: center stretch; grid-auto-flow: column; }
.of-box--pair > output > span:last-child { text-align: right; }
/* two numbers the page writes by itself */
.of-box__outs { grid-area: box; display: flex; align-items: center; justify-content: space-between; gap: var(--of-s2); padding: 0 var(--of-s2); pointer-events: none; font-weight: var(--of-w-bold); font-size: var(--of-fs-value); line-height: 1; white-space: nowrap; }

/* ── Knob: the open ring (of-knob.js draws it) ──────────────────────── */
.of-knob { display: inline-grid; justify-items: center; row-gap: var(--of-s1); min-width: 0; }
.of-knob__dial {
  width: var(--of-knob); height: var(--of-knob); border-radius: var(--of-radius-round);
  cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none;
}
.of-knob--sm .of-knob__dial { width: var(--of-knob-sm); height: var(--of-knob-sm); }
.of-knob__dial svg { width: 100%; height: 100%; overflow: visible; }
.of-knob__dial svg * { vector-effect: non-scaling-stroke; fill: none; stroke-width: var(--of-ring); transition: stroke var(--of-dur-fast) var(--of-ease); }
.of-knob__ring   { stroke: var(--of-unlit); }
.of-knob__arc    { stroke: var(--of-ink); }
.of-knob__needle { stroke: var(--of-ink); stroke-linecap: butt; }
.of-knob__dial:hover .of-knob__ring, .of-knob.is-hover .of-knob__ring { stroke: var(--of-edge); }
.of-knob__label { font-weight: var(--of-w-regular); font-size: var(--of-fs-label); line-height: 1.2; letter-spacing: var(--of-tr-label); text-transform: uppercase; text-align: center; color: var(--of-ink); white-space: nowrap; }
.of-knob__value { font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1.1; min-height: 1.1em; margin-top: calc(-1 * var(--of-s1)); text-align: center; color: var(--of-ink); white-space: nowrap; cursor: text; }
.of-knob__value input { width: 8ch; padding: 0; border: 0; border-bottom: var(--of-hair) solid var(--of-ink); border-radius: 0; background: transparent; text-align: center; outline: 0; }
.of-knob__value.is-fixed { cursor: default; }
/* the page's own control, under the part that stands over it (of-native.js) */
.of-knob, .of-seg, .of-check { position: relative; }
:is(.of-knob__native, .of-seg__native) { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }
.of-knob[aria-disabled="true"] .of-knob__dial { cursor: not-allowed; }
.of-knob[aria-disabled="true"] :is(.of-knob__arc, .of-knob__needle) { stroke: var(--of-unlit); }
.of-knob[aria-disabled="true"] :is(.of-knob__value, .of-knob__label) { color: var(--of-edge); }

/* signal path: knobs the sound goes through, joined by a hair at the height of their centres */
.of-path { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.of-path > .of-knob { position: relative; }
.of-path > .of-knob + .of-knob > .of-knob__dial::before {
  content: ""; position: absolute; top: calc(var(--of-fs-label) * 1.2 + var(--of-s1) + var(--of-knob) / 2);
  right: calc(50% + var(--of-knob) / 2); width: calc(100% - var(--of-knob)); height: var(--of-hair); background: var(--of-edge); pointer-events: none;
}
.of-path > .of-knob--sm + .of-knob--sm > .of-knob__dial::before { top: calc(var(--of-fs-label) * 1.2 + var(--of-s1) + var(--of-knob-sm) / 2); right: calc(50% + var(--of-knob-sm) / 2); width: calc(100% - var(--of-knob-sm)); }

.of-path--tight .of-knob__label { font-size: 0.6875rem; letter-spacing: 0; }   /* four knobs in a column */

/* ── Button: a box with a word in it ────────────────────────────────── */
.of-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--of-s2);
  min-height: var(--of-row); padding: 0 var(--of-s3);
  border: var(--of-edge-w) solid var(--of-edge); border-radius: var(--of-radius); background: transparent; color: var(--of-ink);
  font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1; letter-spacing: var(--of-tr-label); text-transform: uppercase; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background var(--of-dur-fast) var(--of-ease), border-color var(--of-dur-fast) var(--of-ease);
}
.of-btn:hover, .of-btn.is-hover { border-color: var(--of-ink); background: color-mix(in srgb, var(--of-ink) var(--of-veil-2), transparent); }
.of-btn:active, .of-btn.is-active, .of-btn[aria-pressed="true"], .of-btn.is-on { border-color: var(--of-ink); background: color-mix(in srgb, var(--of-ink) var(--of-veil), transparent); }
.of-btn:disabled { color: var(--of-edge); border-color: var(--of-unlit); background: transparent; cursor: not-allowed; }
.of-btn svg { width: var(--of-icon); height: var(--of-icon); fill: none; stroke: currentColor; stroke-width: 1.5; }
.of-btn--block { width: 100%; }
.of-btn--tall { min-height: calc(var(--of-row) * 1.5); }   /* FREEZE: the one you reach for while you listen */

/* ── Trigger: an O that does one thing, and its word beside it ──────── */
.of-trig { display: inline-flex; align-items: center; gap: var(--of-s2); min-height: var(--of-row); padding: 0; border: 0; background: none; color: var(--of-ink);
  font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1; letter-spacing: var(--of-tr-label); text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.of-trig::before { content: ""; flex: none; width: var(--of-trig); height: var(--of-trig); border: var(--of-edge-w) solid var(--of-edge); border-radius: var(--of-radius-round); transition: background var(--of-dur) var(--of-ease), border-color var(--of-dur-fast) var(--of-ease); }
.of-trig:hover::before { border-color: var(--of-ink); }
.of-trig:active::before, .of-trig.is-active::before, .of-trig[aria-pressed="true"]::before { border-color: var(--of-ink); background: radial-gradient(circle, var(--of-ink) 0 34%, transparent 36%); }
.of-trig > svg { display: none; }
.of-trig:disabled { color: var(--of-edge); cursor: not-allowed; } .of-trig:disabled::before { border-color: var(--of-unlit); }

/* play: the O of the mark, tall, with the triangle of a menu turned on its side */
.of-play { flex: none; display: grid; place-items: center; width: calc(var(--of-play) * 0.62); height: var(--of-play); padding: 0; border: var(--of-ring) solid var(--of-ink); border-radius: var(--of-radius-round); background: transparent; color: var(--of-ink); cursor: pointer; transition: background var(--of-dur) var(--of-ease); }
.of-play::before { content: ""; width: calc(var(--of-play) * 0.2); height: calc(var(--of-play) * 0.26); background: currentColor; clip-path: polygon(8% 0, 100% 50%, 8% 100%); }
.of-play > svg { display: none; }   /* the app moves the path of its own icon: it stays, unseen */
.of-play:is([aria-pressed="true"], [aria-label="Pause"])::before { clip-path: none; background: linear-gradient(to right, currentColor 34%, transparent 34% 66%, currentColor 66%); }
.of-play:hover { background: color-mix(in srgb, var(--of-ink) var(--of-veil-2), transparent); }

/* ── Check: a square and a sentence ─────────────────────────────────── */
.of-check { display: inline-flex; align-items: center; gap: var(--of-s2); min-height: var(--of-row); padding: 0; border: 0; background: none; color: var(--of-ink);
  font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1.2; text-align: left; cursor: pointer; }
.of-check::before { content: ""; flex: none; width: calc(var(--of-trig) - 2px); height: calc(var(--of-trig) - 2px); border: var(--of-edge-w) solid var(--of-edge); background: transparent; transition: background var(--of-dur-fast) var(--of-ease), border-color var(--of-dur-fast) var(--of-ease); }
.of-check:hover::before { border-color: var(--of-ink); }
.of-check > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.of-check:is([aria-checked="true"], :has(> input:checked))::before { border-color: var(--of-ink); background: linear-gradient(var(--of-ink), var(--of-ink)) center / 50% 50% no-repeat; }
.of-check:is(:disabled, :has(> input:disabled)) { color: var(--of-edge); cursor: not-allowed; } .of-check:is(:disabled, :has(> input:disabled))::before { border-color: var(--of-unlit); }

/* ── Boxes to choose from: STEREO  QUAD  3rdHOA ─────────────────────── */
.of-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--of-s1); min-width: 0; }
.of-seg > button {
  min-height: var(--of-row); padding: 0 var(--of-s1); border: var(--of-edge-w) solid var(--of-edge); border-radius: 0; background: transparent; color: var(--of-ink);
  font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background var(--of-dur-fast) var(--of-ease), border-color var(--of-dur-fast) var(--of-ease);
}
.of-seg > button:hover { border-color: var(--of-ink); background: color-mix(in srgb, var(--of-ink) var(--of-veil-2), transparent); }
.of-seg > button:is([aria-checked="true"], [aria-pressed="true"]) { border-color: var(--of-ink); font-weight: var(--of-w-bold); background: color-mix(in srgb, var(--of-ink) var(--of-veil), transparent); }
.of-seg > button:disabled { color: var(--of-edge); border-color: var(--of-unlit); cursor: not-allowed; }
.of-seg--stack { grid-auto-flow: row; grid-auto-columns: auto; }

/* MODE: two or three Os, one with a full dot. The word under each is the label */
.of-dots { display: inline-flex; gap: var(--of-s3); }
.of-dots > label { display: grid; justify-items: center; row-gap: var(--of-s1); font-size: var(--of-fs-label); cursor: pointer; }
.of-dots input { -webkit-appearance: none; appearance: none; width: calc(var(--of-trig) * 1.4); height: calc(var(--of-trig) * 1.4); margin: 0; border: var(--of-edge-w) solid var(--of-edge); border-radius: var(--of-radius-round); background: radial-gradient(circle, var(--of-edge) 0 14%, transparent 18%); cursor: pointer; }
.of-dots input:checked { border-color: var(--of-ink); background: radial-gradient(circle, var(--of-ink) 0 14%, color-mix(in srgb, var(--of-ink) var(--of-veil), transparent) 18%); }

/* ── Pick: the menu of the devices (of-menu.js opens it) ────────────── */
.of-pick { display: grid; row-gap: var(--of-s1); min-width: 0; }
.of-menu { position: relative; display: block; min-width: 0; }
.of-menu > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.of-select, .of-pick__btn, .of-menu__btn, .of-input {
  width: 100%; min-height: var(--of-row); padding: 0 var(--of-s2); border: var(--of-edge-w) solid var(--of-edge); border-radius: 0; background-color: transparent; color: var(--of-ink);
  font-weight: var(--of-w-regular); font-size: var(--of-fs-value); line-height: 1.2; text-align: left; transition: border-color var(--of-dur-fast) var(--of-ease);
}
.of-select, .of-menu__btn {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.of-select { background-image: linear-gradient(to top right, transparent 50%, var(--of-ink) 50%), linear-gradient(to top left, transparent 50%, var(--of-ink) 50%);
  background-position: calc(100% - 13.5px) 50%, calc(100% - 8px) 50%; background-size: 5.5px 7px; background-repeat: no-repeat; }
.of-menu__btn { position: relative; background-image: none; }
.of-menu__btn::after { content: ""; position: absolute; right: var(--of-s2); top: 50%; width: 11px; height: 7px; margin-top: -3px; background: var(--of-ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.of-menu__btn[aria-expanded="true"]::after { transform: scaleY(-1); }
.of-menu__btn:hover, .of-select:hover, .of-input:hover, .of-menu__btn[aria-expanded="true"] { border-color: var(--of-ink); }
.of-menu__btn:focus-visible, .of-select:focus-visible, .of-input:focus-visible { outline-offset: 3px; }
.of-menu__btn:disabled, .of-select:disabled, .of-input:disabled { color: var(--of-edge); border-color: var(--of-unlit); cursor: not-allowed; }
.of-select option { background: var(--of-ground); color: var(--of-ink); }
.of-input::placeholder { color: var(--of-edge); }
.of-menu__list {
  position: absolute; z-index: var(--of-z-menu); left: 0; top: 100%; min-width: 100%; max-height: min(340px, 60vh); overflow-y: auto; margin: 0; padding: 0; list-style: none;
  background: color-mix(in srgb, var(--of-ground) var(--of-shade-list), transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: var(--of-edge-w) solid var(--of-ink); border-top: 0;
}
.of-menu__list[data-side="top"] { top: auto; bottom: 100%; border-top: var(--of-edge-w) solid var(--of-ink); border-bottom: 0; }
.of-menu__opt { display: flex; align-items: center; justify-content: space-between; gap: var(--of-s4); min-height: var(--of-row); padding: 0 var(--of-s2); font-weight: var(--of-w-regular); font-size: var(--of-fs-value); color: var(--of-ink-2); white-space: nowrap; cursor: pointer; }
.of-menu__opt small { font-size: inherit; font-weight: var(--of-w-regular); color: var(--of-ink-2); }
.of-menu__opt.is-active { color: var(--of-ink); background: color-mix(in srgb, var(--of-ink) var(--of-veil-2), transparent); }
.of-menu__opt[aria-selected="true"] { color: var(--of-ink); font-weight: var(--of-w-bold); background: color-mix(in srgb, var(--of-ink) var(--of-veil), transparent); }
.of-menu__opt[aria-disabled="true"] { color: var(--of-edge); cursor: not-allowed; }
.of-menu__group { font-weight: var(--of-w-regular); padding: var(--of-s2) var(--of-s2) var(--of-s1); font-size: var(--of-fs-label); color: var(--of-ink-2); }
/* the shape of what is chosen, solid, under its box: a window, a wave, a scale, an envelope */
.of-figure { display: block; width: 100%; height: 30px; fill: var(--of-ink); stroke: none; }
.of-figure .ln { fill: none; stroke: var(--of-ink); stroke-width: var(--of-edge-w); vector-effect: non-scaling-stroke; }

/* ── Tabs: |LIBRARIES|PLUG-INS|DATA FIELDS|  (of-tabs.js: the keyboard) ── */
.of-tabs { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; padding: 2px 1px; }
.of-tabs::-webkit-scrollbar { display: none; }
.of-tabs > [role="tab"], .of-tabs > a {
  position: relative; flex: none; display: grid; place-items: center; min-height: var(--of-row); padding: 0 var(--of-s3); border: 0; border-left: var(--of-hair) solid var(--of-edge); border-radius: 0; background: transparent; color: var(--of-ink-2);
  font-weight: var(--of-w-light); font-size: var(--of-fs-body); line-height: 1; letter-spacing: var(--of-tr-label); text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color var(--of-dur) var(--of-ease);
}
.of-tabs > :is([role="tab"], a):last-of-type { border-right: var(--of-hair) solid var(--of-edge); }
.of-tabs > :is([role="tab"], a):hover { color: var(--of-ink); }
.of-tabs > :is([aria-selected="true"], [aria-current="page"]) { color: var(--of-ink); font-weight: var(--of-w-bold); }
.of-tabs > :is([aria-selected="true"], [aria-current="page"])::before, .of-tabs > :is([aria-selected="true"], [aria-current="page"])::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--of-bar); background: var(--of-ink); z-index: 1; }
.of-tabs > :is([aria-selected="true"], [aria-current="page"])::before { left: calc(-1 * var(--of-hair)); }
.of-tabs > :is([aria-selected="true"], [aria-current="page"])::after { right: calc(-1 * var(--of-hair)); }
.of-tabs > [role="tab"]:focus-visible { outline-offset: -5px; }
.of-tabs > [role="tab"]:disabled { color: var(--of-unlit); cursor: not-allowed; }
.of-tabs--fill > [role="tab"] { flex: 1; }
.of-tabpanel { padding-top: var(--of-s4); }
/* two pages side by side and no more: the arrows of the Nebbia window */
.of-turn { display: inline-flex; align-items: center; gap: var(--of-s4); }
.of-turn > button { min-width: var(--of-row); min-height: var(--of-row); padding: 0; border: 0; background: none; color: var(--of-ink); cursor: pointer; }
.of-turn > button svg { width: 34px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; margin: auto; }
.of-turn > button:disabled { color: var(--of-unlit); cursor: default; }

/* ── Fold: a name between two short hairs ───────────────────────────── */
.of-fold > summary { display: flex; align-items: center; gap: var(--of-s3); min-height: var(--of-row); cursor: pointer; list-style: none; font-weight: var(--of-w-regular); font-size: var(--of-fs-label); letter-spacing: var(--of-tr-label); text-transform: uppercase; }
.of-fold > summary::-webkit-details-marker { display: none; }
.of-fold > summary::before, .of-fold > summary::after { content: ""; flex: 1; height: var(--of-hair); background: var(--of-edge); }
.of-fold[open] > summary::before, .of-fold[open] > summary::after { background: var(--of-ink); }
.of-fold > :not(summary) { padding-block: var(--of-s3); }

/* ── Status: a dot and a sentence ───────────────────────────────────── */
.of-status { font-weight: var(--of-w-regular); display: inline-flex; align-items: baseline; gap: var(--of-s2); font-size: var(--of-fs-value); line-height: 1.3; color: var(--of-ink-2); }
.of-status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: var(--of-radius-round); background: var(--of-edge); }
.of-status[data-state="live"]::before  { background: var(--of-live); }
.of-status[data-state="demo"]::before  { background: var(--of-demo); }
.of-status[data-state="error"]::before { background: var(--of-alert); }

/* ── Reading: the one thin number ───────────────────────────────────── */
.of-read { display: grid; row-gap: var(--of-s1); }
.of-read__n { font-weight: var(--of-w-thin); font-size: var(--of-fs-read); line-height: 0.95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.of-read__n small { font-size: 0.42em; font-weight: var(--of-w-light); margin-left: 0.2em; }
.of-read__of { font-size: var(--of-fs-body); font-weight: var(--of-w-regular); line-height: 1.3; color: var(--of-ink-2); }
.of-read__of b { color: var(--of-ink); }

/* ── List: what is sounding, what is strongest. Click one to hear it ── */
.of-list { margin: 0; padding: 0; list-style: none; display: grid; }
.of-list > li { display: contents; }
.of-list button { font-weight: var(--of-w-regular); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--of-s3); align-items: baseline; width: 100%; min-height: var(--of-row); padding: 3px var(--of-s2); margin-inline: calc(-1 * var(--of-s2)); width: calc(100% + 2 * var(--of-s2)); border: 0; background: transparent; color: var(--of-ink-2); text-align: left; font-size: var(--of-fs-value); line-height: 1.2; cursor: pointer; }
.of-list button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-list button > b { font-variant-numeric: tabular-nums; color: var(--of-ink); white-space: nowrap; }
.of-list button:hover { background: color-mix(in srgb, var(--of-ink) var(--of-veil-2), transparent); color: var(--of-ink); }
.of-list button.is-on { background: color-mix(in srgb, var(--of-ink) var(--of-veil), transparent); color: var(--of-ink); font-weight: var(--of-w-bold); }

/* ── Table of facts ─────────────────────────────────────────────────── */
.of-table { width: 100%; border-collapse: collapse; font-size: var(--of-fs-body); }
.of-table th { text-align: left; font-weight: var(--of-w-regular); font-size: var(--of-fs-label); text-transform: uppercase; letter-spacing: var(--of-tr-label); padding: var(--of-s2) var(--of-s4) var(--of-s2) 0; color: var(--of-ink); vertical-align: bottom; }
.of-table td { padding: var(--of-s2) var(--of-s4) var(--of-s2) 0; vertical-align: top; color: var(--of-ink-2); line-height: 1.45; }
.of-table td:first-child { color: var(--of-ink); font-weight: var(--of-w-regular); }
