@font-face{font-family:PaiRound;src:url('assets/regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:PaiRound;src:url('assets/medium.woff2') format('woff2');font-weight:500 900;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/nunito.woff2') format('woff2');font-weight:200 1000;font-display:swap}
:root{--canvas:#FAF9F7;--paper:#FFFEFB;--ink:#1E192D;--muted:#716B7B;--pink:#E84FB7;--wash:#F1EFF3;--line:#E5E2DD;--soft:#F0EEEA;--ease:cubic-bezier(.2,.8,.2,1);color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Nunito,PaiRound,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #9a648e;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.topbar{height:78px;padding:0 32px;display:flex;align-items:center;gap:42px;border-bottom:1px solid var(--line);background:var(--canvas)}.brand{display:flex}.brand img{width:102px;height:auto}.bread{display:flex;gap:20px;align-items:center;font-size:14px}.bread span{color:var(--muted)}.bread b{font-weight:400;color:#cac6cd}.bread strong{font-weight:600}.top-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.preview-label{font-size:11px;color:var(--muted);letter-spacing:.04em}.avatar{width:34px;height:34px;border-radius:50%;background:#e8e4e2;font-weight:700}.quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 8px;color:var(--muted);font-size:13px;white-space:nowrap}.quiet svg{width:18px;height:18px}.small{font-size:12px;min-height:36px;padding:0}.rail{position:absolute;left:0;top:78px;bottom:0;width:88px;display:flex;align-items:center;flex-direction:column;gap:12px;padding:28px 10px;border-right:1px solid var(--line)}.rail a{width:60px;height:66px;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;font-size:11px;color:var(--muted);border-radius:17px}.rail a.active{background:#ece9e6;color:var(--ink)}.rail img{width:26px;height:26px;object-fit:contain}.rail small{margin-top:auto;font-size:9px;color:#96909a;letter-spacing:.14em;line-height:1.7;text-align:center}main{margin-left:88px}.modes{height:74px;display:flex;align-items:center;gap:8px;padding:0 30px;border-bottom:1px solid var(--line)}.modes button{display:flex;align-items:center;gap:9px;height:42px;padding:0 19px;border-radius:12px;color:var(--muted);font-size:14px;font-weight:600}.modes button.selected{background:var(--ink);color:var(--paper)}.modes svg{width:18px;height:18px}.mode-caption{margin-left:auto;font-size:12px;color:#918b95}.editor{display:grid;grid-template-columns:minmax(0,1fr) 350px;min-height:calc(100svh - 152px);max-width:1650px;margin:auto}.workbench{padding:25px 30px 16px;min-width:0}.canvas-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;gap:12px}.canvas-top strong{display:block;font-size:14px;font-weight:600}.canvas-top small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.canvas-mat{position:relative;min-height:460px;height:calc(100svh - 310px);max-height:760px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#eeece8;padding:18px 68px 38px;overflow:hidden}.photo-frame{position:relative;height:100%;max-width:100%;aspect-ratio:4/5;box-shadow:0 8px 18px #3227220c;line-height:0;background:#eee2bf;border-radius:3px;overflow:hidden}.photo-frame>img{width:100%;height:100%;object-fit:contain;user-select:none;display:block}.photo-frame svg{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair;touch-action:none}.photo-frame svg.off{pointer-events:none}.selection-path{stroke:var(--pink);stroke-width:2.5;fill:#e84fb70d;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.selection-path.current{fill:#e84fb719;stroke-width:3}.region-pin{position:absolute;width:25px;height:25px;border-radius:50%;background:var(--pink);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;box-shadow:0 0 0 3px #fff9;transform:translate(-50%,-50%);z-index:2}.canvas-tools{position:absolute;top:20px;left:13px;padding:4px;display:flex;flex-direction:column;gap:6px;background:var(--paper);border-radius:14px;z-index:3}.tool{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 8px;border-radius:10px;color:var(--muted);font-size:9px}.tool.active{color:var(--ink);background:#eee8ef}.tool svg{width:20px;height:20px}.canvas-hint{position:absolute;bottom:8px;margin:0;font-size:11px;color:var(--muted)}.image-tag{position:absolute;bottom:12px;left:12px;background:var(--paper);border-radius:6px;font-size:10px;line-height:1;padding:7px 9px;box-shadow:0 2px 12px #00000008}.version-bar{display:flex;align-items:center;gap:12px;min-height:65px}.version-tabs{display:flex;gap:10px;align-items:center}.version-tabs button{display:flex;align-items:center;gap:7px;padding:5px 9px 5px 5px;border-radius:8px;color:var(--muted);font-size:11px}.version-tabs button.selected{background:#e9e6e4;color:var(--ink)}.version-tabs img{width:26px;height:32px;object-fit:cover;border-radius:4px}.version-note{margin-left:auto;font-size:11px;color:#8b8590}.inspector{padding:32px 26px 22px;background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.08em}.inspector h1{font-size:22px;font-weight:600;line-height:1.5;margin:12px 0 28px;letter-spacing:-.025em}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.section-head h2{font-size:13px;font-weight:600;margin:0}.section-head>span{font-size:11px;color:var(--muted)}.region-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.region-tabs button{font-size:12px;min-height:36px;padding:5px 13px;border-radius:9px;background:#f0ede9;color:var(--muted)}.region-tabs button.selected{background:#f5e6f1;color:#6e3260}.region-tabs .empty{font-size:13px;color:var(--muted);padding:8px 0;margin:0}.field-label,.poster-fields>label{display:block;font-size:12px;font-weight:600;margin:0 0 10px}textarea,input{width:100%;border:0;background:#f3f1ee;border-radius:13px;font-size:16px;line-height:1.8;padding:14px 16px;resize:vertical;min-height:48px}textarea{resize:none}textarea::placeholder{color:#948b98;font-size:14px}#edit-note{font-size:14px;min-height:114px}textarea:focus,input:focus{background:#eeeae7;outline:2px solid #a7819d;outline-offset:2px}.ref-heading{margin-top:24px;margin-bottom:6px}.reference-list{display:flex;flex-direction:column;gap:8px}.ref-row{display:grid;grid-template-columns:64px minmax(0,1fr) 28px;gap:12px;align-items:center;padding:8px 0}.ref-row img{width:64px;height:69px;object-fit:cover;border-radius:10px}.ref-row strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}.ref-row small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.ref-row select{border:0;background:transparent;padding:5px 0;font-size:12px;color:var(--muted);max-width:100%}.ref-row>button{width:28px;height:44px;color:var(--muted);padding:4px}.ref-row>button svg{width:16px;height:16px}.ref-empty{font-size:12px;line-height:1.8;color:var(--muted);padding:12px 0}.keep-note{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.8;color:var(--muted);margin:20px 0}.keep-note svg{width:16px;height:19px}.advanced{border-top:1px solid var(--line);padding:17px 0;margin-top:2px;color:var(--muted);font-size:12px}.advanced summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.advanced summary::-webkit-details-marker{display:none}.advanced summary>span{margin-left:auto;font-size:11px}.advanced svg{width:16px;height:16px}.advanced label{display:grid;gap:8px;margin-top:18px}.advanced select{padding:10px;border:0;border-radius:7px;background:var(--soft)}.advanced p{font-size:11px;line-height:1.8}.inspector-bottom{margin-top:auto;padding-top:22px}.primary{min-height:47px;background:var(--ink);color:var(--paper);padding:0 22px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:14px;transition:transform .18s var(--ease),background .18s}.primary:active{transform:scale(.975)}.primary svg{width:17px;height:17px}.inspector-bottom .primary{width:100%}.preview-foot{font-size:10px;color:#8b8392;text-align:center;margin:0 0 10px}.create-panel{max-width:1110px;margin:auto;padding:54px 50px 60px}.create-intro{text-align:center}.create-intro .eyebrow{font-size:10px;letter-spacing:.16em}.create-intro h1{font-size:42px;line-height:1.35;margin:16px 0;font-weight:600;letter-spacing:-.04em}.create-intro h1 br{display:none}.create-intro p{color:var(--muted);font-size:14px}.idea-composer{max-width:800px;margin:30px auto 48px;background:var(--paper);border-radius:23px;padding:14px 16px 14px;box-shadow:0 12px 40px #312c3e07,0 0 0 1px #e9e5e0}.idea-composer textarea{background:none;padding:12px;border-radius:8px;min-height:104px;font-size:17px}.idea-composer textarea:focus{outline:none}.idea-composer:focus-within{box-shadow:0 8px 34px #312c3e08,0 0 0 2px #ad8aa4}.idea-actions{display:flex;gap:12px;align-items:center}.idea-actions .primary{margin-left:auto}.compact-select select{border:0;background:none;font-size:12px;color:var(--muted);max-width:115px}.idea-composer>p{font-size:11px;color:var(--muted);padding:0 10px}.starter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.starter-heading h2{font-size:14px;font-weight:500;margin:0}.starter-heading>span{font-size:11px;color:var(--muted)}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.starter{padding:0;text-align:left;overflow:hidden;transition:transform .25s var(--ease)}.starter:hover{transform:translateY(-4px)}.starter>img,.graphic-art{width:100%;height:258px;object-fit:cover;border-radius:13px}.portrait-starter>img{object-position:50% 34%}.book-starter>img{object-position:center}.starter>span:last-child{padding:14px 1px;display:flex;flex-direction:column;gap:4px}.starter strong{font-size:14px;font-weight:500}.starter small{font-size:11px;color:var(--muted)}.graphic-art{display:flex;position:relative;background:#efeee3;color:#214b40;flex-direction:column;justify-content:space-between;padding:23px;overflow:hidden}.graphic-art b{font-size:43px;line-height:1.1;font-weight:500;z-index:1;letter-spacing:-.04em}.graphic-art i{position:absolute;width:148px;height:148px;background:#bdc9a2;border-radius:50%;right:-20px;bottom:8px}.graphic-art small{position:relative;letter-spacing:.08em;z-index:1;color:#214b40;font-size:9px}.poster-mat{display:flex;justify-content:center;align-items:center;min-height:490px;height:calc(100svh - 303px);max-height:760px;background:#eceae6;padding:20px 26px;border-radius:20px}.poster-art{position:relative;background:var(--poster-bg,#f5f1e7);color:var(--poster-ink,#23439b);aspect-ratio:3/4;height:100%;max-width:100%;container-type:inline-size;overflow:hidden;box-shadow:0 8px 24px #322e2314;padding:7%;display:flex;flex-direction:column;transition:background .24s var(--ease),color .24s var(--ease);isolation:isolate}.poster-kicker{display:flex;justify-content:space-between;font-size:2.2cqw;letter-spacing:.05em}.poster-title{font-size:11cqw;font-weight:800;line-height:1.15;letter-spacing:-.045em;margin:7% 0 4%;position:relative;z-index:2;cursor:text;overflow-wrap:anywhere}.poster-subtitle{font-size:3cqw;position:relative;z-index:2;max-width:90%;line-height:1.65}.poster-book{position:absolute;width:62%;height:auto;right:6%;bottom:12%;mix-blend-mode:multiply;transform:rotate(8deg);z-index:1}.poster-circle{position:absolute;left:-9%;bottom:10%;width:40%;aspect-ratio:1;background:var(--poster-circle,#e2debc);border-radius:50%;z-index:-1}.poster-footer{margin-top:auto;display:flex;flex-direction:column;gap:4px;z-index:2}.poster-footer strong{font-size:3.2cqw;font-weight:800}.poster-footer span{font-size:2.5cqw}.poster-size-bar{display:flex;justify-content:center;gap:10px;padding-top:14px}.poster-size-bar button{color:var(--muted);font-size:11px;min-height:37px;padding:0 13px;border-radius:9px}.poster-size-bar button.selected{background:#e7e3e0;color:var(--ink)}.poster-presets{display:flex;gap:7px;margin-bottom:22px}.poster-presets button{flex:1;font-size:13px;min-height:40px;border-radius:10px;background:#f2efec;color:var(--muted)}.poster-presets button.selected{background:#eee2ec;color:#713860}.poster-fields>input,.poster-fields>textarea{margin-bottom:18px}.poster-fields>textarea{font-size:17px;line-height:1.5}.poster-fields input{font-size:13px;border-radius:10px;padding:11px 12px;min-height:43px}.poster-fields label{font-size:12px;font-weight:500}.field-pair{display:grid;gap:14px}.field-pair label input{margin-top:8px}.palette-head{margin-top:25px}.palettes{display:flex;gap:12px}.palettes button{position:relative;width:38px;height:38px;border-radius:50%;background:linear-gradient(90deg,var(--a) 50%,var(--b) 50%);box-shadow:0 0 0 1px #00000008}.palettes button.selected:after{content:'';position:absolute;inset:-4px;border:1.5px solid var(--ink);border-radius:50%}.poster-editor .keep-note{margin:22px 0 0}.poster-editor .inspector h1{font-size:21px;margin-bottom:25px}.poster-editor .inspector-bottom{padding-top:24px}.poster-art.square{aspect-ratio:1;height:auto;width:min(100%,540px);padding:7%}.poster-art.landscape{aspect-ratio:16/9;height:auto;width:100%;padding:4%}.poster-art.landscape .poster-title{font-size:8cqw;max-width:56%;margin:4% 0 2%}.poster-art.landscape .poster-subtitle{font-size:2.3cqw;max-width:51%}.poster-art.landscape .poster-book{width:41%;right:3%;bottom:9%}.poster-art.landscape .poster-footer{position:absolute;left:5%;bottom:7%}.poster-art.landscape .poster-footer strong{font-size:2.3cqw}.poster-art.landscape .poster-footer span{font-size:1.8cqw}.poster-art.square .poster-book{width:46%;bottom:11%;right:4%}.poster-art.square .poster-title{font-size:10cqw;margin-top:6%}.poster-art.layout-brand .poster-title{font-size:12cqw}.poster-art.layout-exhibit .poster-title{font-size:12cqw}.poster-art.layout-exhibit .poster-book{transform:rotate(-11deg);right:0}.poster-art.layout-brand.landscape .poster-title,.poster-art.layout-exhibit.landscape .poster-title{font-size:8cqw}dialog{background:var(--paper);color:var(--ink);border:0;border-radius:27px;width:min(500px,calc(100% - 32px));padding:28px;box-shadow:0 25px 100px #28213226;max-height:calc(100svh - 50px);overflow:auto}dialog::backdrop{background:#211c2c44}dialog header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}dialog h2{font-size:23px;font-weight:600;margin:9px 0 0}dialog p{font-size:14px;line-height:1.9;color:var(--muted)}.icon-button{width:44px;height:44px;flex:none;display:grid;place-items:center;color:var(--muted)}.upload-row{width:100%;background:#f0edeb;border-radius:15px;padding:17px;display:flex;align-items:center;gap:14px;text-align:left;margin-bottom:25px}.upload-row span{font-size:14px}.upload-row small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.sample-book{display:flex;width:100%;align-items:center;text-align:left;gap:17px;padding:0}.sample-book img{width:96px;border-radius:12px}.sample-book strong{display:block;font-size:15px;font-weight:500}.sample-book small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.sample-book>svg{margin-left:auto}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.history-grid button{font-size:14px;text-align:left;padding:0}.history-grid img{display:block;width:100%;height:200px;object-fit:cover;border-radius:12px;margin-bottom:10px}.history-grid small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);font-size:13px;line-height:1.6;padding:14px 20px;border-radius:13px;z-index:20;width:max-content;max-width:calc(100% - 32px);box-shadow:0 5px 20px #1e192d20}.pulse{animation:soft-in .32s var(--ease)}@keyframes soft-in{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:761px){.editor{height:calc(100svh - 152px);min-height:0}.canvas-mat{min-height:260px;height:calc(100svh - 310px)}.poster-mat{min-height:260px;height:calc(100svh - 294px)}.inspector{height:100%;overflow-y:auto;padding-bottom:0}.inspector-bottom{position:sticky;bottom:0;flex-shrink:0;background:var(--paper);padding-top:15px;padding-bottom:20px;box-shadow:0 -10px 14px var(--paper)}.poster-editor .inspector-bottom{padding-top:15px}}
@media(min-width:1450px){.editor{grid-template-columns:minmax(0,1fr) 380px}.inspector{padding-left:32px;padding-right:32px}.workbench{padding-left:45px;padding-right:45px}}
@media(max-width:1100px){.rail{width:72px;padding-left:6px;padding-right:6px}main{margin-left:72px}.editor{grid-template-columns:minmax(0,1fr) 315px}.inspector{padding:25px 20px}.workbench{padding:20px}.canvas-mat{padding-left:64px;padding-right:18px;min-height:260px}.mode-caption{display:none}.bread{gap:12px}.topbar{gap:30px;padding:0 24px}.create-panel{padding:42px 30px}.starter-grid{gap:17px}.starter>img,.graphic-art{height:220px}.graphic-art b{font-size:35px}.inspector h1{font-size:20px}}
@media(max-width:760px){.topbar{height:62px;padding:0 20px;gap:18px}.brand img{width:85px}.bread{display:none}.top-actions{gap:14px}.top-actions .quiet{padding:0}.top-actions .quiet span{display:none}.preview-label{font-size:10px}.avatar{width:30px;height:30px}.rail{display:none}main{margin-left:0}.modes{height:67px;padding:0 18px;gap:5px;justify-content:space-between;position:sticky;top:0;background:var(--canvas);z-index:5}.modes button{font-size:13px;padding:0 14px;gap:7px;height:41px;flex:1;justify-content:center}.modes svg{width:17px;height:17px}.editor{display:flex;flex-direction:column;min-height:0}.workbench{padding:16px 18px 0}.canvas-top{margin-bottom:12px}.canvas-top strong{font-size:13px}.canvas-top small{font-size:10px}.canvas-top .quiet{font-size:12px;padding:0;min-height:38px}.canvas-mat{height:clamp(295px,43svh,450px);min-height:0;max-height:none;border-radius:17px;padding:14px 36px 29px}.canvas-tools{left:8px;top:12px;gap:5px;padding:3px;border-radius:11px}.tool{padding:7px 5px;gap:3px;font-size:9px}.tool svg{width:18px;height:18px}.canvas-hint{font-size:9px;bottom:8px;left:0;width:100%;text-align:center}.image-tag{font-size:9px;padding:5px 7px;bottom:8px;left:8px}.version-bar{min-height:57px;gap:6px}.version-note{font-size:10px}.version-bar .quiet{font-size:10px;padding:0}.version-tabs{gap:5px}.version-tabs button{font-size:10px;padding-right:6px;gap:5px}.version-tabs img{width:22px;height:27px}.inspector{padding:19px 22px 22px;border-left:0;background:var(--canvas)}.inspector-title{display:none}.section-head h2{font-size:13px}.region-tabs{margin-bottom:20px}.region-tabs button{font-size:12px;padding:4px 13px}.field-label{font-size:13px}#edit-note{font-size:16px;min-height:112px;background:#efede9}.ref-heading{margin-top:22px}.ref-row{grid-template-columns:62px minmax(0,1fr) 40px}.ref-row>button{width:40px}.ref-row img{width:62px;height:67px}.ref-row select{font-size:14px;padding-top:7px;padding-bottom:7px}.ref-row strong{font-size:14px}.keep-note{font-size:12px;margin:18px 0}.inspector-bottom{position:sticky;bottom:0;margin:8px -22px -22px;padding:15px 22px calc(15px + env(safe-area-inset-bottom));background:var(--canvas);z-index:4;box-shadow:0 -12px 14px var(--canvas)}.primary{height:48px;font-size:14px}.preview-foot{font-size:10px}.advanced{font-size:13px}.advanced summary{min-height:25px}.create-panel{padding:34px 20px 35px}.create-intro h1{font-size:35px;line-height:1.35;margin:16px 0}.create-intro h1 br{display:initial}.create-intro p{font-size:13px}.idea-composer{margin:26px 0 32px;padding:10px 12px;border-radius:19px}.idea-composer textarea{font-size:16px;min-height:120px}.idea-actions{gap:8px;flex-wrap:wrap}.idea-actions .quiet{font-size:12px;gap:5px;padding:0}.idea-actions .quiet svg{width:17px}.idea-actions .primary{font-size:12px;padding:0 12px;min-height:42px;height:42px;gap:5px}.compact-select select{font-size:12px;max-width:93px}.starter-heading h2{font-size:13px}.starter-grid{grid-template-columns:1fr 1fr;gap:19px 14px}.starter>img,.graphic-art{height:220px}.starter strong{font-size:12px}.starter small{font-size:10px}.graphic-starter{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#f0eee7;border-radius:15px}.graphic-starter .graphic-art{height:200px;border-radius:0;background:none;padding:22px}.graphic-starter>span:last-child{padding:15px}.graphic-art b{font-size:35px}.graphic-art small{font-size:6px}.graphic-art i{width:110px;height:110px;right:-5px}.poster-mat{min-height:0;height:440px;max-height:none;border-radius:17px;padding:16px 30px}.poster-art{padding:7%}.poster-mat:has(.landscape){height:245px;padding:15px}.poster-mat:has(.square){height:360px;padding:18px}.poster-size-bar{padding-top:8px;gap:5px}.poster-size-bar button{font-size:11px;padding:0 11px;min-height:44px}.poster-presets button{min-height:42px;font-size:14px}.poster-fields input{font-size:16px;min-height:48px;padding:12px}.poster-fields>textarea{font-size:19px;min-height:93px}.poster-fields label{font-size:13px}.field-pair{gap:18px}.palettes{gap:18px}.palettes button{width:40px;height:40px}.poster-editor .inspector-bottom{padding-top:15px}.poster-editor .keep-note{font-size:12px;margin:26px 0 12px}dialog{padding:24px;border-radius:24px}dialog h2{font-size:21px}.history-grid img{height:172px}.toast{bottom:calc(20px + env(safe-area-inset-bottom));font-size:12px}.keyboard-open .inspector-bottom{position:static;box-shadow:none}.keyboard-open .modes{position:static}}
@media(max-width:359px){.topbar{padding:0 16px}.workbench{padding-left:14px;padding-right:14px}.modes{padding:0 12px}.modes button{padding:0 9px;font-size:12px}.canvas-mat{padding-right:36px}.canvas-hint{font-size:8px}.inspector{padding-left:18px;padding-right:18px}.inspector-bottom{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.starter>img{height:190px}.create-panel{padding-left:16px;padding-right:16px}.idea-actions .primary{font-size:11px}.idea-actions .primary svg{width:14px}.idea-actions{gap:5px}.compact-select select{max-width:87px}.idea-actions .quiet{font-size:11px}.version-note{font-size:9px}.poster-mat{height:390px;padding-left:24px;padding-right:24px}.poster-mat:has(.square){height:315px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Poster typography lives in independent layers; the product keeps its original photograph. */
.poster-art,.poster-art.square,.poster-art.landscape{padding:0}
.poster-kicker{position:absolute;top:6%;left:7%;right:7%;font-size:2.3cqw}
.poster-title,.poster-art.layout-brand .poster-title,.poster-art.layout-exhibit .poster-title{position:absolute;top:11%;left:7%;width:86%;font-size:14cqw;line-height:1.08;margin:0;font-weight:600;letter-spacing:-.055em}
.poster-title.long-title{font-size:10cqw!important}
.poster-subtitle{position:absolute;top:37%;left:7%;width:86%;font-size:3cqw;line-height:1.7}
.poster-book,.poster-art.layout-exhibit .poster-book{right:7%;bottom:14%;width:59%;mix-blend-mode:normal;transform:none;border-radius:1px}
.poster-footer{position:absolute;bottom:6%;left:7%;right:7%;gap:1.2cqw}
.poster-footer strong{font-size:3cqw}.poster-footer span{font-size:2.6cqw}
.poster-circle{bottom:17%;left:-12%;width:52%}
.poster-art.square .poster-title{font-size:12cqw;top:12%;margin:0}
.poster-art.square .poster-subtitle{top:41%;font-size:2.5cqw;max-width:47%}
.poster-art.square .poster-book{width:43%;bottom:11%;right:7%}
.poster-art.landscape .poster-kicker{top:7%;font-size:1.4cqw}
.poster-art.landscape .poster-title,.poster-art.layout-brand.landscape .poster-title,.poster-art.layout-exhibit.landscape .poster-title{font-size:8.7cqw;top:19%;margin:0;width:54%}
.poster-art.landscape .poster-subtitle{top:60%;font-size:1.8cqw;width:49%}
.poster-art.landscape .poster-book{width:35%;bottom:13%;right:5%}
.poster-art.landscape .poster-footer{left:7%;bottom:7%}.poster-art.landscape .poster-footer strong{font-size:1.8cqw}.poster-art.landscape .poster-footer span{font-size:1.5cqw}
.commerce-types{display:flex;gap:16px;margin:-6px 0 17px}.commerce-types button{padding:6px 0;font-size:11px;color:var(--muted)}.commerce-types button.selected{color:var(--ink);font-weight:700;box-shadow:0 2px var(--pink)}
.product-upload{display:flex;align-items:center;gap:12px;width:100%;padding:9px;background:#f2efea;border-radius:11px;text-align:left;margin-bottom:22px}.product-upload img{width:46px;height:46px;object-fit:cover;border-radius:7px}.product-upload span{min-width:0;flex:1}.product-upload strong{display:block;font-size:12px;font-weight:500}.product-upload small{display:block;font-size:10px;margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.product-upload svg{width:17px;margin-right:6px}
.commerce-fields{margin-top:20px}.commerce-fields>label,#features-field>label{display:block;font-size:12px;margin-bottom:8px}.commerce-fields>input{margin-bottom:16px}.price-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.price-inputs input{margin-top:8px}.poster-commerce{position:absolute;bottom:12%;left:7%;z-index:3}.offer-label{font-size:2.4cqw}.price-line{display:flex;align-items:baseline;gap:2cqw;line-height:1.3}.price-line>span{font-size:10cqw;font-weight:800;letter-spacing:-.045em}.price-line s{font-size:3.1cqw;opacity:.6}.product-benefit{font-size:2.6cqw;display:block;margin-top:.7cqw}.feature-points{position:absolute;bottom:23%;left:7%;display:flex;flex-direction:column;gap:4cqw;font-size:3.8cqw;z-index:3}.feature-points span:before{content:'·';margin-right:2cqw;color:var(--poster-ink)}
.poster-art.layout-commerce .poster-title{font-size:12cqw;top:11%}.poster-art.layout-commerce .poster-subtitle{top:33%;font-size:2.9cqw}.poster-art.layout-commerce .poster-book{width:53%;right:4%;bottom:23%}.poster-art.layout-commerce .poster-circle{bottom:24%}.poster-art.layout-commerce .poster-footer{bottom:4%;gap:.5cqw}.poster-art.layout-commerce .poster-footer strong{font-size:2cqw}.poster-art.layout-commerce .poster-footer span{font-size:2cqw}.commerce-new .offer-label,.commerce-new .price-line s,.commerce-new .product-benefit{display:none}.commerce-new .price-line>span{font-size:8cqw}.poster-art.commerce-new .poster-book{width:63%;bottom:22%}.poster-art.commerce-features .poster-book{width:53%;bottom:15%}
.poster-art.layout-commerce.square .poster-title{font-size:10.8cqw;top:13%}.poster-art.layout-commerce.square .poster-subtitle{top:40%;max-width:48%;font-size:2.4cqw}.poster-art.layout-commerce.square .poster-book{width:45%;bottom:18%}.poster-art.layout-commerce.square .poster-commerce{bottom:15%}.square .feature-points{font-size:3.2cqw;bottom:22%;gap:3cqw}.square .price-line>span{font-size:9cqw}.square .product-benefit{font-size:2.1cqw}.square .price-line s{font-size:2.6cqw}
.poster-art.layout-commerce.landscape .poster-title{font-size:7cqw;top:18%;width:55%}.poster-art.layout-commerce.landscape .poster-subtitle{top:48%;font-size:1.7cqw;width:50%}.poster-art.layout-commerce.landscape .poster-book{width:36%;right:5%;bottom:17%}.poster-art.layout-commerce.landscape .poster-commerce{bottom:13%;left:7%}.landscape .price-line>span{font-size:5.7cqw}.landscape .price-line s{font-size:2cqw}.landscape .offer-label,.landscape .product-benefit{font-size:1.6cqw}.poster-art.layout-commerce.landscape .poster-footer{flex-direction:row;justify-content:space-between}.poster-art.layout-commerce.landscape .poster-footer strong,.poster-art.layout-commerce.landscape .poster-footer span{font-size:1.3cqw}.landscape .feature-points{flex-direction:row;bottom:24%;gap:2cqw;font-size:1.8cqw}.landscape .feature-points span:before{margin-right:.5cqw}
@media(max-width:760px){.poster-presets{gap:7px}.poster-presets button{font-size:13px}.commerce-types{gap:22px}.commerce-types button{font-size:13px;min-height:40px}.product-upload{padding:11px}.product-upload img{width:56px;height:56px}.product-upload strong{font-size:14px}.product-upload small{font-size:11px}.commerce-fields>label,#features-field>label{font-size:13px}.price-inputs input{font-size:16px}}

/* Visual paper formats: quiet surfaces, actual proportions, no tile outlines. */
.create-intro h1{letter-spacing:0;text-wrap:balance}.create-intro h1 br{display:block}
.ratio-trigger,.poster-size-bar .ratio-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 12px;border-radius:12px;background:#f0edeb;color:var(--ink);font-size:12px;white-space:nowrap}
.ratio-trigger:hover,.ratio-trigger[aria-expanded=true]{background:#e9e4e8}.ratio-mini{display:grid;place-items:center;width:24px;height:26px}.ratio-mini i{display:block;background:#aaa1b1;border-radius:2px}.ratio-value{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.ratio-chevron{width:14px;height:14px;color:var(--muted);transition:transform .2s var(--ease)}.ratio-trigger[aria-expanded=true] .ratio-chevron{transform:rotate(180deg)}
.poster-size-bar{padding-top:12px}.poster-size-bar .ratio-trigger{background:#f7f5f2;box-shadow:0 2px 7px #1e192d06}
.ratio-dialog{position:fixed;inset:auto;margin:0;width:344px;max-width:calc(100% - 24px);padding:20px;border-radius:22px;background:var(--paper);box-shadow:0 18px 60px #1e192d1c,0 2px 8px #1e192d08;overflow:auto;overscroll-behavior:contain}
.ratio-dialog::backdrop{background:#1e192d0c}.ratio-dialog[open]{animation:soft-in .18s var(--ease)}.ratio-dialog header{margin:0 0 14px}.ratio-dialog h2{font-size:19px;margin-top:5px}.ratio-dialog .eyebrow{font-size:10px}.ratio-dialog .icon-button{width:36px;height:44px;margin-right:-6px}
.ratio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ratio-option{position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;padding:8px 0 10px;border-radius:14px;gap:5px;transition:background .16s var(--ease)}.ratio-option:hover{background:#f3f0ed}.ratio-option.selected{background:#f2e8ef}.ratio-paper-space{height:47px;display:grid;place-items:center}.ratio-paper-space i,.ratio-live-preview i{display:block;background:#ddd6df;border-radius:2px;box-shadow:0 3px 6px #1e192d0b;transition:width .18s var(--ease),height .18s var(--ease),background .18s var(--ease)}.ratio-option.selected .ratio-paper-space i{background:#8e607f}.ratio-option strong{font-size:12px;font-weight:600}.ratio-option-meta{font-size:11px;line-height:1.2;letter-spacing:.02em;color:var(--muted);font-variant-numeric:tabular-nums}.ratio-check{position:absolute;right:8px;top:8px;width:13px;height:13px;color:#8b4777;opacity:0}.ratio-option.selected .ratio-check{opacity:1}
.ratio-custom-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;margin-top:12px;padding:5px 4px;text-align:left;font-size:13px}.ratio-custom-toggle svg{width:17px;height:17px;color:var(--muted)}.ratio-custom-toggle small{font-size:10px;color:var(--muted);margin-left:auto}.ratio-custom-toggle[aria-expanded=true] small{visibility:hidden}
.ratio-custom-row{display:grid;grid-template-columns:56px 1fr 12px 1fr;gap:10px;align-items:end;padding:5px 0 0}.ratio-custom-row label{font-size:11px;color:var(--muted);display:grid;gap:5px}.ratio-custom-row input{font-size:16px;padding:9px 10px;border-radius:10px;min-width:0;min-height:44px;line-height:1.5;appearance:textfield}.ratio-custom-row input::-webkit-inner-spin-button{appearance:none}.ratio-colon{align-self:end;height:44px;display:grid;place-items:center;color:var(--muted)}.ratio-live-preview{height:65px;display:grid;place-items:center}.ratio-live-preview i{background:#8e607f}.ratio-dialog .ratio-help{font-size:10px;line-height:1.5;margin:12px 0 14px;min-height:15px}.ratio-help.invalid{color:#9b3f5e}.ratio-dialog .primary{width:100%;min-height:44px;font-size:13px}
.poster-art.panorama .poster-title{font-size:5cqw!important;top:19%!important}.poster-art.panorama .poster-subtitle{font-size:1.2cqw!important;top:60%!important}.poster-art.panorama .poster-book{width:24%;right:12%}.poster-art.panorama .poster-commerce{bottom:14%;left:45%}.panorama .price-line>span{font-size:4cqw}.panorama .product-benefit,.panorama .offer-label{font-size:1.1cqw}.poster-art.panorama .poster-footer strong,.poster-art.panorama .poster-footer span{font-size:1cqw}.panorama .feature-points{font-size:1.4cqw;bottom:13%;gap:3cqw}
@media(max-width:760px){.ratio-dialog{width:380px;padding:22px;border-radius:24px}.ratio-dialog::backdrop{background:#1e192d26}.ratio-grid{gap:8px}.ratio-option{min-height:103px}.ratio-option strong{font-size:13px}.ratio-option-meta{font-size:12px}.ratio-dialog h2{font-size:21px}.ratio-custom-toggle{min-height:48px}.ratio-custom-toggle small{font-size:11px}.ratio-dialog .primary{height:46px}.ratio-trigger{gap:6px;padding:0 8px}.idea-actions{gap:8px}.idea-actions .ratio-value{display:none}.idea-actions .ratio-label{font-size:12px}.idea-actions .ratio-mini{width:21px}.poster-size-bar .ratio-trigger{padding:0 14px}.poster-size-bar{margin-bottom:8px}.ratio-dialog .ratio-help{font-size:11px}}
@media(max-width:359px){.ratio-dialog{padding:18px}.ratio-custom-toggle small{font-size:10px}.idea-actions .ratio-trigger{gap:4px;padding:0 6px}.idea-actions .primary{padding:0 9px}.ratio-dialog .ratio-custom-row{grid-template-columns:42px 1fr 8px 1fr;gap:8px}}

/* A direction can come from words, several references, or custom colors. */
.style-direction{margin-top:30px}.style-direction .section-head{margin-bottom:13px}.style-direction textarea{font-size:14px;line-height:1.8;padding:15px 16px;min-height:118px;background:#f3f0ed;border-radius:15px;resize:vertical}.style-direction textarea:focus{outline:none;box-shadow:0 0 0 2px #dac4d4;background:#f5f1f0}.style-direction textarea::placeholder{font-size:13px;line-height:1.8}.style-inspirations{display:flex;gap:4px 12px;flex-wrap:wrap;align-items:center;padding:11px 0 17px}.style-inspirations>span{width:100%;font-size:10px;color:#9a919c;margin-bottom:1px}.style-inspirations button{font-size:11px;min-height:32px;padding:0;color:#786277;text-align:left}.style-inspirations button:hover{color:#1e192d}.style-ref-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.style-ref-heading h3{font-size:12px;font-weight:600;margin:0 0 5px}.style-ref-heading p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.style-ref-heading .quiet{font-size:11px;gap:3px;padding:0}.style-ref-heading .quiet svg{width:15px}.style-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.style-reference-list:empty{display:none}.style-reference{position:relative;min-width:0}.style-reference>img{display:block;width:100%;height:100px;object-fit:cover;border-radius:12px;background:var(--soft)}.style-reference-remove{position:absolute;right:0;top:0;width:36px;height:36px;display:grid;place-items:center;color:#1e192d}.style-reference-remove svg{width:23px;height:23px;padding:4px;background:#fffefaed;border-radius:50%;stroke-width:2}.style-reference select{border:0;background:none;width:100%;font-size:11px;color:var(--muted);min-height:40px;padding:0 4px}.style-reference-note,.style-preview-note{font-size:10px;color:#8b8390;line-height:1.7;margin:8px 0 0}.style-preview-note{font-size:9px;margin-top:13px;color:#a29aa6}.color-details{margin-top:17px;padding-top:3px}.color-details summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:44px;font-size:12px}.color-details summary::-webkit-details-marker{display:none}.color-details summary small{margin-left:auto;font-size:10px;color:var(--muted)}.color-details summary svg{width:15px;height:15px;color:var(--muted)}.color-intro{font-size:10px;color:var(--muted);margin:7px 0 16px}.color-details .palettes{gap:17px;padding:3px 2px 10px}.color-details .palettes button{width:32px;height:32px}.color-details .palettes button.selected:after{inset:-3px;border-width:1px;border-color:#9b7690}.custom-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}.custom-colors label{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:var(--muted);background:#f6f3f0;border-radius:11px;padding:10px 6px}.custom-colors input[type=color]{padding:0;border:0;background:none;width:100%;height:32px;min-height:32px;border-radius:7px;cursor:pointer}.custom-colors input::-webkit-color-swatch-wrapper{padding:0}.custom-colors input::-webkit-color-swatch{border:0;border-radius:6px}.custom-colors input::-moz-color-swatch{border:0;border-radius:6px}
@media(max-width:760px){.style-direction{margin-top:32px}.style-direction textarea{font-size:16px;min-height:120px}.style-direction textarea::placeholder{font-size:14px}.style-inspirations>span{font-size:11px}.style-inspirations button{font-size:13px;min-height:40px}.style-inspirations{gap:2px 18px}.style-ref-heading h3{font-size:14px}.style-ref-heading p{font-size:12px}.style-ref-heading .quiet{font-size:13px;min-height:44px}.style-reference>img{height:135px}.style-reference select{font-size:13px;min-height:44px}.style-reference-remove{width:44px;height:44px}.style-reference-note{font-size:11px}.color-details summary{font-size:14px;min-height:48px}.color-details summary small{font-size:12px}.color-intro{font-size:11px}.custom-colors label{font-size:12px}.custom-colors input[type=color]{height:38px}.style-preview-note{font-size:10px}}

.custom-colors .color-hex{min-height:24px;height:24px;width:100%;padding:0;text-align:center;border-radius:3px;background:none;font-size:10px;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--muted);text-transform:uppercase}.custom-colors .color-hex:focus{outline:0;box-shadow:0 1px #ab809c;background:none}.custom-colors .color-hex[aria-invalid=true]{color:#ae476d;box-shadow:0 1px #c57d98}@media(max-width:760px){.custom-colors .color-hex{font-size:12px;min-height:30px;height:30px}}

/* Open-ended directions and a quiet, task-oriented export sheet. */
.inspiration-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 5px;font-size:11px;color:var(--muted)}.inspiration-heading button{font-size:11px;color:var(--ink);min-height:36px;padding:0 2px}.more-directions{padding-top:6px}.more-directions p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 0}.style-inspirations{gap:4px 14px;margin-top:0}.style-inspirations button{min-height:36px;padding:4px 0}
.export-dialog{width:min(530px,calc(100% - 32px));padding:30px}.export-dialog h2{font-size:24px;letter-spacing:-.03em}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.export-options button{border-radius:16px;background:#f3f1ee;padding:18px 16px;text-align:left;min-height:92px;transition:background .18s}.export-options button.selected{background:#f2e5ee;color:#603854}.export-options strong{display:block;font-size:15px;font-weight:600}.export-options strong span{display:block;font-size:10px;font-weight:500;letter-spacing:.06em;margin-top:3px;opacity:.7}.export-options small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:9px}.export-dialog .export-explanation{font-size:12px;line-height:1.9;min-height:70px;margin:18px 0}.export-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.export-bottom>span{font-size:11px;color:var(--muted)}.export-dialog .export-privacy{font-size:10px;text-align:center;margin:22px 0 0;color:var(--muted)}
@media(max-width:760px){.inspiration-heading,.inspiration-heading button{font-size:13px}.style-inspirations button{min-height:42px}.export-dialog{margin:auto 0 0;width:100%;max-height:calc(100dvh - 20px);border-radius:25px 25px 0 0;padding:26px 22px calc(24px + env(safe-area-inset-bottom))}.export-options button{padding:16px 14px}.export-dialog .export-explanation{min-height:80px}.export-bottom .primary{min-width:150px}}
@media(max-width:760px){.export-dialog{max-width:100%;}}
