/* QUOTE_LAB — page-specific styles for quote.html (dev/test build).
   Deliberately a separate sheet from style.css so the shared file stays
   byte-identical to production while the lab iterates; merge at cutover.
   Uses the site's design tokens (:root vars from style.css). */

/* ── test banner ─────────────────────────────────────────── */
.ql-testband {
  background: linear-gradient(90deg, rgba(242, 169, 0, 0.16), rgba(0, 168, 150, 0.12));
  border-bottom: 1px solid rgba(242, 169, 0, 0.45);
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 9px 16px;
  text-align: center;
}
.ql-testband strong { color: var(--gold); }

/* ── upload extras ───────────────────────────────────────── */
.ql-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
/* thin-part advisory line under the dims (audit row 9) */
.iqp-dims-warn {
  display: block;
  color: var(--gold, #f2a900);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  margin-top: 6px;
  line-height: 1.6;
}
/* "don't have a model yet?" source line — Meshy (affiliate) + free libraries */
.ql-getmodel {
  margin-top: 10px;
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.7;
}
.ql-getmodel a {
  color: var(--teal, #00a896);
  text-decoration: underline;
}
.ql-getmodel .ql-getmodel-aff {
  opacity: 0.75;
  font-size: 11px;
}
.ql-samples-label {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
}
.ql-sample {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-soft);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  padding: 7px 14px;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.ql-sample:hover { border-color: var(--teal-soft); color: #00fff0; transform: translateY(-1px); }
.ql-sample:focus-visible { outline: 2px solid var(--teal-soft); outline-offset: 2px; }

.ql-unitfix[hidden] { display: none; } /* author display:flex would beat UA [hidden] otherwise */
.ql-unitfix {
  align-items: center;
  color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  font-family: "Courier New", monospace;
  font-size: 13px;
  gap: 12px;
  margin-top: 12px;
}
.ql-unitfix button {
  background: rgba(242, 169, 0, 0.12);
  border: 1px solid rgba(242, 169, 0, 0.5);
  border-radius: 10px;
  color: var(--gold);
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  padding: 7px 12px;
}
.ql-unitfix button:hover { background: rgba(242, 169, 0, 0.22); }

/* ── material + colors card ──────────────────────────────── */
.ql-mat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ql-mat-bar {
  align-items: center;
  background: #060606;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  padding: 10px 16px;
}
.ql-mat-bar em {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  font-style: normal;
  margin-left: 6px;
}
.ql-mat-body { padding: 20px 20px 24px; }
.ql-mat-label {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.ql-mat-label--colors { margin-top: 22px; }
.ql-colorcount { color: var(--teal-soft); letter-spacing: 0.5px; }

.ql-families { display: flex; flex-wrap: wrap; gap: 10px; }
.ql-fam {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 13.5px;
  padding: 10px 16px;
  transition: border-color 0.15s, background 0.15s;
}
.ql-fam:hover { border-color: var(--teal-soft); }
.ql-fam[aria-pressed="true"] {
  background: rgba(0, 168, 150, 0.14);
  border-color: var(--teal-soft);
  color: #00fff0;
}
.ql-fam small { color: var(--faint); display: block; font-size: 10.5px; letter-spacing: 0.5px; }
.ql-fam[aria-pressed="true"] small { color: var(--teal-soft); }

.ql-mat-note {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  margin-top: 10px;
  min-height: 18px;
}
.ql-mat-note strong { color: var(--gold); }

.ql-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.ql-sw {
  align-items: center;
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 12.5px;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  transition: border-color 0.15s, color 0.15s;
}
.ql-sw:hover { border-color: var(--teal-soft); color: var(--text); }
.ql-sw[aria-pressed="true"] {
  border-color: var(--teal-soft);
  box-shadow: 0 0 0 1px var(--teal-soft) inset;
  color: var(--text);
}
.ql-sw .fil-dot { height: 16px; width: 16px; }
.ql-sw-order { color: var(--teal-soft); font-family: "Courier New", monospace; font-size: 10.5px; }
.ql-swatches-empty { color: var(--faint); font-family: "Courier New", monospace; font-size: 12.5px; }

/* ── measure (slice worker) ──────────────────────────────── */
.ql-measure-row[hidden], .ql-measured-meta[hidden] { display: none; }
.ql-measure-row {
  align-items: center;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
}
.ql-measure {
  background: rgba(0, 168, 150, 0.1);
  border: 1px solid var(--teal-soft);
  border-radius: 12px;
  color: #00fff0;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 10px 16px;
}
.ql-measure small { color: var(--teal-soft); display: block; font-size: 10.5px; letter-spacing: 0.5px; }
.ql-measure:hover:not([disabled]) { background: rgba(0, 168, 150, 0.2); }
.ql-measure[disabled] { cursor: wait; opacity: 0.6; }
.ql-measure-status { color: var(--faint); font-family: "Courier New", monospace; font-size: 12px; }
.ql-measure-status.err { color: var(--orange); }
.ql-measured-meta {
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.9;
  margin-top: 14px;
  padding-top: 12px;
}
.ql-measured-meta .ok { color: var(--teal-soft); }
.ql-measured-meta .warn { color: var(--gold); }

/* ── turnaround + destination chips ──────────────────────── */
.ql-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-bottom: 22px;
}
.ql-opt-group { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
.ql-opt-label {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 11.5px;
  letter-spacing: 2px;
  margin-right: 3px;
}
.ql-opt {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 7px 14px;
  transition: border-color 0.15s, color 0.15s;
}
.ql-opt small { color: var(--faint); font-size: 10.5px; margin-left: 5px; }
.ql-opt:hover { border-color: var(--teal-soft); color: var(--text); }
.ql-opt[aria-pressed="true"] {
  background: rgba(0, 168, 150, 0.14);
  border-color: var(--teal-soft);
  color: #00fff0;
}
.ql-opt[aria-pressed="true"] small { color: var(--teal-soft); }

/* ── quote cards ─────────────────────────────────────────── */
.ql-quote-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 26px;
}
@media (max-width: 860px) { .ql-quote-grid { grid-template-columns: 1fr; } }

.ql-route-card,
.ql-price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.ql-route-empty {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 13.5px;
}

.ql-route-machine {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.ql-route-badge {
  background: rgba(0, 168, 150, 0.14);
  border: 1px solid var(--teal-soft);
  border-radius: 10px;
  color: #00fff0;
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
}
.ql-route-badge--gold {
  background: rgba(242, 169, 0, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.ql-route-badge--none {
  background: rgba(230, 126, 34, 0.12);
  border-color: var(--orange);
  color: var(--orange);
}
.ql-route-lane { color: var(--faint); font-family: "Courier New", monospace; font-size: 12px; letter-spacing: 1px; }
.ql-route-reason { color: var(--text); font-size: 14.5px; line-height: 1.6; }
.ql-route-reason strong { color: var(--teal-soft); }
.ql-route-fit {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.9;
  margin-top: 12px;
}
.ql-route-fit .ok { color: var(--teal-soft); }
.ql-route-fit .no { color: var(--orange); }
.ql-route-human {
  border-top: 1px dashed var(--line);
  color: var(--text);
  font-size: 14px;
  margin-top: 14px;
  padding-top: 14px;
}

.ql-price-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ql-price-title { color: var(--text); font-family: "Courier New", monospace; font-size: 15px; letter-spacing: 1px; }
.ql-price-method {
  border: 1px dashed rgba(242, 169, 0, 0.55);
  border-radius: 8px;
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  text-align: right;
}
/* customer summary — grams · print time · total only */
.ql-summary { display: grid; gap: 11px; }
.ql-sum-row {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.ql-sum-row em {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: 2px;
}
.ql-sum-row span {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 16px;
}

.ql-price-lines { display: grid; gap: 7px; }
.ql-price-lines--dev { color: var(--muted); font-size: 12.5px; }
.ql-price-line {
  color: var(--muted);
  display: flex;
  font-size: 13.5px;
  justify-content: space-between;
  gap: 14px;
}
.ql-price-line em { color: var(--faint); font-style: normal; }
.ql-price-line strong { color: var(--text); font-weight: 600; }
.ql-price-line--sub { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }

.ql-qty {
  align-items: center;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.ql-qty-ctrl { align-items: center; display: flex; gap: 4px; }
.ql-qty-ctrl button {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--teal-soft);
  cursor: pointer;
  font-size: 16px;
  height: 34px;
  width: 34px;
}
.ql-qty-ctrl button:hover { border-color: var(--teal-soft); }
.ql-qty-ctrl output {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 15px;
  min-width: 42px;
  text-align: center;
}

.ql-total {
  align-items: baseline;
  color: var(--text);
  display: flex;
  font-size: 15px;
  justify-content: space-between;
  margin-top: 14px;
}
.ql-total b { color: var(--gold); font-size: 26px; font-family: "Courier New", monospace; }
.ql-disclaimer {
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 12px;
}
.ql-disclaimer strong { color: var(--gold); }

/* checkout stub */
.ql-gate { margin-top: 4px; }
.ql-checkout-lock .iq-gate-veil { background: rgba(0, 0, 0, 0.78); } /* mask stub text under the LOCKED veil */
.ql-checkout { padding: 22px 0 6px; text-align: center; }
.ql-checkout-btn[disabled] { cursor: not-allowed; opacity: 0.55; }
.ql-checkout-note {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ── checkout popup ──────────────────────────────────────── */
.ql-modal[hidden] { display: none; }
.ql-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 700;
}
.ql-modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
  inset: 0;
  position: absolute;
}
.ql-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--teal-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 36px);
  max-width: 640px;
  overflow-y: auto;
  padding: 26px 26px 22px;
  position: relative;
  width: 100%;
}
.ql-modal-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  height: 36px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
}
.ql-modal-close:hover { border-color: var(--teal-soft); color: var(--text); }
.ql-modal-title {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.ql-modal-summary {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.ql-modal-summary strong { color: var(--gold); }
.ql-form-grid {
  display: grid;
  gap: 14px 12px;
  grid-template-columns: 2fr 1fr 1fr;
}
.ql-field { display: block; grid-column: span 1; }
.ql-field--full { grid-column: 1 / -1; }
.ql-field span {
  color: var(--faint);
  display: block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.ql-field span em { font-style: normal; letter-spacing: 0.4px; text-transform: none; }
.ql-field input, .ql-field textarea {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
}
.ql-field input:focus, .ql-field textarea:focus { border-color: var(--teal-soft); outline: none; }
.ql-modal-privacy {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
}
.ql-modal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.ql-modal-status { color: var(--faint); font-family: "Courier New", monospace; font-size: 12.5px; }
.ql-modal-status.err { color: var(--orange); }
.ql-modal-next { color: var(--faint); font-size: 12.5px; line-height: 1.7; margin-top: 14px; }
.ql-confirm[hidden] { display: none; }
.ql-confirm-ref {
  border: 1px dashed var(--teal-soft);
  border-radius: 12px;
  color: #00fff0;
  font-family: "Courier New", monospace;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 14px 0;
  padding: 14px;
  text-align: center;
}
.ql-confirm p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; }
.ql-confirm .btn-ghost { margin-top: 16px; }
@media (max-width: 560px) {
  .ql-form-grid { grid-template-columns: 1fr 1fr; }
  .ql-field--state { grid-column: span 1; }
  .ql-field--zip { grid-column: span 1; }
  .ql-field { grid-column: 1 / -1; }
  .ql-field--state, .ql-field--zip { grid-column: span 1; }
  .ql-modal-card { padding: 20px 16px; }
}

/* ── dev panel ───────────────────────────────────────────── */
.ql-dev {
  background: #060606;
  border: 1px dashed rgba(242, 169, 0, 0.4);
  border-radius: var(--radius-md);
}
.ql-dev summary {
  color: var(--gold);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 18px 22px;
}
.ql-dev-body { border-top: 1px dashed rgba(242, 169, 0, 0.25); display: grid; gap: 26px; padding: 22px; }
.ql-dev-title {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.ql-dev-title em { color: var(--faint); font-style: normal; letter-spacing: 0.4px; }
.ql-dev-radio {
  align-items: baseline;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-size: 13.5px;
  gap: 10px;
  justify-content: flex-start;
  line-height: 1.6;
  padding: 5px 0;
  text-align: left;
}
.ql-dev-radio input { flex: 0 0 auto; margin: 0; }
.ql-dev-radio span { flex: 1 1 auto; }
.ql-dev-radio strong { color: var(--text); }
.ql-knobs {
  display: grid;
  gap: 12px 18px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.ql-knob { color: var(--muted); font-size: 12px; }
.ql-knob span { display: block; font-family: "Courier New", monospace; letter-spacing: 0.4px; margin-bottom: 5px; }
.ql-knob input {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 13.5px;
  padding: 8px 10px;
  width: 100%;
}
.ql-knob input:focus { border-color: var(--teal-soft); outline: none; }
.ql-dev-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.ql-dev-actions button {
  background: rgba(230, 126, 34, 0.1);
  border: 1px solid rgba(230, 126, 34, 0.5);
  border-radius: 10px;
  color: var(--orange);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  padding: 8px 14px;
}
.ql-dev-note { color: var(--faint); font-family: "Courier New", monospace; font-size: 11.5px; }

@media (max-width: 640px) {
  .ql-mat-body { padding: 16px 14px 20px; }
  .ql-route-card, .ql-price-card { padding: 16px; }
  /* the lab's section titles are longer than the site's — keep them on-screen.
     overflow-wrap:anywhere was breaking "02_MATERIAL_AND_COL/ORS" mid-word at
     375px (audit row 11): shrink instead of shatter. */
  .section-header h2 { font-size: clamp(15px, 4.5vw, 30px); overflow-wrap: normal; }
}

/* ── WORKING strip (2026-07-14, Hugo: "needs a better way of knowing it is
   working") — the moment note() has text, it stops being fine print and
   becomes an animated banner under the drop zone. Empties on done/error. */
#qlProgress:not(:empty) {
  animation: ql-working-pulse 1.6s ease-in-out infinite;
  background:
    linear-gradient(90deg, rgba(0, 168, 150, 0.22), rgba(0, 168, 150, 0.06)) 0 0 / 200% 100%,
    rgba(0, 168, 150, 0.08);
  border: 1px solid var(--teal-soft);
  border-radius: 12px;
  color: #00fff0;
  font-size: 15px;
  letter-spacing: 0.5px;
  margin-top: 10px;
  padding: 12px 16px;
}
#qlProgress:not(:empty)::before { content: "⏳ WORKING — "; color: var(--teal-soft); }
@keyframes ql-working-pulse {
  0%, 100% { background-position: 0 0; opacity: 1; }
  50% { background-position: -100% 0; opacity: 0.75; }
}

/* ── build plates + built-in colors (2026-07-14) ─────────── */
.ql-plates[hidden] { display: none; } /* author display beats UA [hidden] — banked footgun */
.ql-plates {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.ql-plates-label {
  color: var(--gold);
  flex-basis: 100%;
  font-family: "Courier New", monospace;
  font-size: 13px;
}
.ql-plate {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: "Courier New", monospace;
  gap: 2px;
  padding: 10px 16px;
  text-align: left;
}
.ql-plate small { color: var(--faint); font-size: 11px; }
.ql-plate:hover { border-color: var(--teal-soft); }
.ql-plate.on {
  background: rgba(0, 168, 150, 0.14);
  border-color: var(--teal-soft);
  color: #00fff0;
}
.ql-plate.on small { color: var(--teal-soft); }

.ql-calert[hidden] { display: none; }
.ql-calert {
  border: 1px dashed rgba(242, 169, 0, 0.5);
  border-radius: 12px;
  margin-top: 14px;
  padding: 12px 14px;
}
.ql-calert-head {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.ql-calert-row {
  align-items: center;
  display: grid;
  /* dot | file hex | arrow | shelf pick | match badge | order-in — locked
     columns so every row lines up (7/20: "aligned and professional") */
  grid-template-columns: 16px 72px 14px minmax(170px, 230px) 128px auto;
  gap: 8px 12px;
  padding: 7px 0;
}
.ql-calert-row .ql-calert-badge { justify-self: center; text-align: center; width: 100%; }
.ql-calert-row .ql-calert-order { white-space: nowrap; }
@media (max-width: 760px) {
  .ql-calert-row { display: flex; flex-wrap: wrap; }
  .ql-calert-row .ql-calert-order { white-space: normal; }
}
.ql-calert-dot {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  height: 16px;
  width: 16px;
}
.ql-calert-file { color: var(--muted); font-family: "Courier New", monospace; font-size: 12px; }
.ql-calert-arrow { color: var(--faint); }
.ql-calert-pick {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  max-width: 210px;
  padding: 6px 8px;
}
.ql-calert-pick:disabled { opacity: 0.45; }
.ql-calert-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  padding: 3px 9px;
}
.ql-calert-order {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 12.5px;
  gap: 6px;
}
.ql-calert-order small { color: var(--faint); }
.ql-calert-cap {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 12px;
  margin-top: 8px;
}

/* ── preview layout toggle (assembled / spread out) — 2026-07-14 ── */
.ql-layout[hidden] { display: none; }
.ql-layout {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.ql-layout-btn {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
}
.ql-layout-btn:hover { border-color: var(--teal-soft); color: #00fff0; }

/* ── side-by-side "the whole put together" panel (2026-07-14) ──────
   parts laid out in the interactive canvas, the file's own assembled render
   shown alongside so a customer sees both. Stacks under the canvas on narrow. */
.ql-stage-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.ql-stage-row .iqp-canvas { flex: 1 1 340px; min-width: 0; }
.ql-whole[hidden] { display: none; }
.ql-whole {
  align-items: center;
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 14px);
  display: flex;
  flex: 0 0 220px;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 12px;
}
.ql-whole-cap {
  color: var(--faint);
  font-family: "Courier New", monospace;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  text-align: center;
}
.ql-whole-img {
  border-radius: 10px;
  height: auto;
  max-height: 340px;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .ql-whole { flex-basis: 100%; }
  .ql-whole-img { max-height: 240px; }
}

/* ── Founding-customer offer banner (soft-launch promo) ───────────── */
.ql-promo { padding: 4px 0 0; }
.ql-promo-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 22px;
}
.ql-promo-badge {
  font-family: 'Courier New', monospace;
  font-size: .72rem; letter-spacing: .08em; font-weight: 700;
  color: #0d0d11; background: var(--gold);
  padding: 6px 11px; border-radius: 4px; white-space: nowrap;
}
.ql-promo-body { min-width: 0; }
.ql-promo-lead { margin: 0 0 3px; font-size: 1.12rem; color: var(--text); }
.ql-promo-lead strong { color: var(--gold); }
.ql-promo-sub { margin: 0; font-size: .9rem; color: var(--faint); line-height: 1.5; }
@media (max-width: 640px) {
  .ql-promo-card { flex-direction: column; align-items: flex-start; gap: 11px; }
}

/* ── ORDER_INFORMATION card (7/27) ─────────────────────────────── */
.ql-orderinfo { margin: 26px 0 0; }
.ql-oi-help { color: var(--muted, #9aa0a6); font-family: 'Courier New', monospace;
  font-size: .82rem; margin: 10px 0 8px; }
.ql-oi-list { margin: 0 0 12px 18px; padding: 0; font-size: .85rem; line-height: 1.65;
  color: var(--muted, #9aa0a6); }
.ql-oi-list strong { color: var(--text, #e8e8ea); font-weight: 600; }
.ql-orderinfo textarea { width: 100%; box-sizing: border-box; background: #0d0d11;
  color: var(--text, #e8e8ea); border: 1px solid #2c2c33; border-radius: 8px;
  padding: 12px 14px; font: inherit; font-size: .92rem; resize: vertical; min-height: 92px; }
.ql-orderinfo textarea:focus { outline: none; border-color: #00a896; }
.ql-oi-status { font-family: 'Courier New', monospace; font-size: .78rem;
  color: #f2a900; margin-top: 8px; }
.ql-oi-status.ok { color: #00a896; }

/* ── BULK LANE panel (7/28) ────────────────────────────────────── */
.ql-bulk { text-align: left; padding: 4px 0; }
.ql-bulk-head { font-family: 'Courier New', monospace; font-size: .8rem;
  color: var(--gold, #f2a900); letter-spacing: .05em; }
.ql-bulk p { margin: 10px 0; font-size: .95rem; line-height: 1.55;
  color: var(--text, #e8e8ea); font-weight: 400; }
.ql-bulk-btn { display: inline-block; background: #00a896; color: #04211d;
  font-family: 'Courier New', monospace; font-weight: 700; font-size: .9rem;
  letter-spacing: .05em; text-decoration: none; padding: 12px 22px;
  border-radius: 8px; margin: 6px 0; }
.ql-bulk-btn:hover { background: #25c8c2; }
.ql-bulk-sub { font-family: 'Courier New', monospace; font-size: .75rem;
  color: var(--muted, #9aa0a6); }

/* ── per-part colour strip (7/28) ─────────────────────────────── */
.ql-partspick { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ql-pp-head { flex-basis: 100%; font-family: 'Courier New', monospace; font-size: .78rem;
  color: var(--muted, #9aa0a6); }
.ql-pp-chip { display: inline-flex; align-items: center; gap: 7px; background: #101014;
  border: 1px solid #2c2c33; border-radius: 18px; color: var(--text, #e8e8ea);
  font-size: .8rem; padding: 6px 12px; cursor: pointer; }
/* ROUND dots (audit row 12) — 3px corners read as unchecked checkboxes */
.ql-pp-chip .fil-dot { width: 12px; height: 12px; border-radius: 50%; }
.ql-pp-chip.sel { border-color: #00a896; box-shadow: 0 0 0 1px #00a896 inset; color: #25c8c2; }

/* ── how-to blurb + order-in request (7/28) ───────────────────── */
.ql-mat-introrow { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.ql-mat-introrow > p { flex: 1 1 300px; margin: 0; }
/* the 3 steps run SIDE BY SIDE so the card stays about as tall as the intro
   (Hugo 7/28: spread it out — match the intro's vertical space) */
.ql-howto { flex: 1 1 560px; background: #0d1512; border: 1px solid #123f38;
  border-radius: 10px; padding: 14px 20px; }
.ql-howto-head { font-family: 'Courier New', monospace; font-size: .8rem;
  color: #25c8c2; letter-spacing: .05em; }
.ql-howto ol { display: flex; gap: 20px; margin: 10px 0; padding: 0;
  list-style-position: inside; font-size: .85rem; line-height: 1.55;
  color: var(--text, #e8e8ea); }
.ql-howto li { flex: 1 1 0; margin: 0; }
.ql-howto-sub { font-family: 'Courier New', monospace; font-size: .76rem;
  color: var(--muted, #9aa0a6); }
@media (max-width: 760px) { .ql-howto ol { flex-direction: column; gap: 8px; } }
.ql-orderin { margin-top: 16px; background: #14110b; border: 1px solid #4a3a12;
  border-radius: 10px; padding: 12px 16px; }
.ql-orderin-head { font-family: 'Courier New', monospace; font-size: .78rem;
  color: var(--gold, #f2a900); letter-spacing: .05em; }
.ql-orderin-row input { width: 100%; box-sizing: border-box; margin-top: 8px;
  background: #0d0d11; color: var(--text, #e8e8ea); border: 1px solid #2c2c33;
  border-radius: 8px; padding: 10px 13px; font: inherit; font-size: .88rem; }
.ql-orderin-row input:focus { outline: none; border-color: #f2a900; }
.ql-orderin-sub { display: block; margin-top: 7px; font-family: 'Courier New', monospace;
  font-size: .74rem; color: var(--muted, #9aa0a6); }
.ql-orderin-sub.ok { color: #00a896; }

.ql-orderin-row { display: flex; gap: 10px; align-items: center; }
.ql-orderin-row input { flex: 1; }
.ql-orderin-attach { white-space: nowrap; background: #f2a900; color: #241a00;
  border: none; border-radius: 8px; font-family: 'Courier New', monospace;
  font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: 10px 14px;
  cursor: pointer; margin-top: 8px; }
.ql-orderin-attach:hover { background: #ffc226; }

.ql-pp-num { display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: #0d1512;
  border: 1px solid #00a896; color: #f7f1e6; font-family: 'Courier New', monospace;
  font-weight: 700; font-size: .72rem; }
