@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
}
:root {
  --bg: #03060a;
  --surface: #0a1220;
  --surface-2: #0d1828;
  --border: #1a2432;
  --grid: #1a2432;
  --cyan: #4ad3ff;
  --red: #ff3b3b;
  --text: #e6edf3;
  --muted: #7a8fa8;
  --accent: var(--cyan);
  --accent-2: var(--red);
  --danger: var(--red);
  --ok: #8fbf9f;
  --focus: var(--cyan);
  --max: 1100px;
  --space: 1.25rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", "Courier New", monospace;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration-thickness: 1px; }
a:hover {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(74, 211, 255, 0.6);
}
img { max-width: 100%; height: auto; display: block; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--space), env(safe-area-inset-left));
  padding-right: max(var(--space), env(safe-area-inset-right));
}
.wrap.wrap-wide { max-width: 1240px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: var(--space); top: var(--space); background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.site-header {
  border-bottom: 1px solid var(--grid);
  background: #03060a;
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; min-width: 0; }
.brand {
  display: flex; flex-direction: column; color: var(--text); text-decoration: none; line-height: 1.15;
}
.wordmark {
  color: var(--text); text-decoration: none; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; font-size: .95rem;
}
.brand-legal {
  color: var(--muted); font-size: .72rem; font-weight: 400; letter-spacing: .08em; margin-top: .15rem;
  text-transform: uppercase;
}
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; min-width: 0; }
.nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.nav a:hover, .nav a:focus { color: var(--cyan); }
.nav-logout { margin: 0; display: inline-flex; align-items: center; }
.nav-logout button {
  background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer;
  font: inherit; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem;
  min-height: 44px;
}
.nav-logout button:hover, .nav-logout button:focus { color: var(--cyan); }
.cart-count {
  display: inline-block; margin-left: .3rem; min-width: 1.4rem; text-align: center;
  border: 1px solid var(--grid); border-radius: 0; padding: 0 .4rem; color: var(--text);
}
main { padding: 1rem 0 4rem; }
.site-footer {
  border-top: 1px solid var(--grid);
  padding: 2.5rem 0 max(3rem, calc(2rem + env(safe-area-inset-bottom)));
  color: var(--muted);
  font-size: .85rem;
}
.footer-pay {
  margin: 1.5rem 0 0; padding-top: 1.25rem;
  border-top: 1px solid var(--grid); max-width: none;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.status, .footer-kicker {
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .2em; font-size: .6rem; color: var(--cyan);
  font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
  animation: blink 1.4s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.status-alert { color: var(--red); }
.status-popular { color: var(--cyan); }
.tagline {
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  font-size: .75rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .35rem 0; }
.muted { color: var(--muted); }
.mono { font-family: "JetBrains Mono", "Courier New", monospace; font-size: .85rem; }
h1, h2, h3 { letter-spacing: .08em; line-height: 1.2; font-weight: 500; text-transform: uppercase; }
h1 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0 0 1rem; }
.hero { padding: 0 0 1.5rem; border-bottom: 1px solid var(--grid); margin-bottom: 1.5rem; }
.hero p { max-width: 42rem; }
.catalogue-head { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.catalogue-head h1 { margin: 0; }
.catalogue-head p { margin: 0; }
.catalogue-note { max-width: 40rem; }
.catalogue-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.catalogue-side { display: grid; gap: 1.1rem; }
.catalogue-tools { margin: 0; }
.catalogue-search { display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; }
.catalogue-search input { width: 100%; min-width: 0; }
.catalogue-search .btn { width: 100%; }
.catalogue-filters { display: grid; gap: 1rem; margin: 0; }
.catalogue-filters > summary {
  display: flex; align-items: center; min-height: 44px; padding: 0.3rem 0.75rem;
  border: 1px solid var(--grid); color: var(--text); cursor: pointer;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem;
}
.catalogue-main { min-width: 0; }
.filter-group { display: grid; gap: 0.35rem; align-items: stretch; }
.filter-group > span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter-chip {
  display: flex; align-items: center; min-height: 36px; padding: 0.3rem 0.75rem;
  border: 1px solid var(--grid); color: var(--muted); text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.filter-chip.is-current { color: var(--cyan); border-color: rgba(74, 211, 255, 0.7); }
@media (min-width: 801px) {
  .catalogue-filters > summary { display: none; }
}
@media (max-width: 800px) {
  .catalogue-layout { grid-template-columns: 1fr; gap: 1.25rem; }
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: stretch; }
.hud-frame { position: relative; }
.hud-frame::before,
.hud-frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  opacity: 0.6;
}
.hud-frame::before {
  top: 6px; left: 6px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}
.hud-frame::after {
  top: 6px; right: 6px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
}
.card {
  background: var(--surface); border: 1px solid var(--grid); padding: 0.85rem;
  display: flex; flex-direction: column; gap: 0.75rem; min-height: 100%;
}
.card-media {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; background: var(--surface-2); overflow: hidden;
}
.card-copy { display: grid; gap: 0.35rem; }
.card-copy p, .card-buy p { margin: 0; }
.card h2 { font-size: 1rem; margin: 0; text-transform: none; letter-spacing: 0.01em; line-height: 1.35; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { color: var(--cyan); }
.card-buy, .card-packs { margin-top: auto; display: grid; gap: 0.75rem; }
.pack-row { display: grid; gap: 0.35rem; padding-top: 0.65rem; border-top: 1px solid var(--grid); }
.pack-row-head { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.pack-row-head a { color: var(--text); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; }
.pack-row .btn { width: 100%; }
.pack-row .price, .pack-row .muted { margin: 0; }
.fulfillment-order { margin: 0 0 1rem; }
.fulfillment-order .form { margin-top: 0.75rem; }
.stock-in, .stock-out, .stock-pending { margin: 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.stock-in { color: var(--ok); }
.stock-out { color: var(--red); }
.stock-pending { color: var(--muted); }
.card .status { margin: 0; }
.price { font-variant-numeric: tabular-nums; color: var(--cyan); }
.price-was { color: var(--muted); text-decoration: line-through; margin-right: .4rem; }
.btn, button.btn, input[type="submit"].btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: .7rem 1.1rem;
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(74, 211, 255, 0.35); cursor: pointer;
  font: inherit; font-weight: 500; text-decoration: none;
  letter-spacing: .12em; text-transform: uppercase;
}
.btn:hover, button.btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(74, 211, 255, 0.25);
  text-shadow: 0 0 12px rgba(74, 211, 255, 0.6);
}
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--grid); }
.btn:focus, a:focus, input:focus, select:focus, textarea:focus, button:focus {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
.notice {
  border: 1px solid var(--red); color: var(--red); padding: .8rem 1rem; margin: 1rem 0;
}
.form { display: grid; gap: .9rem; max-width: 36rem; }
.auth-panel { max-width: 36rem; }
.auth-form { margin: 0; }
.auth-panel p { color: var(--muted); }
.auth-alt { margin-top: 1.5rem; }
label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea {
  width: 100%; background: var(--surface-2); color: var(--text);
  border: 1px solid var(--grid); padding: .7rem .75rem; font: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),
select,
textarea {
  font-size: 16px;
}
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: .3rem 0 0; }
.messages .error, .message.error { color: var(--danger); }
.messages .success, .message.success { color: var(--ok); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--grid); }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; }
.motor-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  margin: 2rem 0 1.5rem;
}
@media (max-width: 800px) {
  .motor-overview { grid-template-columns: 1fr; }
}
.motor-chart {
  padding: 1rem 1rem 0.85rem;
}
.motor-chart h2 { margin-top: 0; }
.motor-chart canvas {
  width: 100%;
  height: 260px;
  display: block;
  cursor: crosshair;
}
.motor-chart input[type="range"],
.calc-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  box-sizing: border-box;
  margin: 0.45rem 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  accent-color: var(--cyan);
  touch-action: manipulation;
}
.motor-chart input[type="range"]::-webkit-slider-runnable-track,
.calc-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--cyan) 0,
    var(--cyan) var(--fill, 0%),
    #1a2432 var(--fill, 0%),
    #1a2432 100%
  );
}
.motor-chart input[type="range"]::-webkit-slider-thumb,
.calc-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  box-sizing: border-box;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  background-color: var(--cyan);
  box-shadow: 0 0 8px rgba(74, 211, 255, 0.55);
  cursor: pointer;
}
.motor-chart input[type="range"]::-moz-range-track,
.calc-controls input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #1a2432;
}
.motor-chart input[type="range"]::-moz-range-progress,
.calc-controls input[type="range"]::-moz-range-progress {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
}
.motor-chart input[type="range"]::-moz-range-thumb,
.calc-controls input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(74, 211, 255, 0.55);
  cursor: pointer;
}
@media (pointer: coarse) {
  .motor-chart input[type="range"],
  .calc-controls input[type="range"] {
    height: 44px;
  }
  .motor-chart input[type="range"]::-webkit-slider-runnable-track,
  .calc-controls input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
  }
  .motor-chart input[type="range"]::-webkit-slider-thumb,
  .calc-controls input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -7px;
  }
  .motor-chart input[type="range"]::-moz-range-track,
  .calc-controls input[type="range"]::-moz-range-track,
  .motor-chart input[type="range"]::-moz-range-progress,
  .calc-controls input[type="range"]::-moz-range-progress {
    height: 10px;
  }
  .motor-chart input[type="range"]::-moz-range-thumb,
  .calc-controls input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
}
.motor-readout {
  min-height: 2.4em;
  color: var(--text);
  font-size: 0.82rem;
  margin: 0.35rem 0 0.2rem;
}
.motor-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.motor-legend span::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 2px;
  margin-right: 0.4rem;
  vertical-align: middle;
  background: currentColor;
}
.motor-legend .thrust { color: var(--cyan); }
.motor-legend .power { color: var(--red); }
.motor-legend .est { color: var(--muted); }
.motor-legend .est::before {
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 8px);
}
.product-notes p { margin: 0.55rem 0; }
.product-notes h3 { font-size: 0.95rem; margin: 1rem 0 0.4rem; letter-spacing: 0.04em; }
.product-notes ul { margin: 0.35rem 0 0.8rem 1.15rem; }
.product-notes li { margin: 0.2rem 0; }
.product-layout {
  display: grid;
  gap: 1.5rem 2.5rem;
  /* Amazon-style 50/50: media left, buy box right. */
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  align-items: start;
}
.product-layout > * { min-width: 0; }
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .header-inner { align-items: center; padding: .55rem 0; }
  .brand-legal { display: none; }
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: .75rem;
    max-width: 100%;
    min-width: 0;
    padding-inline-end: 1rem;
  }
}
.gallery {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: .55rem .75rem;
}
.gallery-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: .5rem;
}
.gallery-stage {
  /* content-box + padding-bottom: Safari will not size a flex child from
     aspect-ratio, and in-flow images otherwise stretch the stage into a stack. */
  grid-column: 2;
  grid-row: 1;
  box-sizing: content-box;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: var(--surface);
  border: 1px solid var(--grid);
  overflow: hidden;
}
.carousel-dots {
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-stage { grid-column: 1; grid-row: 1; }
  .carousel-dots { grid-column: 1; grid-row: 2; }
  .gallery-thumbs {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}
.gallery-slide {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  min-width: 44px; min-height: 44px; padding: 0;
  background: var(--bg); color: var(--cyan);
  border: 1px solid rgba(74, 211, 255, 0.35); cursor: pointer; font: inherit;
}
.carousel-prev { left: .5rem; }
.carousel-next { right: .5rem; }
.carousel-dots { display: flex; justify-content: center; gap: .45rem; }
.carousel-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--muted); cursor: pointer;
}
.carousel-dot.is-active { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.gallery-canvas {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: block; width: 100%; height: 100%;
}
.gallery-hint,
.gallery-loading {
  position: absolute; left: .75rem; bottom: .6rem; margin: 0; z-index: 2;
  color: var(--muted); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  pointer-events: none;
}
.gallery-loading { top: 50%; bottom: auto; left: 50%; transform: translate(-50%, -50%); }
.gallery-loading.is-done { display: none !important; }
.gallery-thumb {
  width: 3.5rem; height: 3.5rem; padding: 0; border: 1px solid var(--grid);
  background: var(--surface); cursor: pointer; overflow: hidden;
  flex: 0 0 auto;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { outline: 1px solid var(--cyan); outline-offset: 2px; }
.gallery-thumb-3d {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan); font-weight: 500; letter-spacing: .12em;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.buy-box .price { font-size: 1.55rem; margin: .4rem 0 .35rem; }
.buy-box .btn-cart { width: 100%; max-width: 22rem; }
.pack-kicker {
  margin: 1rem 0 .4rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .65rem;
  color: var(--muted);
}
.pack-switch { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.1rem; }
.pack-switch-item {
  display: inline-flex; flex-direction: column; gap: .25rem;
  min-height: 44px; padding: .6rem .9rem;
  border: 1px solid rgba(74, 211, 255, 0.35); color: var(--cyan);
  text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem;
}
.pack-switch-item.is-current {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(74, 211, 255, 0.25);
}
.qty { width: 5rem; }
.totals { max-width: 24rem; margin-left: auto; }
.totals p { display: flex; justify-content: space-between; }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.25rem;
  align-items: start;
}
.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
  gap: 0.85rem 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--grid);
  padding: 0.9rem;
  margin-bottom: 0.75rem;
}
.cart-line h2 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.cart-line h2 a { color: var(--text); text-decoration: none; }
.cart-line h2 a:hover { color: var(--cyan); }
.cart-line p { margin: 0.15rem 0; }
.cart-thumb {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--grid);
  overflow: hidden;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}
