.stamp-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.stamp-controls { display: grid; gap: 20px; min-width: 0; }
.stamp-controls fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.stamp-controls legend { font-weight: 700; margin-bottom: 10px; }
.stamp-options, .stamp-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stamp-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stamp-choice { position: relative; display: flex; justify-content: center; gap: 6px; align-items: center; padding: 12px 6px; border: 1px solid #c6ced9; border-radius: 10px; cursor: pointer; font-size: 14px; color: #243246; background: white; }
.stamp-choice:has(input:checked) { border-color: #b5262c; background: #fff0f0; color: #922027; box-shadow: inset 0 0 0 1px #b5262c; }
.stamp-choice input { accent-color: #b5262c; width: 15px; height: 15px; }
.stamp-inline { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #34435a; }
.stamp-inline input { width: 18px; height: 18px; accent-color: #b5262c; }
.stamp-range { display: flex; align-items: center; gap: 10px; }
.stamp-range input { width: 100%; min-width: 0; accent-color: #b5262c; }
.stamp-range output { min-width: 42px; font-size: 13px; text-align: right; color: #34435a; }
.stamp-color input { min-height: 46px; width: 100%; cursor: pointer; padding: 4px; }
.stamp-preview-panel { position: sticky; top: 24px; min-width: 0; }
.stamp-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.stamp-preview-heading h3 { font-size: 15px; color: #34435a; margin: 0; }
.stamp-stage { background-color: #fff; background-image: linear-gradient(45deg, #edf0f3 25%, transparent 25%), linear-gradient(-45deg, #edf0f3 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #edf0f3 75%), linear-gradient(-45deg, transparent 75%, #edf0f3 75%); background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0; border: 1px solid #d8dee7; border-radius: 16px; overflow: hidden; }
.stamp-stage canvas { display: block; width: 100%; height: auto; }
.stamp-preview-note { color: #536076; font-size: 13px; margin-top: 12px; line-height: 1.6; }
.stamp-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.stamp-examples button { padding: 7px 12px; border: 1px solid #d8dee7; border-radius: 999px; background: white; color: #34435a; cursor: pointer; font: inherit; font-size: 13px; }
.stamp-count { font-size: 12px; color: #536076; margin-left: auto; }
.stamp-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stamp-downloads .gt-button-primary { background: #b5262c; color: #fff; }
.stamp-downloads .gt-button-primary:hover { background: #922027; }
.stamp-workspace :focus-visible, .stamp-downloads :focus-visible, .stamp-examples :focus-visible { outline: 3px solid #176aa1; outline-offset: 3px; }
.stamp-workspace .gt-field [aria-invalid="true"] { border-color: #b5262c; }
.stamp-intro-note { border-left: 3px solid #b5262c; padding-left: 14px; color: #536076; font-size: 14px; line-height: 1.7; margin-top: 18px; }
@media (max-width: 760px) { .stamp-workspace { grid-template-columns: minmax(0, 1fr); gap: 24px; } .stamp-preview-panel { position: static; } .stamp-stage { max-width: 380px; margin-inline: auto; } }
@media (max-width: 380px) { .stamp-settings { gap: 10px; } .stamp-choice { font-size: 12px; gap: 4px; padding: 10px 4px; } .stamp-downloads .gt-button { width: 100%; } }
