.postcard-workbench {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: start; gap: clamp(15px, 2vw, 28px);
}
.postcard-options { display: grid; gap: 14px; min-width: 0; }
.card-picker { border: 0; min-width: 0; margin: 0; padding: 0; }
.card-picker legend, .card-field { font-weight: 700; color: var(--ink); font-size: 13px; }
.card-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
.card-choices label { position: relative; min-width: 0; cursor: pointer; }
.card-choices input { position: absolute; width: 1px; height: 1px; inset: 6px auto auto 6px; opacity: 0; }
.card-choices label span {
  display: grid; place-items: center; gap: 4px; min-height: 42px; padding: 4px 4px 6px;
  border: 1px solid #695039; border-radius: 6px; background: #211811; color: #e8d0ad;
  white-space: nowrap; font-size: clamp(10px, 1.13vw, 13px);
  transition: border-color .16s ease, background .16s ease;
}
.card-choices label:hover span { border-color: #b48b5d; background: #322418; }
.card-choices input:checked + span { border-color: #c49a66; color: #fff0ce; background: #3c291c; }
.card-choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.card-choices i { display: block; width: 100%; border-radius: 3px; }
.textures i {
  height: 17px; border: 1px solid #fff7e1b0;
  background: repeating-linear-gradient(0deg, #6f553117 0 .5px, transparent 1px 3px), var(--swatch);
}
.motifs i {
  height: clamp(39px, 5.55vw, 80px); background-color: #d8c5a5;
  background-image: var(--motif-plate); background-size: 200% 200%;
  background-position: var(--plate-x) var(--plate-y);
}
.card-option-detail { margin-top: 6px; min-height: 1.5em; color: var(--muted); font-size: 12px; }
.card-field { display: grid; gap: 5px; }
.card-field :is(select, textarea) {
  min-width: 0; width: 100%; border: 1px solid #71573f; border-radius: 5px; padding: 7px 8px;
  color: var(--ink); background: #211811; font-size: 13px; font-weight: 400;
}
.card-field :is(select, textarea):is(:hover, :focus-visible) { border-color: var(--gold); }
.card-field select { max-width: 15em; }
.card-field textarea { resize: vertical; min-height: 56px; }
.postcard-preview {
  min-width: 0; padding: 12px clamp(7px, 1.5vw, 19px) 15px;
  border: 1px solid #6a4d32; border-radius: 8px;
  background: radial-gradient(ellipse at 45% 25%, #493224 0%, #211710 74%);
}
.postcard-preview figcaption {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; padding-inline: 1.25%; margin-bottom: 8px; color: #d1b490; font-size: 11px;
}
.postcard-preview figcaption strong { color: #efcea4; font: 700 15px var(--serif); }
.postcard-preview canvas { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 9px #0e080780); }
.postcard-page { max-width: 1220px; }
.chapter-postcard { margin-top: 16px; }
.chapter-postcard h2 { margin-bottom: 13px; color: #efcea4; font-size: 23px; }

@media (max-width: 830px) {
  .postcard-workbench { grid-template-columns: 1fr; }
  .postcard-preview { grid-row: 1; }
  .motifs i { height: clamp(42px, 12vw, 92px); }
}
@media (prefers-reduced-motion: reduce) {
  .card-choices label span { transition: none; }
}
