.studio{--ink:#30263d;--purple:#72518b;--muted:#6d6478;--line:#e7dfeb;color:var(--ink);padding-bottom:64px}.studio .eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--purple)}.gallery-refresh{padding-top:26px}.gallery-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px;padding:46px 48px;background:radial-gradient(ellipse at 95% 5%,#e1eef5,transparent 62%),linear-gradient(125deg,#eee4f7,#fceef1);border:1px solid #ede3ef;border-radius:26px;overflow:hidden}.gallery-hero h1{font-size:clamp(38px,5.2vw,70px);line-height:1.03;letter-spacing:-2.5px;font-weight:650;margin:18px 0}.gallery-hero h1 em{font-family:Georgia,serif;color:#865687;font-weight:400}.gallery-hero p{font-size:16px;line-height:1.7;max-width:450px;color:var(--muted)}.studio .btn:not(.light){background:#493557;color:white;border-radius:10px;font-weight:600}.studio .btn:not(.light):hover{background:#69447c}.gallery-trust{font-size:12px;color:var(--muted);margin-top:22px}.hero-collage{height:305px;position:relative}.hero-collage img{position:absolute;object-fit:cover;box-shadow:0 16px 30px #41314b26;border:6px solid white;border-radius:13px;width:53%;height:65%}.hero-collage img:nth-child(1){top:0;left:4%;transform:rotate(-8deg)}.hero-collage img:nth-child(2){top:15%;right:1%;transform:rotate(9deg)}.hero-collage img:nth-child(3){bottom:0;left:23%;transform:rotate(-3deg);height:55%}.gallery-heading{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:18px;margin-top:44px}.gallery-heading h2,.gallery-process h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.8px;margin:8px 0 0;font-weight:650}.gallery-filters{display:flex;gap:6px;flex-wrap:wrap}.gallery-filters button{cursor:pointer;border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:30px;font:inherit;font-size:12px;color:var(--muted)}.gallery-filters button[aria-pressed=true]{background:#493557;color:white;border-color:#493557}.gallery-refresh .designer-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:24px 0 42px}.gallery-refresh .designer-tile{display:block;padding:0;background:#fff;overflow:hidden;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 18px #49355708;transition:transform .2s,box-shadow .2s}.gallery-refresh .designer-tile[hidden]{display:none}.gallery-refresh .designer-tile:hover{transform:translateY(-4px);box-shadow:0 12px 26px #49355719}.gallery-art{aspect-ratio:1.58;background:var(--tile-tint);overflow:hidden;padding:12px}.gallery-art img{width:100%;height:100%;object-fit:contain;display:block;border-radius:9px}.gallery-copy{padding:20px}.gallery-copy small{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.15px;color:var(--purple)}.gallery-copy h2{font-size:21px;margin:9px 0 5px;letter-spacing:-.4px}.gallery-copy p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.gallery-copy span{display:flex;align-items:center;justify-content:space-between;color:var(--purple);font-weight:650;border-top:1px solid var(--line);padding-top:14px;margin-top:17px}.gallery-copy b{font-size:19px}.gallery-process{padding:30px;background:#f7f2f9;border-radius:20px}.gallery-process>div{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:22px}.gallery-process article b{font-size:24px;color:var(--purple)}.gallery-process h3{margin:8px 0;font-size:16px}.gallery-process p{font-size:13px;color:var(--muted);line-height:1.5}.editor-refresh .editor-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 30px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(115deg,#faf5fc,var(--tile-tint))}.editor-hero h1{font-size:clamp(25px,3.5vw,38px);letter-spacing:-1px;font-weight:650;margin:8px 0}.editor-hero p{margin:8px 0;line-height:1.55}.editor-hero>img{width:155px;height:110px;object-fit:contain;border-radius:10px;filter:drop-shadow(0 7px 9px #40334b20)}.editor-steps{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.editor-steps span{background:#ffffffa8;border:1px solid #fff;padding:6px 10px;border-radius:20px;font-size:11px;color:#644a77}.editor-refresh .designer-switch{padding:11px 16px;background:#f8f5fa;border:1px solid var(--line);border-radius:12px;margin:18px 0}.editor-refresh .designer-switch label{margin:0;font-size:12px}.editor-refresh .designer-switch select{padding:9px 12px}.editor-refresh .designer-switch a{margin-left:auto;font-size:13px}.editor-refresh .studio-panel{background:white;border-color:var(--line);border-radius:18px;box-shadow:0 7px 25px #4935570b;padding:22px}.editor-refresh .studio-panel h2{font-size:19px;font-weight:650;letter-spacing:-.3px}.editor-refresh .studio-bar{border-bottom:1px solid var(--line);padding-bottom:13px}.editor-refresh .studio-bar h2:before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;background:#498267;margin-right:9px}.editor-refresh canvas:not([hidden]){box-shadow:0 8px 22px #33274012}.editor-refresh .studio-panel label{font-size:13px;color:#51455c}.editor-refresh .studio-panel select,.editor-refresh .studio-panel input[type=text],.editor-refresh .studio-panel input[type=file]{border:1px solid #ded5e6;background:#fcfbfd;border-radius:9px;min-height:42px}.editor-refresh input[type=file]::file-selector-button{background:#eee5f4;color:#5b4173;padding:9px 12px;border:0;border-radius:6px;font-weight:600;cursor:pointer;margin-right:9px}.editor-refresh .btn.light{border-color:#ded5e6;border-radius:9px;color:#5b4173}.editor-refresh .btn.light:hover{background:#f5eef9}.editor-refresh .studio-summary{background:linear-gradient(145deg,#f7f0fa,#f3f6fa);border:1px solid var(--line);border-radius:14px}.studio :focus-visible{outline:2px solid #865687;outline-offset:3px}.studio [hidden]{display:none!important}@media(min-width:761px){.editor-refresh .studio-grid{gap:22px}.editor-refresh .studio-grid>.studio-panel:first-child:not(:has(#preview)){position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}}@media(max-width:760px){.gallery-hero{grid-template-columns:1fr;padding:27px;gap:15px}.hero-collage{height:210px}.gallery-refresh .designer-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-copy{padding:13px}.gallery-copy h2{font-size:17px}.gallery-process>div{grid-template-columns:1fr;gap:10px}.editor-refresh .editor-hero{padding:18px}.editor-hero>img{display:none}.editor-refresh .studio-panel{padding:15px}.editor-refresh .designer-switch a{margin-left:0}}@media(max-width:380px){.gallery-refresh .designer-gallery{grid-template-columns:1fr}}

/* Expanded editor workspace: preserve artwork aspect ratio and export dimensions. */
.wrap.studio.editor-refresh,.wrap.studio.gallery-refresh{width:100%;max-width:1680px;padding-inline:clamp(16px,2.4vw,40px)}
.editor-refresh .studio-grid>.studio-panel{min-width:0}
.editor-refresh .studio-grid>.studio-panel:first-child canvas:not([hidden]){display:block;width:auto;height:auto;max-width:100%;max-height:68vh;margin-inline:auto;object-fit:contain}
.editor-refresh .studio-grid>.studio-panel:first-child #preview:not([hidden]),.editor-refresh .studio-grid>.studio-panel:first-child #card:not([hidden]),.editor-refresh .tri-preview .tri-spread canvas:not([hidden]){width:auto;height:auto;max-width:100%;max-height:68vh; margin-inline:auto}
.editor-refresh .studio-grid .bc-pair canvas:not([hidden]){width:100%;height:auto;max-height:none}
@media(min-width:901px){
 .editor-refresh .studio-grid,.editor-refresh .studio-grid.tri-workspace{grid-template-columns:minmax(0,1.85fr) minmax(340px,1fr);gap:24px}
 .editor-refresh .studio-grid>.studio-panel:first-child{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;padding:clamp(14px,1.4vw,24px)}
 .editor-refresh .studio-grid>.studio-panel:first-child #outsidePreview:not([hidden]),.editor-refresh .studio-grid>.studio-panel:first-child #insidePreview:not([hidden]){width:100%;height:auto;max-height:none}
}
@media(max-width:900px){
 .editor-refresh .studio-grid,.editor-refresh .studio-grid.tri-workspace{grid-template-columns:minmax(0,1fr);gap:16px}
 .editor-refresh .studio-grid>.studio-panel:first-child{position:static;max-height:none;overflow:visible}
 .editor-refresh .studio-grid>.studio-panel:first-child canvas:not([hidden]){max-height:65vh}
}

/* Editor control spacing: prevent adjacent input and action borders touching. */
.editor-refresh .studio-panel .studio-actions{gap:12px;align-items:center;flex-wrap:wrap}
.editor-refresh .studio-panel :is(input:not([type=checkbox]),select,.ink-select-wrap,textarea,canvas)+.studio-actions{margin-top:12px}
.editor-refresh .studio-panel .studio-actions+.studio-actions{margin-top:16px}
.editor-refresh .studio-panel .studio-actions:has(>div){align-items:start}
.editor-refresh .studio-panel .studio-actions>div>label:first-child{margin-top:0}
.editor-refresh .studio-panel .studio-actions>button{min-height:44px;white-space:normal}
.editor-refresh .studio-panel .studio-actions>div{min-width:0}
.editor-refresh .studio-panel input[type=color]{height:54px;box-sizing:border-box;padding:5px}
.editor-refresh .studio-panel :is(input:not([type=checkbox]),.ink-select-wrap,select)+button.btn{margin-top:12px}
@media(max-width:480px){.editor-refresh .studio-panel .studio-actions{gap:10px}.editor-refresh .studio-panel .studio-actions>button{min-width:110px}}