.cart-thumb-fallback {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.4rem;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cart-qty-input {
  width: 4.5rem;
  min-height: 44px;
  text-align: center;
}
.cart-line-total {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  white-space: nowrap;
}
.cart-summary { position: sticky; top: 5.25rem; }
.cart-summary h2 { margin-top: 0; font-size: 0.85rem; }
.cart-summary p { display: flex; justify-content: space-between; gap: 1rem; margin: 0.55rem 0; }
.cart-grand { padding-top: 0.45rem; border-top: 1px solid var(--grid); font-weight: 500; }
.cart-summary .btn { width: 100%; margin-top: 0.6rem; }
.cart-continue { margin-top: 0.8rem; }
.cart-empty p:first-child { margin-top: 0; }
.order-summary h2 { margin-top: 0; }
.summary-lines { list-style: none; margin: 0 0 0.4rem; padding: 0; }
.summary-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grid);
}
.summary-lines li div { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.summary-lines strong { font-weight: 500; }
.summary-line-total {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  white-space: nowrap;
  text-align: right;
}
.summary-rows p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.45rem 0; }
.summary-rows p span:last-child { margin-left: auto; text-align: right; }
.summary-total { padding-top: 0.5rem; border-top: 1px solid var(--grid); font-weight: 500; }
.checkout-quotes {
  border: 1px solid var(--grid);
  margin: 0.4rem 0 0.2rem;
  padding: 0.8rem 0.9rem;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
}
.checkout-quotes legend {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0 0.3rem;
}
.checkout-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: center;
  margin: 0.45rem 0;
  min-height: 44px;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-quote input { width: 1.15rem; height: 1.15rem; min-height: 1.15rem; }
