.dm-stationery-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,48px);align-items:start;margin-top:32px}.dm-letterhead-preview{margin:0;padding:24px;background:var(--mist,#efedf4)}.dm-letterhead-preview img{display:block;width:100%;height:auto;box-shadow:0 6px 24px #341e5114}.dm-letterhead-preview figcaption{font-size:12px;margin-top:18px;line-height:1.5;color:var(--purple,#341e51)}.dm-letterhead-rules h3{margin-top:0;font-size:24px;line-height:1.3}.dm-letterhead-rules ul{padding-left:20px}.dm-letterhead-rules li{margin-bottom:16px;line-height:1.7}.dm-stamp-downloads{display:grid;gap:12px;margin:24px 0}.dm-stamp-downloads .dm-download,.dm-stamp-examples .dm-download{display:flex;align-items:center;justify-content:space-between;gap:16px}.dm-stamp-builder{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:32px;align-items:start}.dm-stamp-form{min-width:0}.dm-stamp-form label,.dm-stamp-fieldset legend{display:block;font-size:14px;font-weight:600;line-height:1.5}.dm-stamp-form input:not([type=checkbox]),.dm-stamp-form textarea,.dm-stamp-form select{display:block;box-sizing:border-box;border:1px solid var(--stroke,#d8d1df);background:#fff;color:var(--purple,#341e51);border-radius:0;font:inherit;font-size:16px;font-weight:400;padding:12px 14px;min-height:46px;width:100%;margin-top:8px}.dm-stamp-form textarea{resize:vertical;min-height:140px;line-height:1.7}.dm-stamp-form input:focus-visible,.dm-stamp-form textarea:focus-visible,.dm-stamp-form select:focus-visible,.dm-stamp-presets button:focus-visible{outline:2px solid var(--red,#ff0026);outline-offset:3px}.dm-stamp-muted{font-size:12px;font-weight:400}.dm-stamp-fieldset{padding:0;margin:0 0 20px;border:0;min-width:0}.dm-stamp-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.dm-stamp-presets button{border:1px solid var(--stroke,#d8d1df);color:var(--purple,#341e51);padding:11px 4px;min-height:44px;background:white;font:inherit;font-size:14px;cursor:pointer;transition:background .18s,color .18s}.dm-stamp-presets button[aria-pressed=true]{background:var(--purple,#341e51);border-color:var(--purple,#341e51);color:white}.dm-stamp-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 12px}.dm-stamp-options{display:grid;gap:12px;margin:24px 0}.dm-stamp-options label{display:flex;gap:10px;align-items:center;font-weight:400;cursor:pointer}.dm-stamp-options input{width:18px;height:18px;accent-color:var(--purple,#341e51);flex:none}.dm-stamp-status{font-size:14px;line-height:1.6;min-height:2em;margin:16px 0 8px}.dm-stamp-status[data-state=error]{color:#a30021}.dm-stamp-form button:disabled{opacity:.45;cursor:not-allowed}.dm-stamp-preview-panel{min-width:0;background:var(--mist,#efedf4);padding:24px}.dm-stamp-preview-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:12px;line-height:1.5;margin-bottom:20px}.dm-stamp-preview-heading strong{font-weight:600;white-space:nowrap}.dm-stamp-preview-surface{min-height:230px;padding:24px 12px;background:#fff;display:flex;align-items:center;justify-content:center}.dm-stamp-preview{width:100%;display:flex;align-items:center;justify-content:center;min-height:150px}.dm-stamp-preview svg{display:block;max-width:100%;max-height:380px;width:100%;height:auto}.dm-stamp-preview>p{font-size:14px;line-height:1.6;text-align:center;padding:12px}.dm-stamp-specs{font-size:12px;line-height:1.6;margin:18px 0 12px}.dm-stamp-preview-panel .dm-details{background:transparent;margin-top:24px}.dm-stamp-preview-panel .dm-details ul{padding-left:18px;font-size:12px;line-height:1.7}.dm-stamp-preview-panel .dm-details li+li{margin-top:10px}.dm-stamp-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:36px}.dm-stamp-examples article{border:1px solid var(--stroke,#d8d1df);padding:24px;display:flex;flex-direction:column;align-items:stretch;min-width:0}.dm-stamp-examples article>img{display:block;width:100%;height:160px;object-fit:contain;object-position:center;margin:14px 0 24px}.dm-stamp-examples article>.dm-download{margin-top:auto;font-size:14px}.dm-stamp-examples .dm-kicker{font-size:12px}.dm-stamp-form .dm-caption{font-size:12px}
@media(max-width:900px){.dm-stamp-builder{grid-template-columns:1fr;gap:24px}.dm-stamp-preview-panel{padding:24px}.dm-stationery-layout{grid-template-columns:1fr 1.1fr;gap:24px}.dm-letterhead-preview{padding:16px}}
@media(max-width:600px){.dm-stationery-layout,.dm-stamp-examples{grid-template-columns:1fr}.dm-letterhead-preview{max-width:360px}.dm-stamp-preview-panel{padding:18px}.dm-stamp-preview-surface{min-height:180px;padding:18px 8px}.dm-stamp-dimensions{gap:12px}.dm-stamp-presets{gap:6px}.dm-stamp-muted{display:block}.dm-stamp-preview-heading{flex-wrap:wrap;gap:6px}.dm-stamp-examples article{padding:20px}}
@media(prefers-reduced-motion:reduce){.dm-stamp-presets button{transition:none}}
@media print{.dm-stamp-form{display:none}.dm-stamp-builder{display:block}.dm-stamp-preview-panel{background:white;border:1px solid #ccc}.dm-stamp-preview-panel .dm-details{display:none}.dm-stamp-examples,.dm-stamp-downloads{display:none}}

.dm-letterhead-live{background:#fff;aspect-ratio:210/297;box-shadow:0 6px 24px #341e5114}.dm-letterhead-live>svg{display:block;width:100%;height:auto}.dm-letterhead-live>p{padding:24px;font-size:14px;line-height:1.6}.dm-letterhead-form textarea{font-size:16px;min-height:130px;margin:8px 0 20px}.dm-letterhead-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 16px}.dm-letterhead-actions .dm-solid,.dm-letterhead-actions .dm-secondary{margin:0;padding:14px 12px;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px}.dm-letterhead-actions .dm-secondary{border:1px solid var(--purple,#341e51);background:#fff;color:var(--purple,#341e51)}.dm-letterhead-reset{font:inherit;font-size:14px;color:var(--purple,#341e51);text-decoration:underline;background:none;border:0;padding:8px 0;min-height:44px;cursor:pointer}.dm-letterhead-form button:focus-visible{outline:2px solid var(--red,#ff0026);outline-offset:3px}.dm-letterhead-form+.dm-details{margin-top:24px}.dm-letterhead-live img{box-shadow:none}@media(max-width:600px){.dm-letterhead-actions{grid-template-columns:1fr}}
