/* ============================================================
   NAVION 3D — 3D Printing Customizer (dedicated page)
   Dark, near-black engineering theme · vivid blue accent
   Industrial product-design aesthetic, no glassmorphism
   ============================================================ */

/* Author rules always beat the UA default [hidden]{display:none} when a
   class below sets its own `display` unconditionally — this guarantees
   the JS .hidden toggle always actually hides the element. */
[hidden] { display: none !important; }

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+20B9;
}

/* ---------------- Tokens ---------------- */
:root {
  --bg: #0a0a0a;
  --bg-elev: #0e0e0e;
  --panel: #111113;
  --panel-2: #141417;
  --card: #0d0d0f;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --line-white: rgba(255, 255, 255, .55);

  --accent: #0a84ff;
  --accent-dim: #006edb;
  --accent-soft: rgba(10, 132, 255, .12);

  --ink: #ffffff;
  --body: rgba(255, 255, 255, .82);
  --muted: rgba(255, 255, 255, .55);
  --muted-soft: rgba(255, 255, 255, .38);

  --danger: #ff5c5c;
  --danger-bg: rgba(255, 92, 92, .10);

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --pill: 9999px;

  --page-max: 1240px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; letter-spacing: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: #ffffff; }
h1, h2, h3, h4, p { margin: 0; }

/* subtle lab glow bleeding in from the right */
.cx-glow {
  position: fixed;
  top: -10%;
  right: -12%;
  width: 60vw;
  height: 90vh;
  background: radial-gradient(closest-side, rgba(10, 132, 255, .14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------------- Navbar ---------------- */
.cx-nav {
  position: relative;
  z-index: 10;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.cx-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .18s var(--ease);
  white-space: nowrap;
}
.cx-nav-back:hover { color: var(--ink); }
.cx-nav-back svg { flex: none; }

.cx-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cx-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.02em;
}
.cx-brand-text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}

/* ---------------- Main / header ---------------- */
.cx-main {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 28px 28px 0;
}
.cx-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  padding: 8px 0 36px;
}
.cx-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--accent);
}
.cx-title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cx-sub {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------------- Customizer grid ---------------- */
.cx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* LEFT upload zone — column so the privacy notice sits ABOVE the drop zone
   and the drop zone (flex:1) fills the remaining height. */
.cx-uploads { display: flex; flex-direction: column; }
.cx-upload-zone {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 32px;
  background: var(--card);
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  min-height: 420px;
}
.cx-upload-zone.drop-over { border-color: var(--accent); background: rgba(10, 132, 255, .06); }
.cx-upload-zone.has-file { border-style: solid; border-color: var(--accent); }
/* A file is uploading/uploaded — show only the preview + status, not the
   whole empty-state pitch (icon copy, hint, browse button, size note). The
   full-zone <input type=file> stays clickable to replace it. */
.cx-upload-zone.has-file .cx-upload-title,
.cx-upload-zone.has-file .cx-upload-hint,
.cx-upload-zone.has-file #browse-btn,
.cx-upload-zone.has-file .cx-upload-note {
  display: none;
}
.cx-upload-zone > input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.cx-upload-zone .cx-btn-green { margin-top: 6px; padding: 14px 34px; font-size: 16px; min-height: 50px; }
.cx-upload-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.cx-upload-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.cx-upload-title span { color: var(--accent); }
.cx-upload-hint { color: var(--muted); font-size: 15px; }
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--pill);
  border: 1px solid transparent;
  padding: 11px 22px;
  min-height: 44px;
  line-height: 1.2;
  transition: transform .12s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), opacity .18s var(--ease);
  user-select: none;
  white-space: nowrap;
}
.cx-btn:active { transform: scale(.97); }
.cx-btn[disabled] { opacity: .4; pointer-events: none; }
.cx-btn-green { background: var(--accent); color: #0a0a0a; }
.cx-btn-green:hover { background: var(--accent-dim); }
.cx-btn-ghost { background: transparent; color: var(--body); border-color: var(--line-strong); }
.cx-btn-ghost:hover { color: var(--ink); border-color: var(--line-white); background: rgba(255,255,255,.04); }
.cx-btn-danger { background: transparent; color: var(--danger); border-color: rgba(255,92,92,.4); }
.cx-btn-danger:hover { background: rgba(255,92,92,.08); border-color: rgba(255,92,92,.6); }
.cx-btn-block { width: 100%; }

.cx-upload-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted-soft);
  letter-spacing: .01em;
}
.cx-file-status {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--accent);
  word-break: break-all;
  max-width: 100%;
}
.cx-file-status.err { color: var(--danger); border-color: rgba(255,92,92,.4); }
.cx-file-bar {
  width: 100%;
  max-width: 300px;
  height: 5px;
  border-radius: var(--pill);
  background: var(--line);
  overflow: hidden;
}
.cx-file-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: var(--pill);
  background: var(--accent);
  transition: width .12s linear;
}
.cx-file-bar.indeterminate .cx-file-bar-fill {
  width: 40% !important;
  animation: cx-bar 1s linear infinite;
}
@keyframes cx-bar { from { transform: translateX(-150%); } to { transform: translateX(350%); } }

