.fd-studio{--ink:#35273D;--accent:#C000E0;--plum:#4C3051;--lila:#F7F0F8;--line:#EADCEE;--muted:#655A6B;--body:#4B4F58;font-family:Karla,Arial,sans-serif;color:var(--ink);background:white;width:100vw;max-width:none;margin-left:calc(50% - 50vw);line-height:1.45;position:relative;isolation:isolate}
.fd-studio *{box-sizing:border-box}
.fd-studio button,.fd-studio input{font-family:inherit}
.fd-studio button{cursor:pointer}
.fd-studio button:focus-visible,.fd-studio a:focus-visible,.fd-studio input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.fd-studio button[disabled]{opacity:.55;cursor:not-allowed}
.fd-studio h2{font-family:Rubik,Arial,sans-serif;color:var(--ink);font-weight:800;margin:0 0 10px;font-size:21px;line-height:1.25}
.fd-studio p{margin:0 0 16px;color:var(--body);font-size:14px}
.fd-studio a{text-decoration:none!important}
.fd-top{min-height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 25px}
.fd-top>div{text-align:center;display:flex;flex-direction:column;gap:2px;font-size:15px}
.fd-top small{color:var(--muted);font-size:12px}
.fd-logo{font:800 19px/1 Rubik,Arial,sans-serif;color:var(--ink)}.fd-logo span{color:var(--accent)}.fd-close{display:grid;place-items:center;border-radius:100%;width:44px;height:44px;background:var(--lila);color:var(--ink)!important;font-size:22px}
.fd-grid{display:grid;grid-template-columns:88px 330px minmax(360px,1fr) 310px;min-height:calc(100vh - 66px);height:calc(100vh - 66px);max-height:1100px}
.fd-rail{background:#FCF9FD;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:stretch;padding:14px 7px;gap:7px}
.fd-rail-btn{border:0;background:transparent;color:var(--ink);display:flex;min-height:76px;align-items:center;justify-content:center;flex-direction:column;font-size:12px;font-weight:700;border-radius:14px;gap:3px;padding:7px 2px}
.fd-rail-btn>span{font-size:24px;line-height:1.15}
.fd-rail-btn.is-on{color:#76368C;background:#F3DDF6}
.fd-panel{border-right:1px solid var(--line);overflow:auto;padding:24px 20px 30px}
.fd-panel-body[hidden]{display:none}
.fd-panel label:not(.fd-toggle,.fd-upload){display:flex;justify-content:space-between;gap:10px;font-weight:700;font-size:14px;margin:16px 0 7px}
.fd-panel label small{color:var(--muted);font-weight:500}
.fd-panel input[type="text"]{height:49px;width:100%;border:1px solid #E3D1E8;border-radius:13px;padding:0 14px;font-size:16px}
.fd-filters{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}
.fd-filter{background:white;border:1px solid var(--line);border-radius:99px;min-height:38px;padding:6px 12px;font-size:13px;color:var(--ink)}
.fd-filter.is-on{background:var(--ink);color:white;border-color:var(--ink)}
.fd-toggle{min-height:48px;border-radius:12px;background:var(--lila);display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:10px;font-size:13px;font-weight:700;margin:12px 0 16px}
.fd-toggle input{width:20px;height:20px;accent-color:var(--accent)}
.fd-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 9px}
.fd-template{padding:0;background:transparent;border:0;display:flex;align-items:center;flex-direction:column;gap:5px;color:var(--ink);font-size:12px;font-weight:700;text-align:center}
.fd-template-image{width:100%;aspect-ratio:.7;border:3px solid transparent;border-radius:10px;overflow:hidden;position:relative;background:var(--lila)}
.fd-template.is-on .fd-template-image{border-color:var(--accent)}
.fd-template-image .fd-render-root{transform-origin:top left;pointer-events:none}
.fd-fonts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.fd-font{height:57px;background:white;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:19px;color:var(--ink)}
.fd-font small{font:12px Karla,sans-serif}.fd-font.is-on{border:2px solid var(--accent);background:var(--lila)}
.fd-colors{display:flex;flex-wrap:wrap;gap:10px}.fd-color{width:44px;height:44px;border-radius:50%;border:3px solid white;outline:1px solid #CFC5D3}.fd-color.is-on{outline:3px solid var(--ink)}
.fd-hint{font-size:13px!important;color:var(--muted)!important;line-height:1.6}
.fd-upload{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;border:2px dashed #D8B6DD;border-radius:18px;min-height:150px;background:var(--lila);font-size:27px;color:var(--accent);cursor:pointer}
.fd-upload strong{font-size:16px;color:var(--ink)}.fd-upload span{font-size:12px;color:var(--muted)}
.fd-photo-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.fd-photo-list button{border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;padding:3px;min-height:70px}.fd-photo-list button img{height:80px;width:100%;object-fit:cover}
.fd-panel input[type=range]{width:100%;accent-color:var(--accent)}
.fd-stage{background:var(--lila);min-width:0;display:flex;flex-direction:column;position:relative;background-image:radial-gradient(#DCCADF 1px,transparent 1px);background-size:18px 18px}
.fd-stage-head{min-height:60px;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px}
.fd-history{display:flex;gap:6px}.fd-history button{background:white;border:1px solid var(--line);border-radius:100%;width:44px;height:44px;font-size:25px;color:var(--ink)}
.fd-display{flex:1;min-height:210px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:20px}
.fd-large-preview{width:100%;height:100%;display:flex;align-items:center;justify-content:center;position:relative}
.fd-product-view{width:min(95%,370px);aspect-ratio:730/1045;position:relative;filter:drop-shadow(0 15px 19px rgba(53,39,61,.17))}
.fd-product-view.is-pillow{width:min(98%,520px);aspect-ratio:1028/729}
.fd-product-view .fd-render-root{width:100%!important;height:100%!important}
.fd-faces{min-height:105px;display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid var(--line);padding:10px 12px;background:rgba(255,255,255,.9)}
.fd-face{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:700;border:1px solid transparent;background:transparent;border-radius:12px;padding:7px 10px;min-width:100px}
.fd-face .fd-face-icon{width:45px;height:51px;border-radius:6px;background:linear-gradient(120deg,#E0C4E6,#F7F0F8);border:1px solid var(--line)}
.fd-face[data-face="voor"] .fd-face-icon,.fd-face[data-face="achter"] .fd-face-icon{width:65px;height:43px}
.fd-face.is-on{border-color:var(--accent);color:var(--ink);background:white}
.fd-pillow-options{display:flex;gap:8px;justify-content:center;background:white;padding:7px 10px;border-top:1px solid var(--line)}.fd-pillow-options[hidden]{display:none}.fd-pillow-options button{min-height:42px;padding:6px 14px;border-radius:99px;border:1px solid var(--line);background:white}.fd-pillow-options button.is-on{background:var(--ink);color:white}
.fd-summary{padding:24px 20px;overflow:auto;border-left:1px solid var(--line)}.fd-summary .fd-set{font-size:13px;margin-bottom:10px}
.fd-price{font:800 27px/1.25 Rubik,sans-serif;color:var(--ink)}.fd-spec{color:var(--muted);font-size:13px;margin:8px 0 23px}
.fd-check{border-radius:16px;background:var(--lila);padding:15px;margin:14px 0}.fd-check strong{display:block;font:700 14px Rubik;margin-bottom:8px}.fd-check-row{font-size:13px;margin:6px 0;display:flex;gap:8px;align-items:start}.fd-check-row i{font-style:normal;color:#3F7A3A}.fd-check-row.warn i{color:#B45309}
.fd-primary,.fd-secondary{display:flex;justify-content:center;align-items:center;border-radius:99px;border:0;min-height:50px;width:100%;padding:10px 20px;font-size:15px;font-weight:700;text-align:center}.fd-primary{background:var(--accent);color:white!important}.fd-primary:hover{background:#9A00B4}.fd-secondary{border:1px solid var(--ink);background:white;color:var(--ink);margin-top:9px}
.fd-usps{display:flex;flex-direction:column;gap:12px;margin:21px 0;color:var(--ink);font-size:14px}.fd-usps span::first-letter{color:#3F7A3A}.fd-kiyoh{color:var(--muted)!important;font-size:13px}.fd-beta{font-size:12px!important;margin-top:15px!important}.fd-info{font-size:13px;line-height:1.5;padding-top:10px}.fd-info.error{color:#9f1e44}
.fd-mobile-cart{display:none}.fd-modal[hidden]{display:none}.fd-modal{position:fixed;z-index:9999;inset:0;background:rgba(25,17,34,.62);display:flex;align-items:center;justify-content:center;padding:20px}.fd-modal-card{background:white;border-radius:22px;padding:28px;max-width:430px;width:100%;box-shadow:0 22px 80px #0003}.fd-modal-card>div{display:flex;gap:10px}.fd-modal-card .fd-secondary{margin:0}.fd-modal-card .fd-primary,.fd-modal-card .fd-secondary{flex:1}
.fd-render-root{position:relative;overflow:hidden;container-type:size;isolation:isolate}.fd-render-root img{max-width:unset}
.fd-render-root.mk-d{mask-image:var(--fd-mask-d);-webkit-mask-image:var(--fd-mask-d);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.fd-render-root.mk-p{mask-image:var(--fd-mask-p);-webkit-mask-image:var(--fd-mask-p);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.fd-render-root .fd-photo-slot,.fd-render-root .fd-collage-cell{cursor:pointer;touch-action:none}.fd-render-root .fd-photo-slot.is-active,.fd-render-root .fd-collage-cell.is-active{outline:1cqw dashed #C000E0;outline-offset:-1cqw}
.fd-render-root .fd-photo-img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;max-width:none}.fd-render-root .fd-photo-inner{position:absolute;inset:0;overflow:hidden}
@media(max-width:1180px) and (min-width:900px){.fd-grid{grid-template-columns:70px 250px minmax(250px,1fr) 265px}.fd-panel{padding:18px 13px}.fd-summary{padding:22px 14px}.fd-templates{grid-template-columns:repeat(2,1fr)}}
@media(max-width:899px){
 .fd-studio{margin:0!important;width:100%!important;max-width:none!important;padding-bottom:84px}
 .fd-top{padding:7px 13px;min-height:56px}.fd-top>div{font-size:13px}.fd-top small{font-size:11px}.fd-logo{font-size:12px;width:65px;line-height:1.1}
 .fd-grid{display:flex;flex-direction:column;min-height:0;height:auto;max-height:none}
 .fd-rail{order:3;flex-direction:row;justify-content:center;align-items:stretch;padding:5px 10px;border-right:0;border-top:1px solid var(--line);background:white;gap:4px}
 .fd-rail-btn{flex:1;min-height:58px;flex-direction:row;font-size:13px;gap:8px}.fd-rail-btn>span{font-size:20px}
 .fd-panel{order:4;border:0;padding:22px 19px 40px;overflow:visible;min-height:280px}
 .fd-panel h2{font-size:20px}.fd-templates{display:flex;overflow-x:auto;gap:11px;padding:4px 3px 15px;scroll-snap-type:x mandatory}.fd-template{flex:0 0 92px;scroll-snap-align:start}
 .fd-stage{order:2;min-height:380px}.fd-stage-head{min-height:47px;padding:3px 16px}.fd-display{height:320px;min-height:320px;max-height:320px;padding:10px 10px 8px}
 .fd-product-view{width:min(60%,210px)}.fd-product-view.is-pillow{width:min(80%,320px)}
 .fd-faces{min-height:76px;padding:5px}.fd-face{min-width:85px;padding:5px;font-size:11px;gap:3px}.fd-face .fd-face-icon{width:28px;height:32px}.fd-face[data-face="voor"] .fd-face-icon,.fd-face[data-face="achter"] .fd-face-icon{width:42px;height:28px}
 .fd-summary{order:5;padding:20px;overflow:visible;border-left:0;border-top:1px solid var(--line)}.fd-summary #fd-buy{display:none}.fd-price{font-size:22px}.fd-check{margin-top:12px}
 .fd-mobile-cart{position:fixed;z-index:2000;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -6px 20px #0001}.fd-mobile-cart>div{display:flex;flex-direction:column;gap:3px}.fd-mobile-cart small{font-size:11px;color:var(--muted)}.fd-mobile-cart .fd-primary{width:auto;min-width:165px}
}

@media(max-width:899px){.fd-studio .fd-logo{display:none}.fd-studio .fd-top{position:relative;justify-content:center;padding:6px 56px}.fd-studio .fd-top>div{margin:auto;max-width:260px}.fd-studio .fd-close{position:absolute;right:12px;top:6px}}

.fd-studio .fd-kiyoh-box{width:162px;height:132px;overflow:hidden;margin:8px 0 5px;border:1px solid var(--line);border-radius:12px}.fd-studio .fd-kiyoh-box iframe{display:block;border:0!important;width:300px;height:250px;transform:scale(.53);transform-origin:top left}

/* v1.1: independent editor viewport; respect device safe areas */
body.fd-studio-app-page,html:has(body.fd-studio-app-page){margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:hidden!important}
.fd-studio{height:100dvh;min-height:0;overflow:hidden;margin:0!important;width:100%!important;max-width:100%!important}
.fd-studio button{min-width:0!important;text-transform:none;letter-spacing:normal;box-shadow:none}
.fd-studio .fd-fonts{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;gap:7px}
.fd-studio .fd-font{min-width:0;width:100%;overflow:hidden;word-break:normal;white-space:nowrap;padding:3px;color:var(--ink)!important}
.fd-studio .fd-font.is-on{color:#35273D!important;background:#F7F0F8!important;border:2px solid #C000E0!important}
.fd-studio .fd-font span,.fd-studio .fd-font small{color:inherit!important;max-width:100%;text-overflow:ellipsis;overflow:hidden}
.fd-studio .fd-color,.fd-studio .fd-history button{min-width:44px!important;max-width:44px!important;width:44px!important;min-height:44px!important;max-height:44px!important;height:44px!important;flex:0 0 44px;border-radius:50%!important;aspect-ratio:1/1;padding:0!important;display:grid!important;place-items:center}
.fd-studio .fd-grid{min-height:0;max-height:none;height:calc(100dvh - 66px)}
.fd-studio .fd-top{height:66px;min-height:66px;flex:0 0 66px}
.fd-studio .fd-panel,.fd-studio .fd-summary{min-height:0;overscroll-behavior:contain}
.fd-studio .fd-display{position:relative;flex-direction:column;gap:6px;min-height:0}
.fd-studio .fd-face-icon{display:block;overflow:hidden;position:relative;background:transparent}
.fd-studio .fd-face-icon>.fd-render-root{width:100%!important;height:100%!important;pointer-events:none}
.fd-studio .fd-pillow-options{display:flex;flex:0 0 auto;gap:6px;align-items:center;justify-content:center;background:transparent!important;padding:4px 6px 0!important;border:0!important;z-index:5;width:100%}
.fd-studio .fd-pillow-options[hidden]{display:none!important}
.fd-studio .fd-pillow-options button{background:#fff!important;color:#35273D!important;min-height:38px;border:1px solid #D1B7D9!important;padding:6px 13px;border-radius:99px}
.fd-studio .fd-pillow-options button.is-on{background:#35273D!important;color:#fff!important;border-color:#35273D!important}
.fd-studio .fd-photo-empty{background:rgba(255,255,255,.18);outline:1px dashed rgba(85,55,98,.55);outline-offset:-2px}
.fd-studio .fd-photo-empty .fd-photo-inner svg{opacity:.42}
.fd-studio .fd-photo-call{position:absolute;left:50%;bottom:8%;transform:translateX(-50%);z-index:8;white-space:nowrap;border-radius:999px;background:rgba(255,255,255,.93);padding:4px 8px;color:#35273D;font:700 clamp(8px,2cqw,13px) Karla,Arial,sans-serif;box-shadow:0 3px 8px #0001;pointer-events:none}
.fd-studio .fd-render-root .fd-photo-slot,.fd-studio .fd-render-root .fd-collage-cell{touch-action:none}
.fd-studio .fd-add-photo-on-stage{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);padding:8px 14px;border-radius:99px!important;background:#fff;color:#35273D!important;font-weight:700;z-index:9;box-shadow:0 4px 14px #0002}
.fd-studio .fd-stage.is-editing-name .fd-design-name{outline:2px dashed #C000E0;outline-offset:4px;pointer-events:none}
.fd-studio .fd-stage.is-editing-name .fd-design-name:before,.fd-studio .fd-stage.is-editing-name .fd-design-name:after{content:'';position:absolute;width:10px;height:10px;background:#fff;border:2px solid #C000E0;border-radius:2px;top:-7px}
.fd-studio .fd-stage.is-editing-name .fd-design-name:before{left:-7px}
.fd-studio .fd-stage.is-editing-name .fd-design-name:after{right:-7px}
.fd-studio .fd-face{min-width:0!important;flex:0 1 110px}
.fd-studio .fd-product-view{max-height:100%;}
@media (max-width:899px){
 .fd-studio{height:100dvh;padding:0!important;display:flex;flex-direction:column;overflow:hidden}
 .fd-studio .fd-top{height:52px;min-height:52px;flex:0 0 52px}
 .fd-studio .fd-grid{height:auto;max-height:none;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}
 .fd-studio .fd-stage{order:1;flex:0 0 clamp(260px,41dvh,365px);height:clamp(260px,41dvh,365px);min-height:0!important;overflow:hidden}
 .fd-studio .fd-stage-head{height:40px;min-height:40px;flex:0 0 40px;padding:0 13px}
 .fd-studio .fd-display{flex:1 1 auto;min-height:0!important;max-height:none!important;height:auto!important;padding:3px 8px 8px;overflow:hidden}
 .fd-studio .fd-large-preview{min-height:0;flex:1 1 auto;max-height:100%;overflow:visible}
 .fd-studio .fd-product-view{width:auto!important;height:100%;max-width:72%;max-height:100%;aspect-ratio:730/1045;}
 .fd-studio .fd-product-view.is-pillow{width:min(88%,360px)!important;height:auto;max-height:95%;aspect-ratio:1028/729}
 .fd-studio .fd-faces{height:73px;min-height:73px;flex:0 0 73px;padding:3px 8px;gap:6px}
 .fd-studio .fd-face{max-height:67px;min-height:0;padding:3px 6px;flex:1 1 0;font-size:11px}
 .fd-studio .fd-face-icon{width:29px;height:37px}
 .fd-studio .fd-face[data-face="voor"] .fd-face-icon,.fd-studio .fd-face[data-face="achter"] .fd-face-icon{width:48px;height:35px}
 .fd-studio .fd-rail{order:2;min-height:55px;height:55px;flex:0 0 55px;overflow:hidden;padding:2px 8px}
 .fd-studio .fd-rail-btn{min-height:48px;height:48px}
 .fd-studio .fd-panel{order:3;flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:13px 20px 32px}
 .fd-studio .fd-panel-body{max-width:100%;min-width:0}
 .fd-studio .fd-summary{display:none}
 .fd-studio .fd-mobile-cart{position:relative;z-index:80;bottom:auto;left:auto;right:auto;flex:0 0 auto;min-height:70px;padding:8px 13px calc(8px + env(safe-area-inset-bottom));display:flex}
 .fd-studio .fd-mobile-cart .fd-primary{width:auto;min-width:145px!important;padding:8px 14px}
 .fd-studio .fd-templates{max-width:100%;overflow-x:auto;overflow-y:hidden}
 .fd-studio .fd-pillow-options{padding:0 5px 0!important}
 .fd-studio .fd-pillow-options button{min-height:34px;padding:3px 12px;font-size:12px}
 .fd-studio .fd-fonts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
}
@media (max-width:899px) and (max-height:690px){.fd-studio .fd-stage{flex-basis:clamp(230px,38dvh,290px);height:clamp(230px,38dvh,290px)}}

.fd-studio .fd-design-name{pointer-events:none}
@media(max-width:899px){
.fd-studio .fd-top-subtitle{display:none}
.fd-studio .fd-top small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-studio .fd-top>div{max-width:calc(100vw - 120px);min-width:0;gap:1px}
.fd-studio .fd-top>div strong{font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* Versie 1.2: alle ontwerpopties uit ronde 3–5 */
.fd-studio .fd-name-positions{display:flex;flex-wrap:wrap;gap:7px}
.fd-studio .fd-name-positions button{background:#fff;color:#35273D;border:1px solid #E3D1E8;border-radius:999px;padding:8px 12px;min-height:40px;font-size:13px;font-weight:700}
.fd-studio .fd-name-positions button.is-on{background:#F3DDF6;border-color:#C000E0}
.fd-studio .fd-name-label{display:flex!important;align-items:center;justify-content:flex-start!important;gap:10px;margin:14px 0!important}
.fd-studio .fd-name-label input{accent-color:#C000E0;width:22px;height:22px}
.fd-studio .fd-palettes,.fd-studio .fd-sticker-colors{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 15px}
.fd-studio .fd-palettes button,.fd-studio .fd-sticker-colors button{height:38px;width:38px;min-width:38px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #CBB8D0;padding:0}
.fd-studio .fd-palettes button.is-on,.fd-studio .fd-sticker-colors button.is-on{box-shadow:0 0 0 3px #C000E0}
.fd-studio .fd-sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:40vh;overflow:auto}
.fd-studio .fd-sticker-tile{border:1px solid #EADCEE;border-radius:12px;padding:5px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:3px;color:#35273D;min-width:0}
.fd-studio .fd-sticker-tile img{width:100%;height:62px;object-fit:contain;max-width:62px}
.fd-studio .fd-sticker-tile small{font-size:10px;text-overflow:ellipsis;overflow:hidden;max-width:100%;white-space:nowrap}
.fd-studio .fd-sticker-tools{padding:12px;background:#F7F0F8;margin:12px 0;border-radius:12px}
.fd-studio .fd-sticker-tools[hidden]{display:none}
.fd-studio .fd-sticker-tools input{width:100%}
.fd-studio .fd-sticker-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.fd-studio .fd-sticker-actions button,.fd-studio .fd-photo-shapes button{background:white;border:1px solid #E3D1E8;border-radius:10px;padding:9px;color:#35273D;font-size:12px}
.fd-studio .fd-photo-shapes{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.fd-studio .fd-photo-tools{border:1px solid #EADCEE;border-radius:13px;padding:12px}
.fd-studio .fd-added-sticker{position:absolute;z-index:5;cursor:grab;touch-action:none;user-select:none;max-width:none!important;object-fit:contain;filter:drop-shadow(0 0.5cqw .8cqw #0002)}
.fd-studio .fd-added-sticker.is-selected{outline:2px dashed #C000E0;outline-offset:3px}
.fd-studio .fd-added-photo-slot{position:absolute;z-index:4;border:2px dashed #8F7C94;background:#F7F0F877;cursor:pointer;touch-action:none}
.fd-studio .fd-added-photo-slot img{position:absolute;width:100%;height:100%;object-fit:cover}
@media(max-width:899px){.fd-studio .fd-sticker-grid{display:flex;overflow-x:auto;max-height:195px;flex-wrap:wrap;align-content:flex-start}.fd-studio .fd-sticker-tile{flex:0 0 80px}.fd-studio .fd-name-positions button{min-height:40px}}

/* Show fabric texture on top of photo/graphics/stickers, never as part of artwork export. */
.fd-studio .fd-render-root.mk-d>img[aria-hidden="true"],.fd-studio .fd-render-root.mk-p>img[aria-hidden="true"]{position:absolute;z-index:70;pointer-events:none}
.fd-studio .fd-render-root.mk-d>.fd-design-name,.fd-studio .fd-render-root.mk-p>.fd-design-name{z-index:60}
.fd-studio .fd-render-root:not(.mk-d):not(.mk-p)>.fd-design-name{z-index:60}
.fd-studio .fd-render-root>.fd-added-sticker{z-index:15}

.fd-studio .fd-word{padding:10px;background:#F7F0F8;border-radius:12px;margin:8px 0 12px}.fd-studio .fd-word>div{display:flex;gap:7px}.fd-studio .fd-word input{flex:1;min-width:0;height:40px;padding:5px 10px;border:1px solid #E3D1E8;border-radius:9px}.fd-studio .fd-word button{border-radius:9px;background:#35273D;color:white;padding:4px 10px;min-height:40px}

/* Round 6 - intuitive direct editing and cross-device saving */
.fd-studio .fd-top{background:#fff;border-bottom:1px solid #EADCEE;padding:0 18px;display:flex;justify-content:space-between;gap:16px;align-items:center}
.fd-studio .fd-logo{display:flex;align-items:center;min-width:70px;max-width:185px;flex-shrink:0}
.fd-studio .fd-logo img{width:auto;height:auto;max-height:36px;max-width:160px;object-fit:contain}
.fd-studio .fd-top-heading{flex:1;min-width:0}
.fd-studio .fd-top-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.fd-studio .fd-top-actions button{color:#35273D;background:#fff;min-width:44px;min-height:44px;border:1px solid #EADCEE;border-radius:999px;padding:7px 12px;font-weight:700;white-space:nowrap}
.fd-studio .fd-top-actions .fd-save-head{background:#C000E0;color:#fff;border-color:#C000E0}
.fd-studio .fd-top-actions .fd-save-head span{display:inline}
.fd-studio .fd-top-actions .fd-close{border:0}
.fd-studio .fd-resume{display:flex;align-items:center;gap:10px;justify-content:center;padding:9px 15px;background:#FFF5FC;border-bottom:1px solid #EADCEE;z-index:100;color:#35273D;font-size:13px}
.fd-studio .fd-resume[hidden]{display:none}
.fd-studio .fd-resume button{min-height:36px;border:1px solid #9A00B4;border-radius:999px;padding:6px 15px;color:#35273D;background:white;font-weight:700}
.fd-studio .fd-resume button:first-of-type{color:#fff;background:#9A00B4}
.fd-studio .fd-text-face{display:flex;border-radius:999px;background:#F7F0F8;padding:3px;gap:3px}
.fd-studio .fd-text-face button{flex:1;min-height:44px;border:0;color:#35273D;background:transparent;border-radius:999px;font-weight:700}
.fd-studio .fd-text-face button.is-on{background:#35273D;color:#fff}
.fd-studio .fd-extra-texts{border-top:1px solid #EADCEE;margin-top:21px;padding-top:15px}
.fd-studio .fd-extra-quick{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.fd-studio .fd-extra-quick button,.fd-studio #fd-extra-list button{border:1px solid #EADCEE;border-radius:999px;background:white;color:#35273D;padding:8px 12px;min-height:40px;font-size:12px}
.fd-studio #fd-extra-list{display:flex;flex-wrap:wrap;gap:7px}
.fd-studio #fd-extra-list button.is-on{background:#F3DDF6;border-color:#C000E0}
.fd-studio #fd-extra-editor{margin-top:9px;padding:13px;border-radius:14px;background:#F7F0F8}
.fd-studio #fd-extra-editor[hidden]{display:none}
.fd-studio #fd-extra-editor input{width:100%}
.fd-studio .fd-custom-tools{padding:15px;border:1px solid #EADCEE;background:#F7F0F8;border-radius:16px;margin-bottom:18px}
.fd-studio .fd-custom-tools[hidden]{display:none}
.fd-studio .fd-custom-swatches{display:flex;gap:7px;flex-wrap:wrap}
.fd-studio .fd-custom-swatches button{width:36px;height:36px;min-width:36px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccc;padding:0}
.fd-studio .fd-custom-swatches button.is-on{box-shadow:0 0 0 3px #C000E0}
.fd-studio .fd-custom-tools select,.fd-studio .fd-custom-tools input[type=color]{min-height:44px;width:100%;border:1px solid #E3D1E8;border-radius:10px}
.fd-studio .fd-extra-on-canvas{cursor:move;touch-action:none;font-weight:700;line-height:1.2;user-select:none}
.fd-studio .fd-direct-item{touch-action:none;user-select:none}
.fd-studio .fd-direct-item.is-selected{outline:2px dashed #C000E0;outline-offset:4px}
.fd-studio .fd-handle{position:absolute;width:20px;height:20px;display:grid;place-items:center;border:2px solid #C000E0;border-radius:50%;background:white;color:#C000E0;font:700 10px Karla,sans-serif;z-index:81;pointer-events:auto;touch-action:none}
.fd-studio .fd-handle-nw{top:-12px;left:-12px}.fd-studio .fd-handle-ne{top:-12px;right:-12px}.fd-studio .fd-handle-sw{bottom:-12px;left:-12px}.fd-studio .fd-handle-se{bottom:-12px;right:-12px}.fd-studio .fd-handle-rotate{top:-42px;left:calc(50% - 10px)}
.fd-studio .fd-handle-rotate:before{content:'';position:absolute;border-left:1px solid #C000E0;height:18px;top:20px;left:8px}
.fd-studio .fd-selection-tools{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:5px;align-items:center;max-width:calc(100% - 10px);overflow-x:auto;background:#fff;padding:7px;z-index:72;border-radius:14px;box-shadow:0 4px 18px #35273D22}
.fd-studio .fd-selection-tools[hidden]{display:none}
.fd-studio .fd-selection-tools button{min-height:40px;white-space:nowrap;padding:5px 9px;border-radius:9px;background:#F7F0F8;border:1px solid #EADCEE;color:#35273D;font-size:12px}
.fd-studio .fd-added-photo-slot.fd-polaroid{border:0!important;border-radius:2px!important;outline:none!important;padding:6% 6% 24%;background:white;box-shadow:0 1.2cqw 3cqw #281E2838}
.fd-studio .fd-polaroid>.fd-photo-inner{inset:6% 6% 24%!important;position:absolute!important}
.fd-studio .fd-polaroid-caption{position:absolute;bottom:3%;left:2%;right:2%;text-align:center;color:#35273D;font:italic 5cqw 'Instrument Serif',serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.fd-studio .fd-with-tape:before{content:'';position:absolute;top:-3%;left:35%;width:35%;height:9%;background:#e6cc99aa;transform:rotate(-5deg);z-index:3;pointer-events:none}
.fd-studio .fd-photo-shapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fd-studio .fd-photo-shapes button{min-height:78px;display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}
.fd-studio .fd-photo-shapes button>span{font-size:25px;line-height:1.4;color:#76368C}
.fd-studio .fd-photo-shapes button small{font-size:11px}
.fd-studio .fd-modal-close{position:absolute;right:12px;top:10px;min-width:44px;min-height:44px;border:0;background:#F7F0F8;color:#35273D;border-radius:99px}
.fd-studio #fd-save-dialog .fd-modal-card{position:relative;display:flex;flex-direction:column;gap:10px;max-width:480px}
.fd-studio #fd-save-dialog input[type=email]{height:48px;border:1px solid #EADCEE;border-radius:12px;padding:9px 12px}
.fd-studio #fd-save-dialog .fd-privacy-choice{display:flex;gap:8px;font-size:13px;align-items:center;line-height:1.4}
.fd-studio #fd-save-dialog .fd-privacy-choice input{accent-color:#C000E0;width:19px;height:19px}
.fd-studio .fd-dialog-actions{display:flex;gap:8px;flex-wrap:wrap}
.fd-studio .fd-dialog-actions button{min-height:44px}
@media(max-width:899px){
 .fd-studio .fd-top{padding:0 8px;gap:6px;flex:0 0 56px!important;min-height:56px!important;height:56px!important}
 .fd-studio .fd-top-heading{display:none}
 .fd-studio .fd-logo img{max-width:110px;max-height:32px}
 .fd-studio .fd-top-actions{gap:3px}
 .fd-studio .fd-top-actions button{padding:5px 7px;min-width:40px;min-height:40px}
 .fd-studio .fd-top-actions #fd-undo,.fd-studio .fd-top-actions #fd-redo{display:none}
 .fd-studio .fd-top-actions .fd-save-head span{display:none}
 .fd-studio .fd-stage-head{justify-content:center}
 .fd-studio .fd-selection-tools{bottom:0;max-width:100%;width:100%;border-radius:9px 9px 0 0}
 .fd-studio .fd-handle{width:20px;height:20px}
 .fd-studio .fd-resume{font-size:12px;flex-wrap:wrap}
}

.fd-studio .fd-added-sticker{display:block;min-height:6px;max-width:95%;height:auto;touch-action:none;cursor:grab}
.fd-studio .fd-added-sticker img{display:block;width:100%;height:auto;pointer-events:none}
.fd-studio .fd-self-tile .fd-template-image{border:2px dashed #A681B0;background:#F7F0F8}
.fd-studio .fd-self-tile .fd-template-image:after{content:'+';position:absolute;top:25%;left:50%;transform:translateX(-50%);color:#C000E0;font-size:26px;font-weight:700}
@media(max-width:899px){.fd-studio .fd-top-actions #fd-undo,.fd-studio .fd-top-actions #fd-redo{display:grid;place-items:center;min-width:36px;min-height:36px;padding:0}.fd-studio .fd-logo img{max-width:95px}.fd-studio .fd-top-actions .fd-save-head{min-width:37px;min-height:37px}}

.fd-studio #fd-pillow-same-wrap[hidden],.fd-studio #fd-custom-pillow-wrap[hidden]{display:none!important}

/* v1.4: Fotovakken - één uploadknop, daarna vorm kiezen zonder verlies van foto. */
.fd-studio .fd-upload-primary{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:#C000E0!important;color:#fff!important;min-height:58px!important;padding:10px 12px!important;border:0!important;border-radius:999px!important;text-align:center;cursor:pointer;}
.fd-studio .fd-upload-primary strong{font:700 16px/1.2 Karla,Arial,sans-serif;color:#fff!important}
.fd-studio .fd-upload-primary span{font-size:11px;color:#fff;opacity:.91}
.fd-studio .fd-photo-shape-tip{font-size:13px;margin:9px 0;color:#655A6B;line-height:1.45}
.fd-studio .fd-photo-shapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 16px}
.fd-studio .fd-photo-shapes .fd-shape-tile{display:flex;min-width:0!important;min-height:110px;align-items:center;flex-direction:column;justify-content:center;gap:7px;padding:8px 4px;background:#fff!important;border:1.5px solid #EADCEE!important;border-radius:14px;color:#35273D!important}
.fd-studio .fd-photo-shapes .fd-shape-tile.is-on{border:2px solid #C000E0!important;background:#FDF7FE!important;box-shadow:0 0 0 2px #F3DDF6}
.fd-studio .fd-photo-shapes .fd-shape-tile:disabled{opacity:.67;cursor:default}
.fd-studio .fd-photo-shapes .fd-shape-tile small{display:block;color:#35273D;font-size:12px;line-height:1.2;font-weight:700}
.fd-studio .fd-shape-scene{width:64px;height:61px;display:block;position:relative;isolation:isolate;overflow:hidden;background:#fff;flex:0 0 auto;box-shadow:0 2px 7px #35273D20}
.fd-studio .fd-shape-scene .fd-shape-sky{position:absolute;inset:0;background:linear-gradient(150deg,#A3D2EC 10%,#C1DBE5 42%,#F4C49B 82%)}
.fd-studio .fd-shape-scene .fd-shape-sun{position:absolute;right:12%;top:16%;width:15px;height:15px;border-radius:50%;background:#FFEEAD}
.fd-studio .fd-shape-scene .fd-shape-hills{position:absolute;bottom:0;left:-6%;width:60%;height:49%;border-radius:60% 75% 0 0;background:#97A9BD;transform:rotate(9deg)}
.fd-studio .fd-shape-scene-rond{border-radius:50%;width:61px}
.fd-studio .fd-shape-scene-vierkant{border-radius:7px}
.fd-studio .fd-shape-scene-boog{border-radius:50% 50% 7px 7px / 30% 30% 7px 7px}
.fd-studio .fd-shape-scene-hart{clip-path:polygon(50% 95%,28% 76%,10% 57%,3% 40%,5% 24%,17% 10%,33% 7%,50% 23%,67% 7%,83% 10%,95% 24%,97% 40%,90% 57%,72% 76%)}
.fd-studio .fd-shape-scene-polaroid{width:67px;height:70px;background:white;padding:5px 5px 19px;overflow:visible;transform:rotate(-4deg)}
.fd-studio .fd-shape-scene-polaroid .fd-shape-sky{inset:5px 5px 19px}
.fd-studio .fd-shape-scene-polaroid .fd-shape-sun{right:19%;top:22%}
.fd-studio .fd-shape-scene-polaroid .fd-shape-hills{bottom:19px;left:5px}
.fd-studio .fd-shape-scene-caption{position:absolute;bottom:3px;left:0;right:0;text-align:center;font:italic 10px 'Instrument Serif',serif;color:#35273D}
.fd-studio .fd-shape-deco-tape{position:absolute;top:-4px;left:28%;width:38%;height:11px;transform:rotate(-4deg);background:#DEA6BD99;z-index:4}
.fd-studio .fd-added-photo-slot{border:0!important;background:transparent!important;overflow:visible!important;box-shadow:none;}
.fd-studio .fd-added-photo-slot>.fd-photo-inner{overflow:hidden!important;background:#fff7;inset:0;border-radius:5px;box-shadow:0 1.2cqw 3cqw rgba(40,30,40,.22)}
.fd-studio .fd-added-photo-slot.fd-photo-shape-vierkant>.fd-photo-inner,.fd-studio .fd-added-photo-slot.fd-photo-shape-tape>.fd-photo-inner{border-radius:4%}
.fd-studio .fd-added-photo-slot.fd-photo-shape-rond>.fd-photo-inner{border-radius:50%}
.fd-studio .fd-added-photo-slot.fd-photo-shape-boog>.fd-photo-inner{border-radius:50% 50% 3% 3% / 27% 27% 3% 3%}
.fd-studio .fd-added-photo-slot.fd-photo-shape-hart>.fd-photo-inner{border-radius:0;clip-path:polygon(50% 96%,25% 75%,9% 55%,2% 36%,8% 19%,21% 8%,34% 9%,50% 24%,66% 9%,79% 8%,92% 19%,98% 36%,91% 55%,75% 75%)}
.fd-studio .fd-added-photo-slot.fd-photo-shape-hart>.fd-photo-inner>.fd-photo-img{width:100%!important;height:100%!important;object-fit:cover}
.fd-studio .fd-added-photo-slot.fd-polaroid{background:#fff!important;box-shadow:0 1.2cqw 3cqw rgba(40,30,40,.25)!important;}
.fd-studio .fd-polaroid>.fd-photo-inner{box-shadow:none}
.fd-studio .fd-added-photo-slot.fd-with-tape:before{content:'';position:absolute;top:-4%;left:32%;width:39%;height:12%;background:#E3C6D8CC;transform:rotate(-7deg);z-index:7;pointer-events:none}
.fd-studio .fd-added-photo-slot.is-selected{outline:2px dashed #C000E0!important;outline-offset:4px!important;border-radius:6px}
.fd-studio .fd-added-photo-slot .fd-photo-call{left:50%;top:50%;bottom:auto;max-width:85%;white-space:normal;line-height:1.2;text-align:center;transform:translate(-50%,-50%)}
.fd-studio #fd-photo-slot-edit{border-top:1px solid #EADCEE;padding-top:12px;margin-top:9px}
.fd-studio #fd-photo-slot-edit[hidden]{display:none}
@media(max-width:899px){.fd-studio .fd-photo-shapes .fd-shape-tile{min-height:100px}.fd-studio .fd-shape-scene{transform:scale(.92)}.fd-studio .fd-shape-scene-polaroid{transform:rotate(-4deg) scale(.92)}}

/* Bèta 1.5: duidelijke tekstselectie, fotobewerking en bewaarmelding */
.fd-studio #fd-main-name-settings[hidden]{display:none!important}
.fd-studio .fd-extra-editor-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.fd-studio .fd-extra-editor-head strong{font-size:15px}
.fd-studio #fd-extra-font{width:100%;min-height:45px;border:1px solid #EADCEE;border-radius:10px;background:white;color:#35273D}
.fd-studio .fd-delete-item,.fd-studio .fd-selection-tools button:last-child{color:#B42333!important;border-color:#F5B8BF!important}
.fd-studio .fd-crop-controls[hidden],.fd-studio .fd-save-success[hidden]{display:none!important}
.fd-studio .fd-crop-controls{position:absolute;z-index:65;left:50%;bottom:10px;transform:translateX(-50%);width:min(380px,95%);background:white;box-shadow:0 12px 35px #35273D35;border:1px solid #EADCEE;border-radius:16px;padding:13px;display:flex;flex-direction:column;gap:7px}
.fd-studio .fd-crop-controls strong{font-size:15px}.fd-studio .fd-crop-controls span{font-size:12px;color:#655A6B}.fd-studio .fd-crop-controls input{accent-color:#C000E0;width:100%}.fd-studio .fd-crop-controls label{font-size:13px;font-weight:700}
.fd-studio .fd-save-success{text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;padding:12px 0 0}
.fd-studio .fd-save-success-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#EBF7E9;color:#377737;font-size:32px;font-weight:800}
.fd-studio .fd-email-sent>label,.fd-studio .fd-email-sent>input,.fd-studio .fd-email-sent>#fd-save-email-send,.fd-studio .fd-email-sent>#fd-save-copy,.fd-studio .fd-email-sent>#fd-save-account,.fd-studio .fd-email-sent>#fd-save-account-hint{display:none!important}
.fd-studio .fd-spinner{display:inline-block;width:17px;height:17px;border:2px solid #fff8;border-top-color:white;border-radius:50%;animation:fd-spin .8s linear infinite;vertical-align:middle;margin-right:7px}@keyframes fd-spin{to{transform:rotate(360deg)}}
.fd-studio .fd-upload-card .fd-dialog-actions{display:flex;gap:10px;flex-wrap:wrap}.fd-studio .fd-upload-card .fd-dialog-actions button{min-height:48px}
.fd-studio #fd-photo-flow-help{font-size:12px;margin-top:6px}

.fd-studio .fd-display{position:relative}
.fd-studio .fd-email-sent #fd-save-title,.fd-studio .fd-email-sent #fd-save-title+p{display:none!important}
.fd-studio .fd-added-photo-slot.fd-photo-shape-hart>.fd-photo-inner{clip-path:none!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M50%2094%20C42%2086%205%2061%205%2034%20C5%2010%2030%204%2043%2017%20C47%2021%2049%2024%2050%2027%20C51%2024%2053%2021%2057%2017%20C70%204%2095%2010%2095%2034%20C95%2061%2058%2086%2050%2094%20Z%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M50%2094%20C42%2086%205%2061%205%2034%20C5%2010%2030%204%2043%2017%20C47%2021%2049%2024%2050%2027%20C51%2024%2053%2021%2057%2017%20C70%204%2095%2010%2095%2034%20C95%2061%2058%2086%2050%2094%20Z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

/* UX development: one viewport, no orphaned toolbar controls. */
.fd-studio{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden;padding:0!important}
.fd-studio .fd-top{flex:0 0 auto!important;height:auto!important;min-height:64px!important;padding:8px 16px;gap:12px;z-index:101;flex-wrap:nowrap}
.fd-studio .fd-top>.fd-top-actions{flex-direction:row!important;align-items:center;justify-content:flex-end;flex:0 0 auto;max-width:none!important;margin:0 0 0 auto!important;gap:7px!important;white-space:nowrap}
.fd-studio .fd-top-actions>*{flex-shrink:0}
.fd-studio .fd-top-actions .fd-close{position:static!important;width:44px;height:44px;min-width:44px;display:grid;place-items:center;margin:0!important}
.fd-studio .fd-top-heading{max-width:none!important;overflow:hidden}
.fd-studio .fd-resume{flex:0 0 auto;padding:6px 12px;gap:8px;flex-wrap:wrap}
.fd-studio .fd-grid{flex:1 1 0;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden;grid-template-columns:76px minmax(210px,290px) minmax(0,1fr) minmax(220px,280px)}
.fd-studio .fd-panel,.fd-studio .fd-summary,.fd-studio .fd-rail{min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.fd-studio .fd-stage{min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.fd-studio .fd-stage-head{flex:0 0 auto;min-height:37px;padding:7px 12px}
.fd-studio .fd-display{flex:1 1 0;min-height:0!important;max-height:none!important;height:auto!important;overflow:hidden;padding:8px;gap:4px}
.fd-studio .fd-large-preview{flex:1 1 0;min-height:0;min-width:0;width:100%;height:auto;container-type:size;overflow:visible}
.fd-studio .fd-product-view{width:min(90cqw,86cqh * 0.69856,520px)!important;height:auto!important;max-width:none!important;max-height:none!important;aspect-ratio:730/1045;flex:0 0 auto}
.fd-studio .fd-product-view.is-pillow{width:min(90cqw,86cqh * 1.41015,580px)!important;height:auto!important;max-height:none!important;aspect-ratio:1028/729}
.fd-studio .fd-faces{flex:0 0 auto;min-height:0;padding:7px;gap:7px}
.fd-studio .fd-face{min-width:0;flex:0 1 110px;max-width:33.33%;padding:4px 7px;white-space:normal}
.fd-studio .fd-usps span{display:flex;align-items:center;gap:9px}.fd-studio .fd-usps i,.fd-studio .fd-check-row i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#E7F3E6;color:#39763E;font-style:normal;flex:0 0 20px;font-size:13px;font-weight:700}.fd-studio .fd-check-row.warn i{background:#FFF1DC;color:#995409}
.fd-studio .fd-layer-face{font-size:12px;color:var(--muted);margin:0 0 10px}.fd-studio .fd-layers{display:grid;gap:7px}.fd-studio .fd-layer-row{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);border-radius:10px;background:white;padding:8px;width:100%;color:var(--ink);min-height:56px}.fd-studio .fd-layer-row.is-on{border-color:var(--accent);background:#F7EDF9}.fd-studio .fd-layer-thumb{display:grid;place-items:center;background:#F7F0F8;border-radius:7px;width:38px;height:38px;flex:0 0 38px;font-size:20px;overflow:hidden}.fd-studio .fd-layer-thumb img{width:100%;height:100%;object-fit:contain}.fd-studio .fd-layer-text{flex:1;min-width:0;display:grid}.fd-studio .fd-layer-text strong,.fd-studio .fd-layer-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-studio .fd-layer-text small{font-size:11px;color:var(--muted)}
.fd-studio .fd-rainbow{font-size:23px;font-weight:700;color:#35273D}.fd-studio .fd-color-reset{border:1px solid var(--line);border-radius:18px;background:white;color:var(--ink);padding:6px 10px}.fd-studio .fd-color-reset[aria-pressed=true]{border-color:var(--accent)}.fd-studio #fd-more-colors[hidden]{display:none}.fd-studio #fd-main-custom-color{width:100%;height:42px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}
@media(max-width:1100px) and (min-width:900px){.fd-studio .fd-grid{grid-template-columns:66px minmax(190px,240px) minmax(0,1fr) minmax(185px,230px)}.fd-studio .fd-panel,.fd-studio .fd-summary{padding:12px}.fd-studio .fd-top-heading strong{font-size:14px}}
@media(max-width:899px){.fd-studio .fd-top{min-height:52px!important;padding:5px 8px;gap:6px;justify-content:space-between}.fd-studio .fd-logo{display:flex;min-width:50px;max-width:84px}.fd-studio .fd-logo img{max-width:80px;max-height:30px}.fd-studio .fd-top>.fd-top-actions{gap:4px!important}.fd-studio .fd-top-actions button,.fd-studio .fd-top-actions .fd-close{width:36px;min-width:36px!important;height:36px;min-height:36px;padding:0}.fd-studio .fd-top-actions .fd-save-head span{display:none}.fd-studio .fd-stage{flex:0 0 clamp(178px,42%,350px);height:auto;min-height:0!important}.fd-studio .fd-stage-head{min-height:26px;height:26px;flex:0 0 26px;padding:2px}.fd-studio .fd-faces{height:auto;min-height:0;flex:0 0 auto;padding:4px}.fd-studio .fd-face{min-width:0;max-height:none;flex:1 1 0;font-size:10px}.fd-studio .fd-rail{flex:0 0 56px;height:56px;min-height:56px;overflow:visible;padding:2px 4px;gap:2px;scrollbar-gutter:auto}.fd-studio .fd-rail-btn{flex:1 1 0;min-width:0;flex-direction:column;font-size:10px;gap:0;line-height:1.2}.fd-studio .fd-rail-btn>span{font-size:21px}.fd-studio .fd-panel{flex:1 1 0;min-height:0;overflow-y:auto;padding:12px 15px 18px}.fd-studio .fd-mobile-cart{flex:0 0 auto;min-height:57px;padding:6px 10px calc(6px + env(safe-area-inset-bottom))}.fd-studio .fd-resume{font-size:11px;gap:5px;padding:5px}.fd-studio .fd-resume button{min-height:32px;padding:4px 10px}.fd-studio .fd-resume span{flex:0 0 100%;text-align:center}.fd-studio .fd-modal-card{max-height:90dvh;overflow:auto}}
@media(max-width:899px) and (max-height:550px){.fd-studio .fd-stage{flex-basis:37%;min-height:100px!important}.fd-studio .fd-stage-head{display:none}.fd-studio .fd-faces .fd-face-icon{display:none}.fd-studio .fd-rail{min-height:44px;height:44px;flex-basis:44px}.fd-studio .fd-rail-btn{min-height:40px;height:40px}}

/* Compact history icons */
.fd-studio .fd-top-actions .fd-history-actions{display:flex;flex:none;align-items:center;gap:2px;padding:2px 6px 2px 0;border-right:1px solid #EADCEE;margin-right:3px}
.fd-studio .fd-top-actions .fd-history-actions button{display:grid;place-items:center;min-width:38px!important;width:38px;min-height:38px;height:38px;padding:0;border:0;border-radius:8px;background:transparent;color:#35273D;box-shadow:none;line-height:1}
.fd-studio .fd-history-actions button:not(:disabled):hover{background:#F3EAF5;color:#78398C}.fd-studio .fd-history-actions button:disabled{opacity:.32;cursor:default}.fd-studio .fd-history-actions svg{display:block;flex:none;pointer-events:none}.fd-studio .fd-top-actions :focus-visible{outline:2px solid #78398C;outline-offset:2px}
@media(max-width:899px){.fd-studio .fd-top-actions .fd-history-actions{gap:0;padding-right:3px;margin-right:0}.fd-studio .fd-top-actions .fd-history-actions button{width:38px;min-height:38px!important;height:38px}}
.fd-studio .fd-resume[hidden],.fd-studio .fd-panel-body[hidden]{display:none!important}

/* Reset is separate from undo/redo. Keep all controls reachable on small screens. */
.fd-studio .fd-top-actions .fd-restart-head{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#35273D;box-shadow:none;white-space:nowrap;font-size:13px;font-weight:600}
.fd-studio .fd-restart-head:hover:not(:disabled){background:#F3EAF5;color:#78398C}.fd-studio .fd-restart-head:disabled{opacity:.32;cursor:default}.fd-studio .fd-restart-head svg{flex:none}
@media(max-width:1100px){.fd-studio .fd-top-actions .fd-restart-head span{display:none}.fd-studio .fd-top-actions .fd-restart-head{width:38px;min-width:38px!important;padding:0}}
@media(max-width:360px){.fd-studio .fd-top{gap:3px!important;padding:4px!important}.fd-studio .fd-top>.fd-top-actions{gap:2px!important}.fd-studio .fd-top-actions .fd-history-actions{padding-right:1px}.fd-studio .fd-top-actions .fd-history-actions button,.fd-studio .fd-top-actions .fd-restart-head{width:34px;min-width:34px!important}.fd-studio .fd-logo{max-width:64px}.fd-studio .fd-logo img{max-width:64px}}
.fd-studio #fd-restart-dialog[hidden]{display:none!important}.fd-studio #fd-restart-dialog .fd-modal-card{max-height:calc(100dvh - 32px);overflow:auto}.fd-studio #fd-restart-dialog .fd-dialog-actions{margin-top:16px}

/* Final mobile layout: feedback and purchase remain visible above the safe area. */
.fd-studio .fd-mobile-info{display:none}
@media(max-width:899px){
 .fd-studio{height:var(--fd-viewport-height,100dvh)}
 .fd-studio .fd-mobile-info:not([hidden]){display:block;flex:0 0 auto;background:#fff;padding:7px 12px;font-size:12px;line-height:1.35;max-height:64px;overflow:auto;border-top:1px solid var(--line)}
 .fd-studio .fd-mobile-info.error{color:#9f1e44;background:#fff3f5}
 .fd-studio .fd-mobile-cart .fd-primary{min-height:44px}
 .fd-studio .fd-top-heading{flex:1 1 0;min-width:0;margin:0!important}
 .fd-studio .fd-top-heading strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .fd-studio .fd-top-heading small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .fd-studio input[type=text],.fd-studio input[type=email],.fd-studio input[type=number],.fd-studio select{font-size:16px!important}
 .fd-studio .fd-panel{scroll-padding-bottom:24px}
}
@media(max-width:899px) and (max-height:550px){.fd-studio .fd-stage{flex-basis:32%}}
@media(max-width:420px){.fd-studio .fd-top-heading strong{font-size:11px}.fd-studio .fd-top-heading small{font-size:10px}.fd-studio .fd-top-actions button,.fd-studio .fd-top-actions .fd-close{min-height:40px;height:40px}}

/* 2.0.1: calm text workflow and compact tool panels */
.fd-studio [hidden]{display:none!important}
.fd-studio .fd-name-choice{display:grid;gap:8px;margin:0 0 18px;padding:12px;background:#F7F0F8;border-radius:12px}
.fd-studio .fd-name-choice>div,.fd-studio .fd-text-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
.fd-studio .fd-name-choice [data-name-enabled],.fd-studio #fd-select-name{border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);padding:10px 6px;min-height:42px;font-weight:700}
.fd-studio .fd-name-choice .is-on,.fd-studio #fd-select-name.is-on{border-color:var(--accent);background:#F0DDF4}
.fd-studio .fd-text-switch{margin-bottom:10px}.fd-studio #fd-extra-list{margin:0 0 14px}.fd-studio #fd-extra-editor{padding-top:10px;border-top:1px solid var(--line)}
.fd-studio .fd-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;justify-items:center}
.fd-studio .fd-colors .fd-color{width:100%!important;min-width:0!important;max-width:48px!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1;flex:none;margin:0}
.fd-studio .fd-color-reset{grid-column:1/-1;justify-self:start}.fd-studio .fd-layer-line{display:flex;gap:4px;align-items:stretch;min-width:0}.fd-studio .fd-layer-line .fd-layer-row{flex:1;min-width:0;width:auto}.fd-studio .fd-layer-order{min-width:32px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-size:19px}
.fd-studio .fd-modal-card{position:relative;max-height:calc(100dvh - 32px);overflow:auto;padding-top:48px}.fd-studio .fd-modal-close{display:grid;place-items:center;font-size:24px;line-height:1}
.fd-studio #fd-color-dialog .fd-modal-card{display:grid;gap:12px}.fd-studio #fd-color-dialog #fd-expanded-colors{grid-template-columns:repeat(5,minmax(0,1fr))}.fd-studio #fd-color-dialog input[type=color]{width:100%;height:52px}
.fd-studio .fd-canvas-actions{position:absolute;top:-36px;right:5px;display:flex;gap:4px;z-index:85;pointer-events:auto}.fd-studio .fd-canvas-actions button{display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:#fff;color:#35273D;width:30px;height:28px;font:700 17px Karla,sans-serif;min-width:0;min-height:0;padding:0}.fd-studio .fd-extra-on-canvas .fd-canvas-actions{right:0}
.fd-studio .fd-buy-arrow{flex:none;vertical-align:middle;margin-left:5px}.fd-studio #fd-buy,.fd-studio #fd-buy-mobile{display:flex;align-items:center;justify-content:center;gap:5px}
.fd-studio .fd-spinner{width:44px;height:44px;border:4px solid #F0DDF4;border-top-color:#C000E0;border-radius:50%;margin:0 auto 14px;animation:fdSpin .8s linear infinite}@keyframes fdSpin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.fd-studio .fd-spinner{animation:none}}
/* 2.0.2 — compact canvas controls, native color picker, tidy layers. */
.fd-studio #fd-main-custom-color{position:fixed!important;opacity:0!important;pointer-events:none!important;z-index:10001;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important}
.fd-studio .fd-handle:not(.fd-handle-rotate){width:17px;height:17px;border-width:2px;box-shadow:none}
.fd-studio .fd-handle-rotate{top:-45px;left:calc(50% - 12px);width:24px;height:24px;font-size:15px}
.fd-studio .fd-handle-rotate:before{height:19px;left:10px;top:23px}
.fd-studio .fd-canvas-actions{top:-79px;right:auto!important;left:50%;transform:translateX(-50%);gap:6px;white-space:nowrap}
.fd-studio .fd-canvas-actions button{width:32px;height:30px;border-radius:7px;box-shadow:0 2px 8px #35273d15}
.fd-studio .fd-canvas-actions .fd-delete-item{color:#c72b3d!important}
.fd-studio .fd-layer-line{gap:2px;padding:4px;border:1px solid #ebdfee;border-radius:10px;background:#fff;align-items:center}
.fd-studio .fd-layer-row{border:0!important;border-radius:7px;min-height:48px;padding:5px;gap:7px;background:transparent}
.fd-studio .fd-layer-row.is-on{background:#f3e3f6!important;outline:1px solid #c000e0}
.fd-studio .fd-layer-thumb{width:32px;height:32px;flex:0 0 32px;font-size:17px}
.fd-studio .fd-layer-grip{font-size:18px;color:#94869b;cursor:grab;flex:none}
.fd-studio .fd-layer-step{display:flex;flex-direction:column;gap:2px}
.fd-studio .fd-layer-step button{display:grid;place-items:center;width:25px;height:23px;min-height:0;min-width:0;padding:0;border:0;background:#f7f0f8;border-radius:5px;color:#655a6b;font-size:15px}
.fd-studio .fd-layer-step button:disabled{opacity:.24}
.fd-studio .fd-layer-line.is-drop{border-color:#c000e0;box-shadow:0 -2px 0 #c000e0}
.fd-studio .fd-layer-line.is-dragging{opacity:.5}.fd-studio .fd-layer-line.is-fixed{opacity:.8}
.fd-studio .fd-layer-line.is-fixed .fd-layer-row{cursor:default}
.fd-studio .fd-crop-ghost{position:absolute;z-index:90;touch-action:none;cursor:grab;overflow:visible;isolation:isolate;pointer-events:auto}
.fd-studio .fd-crop-ghost img{position:absolute!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%);opacity:.55;pointer-events:none;object-fit:fill!important}
.fd-studio .fd-crop-frame{position:absolute;inset:0;border:2px solid #b36ac8;box-shadow:0 0 0 1px white;pointer-events:none}
.fd-studio .fd-crop-controls{z-index:95;bottom:3px;max-width:340px;padding:9px 12px;gap:4px}
.fd-studio .fd-crop-controls .fd-primary{min-height:35px;padding:5px}.fd-studio .fd-crop-controls .fd-hint{margin:0}
.fd-studio .fd-crop-controls input{margin:0;min-height:24px}
.fd-studio .fd-buy-arrow{width:20px!important;height:20px!important}
.fd-studio .fd-modal-close{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;color:#c72b3d!important;background:#fff3f4!important}
.fd-studio .fd-proof-sandbox{contain:none!important;overflow:hidden!important;box-shadow:none!important;border:0!important;background:transparent!important}
.fd-studio .fd-proof-sandbox .fd-render-root{border-radius:0!important;max-width:none!important;max-height:none!important;mask:none!important;-webkit-mask:none!important}
.fd-studio .fd-order-stage-label{font-size:13px;color:var(--muted)}
@media(max-width:899px){.fd-studio .fd-canvas-actions{top:-72px}.fd-studio .fd-canvas-actions button{width:30px;height:27px}.fd-studio .fd-crop-controls{width:min(93%,320px)}.fd-studio .fd-crop-controls span{font-size:11px}}
