.card-maker-page{background:linear-gradient(#122c23e6,#18362df2),url('assets/hero-toyshop.webp') center/cover fixed;color:#f4efe6;min-height:100vh}.card-maker-page .header{position:relative}.card-studio{max-width:1160px;margin:auto;padding:2rem 5% 1rem}.studio-heading{text-align:center;margin-bottom:1.7rem}.studio-heading .eyebrow{color:#e5c88f;margin-bottom:.5rem}.studio-heading h1{font-size:clamp(2rem,4.7vw,3.7rem);margin:.3rem 0 .6rem;letter-spacing:-.025em}.studio-heading>p:last-child{margin:0;color:#d5e0d6}.card-steps{list-style:none;padding:0;display:flex;gap:1rem;justify-content:center;margin:0 0 1.8rem;color:#bfcabe;font-size:.85rem}.card-steps li{display:flex;gap:.5rem;align-items:center}.card-steps span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #a28a55;border-radius:50%}.card-steps [aria-current]{color:#f9e3b4;font-weight:700}.card-steps [aria-current] span{background:#e5c88f;color:#233c2c}.card-workbench{display:grid;grid-template-columns:1fr minmax(260px,370px);gap:clamp(1.5rem,5vw,5rem);align-items:start}.card-controls{background:#f6efe1;color:#253d2e;padding:1.8rem;border:1px solid #d3b783;border-radius:10px;box-shadow:0 20px 50px #0003}.maker-step h2{font-size:2.2rem;letter-spacing:-.02em;margin:0 0 .6rem}.maker-step>p{margin:0 0 1rem}.template-options{border:0;padding:0;margin:0;display:grid;gap:.65rem}.template-choice{display:flex;align-items:center;gap:.8rem;padding:.6rem;border:1px solid #c6b99f;border-radius:5px;cursor:pointer;background:#fffcf5;position:relative}.template-choice:has(input:checked){background:#ece1c6;border:2px solid #765c2d;padding:calc(.6rem - 1px)}.template-choice input{accent-color:#40583b;width:18px;height:18px;flex-shrink:0}.template-choice img{width:40px;height:56px;object-fit:cover;border-radius:2px}.template-choice strong{display:block;font-weight:700}.template-choice small{display:block;color:#586044;font-size:.8rem}.card-preview{margin:0;position:sticky;top:1rem;min-width:0}.preview-paper{position:relative;width:100%;aspect-ratio:5/7;background:#f2e9d7;box-shadow:0 15px 40px #0006;line-height:0}.preview-paper canvas{width:100%;height:auto;display:block;aspect-ratio:5/7}.preview-paper #preview-status{position:absolute;inset:0;display:grid;place-items:center;background:#f6efe1;color:#3f4d34;font-size:.9rem;line-height:1.4;text-align:center;padding:1rem;margin:0}.card-preview figcaption{display:flex;justify-content:space-between;gap:1rem;font-size:.7rem;color:#e1d3b5;margin-top:.8rem}.card-controls label[for]{display:block;font-weight:700;margin:1rem 0 .4rem}.card-controls textarea,.card-controls input[type=text],#from-name{font:inherit;color:#243b2c;background:#fffdf7;width:100%;padding:.7rem;border:1px solid #96866a;border-radius:4px;resize:vertical}.card-controls textarea{min-height:110px;max-height:230px}.field-help{font-size:.78rem;line-height:1.5;color:#515a45;margin:.4rem 0 1rem}.step-actions{display:flex;justify-content:space-between;gap:1rem;margin-top:1.3rem}.step-actions .button{font-size:.85rem;padding:.7rem 1rem;gap:.7rem;min-height:46px;cursor:pointer}.step-actions .secondary{background:transparent;box-shadow:none;color:#394733;border-color:#958568}.card-privacy{font-size:.74rem;color:#58634d;margin:1.1rem 0 0;padding-top:1rem;border-top:1px solid #d8ccb5}.export-actions{display:grid;gap:.8rem;margin:1.4rem 0}.export-actions .button{cursor:pointer;justify-content:space-between}.maker-error{padding:.8rem;color:#7a1924;background:#fff0eb;border:1px solid #bd6765;border-radius:4px;font-size:.9rem}.card-maker-footer{max-width:1160px;margin:1rem auto;padding:1rem 5% 2rem;display:flex;justify-content:space-between;gap:1rem;font-size:.8rem;color:#dac8a4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#card-print-sheet,.print-unavailable{display:none}.card-maker-page [hidden]{display:none!important}.card-maker-page :focus-visible{outline:3px solid #b43a42;outline-offset:3px}
@media(max-width:700px){.card-studio{padding:1rem 4%}.studio-heading{margin-bottom:1rem}.studio-heading h1{font-size:2rem}.studio-heading .eyebrow{font-size:.55rem}.studio-heading>p:last-child{font-size:.85rem}.card-steps{gap:.65rem;margin-bottom:1rem;font-size:.67rem}.card-steps li{gap:.3rem}.card-steps span{width:20px;height:20px}.card-workbench{display:flex;flex-direction:column;gap:1rem}.card-preview{order:-1;position:static;width:min(100%,220px);margin:auto}.preview-paper{max-height:29svh;width:auto;aspect-ratio:5/7;margin:auto}.preview-paper canvas{width:100%;height:100%;object-fit:contain}.card-preview figcaption{font-size:.6rem;gap:.5rem;margin-top:.4rem}.card-controls{width:100%;padding:1rem}.maker-step h2{font-size:1.65rem;margin-bottom:.3rem}.maker-step>p{font-size:.85rem;margin-bottom:.7rem}.template-options{grid-template-columns:1fr 1fr;gap:.5rem}.template-choice{gap:.4rem;padding:.45rem}.template-choice:has(input:checked){padding:calc(.45rem - 1px)}.template-choice img{display:none}.template-choice strong{font-size:.8rem}.template-choice small{font-size:.66rem}.template-choice input{width:15px;height:15px}.card-controls textarea{min-height:85px}.step-actions{margin-top:.8rem}.card-privacy{font-size:.66rem;margin-top:.7rem;padding-top:.6rem}.card-maker-footer{font-size:.72rem;flex-direction:column}.card-maker-page .header-inner{padding:.7rem 4%;gap:.5rem}.card-maker-page .header nav{gap:.45rem .85rem}.card-maker-page .header nav a{font-size:.72rem}}
.card-maker-page .header{color:#2f4a3a}
@page{size:5in 7in;margin:0}
@media print{html,body.card-maker-page{width:5in;height:7in;margin:0!important;padding:0!important;background:white!important}.card-maker-page>*{display:none!important}.card-maker-page.print-ready #card-print-sheet{display:block!important;width:5in;height:7in;margin:0;padding:0;break-inside:avoid}.card-maker-page:not(.print-ready) .print-unavailable{display:block!important;color:black;padding:.25in}#card-print-sheet img{display:block;width:5in;height:7in;max-width:none;margin:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