.cx-stl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 32%, rgba(10,132,255,.10), #0a0a0a 72%);
  cursor: pointer;
}
.cx-upload-zone.has-file { padding: 0; overflow: hidden; }
.cx-preview-status {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--pill);
  z-index: 2;
}
/* Once the local 3D preview canvas is showing, it covers the whole upload
   zone — float the still-running upload status/progress bar on top of it
   (same slot the old dimensions readout used) so it stays visible instead
   of being painted underneath the canvas. */
.cx-upload-zone #stl-canvas:not([hidden]) ~ #file-status,
.cx-upload-zone #stl-canvas:not([hidden]) ~ #file-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: calc(100% - 40px);
}
.cx-upload-zone #stl-canvas:not([hidden]) ~ #file-status {
  bottom: 38px;
  border-radius: var(--pill);
}
.cx-upload-zone #stl-canvas:not([hidden]) ~ #file-bar {
  bottom: 16px;
}

/* RIGHT panel */
.cx-panel {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-height: 760px;
}
.cx-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.cx-part-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cx-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease), opacity .18s var(--ease);
}
.cx-icon-btn:hover { color: var(--ink); border-color: var(--line-white); background: rgba(255,255,255,.04); }
.cx-icon-btn[disabled] { opacity: .35; pointer-events: none; }
.cx-part-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: center;
}
.cx-part-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cx-part-actions .cx-btn { min-height: 36px; padding: 8px 15px; font-size: 13px; }

/* scrollable form */
.cx-panel-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 24px;
  display: grid;
  gap: 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cx-panel-scroll::-webkit-scrollbar { width: 8px; }
.cx-panel-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--pill); }

.cx-form { display: grid; gap: 22px; }
.cx-field { display: grid; gap: 10px; }
.cx-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cx-label .cx-opt {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-soft);
}

/* choice pills */
.cx-choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-choice {
  padding: 10px 20px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
  position: relative;
}
.cx-choice:hover { color: var(--ink); border-color: var(--line-white); }
.cx-choice:active { transform: scale(.97); }
.cx-choice.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.cx-choice .cx-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  flex: none;
}

/* inputs */
.cx-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-row-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  height: 46px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.cx-input::placeholder { color: var(--muted-soft); }
.cx-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cx-textarea { resize: vertical; min-height: 110px; height: auto; }

/* panel footer / quote */
.cx-panel-foot {
  border-top: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--panel-2);
}
/* ---------------- Quote / submit ---------------- */
.cx-submit { padding: 40px 0 8px; }
.cx-submit-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin-inline: auto;
}
.cx-submit-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cx-review { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cx-review-part { display: block; padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--body); }
.cx-review-part:last-child { border-bottom: none; }
.cx-review-part strong { color: var(--ink); }

.cx-contact { display: grid; gap: 18px; }
.cx-submit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cx-submit-actions .cx-btn-green { flex: 1; min-width: 200px; }
.cx-note { font-size: 13px; color: var(--muted-soft); }

.cx-success { text-align: center; padding: 16px 0 8px; }
.cx-success-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cx-success h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cx-success p { color: var(--muted); margin-top: 8px; }
.cx-ref {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border: 1px dashed var(--accent);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.cx-success p.cx-success-eta {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  max-width: 440px;
  margin-inline: auto;
}

/* ---------------- Filaments table ---------------- */
.cx-filaments {
  padding: 76px 0 40px;
}
.cx-filaments-head {
  text-align: center;
  margin-bottom: 36px;
}
.cx-filaments-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cx-filaments-sub {
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
}
.cx-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
.cx-table {
  width: 100%;
  border-collapse: collapse;
}
.cx-table th,
.cx-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cx-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--panel);
  padding: 15px 22px;
}
.cx-table tbody tr:last-child td { border-bottom: none; }
.cx-table tbody tr { transition: background .16s var(--ease); }
.cx-table tbody tr:hover { background: rgba(255,255,255,.02); }
.cx-mat {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .02em;
}
.cx-desc { color: var(--body); font-size: 15px; line-height: 1.55; }
.cx-benefit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

