/* Lab pages: predict-then-reveal experiments. Loaded after css/system.css and css/guide.css. */

.experiment,
#how,
#results {
  max-width: none;
}


/* Challenge card: a sign panel above the bench */
.challenge {
  margin: 0 0 16px;
  padding: 18px 20px;
  background: var(--paper-2);
  border-top: 3px solid var(--course);
}
.ch-count {
  margin: 0 0 6px;
  color: var(--muted);
  font: 700 0.85rem/1.3 var(--f-display);
  letter-spacing: 0.02em;
}
.ch-prompt {
  margin: 0 0 14px;
  font: 700 1.15rem/1.4 var(--f-display);
}
.ch-label {
  margin: 14px 0 6px;
  color: var(--muted);
  font: 700 0.85rem/1.3 var(--f-display);
}
.ch-options,
.ch-conf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ch-opt {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px dashed var(--muted);
  background: var(--paper);
  color: var(--ink);
  font: 600 0.95rem/1.3 var(--f-display);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease);
}
.ch-opt.small {
  min-height: 40px;
  padding: 6px 12px;
  font-size: 0.9rem;
}
.ch-opt:hover:not(:disabled) {
  border-color: var(--act);
}
.ch-opt[aria-checked="true"] {
  border-style: solid;
  border-color: var(--act);
  background: var(--act);
  color: var(--act-ink);
}
.ch-opt:disabled {
  cursor: default;
}
.ch-opt:disabled:not([aria-checked="true"]) {
  opacity: 0.5;
}
.ch-go {
  margin-top: 16px;
}
.ch-verdict {
  margin-top: 16px;
  padding: 14px 16px 16px;
  border: 2px solid var(--act);
}
.ch-verdict.wrong {
  border-style: dashed;
}
.ch-mark {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  background: var(--act);
  color: var(--act-ink);
  font: 800 0.9rem/1.3 var(--f-display);
}
.ch-verdict.wrong .ch-mark {
  background: transparent;
  color: var(--ink);
  border: 2px dashed var(--act);
}
.ch-why {
  margin: 0 0 14px;
  max-width: 64ch;
}
.sec-link {
  white-space: nowrap;
  font-weight: 700;
}
.ch-open {
  margin: 0 0 14px;
}
@media (prefers-reduced-motion: no-preference) {
  .ch-verdict {
    animation: verdict-in 320ms var(--ease) both;
  }
}
@keyframes verdict-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* Bench: stage beside the controls on wide screens, stacked on phones */
/* Bench layout: nothing is pinned, so nothing can cover the buttons.
   Narrow: challenge, stage, controls in reading order. Wider: the challenge sits beside the stage, so the question,
   its buttons and the reveal are visible together; the sandbox controls run underneath in columns.
   The layout follows the room the experiment has (container query), not the window. */
.experiment {
  container-type: inline-size;
}
.bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "challenge" "stage" "controls";
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.side {
  display: contents;
}
.bench > .stage {
  grid-area: stage;
  aspect-ratio: 3 / 2;
}
.bench .challenge {
  grid-area: challenge;
  margin: 0;
}
.bench .controls {
  grid-area: controls;
}
/* Experiments that draw gauges or a plot under the picture need a squarer stage. */
.experiment[data-experiment="capacitor"] .bench > .stage,
.experiment[data-experiment="networks"] .bench > .stage,
.experiment[data-experiment="interface"] .bench > .stage,
.experiment[data-experiment="gauss"] .bench > .stage {
  aspect-ratio: 1 / 1;
}
.experiment[data-experiment="logic"] .bench > .stage {
  aspect-ratio: 4 / 3;
}
.experiment[data-experiment="bases"] .bench > .stage,
.experiment[data-experiment="encodings"] .bench > .stage,
.experiment[data-experiment="characters"] .bench > .stage,
.experiment[data-experiment="unsigned"] .bench > .stage,
.experiment[data-experiment="signed"] .bench > .stage {
  aspect-ratio: 4 / 3;
}
.experiment[data-experiment="identity"] .bench > .stage,
.experiment[data-experiment="nand"] .bench > .stage,
.experiment[data-experiment="kmap"] .bench > .stage,
.experiment[data-experiment="shannon"] .bench > .stage,
.experiment[data-experiment="anf"] .bench > .stage,
.experiment[data-experiment="hazard"] .bench > .stage {
  aspect-ratio: 4 / 3;
}
@container (min-width: 640px) {
  .bench {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    grid-template-areas: "challenge stage" "controls controls";
    gap: 20px 24px;
  }
  .bench > .stage {
    aspect-ratio: 4 / 3;
    max-height: calc(100vh - 140px);
  }
  .bench .controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 24px;
  }
}
@container (max-width: 639px) {
  .lab-ch2 .experiment[data-experiment] .bench > .stage {
    min-height: 340px;
    aspect-ratio: auto;
  }
}

