.design-picker{background:#fffaf0;border:2px solid #e8b43c;border-radius:16px;padding:14px;margin:0 0 16px;color:#34271d}
.design-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.design-toolbar p{margin:0;text-align:center;font-size:15px;line-height:1.4}
.design-toolbar button{flex:none;background:#165c42;color:#fff;border:0;border-radius:9px;padding:10px 13px;font:700 14px Nunito,system-ui;cursor:pointer;min-height:44px}
.design-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.design-options>button{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;border:2px solid #d8cdbd;background:#fff;border-radius:10px;padding:7px;font:700 14px/1.25 Nunito,system-ui;color:#44382d;cursor:pointer}
.design-options>button[aria-pressed=true]{border-color:#186a46;background:#e9f5ed;box-shadow:0 0 0 1px #186a46}
.design-mini{display:block;position:relative;flex:none;width:44px;height:62px;overflow:hidden;background-size:100% 100%;background-color:#fffef7;border-radius:2px;border:1px solid #ddd4c5}
.design-mini img{position:absolute;left:4%;top:6%;width:28%;height:25%;object-fit:contain}
.design-mini-lines{position:absolute;left:22%;right:18%;top:38%;bottom:20%;background:repeating-linear-gradient(transparent 0 6px,#75816b66 6px 7px)}
.design-mini-classic{background:repeating-linear-gradient(45deg,#d8333f 0 5px,#fff 5px 10px,#1f8a5a 10px 15px,#fff 15px 20px)}
.design-mini-classic:before{content:'';position:absolute;inset:4px;background:#fffaf0}
.design-picker button:focus-visible{outline:3px solid #b87b12;outline-offset:3px}
@media(max-width:600px){.design-picker{padding:10px}.design-toolbar{flex-wrap:wrap;gap:8px}.design-toolbar p{order:-1;flex-basis:100%;font-size:14px}.design-toolbar button{flex:1}.design-options{gap:6px}.design-options>button{flex-direction:column;text-align:center;font-size:13px;padding:6px 3px}.design-mini{width:40px;height:56px}}
@media print{.design-picker{display:none!important}}
/* The fields and typography are identical within each set of three designs. */
.ref-santa[data-theme="1"]>.in{background-image:url('letter-snow.png')}
.ref-santa[data-theme="2"]>.in{background-image:url('letter-sweets.png')}
.ref-santa[data-theme="1"] .ref-title,.ref-santa[data-theme="1"] .ref-title strong{color:#174d82}
.ref-wish[data-theme="1"]>.in{background-image:url('wish-workshop.png')}
.ref-wish[data-theme="2"]>.in{background-image:url('wish-pastel.png')}
.ref-wish[data-theme="1"] .ref-categories section{background:#f2f9e9e8;border-color:#3c8154}
.ref-wish[data-theme="1"] .ref-delivery{border-color:#b89436}
.ref-wish[data-theme="2"] .ref-categories section:nth-child(1){background:#fff0f4eb;border-color:#c7788d}
.ref-wish[data-theme="2"] .ref-categories section:nth-child(2){background:#eff8eeeb;border-color:#69a083}
.ref-wish[data-theme="2"] .ref-categories section:nth-child(3){background:#eef8fdeb;border-color:#71a5ba}
.ref-wish[data-theme="2"] .ref-categories section:nth-child(4){background:#fff6e9eb;border-color:#bfa063}
.ref-wish[data-theme="2"] .ref-title strong,.ref-wish[data-theme="2"] .ref-delivery b{color:#a34769}
.ref-wish[data-theme="2"] .ref-delivery{border-color:#c9819d}
/* Restrict busy edge artwork behind the writing area. */
.ref-wish:not([data-theme="0"]) .ref-wish-body{left:9%;right:9%;background:#ffffffed;border-radius:10px;padding:0 1cqw}
.ref-wish:not([data-theme="0"]) .ref-title{background:#fffffff2;border-radius:14px}
.ref-wish:not([data-theme="0"]) .ref-character{right:7%}
.ref-wish:not([data-theme="0"]) .ref-kindness{font-size:2.1cqw}
.paper.letter[data-theme="1"]{background-image:url('reply-midnight.png')!important}
.paper.letter[data-theme="2"]{background-image:url('reply-postal.png')!important}
.paper.letter[data-theme="1"] .ph h2{color:#174d82!important;text-shadow:none!important}
.paper.letter[data-theme="2"] .ph h2{color:#a51c2a!important;text-shadow:none!important}
.paper[data-kind="3"][data-theme="1"]{background:url('secret-green.png') center/100% 100% no-repeat}
.paper[data-kind="3"][data-theme="2"]{background:url('secret-knit.png') center/100% 100% no-repeat}
.paper[data-kind="3"]:not([data-theme="0"])>.in{background:transparent}
.paper[data-kind="3"][data-theme="1"] .box{background:#f5f9eeeF;border-color:#72936a;border-style:solid}
.paper[data-kind="3"][data-theme="1"] .box h3,.paper[data-kind="3"][data-theme="1"] .ph h2{color:#145d38}
.paper[data-kind="3"][data-theme="2"] .yel,.paper[data-kind="3"][data-theme="2"] .blue{background:#e8f4fbee}
.paper[data-kind="3"][data-theme="2"] .mint,.paper[data-kind="3"][data-theme="2"] .pink{background:#fff0f1ee}
.paper[data-kind="3"]:not([data-theme="0"]) .ph{background:#fffffff0;border-radius:8px}
.paper[data-kind="3"]:not([data-theme="0"]) .cred{background:#fffffff0;border-radius:6px}
.paper[data-kind="3"][data-theme="2"]{padding:40px}
.paper[data-kind="3"][data-theme="2"]>.in{background:#fff;padding:12px}
.paper.a4[data-kind="3"][data-theme="2"]>.in{height:1043px}
.paper[data-kind="3"][data-theme="2"] .r{font-size:14px}
.paper[data-kind="3"][data-theme="2"] .pair b{padding:6px 12px}
.paper.a4[data-kind="3"][data-theme="2"]{padding:40px}
.paper[data-kind="3"][data-theme="2"] .r{margin:3px 0}
.paper.letter:not([data-theme="0"]) .in:after{display:none!important}
