.studio-body{padding-bottom:0;background:#faf8fb}.studio-body .endnote,.studio-body .mobilecontact{display:none}.studio-intro{max-width:1440px;margin:auto;padding:64px 5% 30px}.studio-intro h1{font-size:clamp(44px,7vw,82px);line-height:.98;letter-spacing:-.05em;margin:10px 0 16px;color:#33213e}.studio-intro h1 em{color:#764397;font-style:normal}.studio-intro>p:not(.studio-private){max-width:750px;font-size:18px;line-height:1.7;color:#665b6e}.studio-private{display:inline-flex;gap:9px;align-items:center;padding:10px 14px;border:1px solid #ddd5e4;border-radius:99px;background:#fff;color:#513c60;font-size:13px}.studio-private span{font-size:10px;color:#378267}.studio-app{max-width:1500px;margin:0 auto 65px;padding:0 4%;display:grid;grid-template-columns:minmax(270px,345px) minmax(0,1fr);gap:22px;align-items:start}.studio-tools,.studio-stage{background:white;border:1px solid #e4dce9;box-shadow:0 10px 34px #39204e08}.studio-tools{grid-column:1;grid-row:1;padding:20px 18px;border-radius:8px}.tool-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #eee9f1}.tool-section:last-of-type{border-bottom:0}.tool-section>label:first-child,.tool-label{display:block;margin:0 0 8px;color:#3e2a4b;font-weight:700;font-size:14px}.studio-tools select,.studio-tools input:not([type=range]){display:block;width:100%;font:inherit;min-height:46px;padding:9px 10px;border:1px solid #d6c9de;border-radius:5px;background:white;color:#32263a}.size-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.size-fields label{font-size:12px}.size-fields input{margin-top:5px}.tool-hint{font-size:12px!important;line-height:1.55!important;color:#706579;margin:8px 0 0}.tool-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.tool-buttons button,.tool-secondary{background:#faf7fc;border:1px solid #d9cde1;border-radius:5px;color:#4e2b64;min-height:44px;padding:8px 10px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer}.tool-buttons button:hover,.tool-secondary:hover{background:#f0e9f5}.dropbox{display:grid;place-items:center;text-align:center;gap:7px;min-height:106px;padding:14px;border:1.5px dashed #b8a2c5;border-radius:7px;background:#fcfaff;cursor:pointer}.dropbox>span{font-size:24px;color:#6f4489}.dropbox strong{font-size:14px;color:#49245f}.dropbox small{font-size:11px;line-height:1.45;font-weight:400;color:#71647b}.drag-over,.dropbox.drag-over{outline:3px solid #b594ce;outline-offset:2px;background:#f5eff9}.import-result{font-size:13px;line-height:1.55;color:#49245f;margin-top:8px;overflow-wrap:anywhere}.pdf-preview{height:245px;margin-top:12px;border:1px solid #ddd5e4;border-radius:5px;overflow:hidden}.pdf-preview iframe{width:100%;height:100%;border:0}.tool-section label:has(input[type=range]){display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px;margin:11px 0;font-size:12px}.tool-section output{font-variant-numeric:tabular-nums;color:#625070}.tool-section input[type=range]{grid-column:1/-1;width:100%;accent-color:#60347b;min-height:30px}.tool-actions{display:grid;gap:8px}.studio-tools .button{justify-content:center;text-align:center;min-height:48px}.studio-tools .tool-secondary{font-size:13px}.studio-stage{grid-column:2;grid-row:1;min-width:0;padding:16px;border-radius:8px}.stagebar{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:10px;margin-bottom:16px}.stagebar label{font-size:12px;font-weight:700;color:#64586d}.stagebar input{min-width:0!important;width:100%!important;min-height:42px!important;font-size:14px!important}.stagebar span{font-size:12px;font-weight:700;color:#563b69;white-space:nowrap}.studio-stage #paper-wrap{background:#f1edf3;min-height:430px;max-height:78vh;overflow:auto;padding:32px 12px;display:flex;justify-content:center;align-items:flex-start;border-radius:5px}.studio-stage #paper{container-type:inline-size;position:relative;width:min(100%,780px);aspect-ratio:var(--page-ratio,216 / 279);height:auto;background:#fff;color:#201a24;box-shadow:0 3px 16px #28202c26;overflow:hidden;touch-action:none}.paper-guides{position:absolute;inset:6%;border:1px dashed #dfd5e4;pointer-events:none}.placed-content{position:absolute;inset:0}.placed{position:absolute;z-index:1;touch-action:none;overflow:hidden}.placed.selected{outline:1.5px dashed #754496;outline-offset:1px}.placed.heading,.placed.text{padding:1%;line-height:1.3;overflow:auto;touch-action:pan-y;cursor:text}.placed.heading{font-family:Georgia,serif;font-weight:700;color:#39204e;line-height:1.05}.placed.text{font-family:Georgia,serif;color:#322b36}.placed.photo{cursor:grab}.photo-frame{width:100%;height:100%;overflow:hidden;background:#eee}.photo-frame img{width:100%;height:100%;object-fit:cover}.stage-hint{font-size:12px;color:#6d6375;margin:12px 2px 0}.studio-next{padding:55px 7%;background:#f0eaf4;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.studio-next h2,.studio-invite h2{font-size:38px;color:#39204e}.studio-next p,.studio-invite p{font-size:16px;line-height:1.7;max-width:600px;color:#574b5e}.studio-invite{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;background:#faf7fc;border-top:1px solid #e6dced;border-bottom:1px solid #e6dced}.studio-invite .button{margin-top:10px}.studio-invite h2{margin-bottom:0}
@media(max-width:900px){.studio-app{grid-template-columns:1fr}.studio-tools,.studio-stage{grid-column:auto;grid-row:auto}.studio-tools{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.studio-tools>.tool-section{min-width:0}.studio-tools>.tool-actions,.studio-tools>p.tool-hint{grid-column:1/-1}.studio-stage #paper-wrap{min-height:320px}.studio-next,.studio-invite{grid-template-columns:1fr;gap:5px}.studio-invite h2{font-size:32px}}
@media(max-width:600px){.studio-body{padding-bottom:0}.studio-intro{padding:35px 6% 20px}.studio-intro h1{font-size:clamp(42px,13vw,64px)}.studio-intro>p:not(.studio-private){font-size:16px}.studio-app{padding:0 4%;margin-bottom:35px;gap:12px}.studio-tools{display:block;padding:15px 13px}.tool-section{padding-bottom:13px;margin-bottom:13px}.tool-buttons button{font-size:12px;padding:7px 5px}.studio-stage{padding:10px}.stagebar{grid-template-columns:1fr auto;gap:6px}.stagebar label{grid-column:1/-1}.stagebar input{grid-column:1;grid-row:2}.stagebar span{grid-column:2;grid-row:2;font-size:11px}.studio-stage #paper-wrap{min-height:240px;max-height:62vh;padding:20px 7px}.studio-stage #paper{width:100%;max-width:100%}.studio-next{padding:38px 6%}.studio-next h2{font-size:32px}.studio-invite{padding:32px 6%!important}.studio-invite h2{font-size:30px}.studio-invite .button{width:100%;justify-content:center}.studio-body footer{padding-bottom:25px}}
@media print{@page{size:var(--print-size);margin:0}.studio-body{padding:0!important;background:white!important}.studio-body>*:not(main){display:none!important}.studio-body main{display:block!important;padding:0!important;margin:0!important}.studio-body main>*{display:none!important}.studio-body main>.studio-app{display:block!important;padding:0!important;margin:0!important;max-width:none!important}.studio-tools,.stagebar,.stage-hint{display:none!important}.studio-stage{padding:0!important;border:0!important;box-shadow:none!important}.studio-stage #paper-wrap{display:block!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important;background:white!important}.studio-stage #paper{width:var(--page-width)!important;height:var(--page-height)!important;aspect-ratio:auto!important;max-width:none!important;box-shadow:none!important}.placed.selected{outline:0!important}.paper-guides{border-color:transparent!important}}
.pages-tools .tool-label{margin-bottom:9px}.page-controls{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center}.page-controls button,.page-actions button{min-height:44px;border:1px solid #d9cde1;border-radius:5px;background:#faf7fc;color:#4e2b64;font:600 14px inherit;cursor:pointer}.page-controls button:disabled,.page-actions button:disabled{opacity:.45;cursor:not-allowed}.page-controls span{text-align:center;font-size:13px;font-weight:700;color:#50365e}.page-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.page-actions button:last-child{grid-column:1/-1}.page-actions button{font-size:12px}.print-sheet{display:none}
@media print{.studio-stage{display:none!important}.studio-stage #paper-wrap{display:none!important}#print-pages{display:block!important}.print-sheet{display:block!important;position:relative;container-type:inline-size;width:var(--page-width);height:var(--page-height);overflow:hidden;background:#fff;color:#201a24;break-after:page;page-break-after:always}.print-sheet:last-child{break-after:auto;page-break-after:auto}.print-sheet .placed{overflow:hidden}.print-sheet .placed.heading,.print-sheet .placed.text{padding:1%;line-height:1.2;font-family:Georgia,serif}.print-sheet .placed.heading{font-weight:700;color:#39204e;line-height:1.05}.print-sheet .placed.text{color:#322b36}.print-sheet .photo-frame{width:100%;height:100%;overflow:hidden;background:#eee}.print-sheet .photo-frame img{width:100%;height:100%;object-fit:cover}}

.move-handle{display:none;position:absolute;right:2px;top:2px;z-index:3;width:36px;height:36px;padding:0;border:1px solid #fff;border-radius:5px;background:#49245f;color:#fff;font-size:20px;line-height:1;cursor:move;touch-action:none}.placed.selected .move-handle{display:block}.placed.heading,.placed.text{padding-right:9%}
@media(max-width:600px){.move-handle{display:block;width:36px;height:36px;right:2px;top:2px}.placed.heading,.placed.text{padding-right:14%}}

.studio-quicktools{display:none}
@media(max-width:600px){.studio-body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.studio-app{display:flex;flex-direction:column}.studio-stage{width:100%}.studio-quicktools{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgb(255 255 255 / .94);border-top:1px solid #ddd5e4;box-shadow:0 -4px 18px #39204e14;backdrop-filter:blur(12px)}.studio-quicktools button{min-width:0;min-height:48px;border:1px solid #d9cde1;border-radius:5px;background:#faf7fc;color:#49245f;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2}.studio-quicktools button:active{background:#eee5f5}.studio-quicktools button:focus-visible{outline:3px solid #8554a8;outline-offset:2px}}