.stage {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--paper);
  touch-action: none;
  overflow: hidden;
}
.stage canvas,
.stage .handles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage-note {
  position: absolute;
  left: 8px;
  bottom: 6px;
  margin: 0;
  padding: 2px 6px;
  background: var(--paper);
  color: var(--muted);
  font: 600 0.75rem/1.3 var(--f-display);
  pointer-events: none;
}

/* Handles drawn in SVG */
/* The stage takes the pointer (js picks the nearest handle); the SVG handles are for keyboard focus. */
.stage .handles {
  pointer-events: none;
}
.handles .charge,
.handles .probe {
  outline: none;
}
.stage.can-grab {
  cursor: grab;
}
.stage.dragging {
  cursor: grabbing;
}

.handles .charge circle {
  stroke: var(--fau-mark);
  stroke-width: 2.5;
}
.handles .charge.pos circle {
  fill: var(--fau-mark);
}
.handles .charge.neg circle {
  fill: var(--paper);
}
.handles .charge text {
  font: 800 18px/1 var(--f-display);
  text-anchor: middle;
  fill: var(--on-fau);
  pointer-events: none;
}
.handles .charge.neg text {
  fill: var(--fau-mark);
}
.handles .charge text.qlabel {
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
}
.handles .charge:focus-visible circle,
.handles .probe:focus-visible circle {
  stroke: var(--act);
  stroke-width: 4;
}
.handles .probe circle {
  fill: var(--paper);
  stroke: var(--act);
  stroke-width: 2.5;
}
.handles .probe text {
  font: 800 13px/1 var(--f-display);
  text-anchor: middle;
  fill: var(--act);
  pointer-events: none;
}
.handles .force {
  stroke: var(--act);
  stroke-width: 2.5;
}
.handles .force-head {
  fill: var(--act);
}
.handles .ghost {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.handles .ghost-label,
.handles .truth-label {
  font: 700 12px/1 var(--f-display);
  text-anchor: middle;
  fill: var(--muted);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
}
.handles .truth {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: square;
}
.handles .truth-label {
  fill: var(--ink);
}

/* Controls */
.controls fieldset {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.controls fieldset:disabled {
  opacity: 0.55;
}
.controls legend {
  padding: 0;
  margin-bottom: 8px;
  font: 800 0.95rem/1.3 var(--f-display);
}
.controls .switch,
.controls .field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 0.95rem;
}
.controls .field-row {
  justify-content: space-between;
}
/* A checkbox row reads as "[x] label", never with the label pushed to the far edge. */
.controls .field-row:has(> input[type="checkbox"]),
.controls .field-row:has(> input[type="radio"]) {
  justify-content: flex-start;
}
.controls select {
  min-height: 36px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.9rem/1.2 var(--f-display);
}
.controls input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--act);
}
.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  margin: 2px 0 10px;
  font-size: 0.95rem;
}
.range-row output {
  font: 700 0.9rem/1.3 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.range-row input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  /* WebKit gives range inputs a 2px side margin, which pushed a full-width slider past its column */
  margin: 0;
  box-sizing: border-box;
  min-height: 28px;
  accent-color: var(--act);
}
.seg {
  display: flex;
  margin: 0 0 12px;
  border: 2px solid var(--act);
}
.seg label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font: 700 0.9rem/1.2 var(--f-display);
  color: var(--act);
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label:has(input:checked) {
  background: var(--act);
  color: var(--act-ink);
}
.seg label:has(input:focus-visible) {
  outline: 3px solid var(--act);
  outline-offset: -3px;
}
.charge-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.charge-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
}
.charge-list > li > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.row-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ctl-label {
  margin: 10px 0 6px;
  color: var(--muted);
  font: 700 0.85rem/1.3 var(--f-display);
}
.btn.small {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.85rem;
}
.readouts {
  margin: 10px 0 0;
}
.readouts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.readouts dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.readouts dd {
  margin: 0;
  font: 700 0.95rem/1.3 var(--f-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Results */
.res-list {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}
.res-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.res-name {
  font-weight: 700;
}
.res-score {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.res-list li.done .res-score {
  color: var(--ink);
  font-weight: 700;
}
.res-revisit {
  padding-left: 1.3rem;
}
.res-revisit li {
  padding: 4px 0;
}

@media (max-width: 560px) {
  .challenge {
    padding: 14px 14px 16px;
  }
  .ch-options {
    flex-direction: column;
  }
  .ch-opt {
    width: 100%;
  }
}
@media print {
  .bench,
  .challenge {
    display: none;
  }
}

/* Compact challenge card: confidence switch and Reveal share a row; the verdict replaces the question block. */
.ch-options {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
}
.ch-opt {
  width: 100%;
  min-height: 40px;
  padding: 7px 12px;
}
.ch-act {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.ch-conf.seg {
  gap: 0;
  flex: 1 1 12rem;
  margin: 0;
}
.ch-seg {
  flex: 1;
  min-height: 40px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--act);
  font: 700 0.85rem/1.2 var(--f-display);
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.ch-seg + .ch-seg {
  border-left: 2px solid var(--act);
}
.ch-seg:hover:not(:disabled) {
  background: var(--fau-tint);
}
.ch-seg[aria-checked="true"] {
  background: var(--act);
  color: var(--act-ink);
}
.ch-seg:disabled {
  cursor: default;
}
.ch-act .ch-go {
  margin: 0;
  flex: 0 0 auto;
}
.ch-label {
  margin-top: 12px;
}
.ch-verdict {
  margin-top: 4px;
}
.ch-said {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--muted);
}
.ch-said b {
  color: var(--ink);
}
/* Reveal: the badge carries a signal line (full when Correct and Sure, half otherwise) and a confident miss gets an ink
   dashed outline. What you said is underlined dashed in ink when wrong, signal when right; the answer is signal. */
.ch-mark {
  position: relative;
}
.ch-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal-a), var(--signal-b));
  transform-origin: left;
}
.ch-verdict.right .ch-mark::after {
  width: 50%;
}
.ch-verdict.right .ch-mark.conf-sure::after {
  width: 100%;
}
.ch-verdict.wrong .ch-mark.conf-sure {
  border-color: var(--ink);
}
.ch-said b.pick-ok,
.ch-said b.pick-ans {
  padding-bottom: 2px;
  background: linear-gradient(90deg, var(--signal-a), var(--signal-b)) 0 100% / 100% 3px no-repeat;
}
.ch-said b.pick-miss {
  border-bottom: 2px dashed var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .ch-swap.revealed .ch-mark::after {
    animation: ch-draw 400ms var(--ease) 300ms both;
  }
  .ch-swap.revealed .ch-said b.pick-ok {
    animation: ch-underline 400ms var(--ease) 350ms both;
  }
  .ch-swap.revealed .ch-said b.pick-miss {
    animation: ch-clip 500ms var(--ease) 350ms both;
  }
  .ch-swap.revealed .ch-said b.pick-ans {
    animation: ch-underline 400ms var(--ease) 800ms both;
  }
}
@keyframes ch-draw {
  from {
    transform: scaleX(0);
  }
}
@keyframes ch-underline {
  from {
    background-size: 0 3px;
  }
}
@keyframes ch-clip {
  from {
    clip-path: inset(0 100% 0 0);
  }
}
.ch-why {
  font-size: 0.95rem;
  line-height: 1.55;
}
/* During the challenges the sandbox controls are locked, so they are not shown at all. */
.experiment.in-challenge .bench .controls {
  display: none;
}

