.maker-proof { padding-block: 48px 64px; max-width: 1120px; }
.maker-proof__heading { max-width: 640px; margin-bottom: 32px; }
.maker-proof__heading h1, .maker-proof__heading h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1.1; margin: 12px 0; }
.maker-proof__eyebrow { color: var(--accent); font-weight: 700; }
.maker-proof__workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px 40px; align-items: start; }
.maker-proof__workspace > * { min-width: 0; }
.maker-proof__toolbar { display: contents; }
.maker-proof__preview { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 20px; text-align: center; }
.maker-proof__groups { grid-column: 2; grid-row: 1; min-width: 0; }
.maker-proof__controls { grid-column: 2; grid-row: 2; }
.maker-proof__checker { padding: 16px; border: 1px solid var(--line); border-radius: 24px; background-color: #fff; background-image: conic-gradient(#f0eeeb 25%, transparent 0 50%, #f0eeeb 0 75%, transparent 0); background-size: 24px 24px; }
.maker-proof canvas { display: block; width: 100%; height: auto; }
.maker-proof__creation-image { display: block; width: min(100%, 512px); height: auto; margin: 24px auto; }
.maker-proof__download { border: 0; border-radius: 12px; background: var(--accent); color: white; font: inherit; font-weight: 700; padding: 14px 24px; margin-top: 20px; cursor: pointer; }
.maker-proof__download:disabled { opacity: .5; cursor: wait; }
.maker-proof__retry[hidden] { display: none; }
.maker-proof__controls fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.maker-proof__controls legend { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.maker-proof__group-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; }
.maker-proof__group-tabs button { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font: inherit; font-weight: 700; cursor: pointer; }
.maker-proof__group-tabs button[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); }
.maker-proof__controls [hidden] { display: none; }
.maker-proof__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.maker-proof__choice { display: flex; gap: 8px; align-items: center; min-height: 78px; border: 2px solid var(--line); border-radius: 12px; background: white; padding: 8px; text-align: left; font: inherit; overflow-wrap: anywhere; cursor: pointer; }
.maker-proof__choice img { flex-shrink: 0; width: 58px; height: 58px; object-fit: contain; }
.maker-proof__choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.maker-proof button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.maker-proof__note, .maker-proof__preview p { color: var(--muted); font-size: .9rem; }
.maker-proof__note { margin-top: 32px; }
.maker-proof__submit { display: grid; gap: 10px; max-width: 34rem; margin: 32px auto; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.maker-proof__submit h2, .maker-proof__submit h3, .maker-proof__submit p { margin: 0; }
.maker-proof__submit input, .maker-proof__submit textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
@media (max-width: 700px) {
  .maker-proof { padding-block: 24px 40px; }
  .maker-proof__workspace { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 16px; }
  .maker-proof__toolbar { display: block; position: sticky; top: 0; z-index: 2; background: var(--paper); }
  .maker-proof__controls { grid-column: 1; grid-row: 2; }
  .maker-proof__preview { position: static; display: grid; grid-template-columns: minmax(0, min(140px, 40%)) minmax(0, 1fr); align-items: center; gap: 8px 12px; max-width: none; width: 100%; margin: 0; padding-block: 8px; }
  .maker-proof__preview .maker-proof__checker { grid-row: span 2; padding: 8px; border-radius: 16px; }
  .maker-proof__preview .maker-proof__download { margin-top: 0; padding: 12px; font-size: .95rem; }
  .maker-proof__preview p { margin: 0; font-size: .8rem; }
  .maker-proof__retry { grid-column: 1 / -1; justify-self: center; }
  .maker-proof__group-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .maker-proof__group-tabs button { min-width: 0; }
  .maker-proof__choice { gap: 6px; min-height: 72px; font-size: .9rem; }
  .maker-proof__choice img { width: 44px; height: 44px; }
}

@media (max-width: 700px) and (max-height: 520px) {
  .maker-proof__toolbar { position: static; }
}

@media (min-width: 701px) and (max-height: 520px) {
  .maker-proof__preview .maker-proof__checker { width: min(100%, max(120px, calc(100vh - 160px))); margin-inline: auto; }
  .maker-proof__preview .maker-proof__download { margin-top: 10px; }
}

@media (max-width: 360px) {
  .maker-proof__choice { gap: 4px; padding: 6px; font-size: .82rem; }
  .maker-proof__choice img { width: 36px; height: 36px; }
}
