/* A stationery table: the message remains the main object. */
body{background:#faf7f1;caret-color:#964524}
.postcard-heading h1{font-size:clamp(29px,3.2vw,39px);line-height:1.3;letter-spacing:-.035em}
.postcard-heading .eyebrow{display:none}
.postcard-heading p{max-width:58ch;line-height:1.8;color:#705946}
.postcard-studio{gap:40px}
.card-preview{padding:30px 28px 21px;background:#eee5d7;border-radius:12px}
.card-preview canvas{border-radius:2px;box-shadow:0 9px 20px #5b442024}
.card-preview figcaption{font-size:13px;line-height:1.75;margin:16px auto 0;color:#705c47;max-width:36ch;overflow-wrap:anywhere}
.card-controls .panel{border-radius:12px;border-color:#dcccb9;padding:27px;box-shadow:none;background:#fffdf8}
.mood-options{gap:8px;margin-bottom:25px}
.mood-options button{min-height:44px;border-radius:7px;padding:8px 13px;background:#fffaf2;border-color:#d6c3ac;color:#6e513d;transition:background 130ms ease-out,color 130ms ease-out,border-color 130ms ease-out}
.mood-options button[aria-pressed=true]{background:#964524;border-color:#964524;color:#fff}
.phrase-heading{font-size:15px;margin-bottom:10px;line-height:1.5}
.phrase-heading button{min-height:40px;color:#964524;white-space:nowrap}
.card-controls textarea{font-size:18px;line-height:1.75;min-height:128px;padding:14px;border-radius:7px;border-color:#ccb69c;color:#49362d;background:#fffdf8;caret-color:#964524}
.card-controls input,.card-controls select{border-radius:7px;border-color:#ccb69c;background:#fffdf8;min-height:46px}
.paper-colors{margin:8px 0 25px;gap:9px}
.paper-colors legend{margin-bottom:12px;font-size:15px}
.paper-colors span{padding:12px 6px;border-radius:7px;min-height:46px;border-color:#d6c3ac;transition:color 130ms ease-out}
.paper-colors input:checked+span{outline:2px solid #964524;outline-offset:3px;color:#49362d}
.card-controls .actions{gap:10px;border-top:1px solid #e1d4c2;padding-top:23px;margin-top:25px}
.card-controls .actions .primary{min-height:51px;border-radius:8px;font-size:16px}
.card-controls .actions .secondary{min-height:46px;border-radius:8px;border-color:#ccb69c;color:#874325}
#copy.is-copied{background:#edf3e5;border-color:#afbea1;color:#38552c}
.card-note{color:#705946;line-height:1.8}
.card-library{border-color:#dcccb9}
@media(hover:hover) and (pointer:fine){.mood-options button:hover:not([aria-pressed=true]){background:#f3e7d6;border-color:#b99770}.paper-colors span:hover{border-color:#a97b50}}
@media(max-width:800px){.postcard-studio{gap:25px}.card-controls .panel{padding:22px}.card-preview{padding:24px 20px 17px}}
@media(max-width:640px){.postcard-studio{gap:24px}.postcard-heading h1{font-size:30px}.card-preview{padding:23px 20px 17px}.card-preview canvas{max-width:250px}.card-controls .actions{flex-direction:column}.card-controls .actions button,.card-controls .actions select{width:100%}.phrase-heading{flex-wrap:wrap;gap:0}.mood-options{gap:7px}}
@media(prefers-reduced-motion:reduce){.mood-options button,.paper-colors span{transition:none!important}}

.card-options { margin-block: .75rem; }
.card-options summary { padding-block: .5rem; cursor: pointer; font-weight: 700; }
.card-options .field { margin-block-start: .75rem; }
