/* Image Studio, Carzie brand. Single-theme light. 8px grid, semantic tokens.
   Palette from packages/tailwind-preset/src/palettes/carzie.css (light). */
:root {
  --bg: #fcfcfc;
  --surface: #ffffff;
  --surface-2: #eff6fb;
  --text: #042847;
  --text-dim: #455b6d;
  --text-faint: #8593a3;
  --border: #e3e9f2;
  --border-strong: #98a4c2;
  --navy: #182550;
  --accent: #35dd71;
  --accent-hover: #2ec866;
  --accent-ink: #041c30;
  --accent-text: #007d1e;
  --danger: #c50220;
  --warn: #c46d00;
  --info: #182550;
  --img-bg: #eef2f7;
  --radius: 0.9rem;
  --radius-sm: 0.65rem;
  --radius-md: 0.775rem;
  --shadow-sm: 0 2px 4px -1px rgba(11, 24, 48, 0.09), 0 1px 2px -1px rgba(11, 24, 48, 0.06);
  --shadow: 0 3px 6px -1px rgba(11, 24, 48, 0.11), 0 2px 4px -2px rgba(11, 24, 48, 0.07);
  --shadow-lg: 0 12px 22px -4px rgba(11, 24, 48, 0.16), 0 6px 10px -4px rgba(11, 24, 48, 0.08);
  --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
}
a {
  color: var(--accent-text);
}

.hidden {
  display: none !important;
}

/* Layout */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: auto;
  overflow-y: hidden;
}
@media (min-width: 600px) {
  .topbar {
    padding: 12px 24px;
    gap: 16px;
  }
}
.topbar .logo {
  height: 22px;
  width: auto;
  display: block;
  flex: none;
}
@media (min-width: 600px) {
  .topbar .logo {
    height: 24px;
  }
}
.topbar .studio-tag {
  font-weight: 650;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  flex: none;
}
@media (min-width: 600px) {
  .topbar .studio-tag {
    font-size: 14px;
    padding-left: 12px;
  }
}
.topbar .spacer {
  flex: 1;
  min-width: 8px;
}
.topbar .pill {
  font-size: 11px;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  flex: none;
}
@media (min-width: 600px) {
  .topbar .pill {
    font-size: 12px;
    padding: 4px 12px;
  }
}
#feat-pill {
  display: none;
}
@media (min-width: 520px) {
  #feat-pill {
    display: inline-block;
  }
}

.wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 12px;
}
@media (min-width: 600px) {
  .wrap {
    padding: 16px;
  }
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
/* Grid items default to min-width auto, so one wide table can push the whole
   page into horizontal scroll. Pin the floor and let inner panels scroll. */
.grid > * {
  min-width: 0;
}
body {
  overflow-x: hidden;
}
@media (min-width: 960px) {
  .grid.two {
    grid-template-columns: 480px 1fr;
    align-items: start;
  }
}
@media (min-width: 1200px) {
  .grid.two {
    grid-template-columns: 520px 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.card + .card {
  margin-top: 14px;
}
.card h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

/* Forms */
label.field {
  display: block;
  margin-bottom: 10px;
}
label.field span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input,
select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 14px;
}
input::placeholder {
  color: var(--text-faint);
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 221, 113, 0.18);
}
.row {
  display: flex;
  gap: 12px;
}
.row > * {
  flex: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.05s,
    background 0.15s,
    border-color 0.15s;
}
.btn:hover:not(:disabled) {
  background: var(--surface-2);
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn.danger {
  color: var(--danger);
  border-color: #e6b9bf;
}
.btn.ghost {
  background: transparent;
  border-color: var(--border);
}
.btn.block {
  width: 100%;
}
.btn.sm {
  padding: 7px 12px;
  font-size: 13px;
}

/* VIN / rego lookup */
.vin-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.vin-row .grow {
  flex: 1;
}
.vin-row select {
  max-width: 92px;
}
.vin-row .btn {
  flex: none;
}
.marque {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.marque-tile {
  width: 48px;
  height: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex: none;
}
.marque-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Drop zone + tray */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  color: var(--text-dim);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  background: var(--surface-2);
}
.dropzone.drag {
  border-color: var(--accent);
  background: rgba(53, 221, 113, 0.08);
  color: var(--text);
}
.dropzone strong {
  color: var(--text);
}
.dropzone small {
  display: block;
  margin-top: 6px;
  color: var(--text-faint);
}

.tray {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 520px) {
  .tray {
    grid-template-columns: repeat(3, 1fr);
  }
}
.photo {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.photo .pthumb {
  aspect-ratio: 4 / 3;
  background: var(--img-bg) center/cover no-repeat;
}
.photo .pmeta {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.photo .pmeta select {
  padding: 6px 8px;
  font-size: 13px;
}
.photo .ptag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}
.photo .ptag.ok {
  color: var(--accent-text);
  font-weight: 600;
}
.photo .clear {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(4, 40, 71, 0.65);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.photo .pbar {
  height: 3px;
  background: var(--accent);
  width: 0;
  transition: width 0.2s;
}

/* Status + progress */
.notice {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  margin-top: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.notice.info {
  border-color: #c9d3ea;
  background: #eef2fb;
  color: var(--navy);
}
.notice.ok {
  border-color: #b6ecc9;
  background: #e8faee;
  color: #075f28;
}
.notice.warn {
  border-color: #f0d8ac;
  background: #fdf4e3;
  color: #8a4d00;
}
.notice.err {
  border-color: #edc0c6;
  background: #fdeaec;
  color: #99031a;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
}
.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.clock {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--navy);
}
.anglepills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.anglepill {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-faint);
  background: var(--surface-2);
}
.anglepill.active {
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(53, 221, 113, 0.18);
}
.anglepill.done {
  border-color: var(--accent);
  color: var(--accent-text);
}
.anglepill.fail {
  border-color: #e6b9bf;
  color: var(--danger);
}

/* Results */
.results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .results {
    grid-template-columns: repeat(2, 1fr);
  }
}
.result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.result .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.result .head .angle {
  font-weight: 650;
}
.result .verdict {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
}
.verdict.approved {
  color: var(--accent-text);
  background: #e1f5e4;
}
.verdict.escalated {
  color: var(--warn);
  background: #fdf4e3;
}
.verdict.unrendered {
  color: var(--danger);
  background: #fdeaec;
}
.result .imgwrap {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--img-bg);
}
.result .imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.result .imgwrap .empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  text-align: center;
  padding: 20px;
  font-size: 13px;
}
.result .body {
  padding: 12px 14px;
}
.result .attempts {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.judges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.judge {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.judge summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
}
.judge summary::-webkit-details-marker {
  display: none;
}
.judge .jdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.judge .jdot.pass {
  background: var(--accent);
}
.judge .jdot.fail {
  background: var(--danger);
}
.judge .jdot.skipped {
  background: var(--text-faint);
}
.judge .jname {
  font-weight: 600;
}
.judge .jverdict {
  margin-left: auto;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.judge .evidence {
  padding: 0 10px 10px 26px;
  font-size: 13px;
  color: var(--text-dim);
}
.judge.fail summary {
  background: #fdeaec;
}
.judge.skipped {
  opacity: 0.7;
}

.result .actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

.setbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.setbar .grow {
  flex: 1;
  min-width: 160px;
}

/* History */
#history-card > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}
#history-card > summary::-webkit-details-marker {
  display: none;
}
#history-card > summary h2 {
  margin-bottom: 0;
  flex: 1;
}
#history-card > summary::after {
  content: '+';
  font-size: 16px;
  font-weight: 700;
  color: var(--text-faint);
  width: 18px;
  text-align: center;
  flex: none;
}
#history-card[open] > summary::after {
  content: '\2212';
  color: var(--accent-text);
}
#history-card[open] > summary {
  margin-bottom: 12px;
}
.hist {
  font-size: 13px;
  max-height: 340px;
  overflow: auto;
}
.hist thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
  box-shadow: 0 1px 0 var(--border);
}
.hist td {
  white-space: nowrap;
}
.hist td:nth-child(2) {
  white-space: normal;
  word-break: break-word;
}
.hist-thumb {
  display: block;
  width: 52px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--img-bg);
}
.hist table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.hist th,
.hist td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
}
.hist th {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hist code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* Passcode gate */
.gate {
  position: fixed;
  inset: 0;
  background: rgba(4, 40, 71, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.gate .box {
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.gate .box .logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.gate h2 {
  font-size: 18px;
  margin-bottom: 6px;
}
.gate p {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 18px;
}
.gate .err {
  color: var(--danger);
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}

/* Reference pack viewer */
.pack-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.pack-badge.curated {
  color: var(--accent-text);
  background: #e1f5e4;
}
.pack-badge.studio {
  color: var(--info);
  background: #eef2fb;
}

.pack-grid {
  columns: 2;
  column-gap: 10px;
}
@media (min-width: 420px) {
  .pack-grid {
    columns: 3;
  }
}

.pack-tile {
  break-inside: avoid;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pack-tile.empty {
  opacity: 0.55;
}
.pack-tile.lib {
  border-color: #b6ecc9;
}
.pack-tile-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}
.pack-tile-img {
  background: var(--img-bg);
  overflow: hidden;
  line-height: 0;
}
.pack-tile-img img {
  width: 100%;
  height: auto;
  display: block;
}
.pack-tile-empty {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 12px;
  background: var(--img-bg);
}
.pack-tile-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 5px 8px;
  gap: 6px;
}
.pack-tile-extras {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.pack-extra-thumb {
  position: relative;
  flex: none;
  width: 52px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pack-extra-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pack-extra-actions {
  position: absolute;
  inset: 0;
  background: rgba(4, 40, 71, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}
.pack-extra-thumb:hover .pack-extra-actions {
  opacity: 1;
}
.pack-extra-actions .btn {
  padding: 3px 6px;
  font-size: 10px;
  background: var(--surface);
}

.subsection-title {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.pack-usage {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.pack-summary {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pack-summary .count {
  font-weight: 600;
  color: var(--text);
}
.pack-prompt {
  border: 1px solid #b6ecc9;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #e8faee;
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pack-prompt .btn {
  flex: none;
}
.pack-empty-state {
  text-align: center;
  padding: 16px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  margin-bottom: 10px;
}
.pack-empty-state p {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 8px;
}

.btn.ghost-danger {
  color: var(--text-faint);
  border-color: transparent;
  background: transparent;
}
.btn.ghost-danger:hover:not(:disabled) {
  color: var(--danger);
  background: #fdeaec;
}

/* Help modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 40, 71, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  flex: none;
}
.modal-header h2 {
  font-size: 16px;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover {
  background: var(--border);
}
.modal-body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.help-section {
  margin-bottom: 22px;
}
.help-section:last-child {
  margin-bottom: 0;
}
.help-section h3 {
  font-size: 14px;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 8px;
}
.help-section p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.help-section ol,
.help-section ul {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 20px;
  margin: 6px 0 0;
}
.help-section li {
  margin-bottom: 6px;
}
.help-section li strong {
  color: var(--text);
}

.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.faq:last-child {
  margin-bottom: 0;
}
.faq summary {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: '+';
  font-size: 16px;
  font-weight: 700;
  color: var(--text-faint);
  width: 18px;
  text-align: center;
  flex: none;
  transition: transform 0.15s;
}
.faq[open] summary::before {
  content: '\2212';
  color: var(--accent-text);
}
.faq[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq p {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

#help-btn {
  font-size: 16px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
}

.muted {
  color: var(--text-faint);
  font-size: 13px;
}
.helptext {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 10px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.compare figure {
  margin: 0;
}
.compare figcaption {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
  background: var(--img-bg);
}
