:root{--accent:#008fa9;--ink:#111418;--muted:#62666d;--line:#e6e8ec}*{box-sizing:border-box}body{margin:0;background:#f3f5f7;color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #006d81;outline-offset:3px}header{height:80px;background:#080909;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.brand{display:flex;gap:22px;align-items:center;color:white;text-decoration:none}.brand img{width:155px;filter:invert(1);mix-blend-mode:screen}.brand span{border-left:1px solid #777;padding-left:22px;font-size:17px;letter-spacing:.04em}header nav{display:flex;align-items:center;gap:24px}header a{color:inherit;text-decoration:none}#language{color:white;background:#111;border:0;padding:8px}main{max-width:1440px;margin:auto;padding:0 24px}.steps{display:flex;max-width:860px;margin:24px auto 30px;justify-content:space-between;gap:12px}.steps button{border:0;background:none;display:flex;align-items:center;gap:10px;color:#676c72;position:relative}.steps b{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#c5c8cc;color:white;font-size:19px;font-weight:500}.steps button.active b{background:var(--accent)}.steps button.active{color:#111}.workspace{display:grid;grid-template-columns:.95fr 1.15fr 1.1fr;gap:14px;align-items:stretch}.card{background:#fff;border-radius:18px;padding:24px;min-width:0}h2{font-size:23px;letter-spacing:-.6px;margin:0 0 4px}.section-toggle{font:inherit;font-weight:700;letter-spacing:inherit;background:none;border:0;padding:0;text-align:left;color:inherit}p{margin:0 0 20px;color:#555b62}.paper-options{display:flex;gap:14px;margin:22px 0 34px}.paper-option{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;border:2px solid transparent;border-radius:10px;background:#f5f6f8;min-height:200px;padding:14px 8px;gap:3px}.paper-option.selected{border-color:var(--accent);background:#eff9fb}.paper-option strong{font-size:20px}.paper-icon{font-size:49px;color:#23414a;line-height:1.4}small{font-size:12px;color:var(--muted);display:block}.primary,.secondary,.black{border:0;border-radius:9px;padding:14px 20px;min-height:48px;font-weight:600}.primary{background:var(--accent);color:white}.next{width:100%}.secondary{background:#f1f3f5;color:#40464c}.black{background:#080909;color:white;width:100%;margin-top:5px}.note{margin-top:34px;color:#747a80;font-size:13px;text-align:center}.note small{margin-top:3px}.tabs{display:flex;background:#f2f3f5;border-radius:8px;margin:16px 0;overflow:hidden}.tabs button{border:0;background:none;flex:1;padding:11px 4px;font-size:13px}.tabs button[aria-selected=true]{background:var(--accent);color:white}textarea{resize:vertical;min-height:70px;width:100%;border:1px solid var(--line);border-radius:8px;padding:12px}.fields{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px;margin:14px 0}.fields label{font-size:12px;min-width:0}.fields label span{display:block;margin-bottom:5px}.fields select{width:100%;font-size:13px;height:40px;border:1px solid var(--line);background:white;border-radius:7px}input[type=color]{width:100%;height:40px;padding:4px;border:1px solid var(--line);border-radius:7px;background:white}.range{display:block;font-size:13px;margin:12px 0}.range span{display:block;margin-bottom:4px}input[type=range]{width:100%;accent-color:var(--accent)}.actions{display:flex;gap:12px;margin-top:16px}.actions>*{flex:1}.crop-area{text-align:center;border-top:1px solid var(--line);padding-top:12px;margin-top:16px}#editor{width:130px;height:130px;border-radius:50%;border:0;touch-action:none;cursor:move}.glass-preview{position:relative;aspect-ratio:1;background:linear-gradient(145deg,#fafafa,#e4e7eb);border-radius:12px;overflow:hidden;margin-top:24px}.glass-preview img{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.glass-preview canvas{position:absolute;width:59%;height:59%;border-radius:50%;left:13.5%;top:14%}.preview-caption{text-align:center;padding:22px 0;color:#858990;font-size:12px}.preview-caption strong{display:block;color:#4a5056;font-size:17px;font-weight:500;margin-top:8px}.download{grid-column:span 2}.download-body{display:grid;grid-template-columns:1.1fr .8fr;gap:32px;margin-top:12px}.download-body p{max-width:360px}.sheet{width:185px;aspect-ratio:210/297;padding:26px 18px;background:white;box-shadow:0 2px 15px #1723331c;border:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:auto;align-content:center}.mini{width:100%;aspect-ratio:1;border-radius:50%}.text-button{background:none;border:0;text-decoration:underline;color:#4e6069;display:block;padding:12px 0}.print-note{font-size:12px;margin-top:12px!important}.help h2{font-size:19px}.how{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:14px;margin-top:16px}.how strong{display:block;font-size:12px;margin:8px 0}.how small{font-size:11px}.how-icon{font-size:42px;display:block;height:78px;padding:4px}.assembly img{height:100px;width:100%;object-fit:contain}.mobile-next{display:none}.upload{display:block;padding:20px;border:1px dashed var(--accent);border-radius:9px;margin-bottom:8px;cursor:pointer}.upload input{display:block;width:100%;font-size:12px;margin-top:12px}.background-label{display:block;margin:20px 0}.background-label input{margin-top:12px}#status{margin:18px 0;color:#006d81}footer{text-align:center;color:#92979c;font-size:11px;letter-spacing:.12em;padding:14px 0 30px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}@media(max-width:1100px) and (min-width:761px){.workspace{grid-template-columns:1fr 1fr}.preview{grid-column:2;grid-row:2}.download{grid-column:1}.download-body{display:block}.sheet{margin-top:20px}.help{grid-column:span 2}.card{padding:20px}}@media(max-width:760px){header{height:70px;padding:0 16px}.brand{gap:10px}.brand img{width:105px}.brand span{font-size:9px;padding-left:10px}header nav{gap:6px}header nav a{font-size:0}#language{font-size:12px}main{padding:0 12px}.steps{margin:20px 0;gap:0}.steps button{flex:1;flex-direction:column;font-size:10px;gap:6px;padding:0}.steps b{width:31px;height:31px}.workspace{display:block}.card{border-radius:0;padding:20px;margin:0;border-bottom:1px solid var(--line)}.paper{border-radius:14px 14px 0 0}h2{font-size:20px}.section-toggle{width:100%}.card:not(.open)>.panel-body{display:none}.card:not(.open) h2{font-size:17px}.card:not(.open) .section-toggle:after{content:'+';float:right;font-weight:400}.panel-body>p{font-size:14px;margin-top:8px}.paper-options{margin:18px 0 22px}.paper-option{min-height:180px}.note{margin-top:18px}.download-body{grid-template-columns:1fr;gap:18px}.sheet{width:155px}.help{margin-top:14px;border:0;border-radius:14px}.help h2{font-size:18px}.how{gap:12px}.glass-preview{max-width:360px;margin:auto}.mobile-next{display:block;width:100%}.crop-area #editor{width:170px;height:170px}.brand span{max-width:110px}.fields{gap:7px}.actions{margin-top:14px}}
.paper-icon img{width:42px;height:58px}.how-icon img{width:44px;height:48px}.download-body>div{min-width:0}.fields label{overflow-wrap:anywhere}.how>div{min-width:0;overflow-wrap:anywhere}button:disabled{opacity:.6;cursor:wait}@media(max-width:360px){.brand span{display:none}.fields{grid-template-columns:1.25fr 1fr 1fr}.actions button{padding:12px 9px}.steps button{font-size:9px}.tabs button{font-size:11px}.card{padding:17px}.text-button{overflow-wrap:anywhere}}

footer a{display:inline-block;margin:8px 14px;color:#53646c;letter-spacing:normal;font-size:12px}

.copies-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;font-size:14px}.copies-label select{min-width:75px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:white}.sheet{grid-template-rows:repeat(3,1fr)}
@media(min-width:761px){.design,.preview,.download,.help{transition:opacity .2s ease,filter .2s ease}.card.pending{opacity:.35;filter:saturate(.35)}.card.pending:focus-within{opacity:1;filter:none}}
@media(prefers-reduced-motion:reduce){.design,.preview,.download,.help{transition:none}}
@media(max-width:760px){header nav a{font-size:12px;white-space:nowrap}.brand span{max-width:80px;font-size:8px}#language{max-width:100px}}

.upload-zone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:25px 16px;background:#eff9fb;border:1.5px dashed #efb38c;border-radius:13px;margin:16px 0 20px;transition:background .15s,border-color .15s}.upload-zone>svg{color:var(--accent);margin-bottom:3px}.upload-zone>strong{font-size:16px}.upload-zone>span{font-size:12px;color:var(--muted)}.upload-zone .primary{padding:10px 20px;margin:4px 0;min-height:42px}.upload-zone.drag-over{background:#ffe6d3;border:2px solid var(--accent)}#fileName{max-width:100%;overflow-wrap:anywhere;color:#006d81}.move-controls{display:flex;justify-content:center;gap:6px;margin:0 0 14px}.move-controls button{font-size:12px;border:1px solid var(--line);border-radius:20px;background:#fff;color:#59626b;padding:7px 13px}.move-controls button[aria-pressed=true]{background:#fff0e4;border-color:var(--accent);color:#006d81}#editor{width:170px;height:170px}.mini{align-self:start}

/* Local Google Fonts, SIL OFL licenses included in assets/fonts. */
@font-face{font-family:"Pacifico";src:url("assets/fonts/Pacifico.ttf?v=5b6c0d5334a7") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Lobster";src:url("assets/fonts/Lobster.ttf?v=d6568e697fd5") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Great Vibes";src:url("assets/fonts/GreatVibes.ttf?v=8d509802186f") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Indie Flower";src:url("assets/fonts/IndieFlower.ttf?v=ccc94b22b156") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Bebas Neue";src:url("assets/fonts/BebasNeue.ttf?v=08e462380510") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Abril Fatface";src:url("assets/fonts/AbrilFatface.ttf?v=5971d4a3758a") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Righteous";src:url("assets/fonts/Righteous.ttf?v=2ffb3fe5c27d") format("truetype");font-weight:400;font-style:normal;font-display:swap;}

.brand img{filter:invert(1) brightness(3)}
.font-select{position:relative;width:100%;font-size:15px}.font-select>button{width:100%;height:40px;text-align:left;border:1px solid var(--line);border-radius:7px;background:white;padding:3px 25px 3px 9px;position:relative;color:#172128}.font-select>button span{display:block!important;margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;line-height:32px}.font-select>button>div{position:absolute;right:8px;top:9px}.font-select>button b:after{content:'⌄';font-weight:400}.font-select .fs-drop{position:absolute;top:44px;left:0;width:245px;max-width:calc(100vw - 70px);background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #17233325;z-index:30;padding:5px}.font-select .fs-results{list-style:none;padding:0;margin:0;max-height:270px;overflow:auto}.font-select li{padding:12px 14px;font-size:23px;line-height:1.35;border-radius:6px;cursor:pointer;white-space:nowrap}.font-select li.active,.font-select li:focus{background:#fff0e4;color:#006d81;outline:none}.font-select li[aria-selected=true]{background:#fff5ed}.fields>div{min-width:0}.fields .font-label{display:block;font-size:12px;margin-bottom:5px}

.font-select li:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.section-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
@media(max-width:760px){header{height:96px;position:relative;padding-bottom:25px}.brand img{width:120px}.brand span{display:block;position:absolute;left:16px;bottom:10px;max-width:none;border:0;padding:0;font-size:12px;letter-spacing:.09em;line-height:1.2}header nav{gap:10px}}
@media(max-width:360px){.brand img{width:108px}header nav{gap:6px}.brand span{font-size:11px}}

.mobile-back{display:none}@media(max-width:760px){.mobile-back{display:block;width:100%;margin-bottom:10px}}

@font-face{font-family:"Anton";src:url("assets/fonts/Anton.ttf?v=a4ba3a92350e") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Arvo";src:url("assets/fonts/Arvo.ttf?v=f41bd41471ec") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Bangers";src:url("assets/fonts/Bangers.ttf?v=4160a7311de9") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Cookie";src:url("assets/fonts/Cookie.ttf?v=9daf3cc9e5ef") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Courgette";src:url("assets/fonts/Courgette.ttf?v=099739d22e66") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Damion";src:url("assets/fonts/Damion.ttf?v=a51fd6c3c517") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Fredericka the Great";src:url("assets/fonts/FrederickatheGreat.ttf?v=33dc0832b5e9") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Kaushan Script";src:url("assets/fonts/KaushanScript.ttf?v=6d8d379d9bba") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Marck Script";src:url("assets/fonts/MarckScript.ttf?v=504de8cc6f91") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Playball";src:url("assets/fonts/Playball.ttf?v=130654dd192f") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Poiret One";src:url("assets/fonts/PoiretOne.ttf?v=457f2d03263f") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Sacramento";src:url("assets/fonts/Sacramento.ttf?v=9341fda10adb") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Tangerine";src:url("assets/fonts/Tangerine.ttf?v=3f5db6010de4") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"VT323";src:url("assets/fonts/VT323.ttf?v=cf4de751ada7") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Yeseva One";src:url("assets/fonts/YesevaOne.ttf?v=88362b33820f") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Allura";src:url("assets/fonts/Allura.ttf?v=9c142b2e5158") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Amatic SC";src:url("assets/fonts/AmaticSC.ttf?v=513a76f96d39") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Cinzel Decorative";src:url("assets/fonts/CinzelDecorative.ttf?v=5b862be32910") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Fugaz One";src:url("assets/fonts/FugazOne.ttf?v=14fd5becce8b") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Passion One";src:url("assets/fonts/PassionOne.ttf?v=86fea5001e5d") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Patua One";src:url("assets/fonts/PatuaOne.ttf?v=a3faa8b9efdd") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Sail";src:url("assets/fonts/Sail.ttf?v=0ec9a9e84f55") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Sofia";src:url("assets/fonts/Sofia.ttf?v=5634c4ecf066") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Parisienne";src:url("assets/fonts/Parisienne.ttf?v=bc9ee17f022e") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
.footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 22px;margin-top:9px}.footer-links a{margin:0;color:#6c737a;text-decoration:none;font-size:12px;letter-spacing:normal}.footer-links a:hover{text-decoration:underline;color:#35464f}.footer-links .shop-link{color:#006d81}@media(max-width:760px){.footer-links{gap:10px 18px;padding:0 14px}}

.shop-card{display:grid;grid-template-columns:1.3fr 1fr;background:#fff;border:1px solid #e6e8ec;border-radius:18px;overflow:hidden;margin:26px 0 22px}.shop-card picture{display:block;align-self:stretch}.shop-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 65%;min-height:275px}.shop-copy{padding:32px 36px;align-self:center}.shop-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#008fa9}.shop-copy h2{font-size:27px;line-height:1.2;margin:12px 0}.shop-copy p{font-size:14px;max-width:340px;margin-bottom:22px}.shop-button{display:inline-block;text-decoration:none;font-size:14px;text-align:center}.shop-card:focus-within{border-color:var(--accent)}@media(max-width:760px){.shop-card{grid-template-columns:1fr;margin-top:22px}.shop-card img{aspect-ratio:1/1;height:auto;min-height:0;object-fit:contain}.shop-copy{padding:24px}.shop-copy h2{font-size:25px}.shop-copy p{max-width:none}.shop-button{width:100%}}

.text-outline{border:1px solid var(--line);border-radius:9px;padding:10px 12px;margin:16px 0}.text-outline legend{font-size:13px;padding:0 5px}.text-outline legend label{display:flex;align-items:center;gap:7px;cursor:pointer}.text-outline input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}.outline-controls{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;align-items:center}.outline-controls label{font-size:12px}.outline-controls .range{margin:0}.outline-controls input:disabled{opacity:.4}.outline-controls input[type=color]{margin-top:5px}

.preset-row{height:42px;margin:0 0 0;display:flex;align-items:center}.preset-row select{width:100%;height:38px;border:1px solid var(--line);border-radius:7px;background:#fafbfc;color:#43535b;padding:6px 11px;font-size:13px}.preset-row+.tabs{margin-top:16px}
.preset-row{height:38px}.preset-row+.tabs{margin-top:4px}

/* Brand accents and shop panel. */
.primary,.tabs button[aria-selected=true],.steps button.active b{color:#17120f}.shop-copy{background:#080909;color:#fff;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.shop-copy h2{color:#fff}.shop-copy p{color:#d4d4d4}.shop-copy .shop-button{align-self:flex-start}.shop-copy .shop-eyebrow{color:#008fa9}

#openPresets{width:100%;height:38px;padding:6px 12px;text-align:left;border:1px solid var(--line);border-radius:7px;background:#fafbfc;color:#43535b;font-size:13px;cursor:pointer}#openPresets:after{content:'▦';float:right;color:#006d81}#presetDialog{width:min(760px,calc(100vw - 28px));max-height:85vh;max-height:85dvh;padding:24px;border:0;border-radius:18px;box-shadow:0 20px 70px #0005;color:var(--ink)}#presetDialog::backdrop{background:#0008}.preset-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}.preset-dialog-header h2{font-size:24px;margin:0}.preset-dialog-header button{padding:8px 14px;min-height:40px}#presetDialogHelp{font-size:13px;margin-bottom:18px}#presetGallery h3{font-size:13px;margin:20px 0 10px;color:#61676d}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.preset-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;color:var(--ink)}.preset-card:hover{border-color:var(--accent);background:#eff9fb}.preset-card canvas{width:100%;max-width:130px;aspect-ratio:1;border-radius:50%;background:#f3f5f7}.preset-card span{font-size:12px;line-height:1.4}.preset-card:focus-visible{outline:3px solid #006d81;outline-offset:2px}@media(max-width:600px){#presetDialog{padding:18px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preset-dialog-header h2{font-size:20px}.preset-card canvas{max-width:116px}}

/* Align the insert with the supplied centred glass overlay. */
.glass-preview canvas{width:62%;height:62%;left:19%;top:19%}

.brand img{filter:none;mix-blend-mode:normal;height:auto}.footer-logo{display:block;width:155px;height:auto;margin:0 auto 14px}

/* Keep each instruction together, with equal space for its illustration. */
.help .how{grid-template-columns:1fr;gap:0;margin-top:14px}
.how>div{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:18px;align-content:center;padding:16px 0}
.how>div+div{border-top:1px solid var(--line)}
.how .how-icon{grid-column:1;grid-row:1 / 3;display:flex;align-items:center;justify-content:center;width:88px;height:88px;padding:0;font-size:42px;color:#343b42}
.how .how-icon img{width:48px;height:52px;object-fit:contain}
.how .assembly .how-icon img{width:88px;height:88px}
.how strong{grid-column:2;align-self:end;font-size:14px;line-height:1.35;margin:0 0 6px}
.how small{grid-column:2;font-size:12px;line-height:1.6}
@media(min-width:761px) and (max-width:1100px){.help .how{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.how>div{grid-template-columns:1fr;text-align:center;align-content:start}.how>div+div{border-top:0}.how .how-icon{grid-column:1;grid-row:1;margin:0 auto 12px}.how strong,.how small{grid-column:1}}

/* Quieter editor: separate presets, tabs and adjustment controls. */
.design .preset-row{height:auto;margin:18px 0 22px}
#openPresets{height:42px;background:white;border-radius:9px}
.preset-row+.tabs{margin:0 0 20px;padding:4px;gap:4px;background:#f0f2f4;border-radius:10px}
.tabs button{border-radius:7px;color:#59616a;padding:9px 4px}
.tabs button[aria-selected=true]{background:white;color:#006d81;box-shadow:0 1px 4px #18232c14;font-weight:600}
.primary{background:#007d94;color:white}.steps button.active b{color:#111418}
.text-outline{border:0;background:#f7f8fa;padding:12px;margin:16px 0;border-radius:9px}
.text-outline legend{float:left;width:100%;padding:0}.text-outline:after{content:'';display:block;clear:both}
.outline-controls{clear:both;padding-top:12px}
.text-outline:not(:has(#outlineEnabled:checked)) .outline-controls{display:none}
.adjustment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:18px 0}
.adjustment-grid .range{margin:0;font-size:12px}.adjustment-grid .range span{min-height:36px;margin-bottom:0}
.crop-area{margin-top:22px;padding-top:18px;border-top:1px solid #eef0f2}
#status:empty{display:none}
footer>span{letter-spacing:.03em;font-size:12px}

/* Decorative local SVG icons keep translated labels and accessible names intact. */
.design [data-i="text"]:before,.design [data-i="font"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h14M12%205v14M8%2019h8%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="image"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%223%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m3%2017%205-5%204%204%204-6%205%207%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="background"]:before,.design [data-i="bg"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22m4%2016%2012-12M8%2021%2013%2016m3-3%205-5%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="color"]:before,.design [data-i="outlineColor"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203C9%207%205%2011%205%2015a7%207%200%200%200%2014%200c0-4-4-8-7-12Z%22%2F%3E%3Cpath%20d%3D%22M8%2015a4%204%200%200%200%204%204%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="size"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209h8M7%209v12m-3%200h6M13%203h8m-4%200v18m-3%200h6%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="rotate"]:before,.design [data-i="imageRotate"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010a8%208%200%201%201%201%208M4%204v6h6%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="textHorizontal"]:before,.design [data-i="horizontal"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012h18M7%208l-4%204%204%204m10-8%204%204-4%204%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="vertical"]:before,.design [data-i="verticalImage"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v18M8%207l4-4%204%204M8%2017l4%204%204-4%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="zoom"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206M7%2010h6m-3-3v6%22%2F%3E%3C%2Fsvg%3E")}
.design [data-i="outline"]:before,.design [data-i="outlineWidth"]:before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2021%206-18h4l6%2018h-4l-1.5-5h-5L8%2021Zm7-9h2l-1-4Z%22%2F%3E%3C%2Fsvg%3E")}
.design .tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:58px;font-size:12px;line-height:1.3}
.design .tabs button:before{width:19px;height:19px;margin:0;flex-shrink:0}
.design .fields label span:before,.design .font-label:before{width:14px;height:14px;margin-right:4px}
.adjustment-grid .range span{min-height:40px}

/* Keep the editing preview close to the tabs on small screens only. */
@media(max-width:760px){.design .crop-area{margin:0 0 20px;padding:0 0 18px;border-top:0;border-bottom:1px solid #eef0f2}}

/* Make desktop step navigation visible even when every panel is expanded. */
[data-panel]{scroll-margin-top:20px}
@media(min-width:761px){.workspace>.card.open{box-shadow:inset 0 0 0 2px var(--accent)}}

/* A gentle repeating pulse draws attention to the PDF download. */
#download{animation:download-pulse 3s ease-in-out infinite;transform-origin:center;transition:background-color .2s ease}
@keyframes download-pulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 #008fa900}50%{transform:scale(1.025);box-shadow:0 0 0 7px #008fa91a}}
#download:disabled,#download:active{animation:none;transform:none;box-shadow:none}
@media(hover:hover){#download:hover{background:#202529}}
@media(prefers-reduced-motion:reduce){#download{animation:none;transition:none}}

/* Emphasize the print quantity before downloading. */
.copies-label{padding:16px;margin:18px 0 22px;gap:12px;background:#eff9fb;border:1px solid #b7dfe6;border-radius:12px;font-size:15px;font-weight:650;color:#173e48}
.copies-label>span{display:flex;align-items:center;gap:10px;line-height:1.35}
.copies-label>span:before{content:'';width:28px;height:28px;flex:0 0 28px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23006d81%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%223%22%20width%3D%2212%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%207H4a1%201%200%200%200-1%201v12a1%201%200%200%200%201%201h11a1%201%200%200%200%201-1%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2210.5%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E")}
.copies-label select{min-width:78px;min-height:48px;padding:8px 12px;border:2px solid #007d94;border-radius:9px;color:#173e48;font-size:20px;font-weight:700;cursor:pointer;flex-shrink:0}

#download{background:#007d94;color:white;display:flex;align-items:center;justify-content:center;gap:10px}
.download-arrow{display:inline-block;font-size:24px;line-height:1;animation:download-arrow-motion 3s ease-in-out infinite}
@keyframes download-arrow-motion{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
#download:disabled .download-arrow,#download:active .download-arrow{animation:none}
@media(hover:hover){#download:hover{background:#006d81}}
@media(prefers-reduced-motion:reduce){.download-arrow{animation:none}}

.confirm-layout{display:block;width:100%;margin-top:12px;line-height:1.4}

.steps button:disabled,.section-toggle:disabled{cursor:default;opacity:1}

/* Step icons supplement the numbered sequence. */
.steps [data-step="1"] span:before{content:"";display:inline-block;width:18px;height:18px;vertical-align:-4px;margin-right:6px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6Z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h4M9%2012h6M9%2016h6%22%2F%3E%3C%2Fsvg%3E")}
.steps [data-step="2"] span:before{content:"";display:inline-block;width:18px;height:18px;vertical-align:-4px;margin-right:6px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2016%2012-12%204%204L8%2020H4Zm9-9%204%204%22%2F%3E%3C%2Fsvg%3E")}
.steps [data-step="3"] span:before{content:"";display:inline-block;width:18px;height:18px;vertical-align:-4px;margin-right:6px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E")}
.steps [data-step="4"] span:before{content:"";display:inline-block;width:18px;height:18px;vertical-align:-4px;margin-right:6px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2353636b%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-5-5%205%205%205-5M4%2016v5h16v-5%22%2F%3E%3C%2Fsvg%3E")}
@media(max-width:760px){.steps button span{display:flex;flex-direction:column;align-items:center;gap:4px}.steps button span:before{margin:0;width:16px;height:16px}}

#downloadDialog{width:min(510px,calc(100vw - 28px));max-height:90dvh;padding:28px;border:0;border-radius:22px;text-align:center;color:var(--ink);box-shadow:0 24px 90px #0004;overflow:auto}
#downloadDialog::backdrop{background:#091b27a6}
#downloadDialog[open]{animation:success-enter .5s cubic-bezier(.2,.9,.3,1.2)}
#closeDownload{display:block;margin:0 0 10px auto;padding:8px 14px;min-height:40px;position:relative;z-index:1}
#confetti{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.success-check{width:82px;height:82px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;background:#e4f6f1;color:#007d74;font-size:48px}
[open] .success-check{animation:success-check .7s cubic-bezier(.2,.9,.3,1.2)}
#downloadTitle{font-size:28px;margin-bottom:12px}#downloadMessage{font-size:15px;line-height:1.6}
.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative}.success-actions>*{display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;padding:12px;line-height:1.4}
@keyframes success-enter{from{opacity:0;transform:translateY(24px) scale(.9)}to{opacity:1;transform:none}}
@keyframes success-check{0%{transform:scale(0) rotate(-45deg)}65%{transform:scale(1.15) rotate(8deg)}100%{transform:scale(1) rotate(0)}}
@media(max-width:400px){#downloadDialog{padding:20px}.success-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#downloadDialog[open],[open] .success-check{animation:none}}

footer .copyright{font-size:11px;color:#747d83;letter-spacing:normal;margin:20px 0 0}