/* Question and verdict stacked in one cell: the card is as tall as the longer of the two, before and after. */
.ch-swap {
  display: grid;
}
.ch-swap > * {
  grid-area: 1 / 1;
  min-width: 0;
}
.ch-answer,
.ch-swap.revealed .ch-ask {
  visibility: hidden;
}
.ch-swap.revealed .ch-answer {
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .ch-swap.revealed .ch-verdict {
    animation: verdict-in 320ms var(--ease) both;
  }
}
.ch-verdict {
  animation: none;
}
/* A stepped-to challenge arrives from the right, so the change of question is seen, not just swapped. */
.challenge.ch-enter > * {
  animation: answers-fade 150ms var(--ease) both;
}
@media (prefers-reduced-motion: no-preference) {
  .challenge.ch-enter > * {
    animation: ch-step-in 260ms var(--ease) both;
  }
  .challenge.ch-enter > :nth-child(2) {
    animation-delay: 30ms;
  }
  .challenge.ch-enter > :nth-child(n + 3) {
    animation-delay: 60ms;
  }
  .ch-opt,
  .ch-seg {
    transition:
      background-color 150ms var(--ease),
      border-color 150ms var(--ease),
      color 150ms var(--ease),
      transform 100ms var(--ease);
  }
  .ch-opt:active:not(:disabled),
  .ch-seg:active:not(:disabled) {
    transform: translateY(1px);
  }
}
@keyframes ch-step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}
@keyframes answers-fade {
  from {
    opacity: 0;
  }
}

