/* ============================================================
   FOX PRODUCT PAGES — Fox Baggage Scanner, Fox Medical Viewer, Fox Arc
   and Fox Dental OPG. The page itself is built from the FoXpert Pro
   components (foxpert-pro.css, loaded first) so every product page on
   the site reads the same; this file adds only what those pages lack:
   the medical status line, the equipment-makers cards and the playable
   console in the hero (prefix px-).
   ============================================================ */

/* Medical status — a plain note under the hero actions, not fine print.
   Scoped to the hero content: `.fp-hero__content p` would otherwise win. */

/* ── FOR EQUIPMENT MAKERS: two fp-tool cards, what is built and what is not ── */
.px-oem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* One card now (the products are released): it spans the row and its list runs in two columns. */
.px-oem > .fp-tool:only-child { grid-column: 1 / -1; }
.px-oem > .fp-tool:only-child .px-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.px-list { display: grid; gap: 11px; margin: 4px 0 0; padding: 0; list-style: none; }
.px-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.px-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.px-list--open li::before { background: transparent; border: 1.5px solid var(--text-secondary); }
.px-list li b { color: var(--text-primary); font-weight: 600; }

/* ══ THE RIG — each console rebuilt in the page, as on the FoXpert pages ══
   A drawn app window around a canvas. Every control changes the picture from its
   own pixels (js/fox-product.js); the caption under it says what is real and what
   is simulated. Shared by every product page with a console; data-rig picks it.
   ────────────────────────────────────────────────────────────────────── */
