:root { color: #17251f; background: #eef1ed; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1440px; padding: clamp(16px, 3vw, 48px); margin: auto; }
a { color: #245c45; }
.eyebrow { color: #476a58; margin: 24px 0 0; font-size: .78rem; letter-spacing: .12em; }
h1 { margin: 4px 0 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { margin: 0; font-size: 1.1rem; }
p { margin: .4rem 0 1rem; }
.studio { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 20px; }
form, .proof { background: #fff; border: 1px solid #d3ddd6; border-radius: 12px; padding: 16px; min-width: 0; }
fieldset { min-inline-size: 0; margin: 12px 0; padding: 10px; border: 1px solid #d3ddd6; border-radius: 8px; }
legend { font-weight: 650; }
label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .9rem; min-height: 40px; }
label.sample { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; }
select, input, button { font: inherit; }
select, input[type=text] { max-width: 62%; padding: 5px; }
.sample select { width: 100%; min-width: 0; max-width: 100%; }
.proofs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.proof svg, .proof img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid #d3ddd6; background: #f2f4f2; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-option { border-bottom: 1px solid #d3ddd6; margin-bottom: 10px; padding: 5px 0 10px; }
.studio-option summary { cursor: pointer; font-weight: 650; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 8px 0; }
.studio-gallery button { min-width: 0; padding: 4px; color: #17251f; background: #fff; border-color: #c0d0c5; font-size: .72rem; }
.studio-gallery button[aria-pressed=true] { background: #e3efe7; border-color: #285e45; }
.studio-gallery svg { display: block; width: 30px; height: 30px; margin: auto; }
#reset-palette, #reset-shape { background: #fff; color: #285e45; font-size: .8rem; }
button { cursor: pointer; padding: 8px 12px; border: 1px solid #285e45; background: #285e45; color: white; border-radius: 6px; }
#reset { background: white; color: #285e45; }
#status, #accessories { margin: 8px 0 0; }
@media (max-width: 1050px) { .proofs { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .studio { grid-template-columns: minmax(0,1fr); }
  .proofs { grid-row: 1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .proof { padding: 8px; overflow-wrap: anywhere; }
  .proof p { font-size: .75rem; }
}
