:root {
  --bg: #0f1419;
  --panel: #1a2332;
  --border: #2d3a4d;
  --text: #e8eef6;
  --muted: #9aa8bc;
  --accent: #e8a317;
  --accent2: #3d8bfd;
  --good: #3ecf8e;
  --warn: #ff6b6b;
  --radius: 10px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #121a24;
}
.brand { display: flex; gap: 0.9rem; align-items: center; }
.mark {
  background: var(--accent);
  color: #1a1200;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}
.top h1 {
  margin: 0;
  font-size: 1.25rem;
  white-space: nowrap;
}
.tag { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9rem; }
.emb-warn {
  margin: 0;
  color: var(--warn);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--warn);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.4rem;
}
.panel h2 {
  margin: 1.1rem 0 0.6rem;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.panel h2:first-child { margin-top: 0; }

label {
  display: block;
  margin: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
select, input[type="number"] {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0d1218;
  color: var(--text);
  font-size: 1rem;
}
.row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; }
.size-row label { flex: 1; min-width: 100px; }

.drop {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  background: #121820;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.drop:hover, .drop.drag {
  border-color: var(--accent2);
  background: #152030;
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.hint { color: var(--muted); font-size: 0.8rem; }
.thumb {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #0d1218;
  border-radius: 8px;
  text-align: center;
}
.thumb img { max-width: 100%; max-height: 160px; border-radius: 4px; }
.hidden { display: none !important; }

.actions { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
button {
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.4; cursor: not-allowed; }
.primary { background: var(--accent); color: #1a1200; }
.secondary { background: var(--accent2); color: #fff; }
.ghost {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}
.status { min-height: 1.4em; color: var(--muted); font-size: 0.9rem; }
.status.err { color: var(--warn); }
.status.ok { color: var(--good); }

.preview-wrap {
  background: #0d1218;
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
}
.preview-wrap img { max-width: 100%; max-height: 420px; border-radius: 4px; }
.placeholder { color: var(--muted); }

.stats {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}
.stat {
  background: #121820;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
}
.stat .k { font-size: 0.75rem; color: var(--muted); }
.stat .v { font-size: 1.1rem; font-weight: 700; }
.stat .v.edit-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}
.stat .v.edit-stat input[type="number"] {
  width: 4.5rem;
  margin-top: 0.2rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.stat .v.edit-stat .unit {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
}
.stat-actions .hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.downloads { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.downloads a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  background: #121820;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.downloads a:hover { border-color: var(--accent2); }

.swatches { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.35rem; }
.swatch {
  width: 22px; height: 22px; border-radius: 4px;
  border: 1px solid #fff3;
}

.limits {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.limits h3 { margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--text); }
.limits ul { margin: 0; padding-left: 1.1rem; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.cap-hint { margin: 0.25rem 0 0.5rem; color: var(--accent); }
.size-hint { margin: 0.35rem 0 0.5rem; }
label.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  margin: 0.4rem 0 0.75rem;
}
label.check input { width: auto; margin: 0; }


/* ---- Tabs (Embroidery Shop Tools) ---- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem 0;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.tab {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  top: 1px;
  white-space: nowrap;
}
.tab:hover { color: var(--text); background: #152030; }
.tab.active {
  color: var(--accent);
  background: var(--panel);
  border-color: var(--border);
  border-bottom-color: var(--panel);
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.tab-panel[hidden] { display: none !important; }

.tab-short { display: none; }
.tab-full { display: inline; }

/* Phone: 2-column chip grid so tabs never run off-screen */
@media (max-width: 700px) {
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .tab {
    top: 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0.45rem;
    font-size: 0.82rem;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }
  .tab.active {
    border-color: var(--accent);
    border-bottom-color: var(--accent);
    background: #1e2a3a;
  }
  .tab-short { display: inline; }
  .tab-full { display: none; }
}

.range-val {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.preview-wrap.checker {
  background-color: #0d1218;
  background-image:
    linear-gradient(45deg, #1a2332 25%, transparent 25%),
    linear-gradient(-45deg, #1a2332 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a2332 75%),
    linear-gradient(-45deg, transparent 75%, #1a2332 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.actions .ghost {
  margin-top: 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent2);
}

.control {
  margin: 0.75rem 0;
}
.control-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.slider-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.slider-row input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--accent);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.slider-row input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: #0d1218;
  border: 1px solid var(--border);
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #1a1200;
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.slider-row input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #0d1218;
  border: 1px solid var(--border);
}
.slider-row input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #1a1200;
  cursor: grab;
}
.slider-row input[type="number"] {
  width: 4.2rem;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0.4rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0d1218;
  color: var(--text);
  font-size: 0.95rem;
}

/* ---- Colors in design (clickable swatches) ---- */
.color-palette {
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  background: #121820;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.color-palette-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.65rem;
}
.color-palette-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.color-palette-head .hint { margin: 0; }
.design-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.design-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  background: #0d1218;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s, transform 0.1s;
}
.design-swatch:hover {
  border-color: var(--accent2);
  transform: translateY(-1px);
}
.design-swatch-chip {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #fff4;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px #0004;
}
.design-swatch-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 4.2rem;
}
.swatch-hex {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.78rem;
  color: var(--text);
}
.swatch-pct {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
.swatch-x {
  margin-left: 0.15rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
}
.design-swatch:hover .swatch-x { color: var(--warn); opacity: 1; }
.design-swatch.removed {
  opacity: 0.45;
  border-style: dashed;
}
.design-swatch.removed .swatch-hex {
  text-decoration: line-through;
  color: var(--muted);
}
.design-swatch.removed .design-swatch-chip {
  filter: grayscale(0.7);
}
.design-swatch.removed .swatch-x {
  color: var(--good);
  opacity: 1;
}
.control .slider-row input#bgPaletteN {
  width: 4.2rem;
  flex: 0 0 auto;
  margin-top: 0;
}

.alpha-hint {
  color: #8ec7ff;
  margin-top: 0.35rem;
}


.top-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.app-version {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #6b7280);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
  }
  .brand {
    width: 100%;
    gap: 0.65rem;
    min-width: 0;
  }
  .brand > div {
    min-width: 0;
    flex: 1;
  }
  .top h1 {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tag { display: none; }
  .top-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-start;
  }
  .app-version { font-size: 11px; }
}

/* ---- Viewer tab ---- */
.view-preview {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #0c1219;
}
.view-preview img,
.view-preview-img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  border-radius: 6px;
  image-rendering: auto;
}
.view-note {
  color: var(--accent);
  margin-top: 0.75rem;
}
.view-colors {
  margin-top: 0.9rem;
}
.view-colors .color-palette-head {
  margin-bottom: 0.45rem;
}
.view-swatch .swatch-hex {
  font-size: 0.72rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}
.stat-grid .stat {
  background: #121a24;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
.stat-grid dt {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.stat-grid dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.stat-grid .muted {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
}


/* ---- Viewer mode chips ---- */
.view-mode-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}
.view-mode-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #121a24;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.view-mode-btn:hover {
  color: var(--text);
  border-color: #3a4a5e;
}
.view-mode-btn.active {
  background: #1e3a5f;
  border-color: var(--accent);
  color: #e8f0ff;
}
.view-mode-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


/* ---- Colorway / pull sheet ---- */
.pull-sheet {
  background: #0f1620;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.25rem;
}
.pull-sheet .placeholder { color: var(--muted); margin: 0; }
.pull-sheet-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pull-sheet-brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.pull-sheet-brand .shop { color: var(--accent); }
.pull-sheet-meta {
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
}
.pull-sheet-meta strong { color: var(--text); font-weight: 600; }
.cw-preview {
  margin: 0.5rem 0 1rem;
  text-align: center;
  background: #0c1219;
  border-radius: 8px;
  padding: 0.5rem;
}
.cw-preview img {
  max-width: 100%;
  max-height: 280px;
  height: auto;
  border-radius: 6px;
}
.cw-table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.cw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cw-table th,
.cw-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.45rem;
  text-align: left;
  vertical-align: middle;
}
.cw-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.cw-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.cw-swatch-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cw-swatch {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.cw-totals {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
}
.cw-total {
  background: #121a24;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
.cw-total .k {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cw-total .v {
  margin-top: 0.15rem;
  font-size: 1rem;
  font-weight: 700;
}
.cw-bobbin {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.cw-from-file { font-size: 0.72rem; color: var(--muted); }

@media print {
  body { background: #fff !important; color: #111 !important; }
  .top, .tabs, footer, .no-print, .emb-warn { display: none !important; }
  .tab-panel { display: none !important; }
  #panel-colorway {
    display: block !important;
    visibility: visible !important;
  }
  #panel-colorway[hidden] { display: block !important; }
  .layout { display: block !important; max-width: none !important; padding: 0 !important; }
  .panel { box-shadow: none !important; border: none !important; background: transparent !important; }
  .pull-sheet {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #111 !important;
    border-radius: 0 !important;
  }
  .pull-sheet-brand .shop { color: #111 !important; }
  .pull-sheet-meta, .cw-bobbin, .cw-from-file, .cw-table th { color: #444 !important; }
  .cw-total {
    background: #f5f5f5 !important;
    border-color: #ccc !important;
  }
  .cw-total .k { color: #555 !important; }
  .cw-total .v, .cw-table td, .pull-sheet-meta strong { color: #111 !important; }
  .cw-table th, .cw-table td { border-bottom-color: #ddd !important; }
  .cw-preview { background: #fff !important; }
  .cw-swatch { border-color: #888 !important; }
}


/* ---- Viewer playback / hoop-trace (1.5.0) ---- */
.view-playback-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.55rem;
  background: #121a24;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.view-playback-bar .ghost {
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}
.play-speed-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.play-speed-label select {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0c1219;
  color: var(--text);
}
.play-markers-label {
  font-size: 0.82rem;
  margin: 0;
}
.play-progress {
  font-size: 0.78rem;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.view-play-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 6px;
  background: #0c1219;
  border: 1px solid var(--border);
}
.view-play-canvas.hidden {
  display: none;
}
.view-hoop-row {
  align-items: center;
  gap: 0.75rem;
  margin: 0.35rem 0 0.85rem;
}
.hoop-hint {
  margin: 0;
  flex: 1;
  min-width: 12rem;
}


/* ---- Resize / density ---- */
.rz-body { min-height: 4rem; }
.rz-preview {
  margin: 0.5rem 0 1rem;
  text-align: center;
  background: #0c1219;
  border-radius: 8px;
  padding: 0.5rem;
}
.rz-preview img {
  max-width: 100%;
  max-height: 220px;
  height: auto;
  border-radius: 6px;
}
.rz-verdict {
  margin: 0.85rem 0 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
  background: #121a24;
}
.rz-verdict .rz-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}
.rz-verdict.ok .rz-level {
  background: rgba(40, 170, 90, 0.2);
  color: #5ddea0;
  border: 1px solid rgba(40, 170, 90, 0.45);
}
.rz-verdict.caution .rz-level {
  background: rgba(230, 180, 40, 0.18);
  color: #e6c04a;
  border: 1px solid rgba(230, 180, 40, 0.45);
}
.rz-verdict.bad .rz-level {
  background: rgba(220, 50, 50, 0.18);
  color: #f08080;
  border: 1px solid rgba(220, 50, 50, 0.45);
}
.rz-verdict ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.9rem;
}
.rz-verdict li { margin: 0.2rem 0; }
.rz-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (max-width: 700px) {
  .rz-compare { grid-template-columns: 1fr; }
}
.rz-col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
