/* Only the two approved replacement stationery layouts. */
.paper.reference-paper{padding:0;border-radius:0;background:none;container-type:inline-size;aspect-ratio:210/297;color:#28372d}
.reference-paper>.in{position:relative;width:100%;height:100%;min-height:0;aspect-ratio:210/297;padding:0!important;border-radius:0;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden}
.ref-santa>.in{background-image:url('letter-background.png')}
.ref-wish>.in{background-image:url('wishlist-background.png')}
.reference-paper .ref-character{position:absolute;object-fit:contain}
.ref-santa .ref-character{left:4%;top:1.5%;height:23%;width:26%}
.reference-paper .ref-title{position:absolute;margin:0;font-family:Caveat,cursive;font-weight:700;line-height:.98;color:#086742;text-align:center;font-size:7.4cqw;letter-spacing:-.03em}
.reference-paper .ref-title strong{color:#bb101a;font-weight:700}
.ref-santa .ref-title{left:30%;top:3%;width:44%;font-size:9cqw;line-height:1.06}
.ref-santa .ref-title strong{font-size:11.8cqw}
.reference-paper input{min-width:0;width:100%;height:3.8cqw;padding:0 3px;font:700 3.1cqw/1.1 Caveat,cursive;border:0;border-bottom:1px solid #8a8376;border-radius:0;outline-offset:3px;background:transparent;color:#154a71;box-shadow:none}
.reference-paper input:focus{outline:2px solid #167347;background:#fff9df}
.ref-letter-body{position:absolute;left:18%;right:18%;top:24%;height:58%;font:500 3cqw/1.2 Caveat,cursive}
.ref-line{display:flex;align-items:baseline;gap:8px;white-space:nowrap;margin:0 0 2.7cqw}
.ref-line input{flex:1;width:0}
.ref-question{margin:3cqw 0 2cqw}
.ref-good{display:grid;grid-template-columns:1fr 1fr;gap:1.9cqw 1cqw}
.reference-paper .ck{padding:0;gap:1cqw;font-size:2.55cqw;line-height:1.1;cursor:pointer}
.reference-paper .ck i{flex:none;width:2.6cqw;height:2.6cqw;border:1.5px solid #485147;border-radius:3px}
.reference-paper h3{font:700 3.7cqw/1.2 Caveat,cursive;color:#28372d;margin:3.7cqw 0 1.3cqw}
.ref-wishes{display:grid;gap:1.8cqw}
.ref-wishes label{display:flex;align-items:baseline;gap:1.5cqw;min-width:0}
.ref-wishes label b{font-size:3.7cqw;font-family:Caveat,cursive}
.ref-wishes input{flex:1;width:0}
.ref-sign{display:flex;flex-direction:column;gap:2.5cqw;margin-top:4cqw;max-width:74%;font-size:3.6cqw}
.ref-cookie{font-size:2.5cqw;margin:2.5cqw 0 0}
.reference-paper .cred{position:absolute;bottom:1%;left:15%;right:15%;margin:0;justify-content:center;font-size:1cqw;gap:5px;color:#45433c;text-align:center}
.reference-paper .cred img{width:2.8cqw;height:2.8cqw}
.ref-santa .cred{bottom:.6%;background:#fffaf0d9;border-radius:5px}
.ref-wish .ref-title{left:6%;width:70%;top:3%;font-size:7.5cqw}
.ref-wish .ref-character{right:3%;top:4%;height:23%;width:22%}
.ref-delivery{position:absolute;left:15%;right:26%;top:14%;border:2px solid #9f1520;border-radius:14px;padding:1.2cqw 1.6cqw;text-align:center;background:#fff;font:500 2.4cqw/1.18 Caveat,cursive}
.ref-delivery b{display:block;color:#ad1723;font-size:2.8cqw}
.ref-delivery p{margin:.5cqw 0 0}
.ref-wish-body{position:absolute;left:5%;right:5%;top:27%;font:500 3cqw/1.2 Caveat,cursive}
.ref-who{display:flex;gap:3cqw}
.ref-who .ref-line{flex:1;min-width:0;margin-bottom:1cqw}
.ref-who .ref-line:last-child{flex:0 0 24%}
.ref-wish h3{font-size:5cqw;color:#0a6338;text-align:center;margin:1.2cqw 0 2cqw}
.ref-wish .ref-wishes{gap:1.8cqw}
.ref-wish .ref-wishes b{font-size:4.6cqw;color:#b00c20}
.ref-wish .ref-wishes label:nth-child(even) b{color:#086742}
.ref-wish .ref-wishes input{height:4.3cqw}
.ref-categories{display:grid;grid-template-columns:1fr 1fr;gap:1.5cqw;margin-top:3cqw}
.ref-categories section{border:2px solid #b82029;border-radius:12px;padding:1.1cqw 2cqw 1.8cqw}
.ref-categories section:nth-child(2),.ref-categories section:nth-child(3){border-color:#148249}
.ref-categories h4{display:flex;align-items:center;gap:1cqw;font:700 3cqw/1.05 Caveat,cursive;margin:0 0 .5cqw;color:#0a6338}
.ref-categories h4 span{font-family:system-ui;font-size:3.5cqw}
.ref-categories input{display:block;height:3.5cqw;margin-bottom:1cqw}
.ref-wish .ref-sign{flex-direction:row;align-items:baseline;max-width:70%;margin:2.8cqw auto 0;white-space:nowrap}
.ref-wish .ref-sign input{flex:1;width:0}
.ref-kindness{text-align:center;font-size:2.35cqw;margin:1.8cqw 0 0}
/* A4 canvases have the same dimensions, with a centered outer PDF margin. */
.paper.a4:not(.letter){height:1123px;min-height:1123px;box-sizing:border-box}
.paper.a4:not(.letter):not(.reference-paper){padding:14px}
.paper.a4:not(.letter):not(.reference-paper)>.in{height:1095px;box-sizing:border-box}
.paper.reference-paper.a4{padding:0!important}
.reference-paper.a4>.in{height:1123px;min-height:1123px}
@media print{.paper.reference-paper{width:194mm!important;height:274.37mm!important;aspect-ratio:210/297;zoom:1!important}.reference-paper>.in{height:100%!important;min-height:0!important}}
.ref-santa .ref-line{margin-bottom:2cqw}
.ref-santa .ref-question{margin:2cqw 0 1.5cqw}
.ref-santa h3{margin-top:2.5cqw}
.ref-santa .ref-wishes{gap:1.2cqw}
.ref-santa .ref-wishes input{height:3.1cqw}
.ref-santa .ref-sign{margin-top:2.2cqw;gap:1.5cqw;margin-left:8%}
.ref-santa .ref-cookie{margin-top:1.7cqw;margin-left:8%}
html[lang="sr"] .ref-santa .ref-title strong{font-size:8cqw}
.ref-santa .ref-cookie{margin-left:25%}
.ref-age input{flex:0 1 12%!important}
.ref-santa .ref-sign{margin-left:25%;max-width:70%}
.reference-paper button.ck{background:none;border:0;box-shadow:none;text-align:left;color:inherit;font-family:Caveat,cursive;font-weight:700}
.reference-paper button.ck:focus-visible{outline:2px solid #087044;outline-offset:3px}