@media (max-width: 900px) {
  .checkout-quote {
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 0.15rem;
  }
  .checkout-quote input { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .checkout-quote span:nth-of-type(1) { grid-column: 2 / -1; grid-row: 1; }
  .checkout-quote span:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .checkout-quote span:nth-of-type(3) { grid-column: 3; grid-row: 2; }
}
.checkout-extra { margin: .4rem 0 1rem; }
.checkout-extra summary { cursor: pointer; color: var(--text); margin-bottom: .6rem; }
#business-fields { display: grid; gap: .9rem; }
#business-fields[hidden] { display: none; }
.check-line { text-transform: none; letter-spacing: 0; display: flex; gap: .5rem; align-items: center; }
.form input[type="checkbox"] { width: auto; min-height: 0; }
@media (max-width: 800px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-qty, .cart-line-total, .cart-remove { grid-column: 2; }
  .cart-summary { position: static; }
}
hr { border: 0; border-top: 1px solid var(--grid); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.tiny { font-size: 0.72rem; }
.calc-page { padding-bottom: 3rem; }
.calc-hero { padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.calc-hero h1 { margin: 0.2rem 0 0.6rem; }
.calc-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gauge-top { grid-template-columns: 1fr; }
  .motor-card { grid-template-columns: 48px minmax(0, 1fr); }
  .motor-card .stock-pill { justify-self: start; }
}
.calc-controls, .calc-gauges { padding: 1.1rem 1.2rem 1.3rem; }
.calc-controls h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 0.5rem; }
.calc-controls h2:first-child { margin-top: 0; }
.airframe-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.airframe-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.5rem; border: 1px solid var(--grid); cursor: pointer; background: var(--surface-2);
}
.airframe-card input { position: absolute; opacity: 0; pointer-events: none; }
.airframe-card span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.air-svg { width: 100%; max-width: 110px; height: auto; }
.air-svg .boom { fill: #1c2a3c; }
.air-svg .body { fill: #243044; stroke: var(--border); }
.air-svg .rotors circle { fill: #152030; stroke: #2a3d55; stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.airframe-card:has(input:checked) {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(74, 211, 255, 0.25);
}
.airframe-card:has(input:checked) span { color: var(--cyan); }
.airframe-card:has(input:checked) .rotors circle {
  fill: rgba(74, 211, 255, 0.2);
  stroke: var(--cyan);
  animation: rotor-spin 0.7s linear infinite;
}
@keyframes rotor-spin { to { transform: rotate(360deg); } }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  border: 1px solid var(--grid); padding: 0.35rem 0.6rem; font-size: 0.72rem;
  letter-spacing: 0.04em; cursor: pointer; background: var(--surface-2);
}
.chip input { accent-color: var(--cyan); }
.chip:has(input:checked) { border-color: var(--cyan); color: var(--cyan); }
.combo { position: relative; }
.combo input[type="search"] {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--grid);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 1rem;
}
.combo-list {
  position: absolute;
  z-index: 8;
  left: 0; right: 0;
  max-height: 16rem;
  overflow: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.combo-list li {
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.combo-list li:hover { background: #122033; }
.motor-cards { display: flex; flex-direction: column; gap: 0.45rem; }
.motor-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.7rem; align-items: center;
  border: 1px solid var(--grid); padding: 0.45rem 0.6rem; cursor: pointer; background: var(--surface-2);
}
.motor-card img { width: 56px; height: 56px; object-fit: cover; background: #111; }
.motor-card:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 12px rgba(74, 211, 255, 0.2); }
.stock-pill { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ok); border: 1px solid var(--ok); padding: 0.1rem 0.35rem; }
.stock-pill.out { color: var(--muted); border-color: var(--grid); }
.gauge-top { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 1rem; align-items: end; }
.tw-value { font-size: 2rem; margin: 0; color: var(--cyan); }
.tw-track { position: relative; height: 10px; background: #1a2432; border-radius: 999px; margin: 0.4rem 0; }
.tw-fill { display: block; height: 100%; width: 0; background: var(--cyan); border-radius: 999px; }
.tw-mark { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--red); }
.arc { width: 100%; overflow: visible; }
.arc-bg { fill: none; stroke: #1a2432; stroke-width: 8; stroke-linecap: round; }
.arc-fg { fill: none; stroke: var(--cyan); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 157; }
.arc-read { font-size: 1.4rem; margin: 0; text-align: center; }
.speed-tape { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.1rem 0; }
.speed-tape .big { font-size: 1.35rem; margin: 0.15rem 0; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 0 0 1rem; }
.stat-grid dt { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.stat-grid dd { margin: 0; font-size: 1.05rem; }
.calc-gauges canvas { width: 100%; height: 240px; display: block; }
.calc-warn { list-style: none; padding: 0; margin: 0.8rem 0 0; color: var(--red); font-size: 0.82rem; }
.cta-row { margin: 1rem 0 0; }
.calc-foot { margin-top: 1.25rem; }
.calc-cite { margin-top: 0.45rem; max-width: 72ch; }
.calc-seo { margin-top: 2.5rem; max-width: 46rem; }
.calc-seo h2 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.calc-seo h3 { font-size: 0.92rem; margin: 1rem 0 0.35rem; }
.calc-seo ul { margin: 0.35rem 0 0.9rem 1.1rem; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .status-dot { animation: none; opacity: 1; }
  .gallery-track { transition: none; }
}

/* SalesIQ stays loaded for visitor tracking. The chat control stays off the page. */
#zsiq_float,
#zsiq_chat_wrap,
#siq_chatwindow,
#zs_fl_chat,
.zsiq_floatmain,
.chat-iframe-wrap {
  display: none !important;
}