/* Desktop: card and stage share one row height. The stage keeps its old size as a minimum and grows to the card. */
@container (min-width: 640px) {
  .bench .challenge,
  .bench > .stage {
    align-self: stretch;
  }
  .bench > .stage,
  .experiment[data-experiment] .bench > .stage {
    aspect-ratio: auto;
    min-height: 336px;
    max-height: none;
  }
  .experiment[data-experiment="capacitor"] .bench > .stage,
  .experiment[data-experiment="networks"] .bench > .stage,
  .experiment[data-experiment="interface"] .bench > .stage,
  .experiment[data-experiment="gauss"] .bench > .stage {
    min-height: 448px;
  }
}

/* Analogy card: collapsed under the experiment intro; a picture, what it maps to, and where it holds and breaks. */
.analogy {
  max-width: var(--measure, 42rem);
  margin: 4px 0 6px;
  padding: 0 20px;
  border-top: 3px solid var(--course);
  background: var(--paper-2);
}
.analogy summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font: 700 0.95rem/1.3 var(--f-display);
  color: var(--act);
}
.analogy[open] {
  padding-bottom: 8px;
}
.analogy[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.analogy p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}
.analogy .tw {
  margin: 0 0 12px;
}
.analogy .tw table {
  min-width: 0;
  width: 100%;
}
@media print {
  .analogy {
    display: none;
  }
}


/* A row that holds a control keeps the label next to it: on wide screens space-between pushed the label to one edge
   and its control to the other. Readout rows (a label and a value) keep their right-aligned value. */
@container (min-width: 640px) {
  .controls .field-row:not(.wide):has(> select, > .cselect, > input:not([type="checkbox"]):not([type="radio"])) {
    display: grid;
    grid-template-columns: minmax(5em, 9em) minmax(0, 15em);
    justify-content: start;
    column-gap: 14px;
  }
}

/* Explore freely: a quiet button under the challenge that opens the sandbox at any time. */
.ch-explore {
  margin-top: 16px;
  border-color: var(--line);
  color: var(--muted);
}
.ch-explore:hover {
  border-color: var(--act);
  color: var(--act);
}