.px-rig {
  position: relative;
  margin: 0;               /* Bootstrap gives <figure> a bottom margin */
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.px-rig__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.px-rig__app {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}
.px-rig__app b { color: var(--orange); font-weight: 800; }
.px-rig__file {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.px-rig__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.px-rig__badge i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #28c840;
  animation: live-pulse 1.4s ease-in-out infinite;
}
/* Beam on: the console's own warning colour, dark text on it (8:1). */
.px-rig__badge[data-state="on"] { background: #FFC21C; border-color: #FFC21C; color: #0A0A0C; }
.px-rig__badge[data-state="on"] i { background: #0A0A0C; }

.px-rig__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.px-rig__body--side-right { grid-template-columns: minmax(0, 1fr) 188px; }
.px-rig__body--side-left { grid-template-columns: 172px minmax(0, 1fr); }

.px-rig__stage { position: relative; line-height: 0; background: #000; min-width: 0; overflow: hidden; }
.px-rig__stage--light { background: #fff; }
.px-rig__canvas { display: block; width: 100%; height: auto; }

/* Mono readouts laid over the picture, as the consoles draw them. */
.px-rig__ov {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 12, 0.66);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.45;          /* the stage sets line-height:0 for the canvas */
  color: #D5D9E0;
  pointer-events: none;
  white-space: nowrap;
}
.px-rig__ov b { color: var(--orange); font-weight: 700; }
.px-rig__ov--tl { top: 8px; left: 8px; }
.px-rig__ov--tr { top: 8px; right: 8px; text-align: right; align-items: flex-end; }
.px-rig__ov--bl { bottom: 8px; left: 8px; }
.px-rig__ov--br { bottom: 8px; right: 8px; text-align: right; align-items: flex-end; }
.px-rig__xray {
  display: none;
  padding: 2px 8px;
  border-radius: 20px;
  background: #FFC21C;
  color: #0A0A0C;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.px-rig[data-beam="on"] .px-rig__xray { display: inline-block; }

/* Dental scan: progress along the top and the sweep line. */
.px-rig__progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: calc(var(--p, 0) * 100%);
  background: var(--orange);
  opacity: 0;
}
.px-rig[data-beam="on"] .px-rig__progress { opacity: 1; }

.px-rig__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.015);
  min-width: 0;
}
.px-rig__body--side-right .px-rig__side { border-left: 1px solid var(--border); }
.px-rig__body--side-left .px-rig__side { border-right: 1px solid var(--border); }
.px-rig__head {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.px-rig__note { font-size: 10px; line-height: 1.5; color: var(--text-secondary); }
.px-rig__note b { color: var(--text-primary); font-weight: 600; }
.px-rig__tech { font-family: var(--font-mono); font-size: 10px; line-height: 1.55; color: var(--text-secondary); }
/* Window/level (Fox Medical Viewer): two sliders and a Reset under Technique; with a mouse the
   image itself can be dragged to set the window, so it shows a move cursor while that is on. */
.px-rig__wl { display: flex; flex-direction: column; gap: 6px; }
.px-rig__wl-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 8px; }
.px-rig__wl-row label { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.px-rig__wl-row input[type="range"] { width: 100%; min-width: 0; margin: 0; accent-color: var(--orange); cursor: pointer; }
.px-rig__wl-row input[type="range"]:disabled { opacity: 0.4; cursor: not-allowed; }
.px-rig__wl-reset { align-self: flex-start; }
.px-rig[data-wl="on"] .px-rig__canvas { cursor: move; }

/* Controls: every one is a <button> (or a range), sized for touch. */
.px-rig__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.px-rig__sep { width: 1px; align-self: stretch; background: var(--border); margin: 0 2px; }
.px-rig__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font: 600 11px/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.px-rig__btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.px-rig__btn[aria-pressed="true"] { background: var(--orange-glow); border-color: rgba(255, 123, 28, 0.6); color: var(--text-primary); }
.px-rig__btn--primary { background: var(--orange); border-color: var(--orange); color: #0A0A0C; }
.px-rig__btn--primary:hover { background: var(--orange-light); border-color: var(--orange-light); color: #0A0A0C; }
.px-rig__btn:disabled { opacity: 0.45; cursor: default; }

.px-rig__seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.px-rig__step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.px-rig__step button {
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: 700 15px/1 var(--font);
  cursor: pointer;
}
.px-rig__step button:hover { color: var(--orange); }
.px-rig__val { text-align: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-primary); }
.px-rig__val small { display: block; font-size: 8.5px; font-weight: 500; color: var(--text-secondary); }

/* FLUORO is held, not clicked: it stays lit while the beam is on. */
.px-rig__hold {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #0A0A0C;
  font: 800 12.5px/1.2 var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.px-rig[data-beam="on"] .px-rig__hold { background: #FFC21C; box-shadow: 0 0 0 3px rgba(255, 194, 28, 0.25); }

.px-rig__range { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-secondary); }
.px-rig__range input { width: 88px; accent-color: var(--orange); }

/* Worklist orders (Medical Viewer) */
.px-rig__orders { display: flex; flex-direction: column; gap: 5px; }
.px-rig__order {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font: 600 11px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
}
.px-rig__order small { font-family: var(--font-mono); font-size: 9px; font-weight: 400; color: var(--text-secondary); }
.px-rig__order[aria-pressed="true"] { border-color: rgba(255, 123, 28, 0.6); background: var(--orange-glow); }

.px-rig__status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 9px 14px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}
.px-rig__status b { color: var(--orange); font-weight: 700; }
.px-rig__hint {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}
.px-rig__sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.px-rig__seg--col { grid-template-columns: minmax(0, 1fr); }
.px-rig__seg--inline { display: inline-flex; gap: 4px; }

/* ── Fox Arc: region figure, saved-run strip ── */
.px-rig__region { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; }
.px-rig__body-fig { width: 46px; height: auto; fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.px-rig__spot { fill: rgba(255, 123, 28, 0.15); stroke: rgba(255, 123, 28, 0.4); }
.px-rig[data-region="hip"] .px-rig__spot[data-spot="hip"],
.px-rig[data-region="ankle"] .px-rig__spot[data-spot="ankle"] { fill: var(--orange); stroke: var(--orange); }
.px-rig__series {
  display: flex;
  gap: 8px;
  min-height: 70px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  overflow-x: auto;
  align-items: center;
}
.px-rig__series-empty { font-size: 11px; color: var(--text-secondary); }
.px-rig__run {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}
.px-rig__run canvas { width: 44px; height: 44px; border-radius: 4px; background: #000; }
.px-rig__run b { color: var(--orange); }

/* ── Medical Viewer: order status tags and reject reasons ── */
.px-rig__order { position: relative; padding-right: 64px; }
.px-rig__tag {
  position: absolute;
  top: 7px; right: 7px;
  padding: 1px 6px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.px-rig__order[data-status="acquired"] .px-rig__tag { color: #FFC21C; border-color: rgba(255, 194, 28, 0.5); }
.px-rig__order[data-status="accepted"] .px-rig__tag { color: var(--orange); border-color: rgba(255, 123, 28, 0.55); }
.px-rig__order[data-status="sent"] .px-rig__tag { color: #3DDC84; border-color: rgba(61, 220, 132, 0.5); }
.px-rig__reasons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.px-rig__reasons[hidden] { display: none; }
.px-rig__reasons-label { font-size: 11px; color: var(--text-secondary); }

/* ── Dental OPG: tooth hotspots on the panorama, the findings chart ── */
.px-rig__teeth { position: absolute; inset: 0; }
.px-rig__tooth {
  position: absolute;
  display: flex;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
.px-rig__tooth--up { align-items: flex-end; }
.px-rig__tooth--down { align-items: flex-start; }
.px-rig__tooth span {
  margin: 3px;
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(10, 10, 12, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.72);
}
.px-rig__tooth:hover,
.px-rig__tooth:focus-visible { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.08); outline: none; }
.px-rig__tooth[data-finding] span { color: #0A0A0C; font-weight: 700; }
.px-rig__tooth[data-finding="caries"] { border-color: #FF5A5A; background: rgba(255, 90, 90, 0.18); }
.px-rig__tooth[data-finding="caries"] span { background: #FF5A5A; }
.px-rig__tooth[data-finding="filling"] { border-color: #5AB4FF; background: rgba(90, 180, 255, 0.16); }
.px-rig__tooth[data-finding="filling"] span { background: #5AB4FF; }
.px-rig__tooth[data-finding="implant"] { border-color: var(--orange); background: rgba(255, 123, 28, 0.18); }
.px-rig__tooth[data-finding="implant"] span { background: var(--orange); }
.px-rig__tooth[data-finding="missing"] { border: 1px dashed rgba(255, 255, 255, 0.7); background: rgba(10, 10, 12, 0.55); }
.px-rig__tooth[data-finding="missing"] span { background: #D5D9E0; }
.px-rig__btn--caries[aria-pressed="true"] { border-color: #FF5A5A; background: rgba(255, 90, 90, 0.16); }
.px-rig__btn--filling[aria-pressed="true"] { border-color: #5AB4FF; background: rgba(90, 180, 255, 0.14); }
.px-rig__chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.px-rig__readout { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--text-primary); }
.px-rig__findings { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.px-rig__findings li {
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-primary);
}
.px-rig__findings li[data-finding="caries"] { border-color: #FF5A5A; }
.px-rig__findings li[data-finding="filling"] { border-color: #5AB4FF; }
.px-rig__findings li[data-finding="implant"] { border-color: var(--orange); }

/* ── Baggage Scanner: the scanner's detections, drawn over the bag ── */
.px-rig__dets { position: absolute; inset: 0; pointer-events: none; }
.px-rig__det {
  position: absolute;
  border: 2px solid #00BCD4;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.px-rig__det span {
  position: absolute;
  left: -2px;
  bottom: 100%;
  margin-bottom: 2px;
  padding: 1px 5px;
  border-radius: 2px;
  background: #00BCD4;
  color: #0A0A0C;
  font: 700 10px/1.4 var(--font);
  white-space: nowrap;
}
.px-rig__det--danger { border-color: #E53935; }
.px-rig__det--danger span { background: #E53935; color: #fff; }
.px-rig__det--warning { border-color: #F9A825; }
.px-rig__det--warning span { background: #F9A825; }

/* ── Fox CT: the slices drawn over the static frame, a slice slider and the plane toggle ──
   The static frame sizes the stage and stays as the picture without script; the canvas lies
   over it once the first sheet is in, and dims while another plane's sheet loads. */
.px-rig__static { display: block; width: 100%; height: auto; }
.px-rig__static[aria-hidden="true"] { visibility: hidden; }   /* still sizes the stage; never shows through */
.px-rig__canvas--over { position: absolute; inset: 0; height: 100%; touch-action: pan-y; transition: opacity 0.16s ease-out; }
.px-rig__canvas[hidden],
.px-rig__tools[hidden],
.px-rig__ov[hidden] { display: none; }
.px-rig[data-ct="loading"] .px-rig__canvas--over { opacity: 0.45; }
.px-rig[data-ct="ready"] .px-rig__canvas--over { cursor: ew-resize; }
/* The slider sits under the picture, as each pane's slider does in the app; the info panel runs
   beside both, and on a phone drops below them so the slider stays next to the picture. */
.px-rig__body--ct > .px-rig__side { grid-column: 2; grid-row: 1 / span 2; }
.px-rig__tools--ct { column-gap: 16px; row-gap: 10px; }
.px-rig__slice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; flex: 1 1 220px; min-width: 0; }
.px-rig__slice label { margin: 0; font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.px-rig__slice input[type="range"] { width: 100%; min-width: 0; margin: 0; accent-color: var(--orange); cursor: pointer; }
.px-rig__slice input[type="range"]:disabled { opacity: 0.4; cursor: progress; }
.px-rig__slice output { min-width: 10ch; font-family: var(--font-mono); font-size: 10px; color: var(--text-primary); text-align: right; white-space: nowrap; }

/* ── Fox UT: the beam drawn over the static fan, a beam slider and that beam's A-scan ──
   The same stage as Fox CT: the fan image sizes it and the canvas lies over it. The A-scan runs
   under the slider; the info panel runs beside the three, and on a phone drops below them. */
.px-rig__body--ut > .px-rig__side { grid-column: 2; grid-row: 1 / span 3; }
.px-rig[data-ut="ready"] .px-rig__canvas--over { cursor: crosshair; }
.px-rig__ascan { padding: 9px 12px 11px; border-top: 1px solid var(--border); background: var(--bg-secondary); min-width: 0; }
.px-rig__ascan[hidden] { display: none; }
.px-rig__ascan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; margin: 0 0 7px; font-family: var(--font-mono); font-size: 10px; line-height: 1.5; color: var(--text-secondary); }
.px-rig__ascan-head b { color: var(--orange); font-weight: 700; }
.px-rig__plot { display: block; width: 100%; height: 112px; border-radius: var(--radius-sm); background: #07090D; }

/* ── Fox Eddy: the impedance plane and its strip chart drawn over the static frame ──
   The same stage as Fox CT and UT: the static frame sizes it and the canvas lies over it. The
   sample slider takes its own row under the picture, the channel buttons and Play the next; the
   info panel runs beside them, and on a phone drops below them. */
.px-rig__body--eddy > .px-rig__side { grid-column: 2; grid-row: 1 / span 2; }
.px-rig[data-eddy="ready"] .px-rig__canvas--over { cursor: ew-resize; }
.px-rig__tools--eddy { column-gap: 10px; row-gap: 10px; }
.px-rig__tools--eddy .px-rig__slice { flex-basis: 100%; }
.px-rig__play { min-width: 62px; }
.px-rig__rm { flex: 1 1 100%; margin: 0; }
.px-rig__rm[hidden] { display: none; }
.px-rig__key { display: inline-block; width: 12px; height: 2px; margin: 0 4px 0 6px; border-radius: 1px; vertical-align: middle; }
.px-rig__key--x { background: #8CAFFF; }   /* the app's I colour (ThemeManager.cs, Blue) */
.px-rig__key--y { background: #57DCCB; }   /* and its Q colour */

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .px-oem { grid-template-columns: minmax(0, 1fr); }
  .px-oem > .fp-tool:only-child .px-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* The console's panel moves under (or over) the picture instead of squeezing it. */
  .px-rig__body--side-right,
  .px-rig__body--side-left { grid-template-columns: minmax(0, 1fr); }
  .px-rig__body--side-right .px-rig__side { border-left: 0; border-top: 1px solid var(--border); }
  .px-rig__body--side-left .px-rig__side { border-right: 0; border-bottom: 1px solid var(--border); }
  .px-rig__orders { flex-direction: row; }
  .px-rig__order { flex: 1 1 0; min-width: 0; }
  .px-rig__side--controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-rig__side--controls > .px-rig__hold,
  .px-rig__side--controls > .px-rig__wide { grid-column: 1 / -1; }
  .px-rig__file { display: none; }
  .px-rig__ov { font-size: 8.5px; padding: 4px 6px; }
  /* Fox CT: picture, slider, then the info panel; the plane toggle takes its own row. */
  .px-rig__body--ct > .px-rig__side { grid-column: auto; grid-row: auto; }
  .px-rig__tools--ct .px-rig__seg--inline { flex: 1 1 100%; }
  .px-rig__tools--ct .px-rig__btn { flex: 1 1 0; }
  /* Fox UT: picture, slider, the A-scan, then the info panel. */
  .px-rig__body--ut > .px-rig__side { grid-column: auto; grid-row: auto; }
  .px-rig__plot { height: 96px; }
  /* Fox Eddy: picture, slider, channels and Play, then the info panel. */
  .px-rig__body--eddy > .px-rig__side { grid-column: auto; grid-row: auto; }
  .px-rig__tools--eddy .px-rig__seg--inline { flex: 1 1 auto; }
  .px-rig__tools--eddy .px-rig__seg--inline .px-rig__btn { flex: 1 1 0; padding-left: 6px; padding-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-rig__badge i { animation: none; }
  .px-rig__btn, .px-rig__order, .px-rig__canvas--over { transition: none; }
}
@media (max-width: 768px) {
  .px-split { grid-template-columns: minmax(0, 1fr); }
  .px-tools { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .px-spec { grid-template-columns: minmax(0, 1fr); }
  .px-spec dt { padding-bottom: 4px; border-bottom: 0; }
  .px-spec dd { padding-top: 0; }
  /* the tab row scrolls sideways instead of wrapping into a block */
  .px-tabs__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-color: #444444 transparent; }
  .px-tabs__list::-webkit-scrollbar { height: 6px; }
  .px-tabs__list::-webkit-scrollbar-thumb { background: #444444; border-radius: 3px; }
  .px-split__col { padding: 22px; }
}