/* ---------------- Footer ---------------- */
.cx-footer {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  margin-top: 40px;
  padding: 64px 28px 28px;
}
.cx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr;
  gap: 40px;
}
.cx-footer-brand { display: grid; gap: 18px; align-content: start; }
.cx-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cx-footer-logo .cx-brand-text { font-size: 15px; }
.cx-footer-blurb {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
}
.cx-social { display: flex; gap: 10px; }
.cx-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.cx-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.cx-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.cx-footer-col ul { list-style: none; margin: 0; padding: 0; }
.cx-footer-col li { margin-bottom: 12px; }
.cx-footer-col a {
  color: var(--body);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .16s var(--ease);
}
.cx-footer-col a:hover { color: var(--ink); }
.cx-footer-muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cx-footer-divider {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.cx-footer-bottom {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-soft);
  font-size: 13px;
}
.cx-footer-links { display: flex; gap: 24px; }
.cx-footer-links a { color: var(--muted-soft); transition: color .16s var(--ease); }
.cx-footer-links a:hover { color: var(--ink); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .cx-head { grid-template-columns: 1fr; }
  .cx-grid { grid-template-columns: 1fr; }
  .cx-panel { max-height: none; }
  .cx-upload-zone { min-height: 340px; }
  .cx-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .cx-nav { padding: 14px 16px; }
  .cx-main { padding: 16px 16px 0; }
  .cx-head { padding: 16px 0 32px; }
  .cx-title { font-size: 34px; }
  .cx-row-2, .cx-row-3 { grid-template-columns: 1fr; }
  .cx-panel-scroll { padding: 18px; }
  .cx-table-wrap { border-radius: var(--r-md); overflow-x: auto; }
  .cx-table { min-width: 560px; }
  .cx-filaments { padding: 56px 0 24px; }
  .cx-footer { padding: 48px 16px 24px; }
  .cx-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cx-footer-links { gap: 16px; }
}

@media (max-width: 440px) {
  .cx-nav-back span { display: none; }
  .cx-part-actions { width: 100%; }
  .cx-part-actions .cx-btn { flex: 1; }
}

/* ---------------- Policy sections (Terms / Privacy) ---------------- */
/* Light card on the otherwise-dark page — colors are hardcoded, not
   pulled from the dark-theme --ink/--body tokens (those are white and
   would be invisible on this light background). */
.cx-policies {
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  padding: 64px 24px;
}
.cx-policy-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.cx-policy-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 32px;
}
.cx-policy-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}
.cx-policy-body strong {
  color: #1d1d1f;
}
.cx-policy-body a {
  color: var(--accent, #0a84ff);
  text-decoration: underline;
}
.cx-text-link {
  color: var(--accent, #0a84ff);
}

/* ---------------- Field error spans under numeric inputs ---------------- */
.cx-field-error[hidden] { display: none !important; }
.cx-field-error { display: block; }

/* ---------------- Operator disclosure + upload privacy notice (audit #11, #16) ---------------- */
.cx-operator-note {
  margin-top: 14px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b6b70;
}
.cx-operator-note strong { color: #1d1d1f; }
.cx-upload-privacy {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #f0d98a;
  background: #fff8e1;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6b5300;
}
.cx-upload-privacy strong { color: #4d3b00; }
.cx-upload-privacy a { color: #4d3b00; }

/* ---------------- Legal page: version meta + draft banner (audit #21, #25) ---------------- */
.cx-legal-meta {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #8a8a8f;
}
.cx-legal-draft {
  margin: 16px 0 8px;
  padding: 12px 16px;
  border: 1px solid #f0d98a;
  background: #fff8e1;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b5300;
}
.cx-policy-body ul { margin: 8px 0 8px 20px; }
.cx-policy-body li { margin-bottom: 6px; line-height: 1.55; }

/* ---------------- Visible keyboard focus (audit #44, #45) ---------------- */
.cx-choice:focus-visible,
.cx-input:focus-visible,
.cx-btn:focus-visible,
.cx-icon-btn:focus-visible {
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}
.cx-choice[aria-pressed="true"] { position: relative; }