/* "Or try your own" (MEI labs): typed rules under the presets; the boxes use the shared control style below. */
/* Stages whose cells can be clicked in the sandbox (APDR 12a K-map and ANF). */
.stage.clicks:not(.locked) canvas {
  cursor: pointer;
}
.controls .own-msg {
  min-height: 1.3em;
  margin: 6px 0 0;
  color: var(--act);
  font-weight: 600;
  font-size: 0.9rem;
}
.controls .own-help {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.ch-more {
  margin: 0 10px 10px 0;
}

/* One box style for every control (owner's request, 2026-11-04): dropdowns, text and number fields share the border,
   height, padding and width, so a column of controls lines up. */
.controls select,
.controls input[type="text"],
.controls input[type="number"],
.cselect-btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.95rem/1.2 var(--f-display);
  -webkit-appearance: none;
  appearance: none;
}
.controls input[type="text"],
.controls input[type="number"] {
  font-variant-numeric: tabular-nums;
}
.controls select:focus-visible,
.controls input:focus-visible,
.cselect-btn:focus-visible {
  outline: 3px solid var(--act);
  outline-offset: 2px;
}
.controls .field-row > select,
.controls .field-row > input[type="text"],
.controls .field-row > input[type="number"],
.controls .field-row > .cselect {
  width: min(100%, 15em);
}
.controls .field-row + .field-row {
  margin-top: 8px;
}
/* A long formula (a nested NAND circuit) takes the whole row: label above, box full width. */
.controls .field-row.wide {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 6px;
}
.controls .field-row.wide > input[type="text"] {
  width: 100%;
}
/* Clickable bit cells under a bit-pattern field (js/lab.js bitCells). */
.controls .field-row.has-bits {
  flex-wrap: wrap;
}
.bitcells {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  flex-basis: 100%;
  grid-column: 2;
  margin-top: 2px;
}
.bitcells[hidden] {
  display: none;
}
.bitgroup {
  display: inline-flex;
  gap: 2px;
}
.bitcell {
  box-sizing: border-box;
  min-width: 24px;
  height: 28px;
  padding: 0 4px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 700 0.9rem/1 var(--f-display);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.bitcell[aria-pressed="true"] {
  background: var(--act);
  border-color: var(--act);
  color: var(--paper);
}
.bitcell:focus-visible {
  outline: 3px solid var(--act);
  outline-offset: 2px;
}
.bitcell:disabled {
  opacity: 0.55;
  cursor: default;
}
.bitcells-sep {
  align-self: flex-end;
  padding: 0 2px;
  font-weight: 800;
}
/* Custom dropdown (js/lab.js) */
.cselect {
  position: relative;
  display: inline-block;
}
.cselect-native {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cselect-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}
.cselect-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cselect-chev {
  flex: none;
  transition: transform 160ms var(--ease);
}
.cselect-btn[aria-expanded="true"] .cselect-chev {
  transform: rotate(180deg);
}
.cselect-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.cselect-list {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 6px);
  min-width: 100%;
  max-height: 280px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-sizing: border-box;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ink) 55%, transparent);
}
.cselect.up .cselect-list {
  top: auto;
  bottom: calc(100% + 6px);
}
.cselect-opt {
  margin: 0;
  padding: 9px 12px;
  font: 600 0.95rem/1.2 var(--f-display);
  white-space: nowrap;
  cursor: pointer;
}
.cselect-opt:hover,
.cselect-opt:focus {
  outline: none;
  background: var(--fau-tint);
}
.cselect-opt {
  border-left: 3px solid transparent;
}
.cselect-opt[aria-selected="true"] {
  color: var(--act);
  border-left-color: var(--act);
}
@media (prefers-reduced-motion: no-preference) {
  .cselect:not(.up) .cselect-list:not([hidden]) {
    animation: cselect-in 140ms var(--ease) both;
  }
}
@keyframes cselect-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
