@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2) format("woff2"),url(/assets/dm-sans-latin-700-normal-CUSSCpQX.woff) format("woff")}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/lora-latin-400-normal-DnxXpLNu.woff2) format("woff2"),url(/assets/lora-latin-400-normal-DBJS-Hc6.woff) format("woff")}@layer base,components;@layer base{:root{font-family:DM Sans,sans-serif;color:#29352f;background:#f9f8f5;font-synthesis:none;font-weight:400;--accent: #547869;--accent-dark: #395b4b;--line: #e7e8e1;--muted: #7b8179;--paper: #fff;--serif: "Lora", serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8eb5a2;outline-offset:3px}button{border:0;background:none}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}input[type=range]{width:100%;min-height:44px;accent-color:var(--accent);cursor:pointer}input[type=color]{width:48px;height:44px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff}input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}input,textarea,select{font-size:16px}svg{flex-shrink:0}button{touch-action:manipulation}::selection{background:#dbe8dc}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.7}}@layer components{.primary,.secondary,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:10px;font-size:13px;font-weight:500;transition:background .15s,transform .15s}.primary{background:var(--accent);color:#fff;padding:0 20px;box-shadow:0 3px 7px #29352f08}.primary:hover{background:var(--accent-dark)}.primary.big{min-height:56px;font-size:15px;padding:0 24px;gap:12px}.primary.big svg:last-child{margin-left:15px}.secondary{border:1px solid var(--line);background:#fff;padding:0 14px}.secondary:hover{background:#f1f5ef}.text-button{color:var(--accent);padding:0 3px}.icon-button{width:44px;flex-shrink:0}.icon-button:hover{background:#edf1e9}.full{width:100%}.danger{color:#a44c48}.button-row{display:flex;gap:8px}.button-row>*{flex:1}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--accent)}.home-shell{max-width:1220px;margin:auto;padding:0 48px}.home-header{height:100px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:700;font-size:20px;letter-spacing:-.7px}.brand-icon{display:grid;place-items:center;background:var(--accent);color:#fff;width:34px;height:34px;border-radius:10px}.brand-dot{color:var(--accent);margin-left:-10px}.privacy-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#6a756c;background:#eef1e9;border-radius:30px;padding:10px 14px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;min-height:520px;align-items:center;padding:45px 0 40px}.hero h1{font-size:66px;line-height:1.1;letter-spacing:-3px;margin:23px 0 20px;font-weight:400}.hero h1 em{font-family:var(--serif);font-weight:400;color:var(--accent)}.hero-copy>p{font-size:15px;line-height:1.9;color:#747b72;margin-bottom:27px}.hero-note{display:block;font-size:10px;color:#8b8e85;margin-top:14px}.hero-art{height:415px;position:relative;display:grid;place-items:center}.art-orbit{position:absolute;width:375px;height:375px;background:#eceee5;border-radius:50%}.sample-card{width:300px;height:324px;background:#fff;box-shadow:0 18px 50px #314e3621;transform:rotate(-7deg);padding:13px;display:grid;gap:7px;grid-template-columns:1.2fr 1fr;grid-template-rows:118px 107px 1fr;position:relative}.sample-photo{overflow:hidden}.sample-photo img{width:100%;height:100%;object-fit:cover}.sample-photo.one{grid-row:span 2}.sample-card>span{font-family:Caveat,cursive;font-size:33px;grid-column:span 2;text-align:center;margin-top:7px}.sample-heart{position:absolute;bottom:24px;right:21px;stroke:#ab8666;transform:rotate(16deg)}.art-note{font-family:Caveat,cursive;font-size:23px;color:#81917d;position:absolute;top:0;right:0;transform:rotate(9deg);z-index:1}.art-label{position:absolute;bottom:0;right:5px;font-size:10px;display:flex;gap:8px;align-items:center;background:#fff;padding:14px 18px;box-shadow:0 5px 20px #00000005;border-radius:8px;transform:rotate(3deg)}.benefits{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;gap:35px}.benefits>div{display:flex;gap:14px;align-items:center}.benefits>div>span{font-family:var(--serif);font-style:italic;font-size:22px;color:#a5b3a2}.benefits p{display:flex;flex-direction:column;gap:6px}.benefits strong{font-size:12px;font-weight:500}.benefits small{font-size:10px;color:var(--muted)}.library{padding-top:45px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.section-heading h2{font-family:var(--serif);font-size:27px;margin-top:9px;letter-spacing:-.5px}.section-heading h2 span{font-family:DM Sans,sans-serif;font-size:13px;color:var(--muted);margin-left:7px}.empty-library{border:1px dashed #d9ded3;border-radius:16px;min-height:255px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff9;padding:25px}.empty-icon{display:grid;place-items:center;width:49px;height:49px;background:#eff3eb;border-radius:15px;color:#889a82;margin-bottom:14px}.empty-library h3{font-size:14px;margin-bottom:9px}.empty-library p{font-size:11px;color:var(--muted);text-align:center;line-height:1.9}.empty-library .text-button{font-size:11px;margin-top:9px}.privacy-note{display:flex;justify-content:center;gap:12px;font-size:10px;line-height:1.8;color:#8a8e84;padding:32px 45px;max-width:760px;margin:auto}.privacy-note svg{margin-top:3px;color:#8c9d85}.privacy-note strong{font-weight:500;color:#6c7867}.home-shell footer{border-top:1px solid var(--line);padding:24px 0 30px;display:flex;justify-content:space-between;font-size:10px;color:#95988e}.home-shell footer span:last-child{display:flex;gap:7px;align-items:center}.collage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.collage-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.collage-open{text-align:left;width:100%;padding:0}.collage-open img,.collage-open .thumbnail-empty{width:100%;height:210px;object-fit:contain;background:#eef0e9;padding:18px}.thumbnail-empty{min-height:90px;background:#eef0e9}.collage-open h3{padding:15px 17px 5px;font-size:14px}.collage-open>span{display:block;color:var(--muted);font-size:11px;padding:0 17px 5px}.card-actions{padding:0 12px 5px;display:flex;align-items:center}.card-actions .text-button{margin-right:auto;font-size:11px}.modal{border:1px solid var(--line);padding:0;border-radius:20px;width:530px;max-width:calc(100vw - 30px);max-height:calc(100svh - 40px);color:inherit;box-shadow:0 30px 100px #192b2729;background:#fdfdfa}.modal.wide{width:880px}.modal::backdrop{background:#253a3266;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-head{position:sticky;top:0;background:#fdfdfaf5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:space-between;padding:21px 24px 14px;z-index:2}.modal-head h2{font-family:var(--serif);font-size:23px;letter-spacing:-.5px}.modal-intro{font-size:13px;line-height:1.7;padding:0 24px}.segmented{display:flex;gap:5px;padding:22px 24px 10px}.segmented button{min-height:44px;padding:0 17px;border-radius:25px;font-size:12px;color:var(--muted)}.segmented button.active{background:#e8eee5;color:var(--accent-dark)}.format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 24px 30px}.format-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;text-align:left;background:#fff;padding:0 0 16px}.format-card:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.format-preview{height:117px;background:#f1f2ed;display:grid;place-items:center;margin-bottom:15px}.format-preview>div{max-height:85px;width:100px;background:#fff;box-shadow:0 3px 7px #0001;display:grid;grid-template-columns:1.2fr 1fr;gap:3px;padding:5px}.format-preview i{background:#b9cbbd}.format-preview i:first-child{grid-row:span 2;background:#97ae9a}.format-preview i:last-child{background:#d6c9ae}.format-card strong,.format-card span,.format-card small{display:block;padding:0 13px}.format-card strong{font-size:13px;font-weight:500}.format-card span{font-size:10px;color:var(--muted);margin-top:4px;min-height:25px;line-height:1.6}.format-card small{font-size:9px;color:#97a28e;margin-top:5px}.editor-shell{height:100svh;display:flex;flex-direction:column;overflow:hidden;background:#f9f8f5}.editor-header{height:82px;flex-shrink:0;display:flex;align-items:center;gap:16px;padding:12px 28px;background:#fff;border-bottom:1px solid var(--line);padding-top:max(12px,env(safe-area-inset-top))}.editor-title{margin-right:auto;min-width:0}.editor-title>input{border:0;background:none;font-size:15px;font-weight:500;width:260px;max-width:100%;color:inherit;padding:5px 0}.save-status{display:flex;align-items:center;gap:5px;font-size:9px;color:#8a9487;height:17px}.status-dot{width:5px;height:5px;border-radius:50%;background:#aaa}.history-buttons{display:flex;gap:2px}.editor-workspace{flex:1;min-height:0;display:flex;flex-direction:row-reverse}.editor-sidebar{width:360px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.tool-nav{display:flex;justify-content:space-around;border-bottom:1px solid var(--line);padding:7px 7px 0;flex-shrink:0}.tool-nav>button{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px;min-height:73px;justify-content:center;font-size:10px;position:relative;color:#889084}.tool-nav>button.active{color:var(--accent-dark)}.tool-nav>button.active:after{content:"";position:absolute;bottom:0;left:13%;right:13%;height:3px;background:var(--accent);border-radius:3px 3px 0 0}.tool-panel{overflow-y:auto;padding:26px 23px 35px;overscroll-behavior:contain}.panel-heading{margin-bottom:24px}.panel-heading h2{font-family:var(--serif);font-size:21px;letter-spacing:-.5px}.panel-heading h2 span{font-family:DM Sans;font-size:12px;color:var(--muted)}.panel-heading p{color:var(--muted);font-size:11px;line-height:1.8;margin-top:9px}.layout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 9px}.layout-card{border:1px solid var(--line);border-radius:9px;padding:8px 6px 0;min-height:85px;display:flex;flex-direction:column;align-items:center;justify-content:center}.layout-card svg{width:65px;height:44px;fill:#cad4c7;overflow:visible}.layout-card span{font-size:9px;min-height:29px;display:flex;align-items:center;white-space:nowrap}.layout-card.active{border-color:var(--accent);background:#f3f7ef}.layout-card.active svg{fill:#678b72}.add-images{margin-top:24px;font-size:11px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;padding:25px 42px;background-color:#f0f1eb;background-image:radial-gradient(#d0d5c65c .7px,transparent .7px);background-size:12px 12px}.workspace.drag-over:after{content:"Lass deine Bilder hier los";position:absolute;inset:10px;border:2px dashed var(--accent);background:#e6eee6ed;display:grid;place-items:center;z-index:15;border-radius:15px;font-size:22px;pointer-events:none}.canvas-topbar{display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap;padding-bottom:20px;flex-shrink:0}.format-button{background:#fff;border:1px solid var(--line);border-radius:8px;min-height:38px;padding:0 14px;font-size:11px;display:flex;align-items:center;gap:12px}.canvas-topbar>span{font-size:10px;color:#8a9281}.stage-area{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.stage{position:relative;background:#fff;box-shadow:0 9px 30px #35452f15;max-width:1000px;max-height:100%;container-type:inline-size;touch-action:none;flex-shrink:1}.stage canvas{display:block;width:100%;height:100%}.stage-item{position:absolute;padding:0;touch-action:none;outline:none;border:2px solid transparent;min-height:0;min-width:0;background:transparent}.stage-item.selected,.stage-item:focus-visible{border:2px solid #729d82;outline:1px solid #fff9}.stage-item.swap-source{border:3px dashed #a16b42}.selection-dot{display:none;position:absolute;bottom:-5px;right:-5px;width:9px;height:9px;background:#fff;border:2px solid #729d82;border-radius:3px}.selected .selection-dot{display:block}.overlay-target{z-index:2}.overlay-target.selected{z-index:3}.upload-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;touch-action:pan-y}.upload-icon{width:72px;height:72px;display:grid;place-items:center;background:#eef3e9;color:#92a286;border-radius:20px;margin-bottom:20px}.upload-empty h2{font-family:var(--serif);font-size:29px;line-height:1.3;letter-spacing:-.7px}.upload-empty p{font-size:12px;color:var(--muted);margin-top:14px;margin-bottom:23px}.upload-empty small{font-size:10px;color:#a0a396;margin-top:12px}.canvas-caption{font-size:10px;color:#8a9282;min-height:55px;display:flex;align-items:center;justify-content:center;padding-top:12px;flex-shrink:0;text-align:center}.canvas-caption>span{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.canvas-caption i{width:3px;height:3px;background:#abb2a3;border-radius:50%}.file-input{position:fixed;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.range-label{display:block;margin-bottom:12px;font-size:12px}.range-label>span{display:flex;justify-content:space-between;align-items:center}.range-label output{font-size:10px;color:var(--muted);background:#f4f5ef;border-radius:5px;padding:3px 7px;min-width:35px;text-align:center}.tool-panel h3{font-size:12px;margin:20px 0 17px;display:flex;justify-content:space-between}.photo-strip{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.photo-strip>button{width:55px;height:55px;border:2px solid transparent;border-radius:8px;padding:3px;background:#f4f5ef}.photo-strip img{width:100%;height:100%;object-fit:cover;border-radius:4px}.photo-strip .active{border-color:var(--accent)}.photo-controls{display:grid;gap:9px}.photo-controls h3{margin-top:0}.field-label{display:flex;flex-direction:column;gap:9px;font-size:11px;margin:18px 0}.field-label select,.field-label textarea{border:1px solid var(--line);border-radius:8px;padding:11px;background:#fff;color:inherit;width:100%;min-height:44px}.field-label textarea{resize:vertical;line-height:1.5}.panel-tip{font-size:11px;line-height:1.8;color:#8a9283;margin:16px 0}.background-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.background-choice{padding:4px 3px;border:1px solid transparent;border-radius:8px}.background-choice>span{display:grid;place-items:center;min-height:45px;border-radius:6px;box-shadow:inset 0 0 0 1px #0000000b}.background-choice i{color:#dbcda5;font-size:22px;font-style:normal}.background-choice>small{font-size:8px;display:block;padding-top:6px;min-height:20px}.background-choice.active{border-color:var(--accent)}.color-field{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:18px 0}.text-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:15px}.text-list>button{border:1px solid var(--line);border-radius:6px;max-width:100%;min-height:44px;padding:6px 9px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-list>button.active{border-color:var(--accent);background:#eef3eb}.sticker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sticker-grid button{display:flex;flex-direction:column;align-items:center;border:1px solid var(--line);border-radius:10px;gap:10px;padding:15px 8px;color:var(--accent)}.sticker-grid button>span{font-size:32px;line-height:1}.sticker-grid small{font-size:10px}.error,.warning{padding:14px 16px;border-radius:9px;background:#fcf0eb;color:#964c38;font-size:12px;line-height:1.7;white-space:pre-line}.error button{display:block;color:inherit;min-height:44px;text-decoration:underline}.warning{background:#f7f1df;color:#846a33}.warning p{font-size:11px;margin-top:5px}.editor-error{position:absolute;bottom:15px;left:20px;right:20px;z-index:4;box-shadow:0 5px 30px #0001;display:flex;max-height:250px;overflow:auto;align-items:flex-start}.editor-error>span{flex:1}.editor-error button{margin-left:8px;display:flex;text-decoration:none}.export-body{padding:5px 24px 27px;display:flex;flex-direction:column;gap:19px}.export-preview{padding:20px;background:#f0f2eb;border-radius:11px;text-align:center}.export-preview img{max-height:190px;max-width:100%;object-fit:contain;box-shadow:0 3px 12px #0001}.export-spec{display:flex;flex-direction:column;gap:5px}.export-spec strong{font-size:15px;font-weight:500}.export-spec span{font-size:13px}.export-spec small{font-size:11px;color:var(--muted)}.check-label{display:flex;gap:10px;align-items:center;font-size:11px;line-height:1.6;min-height:44px}.export-progress{display:flex;flex-direction:column;gap:9px;font-size:12px;color:var(--muted)}progress{width:100%;accent-color:var(--accent)}.export-actions{display:flex;flex-direction:column;gap:10px}.success{color:var(--accent);display:flex;gap:7px;align-items:center;font-size:12px}.print-help{font-size:11px;line-height:1.9;color:var(--muted);border-top:1px solid var(--line);padding-top:5px}.print-help summary{min-height:44px;cursor:pointer;align-content:center;color:#526848;font-size:12px;font-weight:500}.print-help p{margin-top:10px}.print-help a{color:var(--accent)}.print-help a svg{display:inline;vertical-align:middle}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.stage{max-width:1000px}.workspace{padding:35px 65px}.editor-sidebar{width:390px}.tool-panel{padding:30px}}@media(max-width:1000px)and (min-width:701px){.hero h1{font-size:53px}.home-shell{padding:0 32px}.hero{gap:15px}.sample-card{width:240px;height:300px;grid-template-rows:105px 98px 1fr}.art-orbit{width:300px;height:300px}.art-note{font-size:19px;right:-12px;top:25px}.hero-art{height:380px}.art-label{right:-10px;font-size:9px}.editor-sidebar{width:315px}.workspace{padding:25px}.tool-panel{padding:24px 17px}.layout-card svg{width:60px}.layout-card span{font-size:8px}}@media(max-width:700px){.home-shell{padding:0 23px;padding-top:env(safe-area-inset-top)}.home-header{height:76px}.brand{font-size:17px;gap:8px}.brand-icon{width:30px;height:30px}.brand-icon svg{width:19px}.privacy-badge{font-size:0;padding:9px;background:#edf1e9}.privacy-badge svg{width:14px}.hero{display:flex;flex-direction:column;gap:22px;padding:36px 0 30px;min-height:0;align-items:stretch}.hero-copy{text-align:center}.eyebrow{font-size:8px;letter-spacing:1.5px}.hero h1{font-size:49px;letter-spacing:-2px;line-height:1.12;margin:18px 0 16px}.hero-copy>p{font-size:12px;line-height:1.9;margin-bottom:22px}.primary.big{min-height:53px;font-size:14px}.hero-note{font-size:9px;margin-top:12px}.hero-art{height:320px;max-width:360px;width:100%;margin:auto}.art-orbit{height:280px;width:280px}.sample-card{width:235px;height:266px;grid-template-rows:91px 88px 1fr;padding:11px;gap:6px;transform:rotate(-6deg)}.sample-card>span{font-size:29px;margin-top:4px}.sample-heart{width:18px;bottom:24px;right:17px}.art-note{font-size:19px;right:0;top:0}.art-label{font-size:8px;bottom:0;right:-3px;padding:12px 14px}.benefits{gap:10px;padding:22px 0;grid-template-columns:repeat(3,1fr);text-align:center}.benefits>div{flex-direction:column;gap:8px}.benefits>div>span{font-size:20px}.benefits p{gap:5px}.benefits strong{font-size:10px}.benefits small{font-size:8px;line-height:1.6}.library{padding-top:30px}.section-heading{margin-bottom:19px}.section-heading h2{font-size:24px}.section-heading .secondary{font-size:10px;padding:0 9px;gap:3px}.empty-library{min-height:237px;padding:20px 12px}.empty-library h3{font-size:12px}.empty-library p{font-size:10px}.privacy-note{font-size:9px;padding:24px 1px}.privacy-note svg{width:15px}.home-shell footer{font-size:8px;gap:15px;align-items:center;padding-bottom:max(25px,env(safe-area-inset-bottom))}.home-shell footer span:last-child{gap:4px}.home-shell footer svg{width:11px}.collage-grid{grid-template-columns:1fr 1fr;gap:13px}.collage-open img,.collage-open .thumbnail-empty{height:150px;padding:12px}.collage-open h3{font-size:11px;padding:12px 10px 5px}.collage-open>span{font-size:8px;padding:0 10px 5px}.card-actions{padding:0 5px 3px;flex-wrap:wrap}.card-actions .text-button{font-size:9px;gap:4px}.card-actions .text-button svg{width:12px}.card-actions .icon-button{width:40px}.card-actions .icon-button:last-child{margin-left:auto}.modal{max-width:calc(100vw - 20px);max-height:calc(100svh - 24px);border-radius:16px}.modal-head{padding:14px 17px 7px;gap:5px}.modal-head h2{font-size:20px}.modal-intro{font-size:11px;padding:0 17px}.segmented{padding:15px 14px 4px;gap:2px}.segmented button{padding:0 14px;font-size:11px}.format-grid{grid-template-columns:1fr 1fr;padding:14px 16px 24px;gap:10px}.format-preview{height:101px;margin-bottom:12px}.format-preview>div{max-height:73px;width:90px}.format-card strong{font-size:11px;padding:0 10px}.format-card span{font-size:9px;padding:0 10px;min-height:31px}.format-card small{padding:0 10px;font-size:8px}.editor-shell{height:100svh;min-height:100svh;overflow:hidden}.editor-header{height:calc(73px + env(safe-area-inset-top));padding:9px 10px;gap:5px;position:sticky;top:0;z-index:10;padding-top:max(9px,env(safe-area-inset-top))}.editor-header .back{width:44px}.editor-title>input{width:146px;font-size:16px;padding:4px 0}.save-status{font-size:8px;gap:3px}.save-status svg{width:10px}.history-buttons{gap:0}.history-buttons .icon-button{width:44px}.export-button{padding:0;width:44px;min-height:44px;font-size:11px;border-radius:8px;gap:5px}.export-button svg{width:20px}.export-button span{display:none}.editor-workspace{flex-direction:column;min-height:0}.workspace{padding:13px 21px 0;min-height:310px;max-height:none;flex:none}.canvas-topbar{padding-bottom:13px;gap:7px}.format-button{min-height:44px;font-size:10px;padding:0 10px}.canvas-topbar>span{font-size:8px}.stage-area{min-height:0;height:32svh;max-height:32svh;flex:none}.stage{max-width:100%;max-height:32svh}.canvas-caption{font-size:8px;min-height:44px;padding:9px 0;line-height:1.6}.canvas-caption svg{width:12px}.canvas-caption>span{gap:4px}.upload-icon{width:45px;height:45px;border-radius:12px;margin-bottom:10px}.upload-icon svg{width:25px}.upload-empty h2{font-size:21px}.upload-empty p{font-size:9px;margin:9px 0 12px}.upload-empty small{font-size:8px;margin-top:7px}.upload-empty .primary{font-size:11px;min-height:40px;padding:0 14px}.editor-sidebar{width:100%;border-right:0;border-top:1px solid var(--line);min-height:0;flex:1;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.tool-nav{position:static;background:#fff;z-index:5;padding:2px 12px 0}.tool-nav>button{min-height:64px;font-size:9px;gap:6px}.tool-nav svg{width:19px}.tool-panel{padding:22px 22px 30px;overflow-y:auto;flex:1;min-height:0}.panel-heading{margin-bottom:19px}.panel-heading h2{font-size:21px}.panel-heading p{font-size:10px;margin-top:7px}.layout-grid{grid-template-columns:repeat(3,1fr);gap:9px}.layout-card{min-height:75px;padding:6px 4px 0}.layout-card svg{width:58px;height:39px}.layout-card span{font-size:9px;min-height:25px}.add-images{margin-top:18px}.photo-strip>button{height:55px;width:55px}.photo-controls{gap:5px}.photo-controls h3{margin:4px 0 12px}.photo-controls .button-row{margin-bottom:4px}.range-label{font-size:12px}.background-grid{grid-template-columns:repeat(4,1fr)}.background-choice>small{font-size:9px}.background-choice>span{min-height:48px}.export-body{padding:6px 18px 23px;gap:16px}.export-preview{padding:14px}.export-preview img{max-height:150px}.print-help{font-size:10px}.export-spec span{font-size:12px}.editor-error{left:10px;right:10px;bottom:10px;font-size:10px}.sticker-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:370px){.editor-title>input{width:117px}.export-button span{display:none}.editor-title{max-width:130px}.home-shell{padding:0 18px}.hero h1{font-size:45px}.layout-grid{grid-template-columns:repeat(3,1fr)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}}.editor-title{flex:1;overflow:hidden}.editor-title>input{text-overflow:ellipsis;white-space:nowrap}.editor-title>input:focus{text-overflow:clip}.template-entry{display:flex;flex-direction:column;gap:9px;text-align:left;width:100%;padding:24px 20px;margin-bottom:24px;background:linear-gradient(130deg,#e2ebe4,#f6eee2);border:1px solid #d2dccc;border-radius:14px;color:#243d36}.template-entry span{font-size:10px;letter-spacing:.1em;text-transform:uppercase}.template-entry strong{font:26px var(--serif)}.template-entry small{font-size:11px}.template-entry b{font-size:12px;margin-top:9px}.gallery-intro{padding:0 26px}.gallery-intro p{font-size:13px;color:#6d766b;line-height:1.6}.gallery-filters{padding:14px 26px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:#f7f8f4;position:sticky;top:0;z-index:2}.gallery-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;min-width:0}.gallery-filters select{width:100%;padding:10px 7px;border:1px solid #d7ded4;border-radius:7px;background:#fff;min-height:44px}.gallery-filters .gallery-search{grid-column:1/-1;flex-direction:row;align-items:center;background:#fff;border:1px solid #d7ded4;border-radius:8px;padding:0 12px}.gallery-search input{border:0;background:none;width:100%;min-width:0;padding:12px 6px}.gallery-result{padding:15px 26px;font-size:12px;color:#6d766b}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0 26px 32px}.template-card{text-align:left;border:1px solid #e1e4db;border-radius:12px;padding:9px;display:flex;flex-direction:column;gap:6px;min-width:0}.template-card:hover,.template-card.active{border-color:#547869;box-shadow:0 3px 15px #243d361a}.template-preview{background:#eeede8;height:175px;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:6px}.template-preview canvas{max-width:100%;max-height:100%;object-fit:contain}.template-card strong{font-size:13px;padding:3px 3px 0}.template-card small{font-size:10px;color:#6d766b;padding:0 3px 5px}.gallery-empty{padding:26px}.crop-body{padding:0 26px 26px}.crop-body>p{font-size:13px;line-height:1.5}.crop-original{display:flex;gap:15px;align-items:center;font-size:12px;margin:12px 0}.crop-original img{width:100px;height:65px;object-fit:contain;background:#eeede8}.crop-canvas{display:block;width:100%;height:auto;touch-action:none;overscroll-behavior:contain;border-radius:10px;-webkit-user-select:none;user-select:none}.crop-pan{display:grid;grid-template-columns:1fr 1fr;gap:20px}.crop-body .range-label{margin:15px 0}.crop-body .button-row{margin-top:20px}.crop-body .button-row>button{flex:1;min-height:44px}.photo-controls>.primary{margin:12px 0}.export-targets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.export-targets button{text-align:left;padding:12px;border:1px solid #d7ded4;border-radius:8px;font-size:12px;min-height:44px}.export-targets button.active{border-color:#547869;background:#e2ebe4}.export-preview canvas{max-width:100%;max-height:210px;object-fit:contain}.export-fit{background:#f2f5ef;border-radius:10px;padding:14px;margin-bottom:16px;font-size:12px;line-height:1.5}.export-fit button{margin:5px 5px 0 0}.export-direct{margin-top:12px}@media(max-width:700px){.gallery-intro{padding:0 16px}.gallery-filters{padding:12px 16px;grid-template-columns:1fr 1fr;gap:8px;position:static}.gallery-result{padding:12px 16px}.template-grid{grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 24px}.template-preview{height:140px}.template-card{padding:6px}.template-card strong{font-size:12px}.crop-body{padding:0 16px 20px}.crop-pan{gap:12px}.tool-nav>button{font-size:9px}}.free-first,.gallery-free{margin-bottom:20px;min-height:50px;background:#e2ebe4;border:1px solid #9eb2a2}.start-free-button{margin:0 26px 12px}.start-free{margin:0 26px 15px;font-size:12px;color:#6d766b}.freeform-tools{margin-bottom:22px;border:1px solid #d7ded4;padding:12px;border-radius:10px;font-size:12px}.snap-switches{display:flex;gap:12px;flex-wrap:wrap}.snap-switches label,.arrange-selection label{display:flex;align-items:center;gap:7px;min-height:44px}.freeform-tools summary{min-height:44px;align-content:center;cursor:pointer}.grid-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}.grid-settings label{display:flex;flex-direction:column;gap:6px}.grid-settings select{min-height:44px;border:1px solid #d7ded4;border-radius:6px;background:#fff}.arrange-selection{display:flex;flex-wrap:wrap;gap:0 12px;max-height:160px;overflow:auto}.arrange-selection span{max-width:170px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.arrange-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.arrange-actions button{font-size:10px;min-height:44px;padding:8px}.snap-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}.snap-grid{position:absolute;inset:0;background-image:linear-gradient(to right,#71a5de88 1px,transparent 1px),linear-gradient(to bottom,#71a5de88 1px,transparent 1px)}.snap-guide{position:absolute;background:#c53f78}.snap-guide.x{top:0;bottom:0;width:1px}.snap-guide.y{left:0;right:0;height:1px}.font-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.font-preview-grid button{border:1px solid #d7ded4;border-radius:8px;padding:10px 5px;min-width:0;overflow:hidden}.font-preview-grid span{display:block;font-size:20px;line-height:1.6}.font-preview-grid small{font-size:9px;color:#6d766b}.font-preview-grid button.active,.filter-tiles button.active{border:2px solid #547869;background:#eaf0e9}.filter-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.filter-tiles button{border:1px solid #d7ded4;border-radius:7px;overflow:hidden;padding:3px;min-width:0}.filter-tiles canvas{width:100%;height:auto;border-radius:4px;display:block}.filter-tiles small{font-size:9px;display:block;padding:5px 0}.sticker-filters{display:flex;flex-direction:column;gap:9px;margin-bottom:10px}.sticker-filters input,.sticker-filters select{width:100%;min-height:44px;border:1px solid #d7ded4;border-radius:7px;padding:9px;background:#fff}.catalog-count{font-size:10px;color:#6d766b;margin-bottom:12px}.sticker-grid.expanded{grid-template-columns:repeat(3,minmax(0,1fr))}.sticker-grid.expanded button{color:#719e87;min-width:0;min-height:90px}.sticker-grid.expanded button:nth-child(4n+1){color:#c48091}.sticker-grid.expanded button:nth-child(4n+2){color:#d0a061}.sticker-grid.expanded small{font-size:9px;line-height:1.4;display:block}.asset-origin{font-size:11px;line-height:1.6;margin:20px 0}.asset-origin summary{min-height:44px;align-content:center;cursor:pointer}.editor-controls{display:flex;justify-content:center;align-items:center;flex-shrink:0;gap:16px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line)}.mode-switch{margin:0}.mode-switch button{min-height:44px;min-width:88px}.sheet-handle-row{display:none}.editor-sidebar{width:390px}.tool-panel{flex:1;min-height:0}.photo-actionbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px 10px;flex-shrink:0;background:#f1f5ef;border-bottom:1px solid var(--line)}.photo-actionbar button{display:flex;gap:5px;align-items:center;justify-content:center;min-height:44px;font-size:11px;background:#fff;border:1px solid #d2dccf;border-radius:7px}.photo-actionbar button[aria-pressed=true]{background:#d9e8d9}.photo-actionbar button:disabled{opacity:.45}.suggestion-section{margin-bottom:20px}.suggestion-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.suggestion-heading .text-button{min-height:44px;font-size:11px;white-space:nowrap}.suggestion-rail{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity}.suggestion-card{flex:0 0 174px;padding:6px;border:1px solid #d2dccf;border-radius:10px;scroll-snap-align:start;text-align:left}.suggestion-card[aria-pressed=true]{border-color:#547869;background:#eaf0e9}.suggestion-card canvas{width:100%;height:106px;object-fit:contain;background:#f1f2ed;display:block}.suggestion-card span{display:block;font-size:11px;padding:8px 3px 3px}.filter-dialog{padding:0 22px 24px}.photo-start-button{margin-bottom:12px}.format-start-button{min-height:48px}@media(max-width:700px){.editor-shell{height:100dvh;min-height:0}.editor-controls{gap:8px;padding:5px 10px}.editor-controls .format-button{flex:1;justify-content:center}.mode-switch button{min-width:76px;padding:0 10px}.workspace{flex:1;min-height:0;overflow:hidden;padding:10px 18px 0}.stage-area{flex:1;height:auto;max-height:none;min-height:0}.stage{max-height:100%}.canvas-caption{min-height:25px;padding:4px 0;flex-shrink:0;font-size:8px}.editor-sidebar{width:100%;height:var(--sheet-height);flex:0 0 var(--sheet-height);border-radius:18px 18px 0 0;box-shadow:0 -3px 16px #35452f12}.sheet-handle-row{display:flex;align-items:center;flex-shrink:0;height:40px;padding:0 10px;gap:4px}.sheet-handle{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;height:40px;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none}.sheet-handle span{width:38px;height:5px;background:#aebdab;border-radius:8px}.sheet-handle small{font-size:10px;color:#6d766b}.sheet-handle-row button{min-width:44px;min-height:40px;font-size:21px;border-radius:8px;background:#f0f4ed}.sheet-handle-row button:disabled{opacity:.35}.tool-panel{padding:10px 16px 24px}.tool-nav{padding:0 8px}.tool-nav>button{min-height:56px;gap:3px}.suggestion-section{margin-bottom:12px}.photo-actionbar{padding:4px 10px}.photo-actionbar button{min-height:44px}.upload-empty h2,.upload-empty p,.upload-empty small,.upload-empty .upload-icon{display:none}}@media(min-width:701px)and (max-width:1000px){.editor-sidebar{width:340px}}.editor-sidebar{overflow:clip}
