.pd-studio-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.pd-studio-panel{background:#fff;border:1px solid #e7e1d7;border-radius:16px;overflow:hidden}.pd-studio-panel button{font:inherit;cursor:pointer}.pd-studio-panel>button{width:100%;display:flex;justify-content:space-between;padding:20px;border:0;background:#fff;color:#142f43;font-weight:700}#studio-material-drawer{padding:0 20px 20px}#studio-material-drawer[hidden]{display:none}.pd-studio-zone{border:0;padding:15px 0;margin:0;border-bottom:1px solid #e7e1d7}.pd-studio-zone legend{font-size:18px;font-weight:600}.pd-studio-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pd-studio-choice{border:1px solid #ded8cf;border-radius:10px;background:#fff;padding:10px;color:#173447;text-align:left;min-height:65px}.pd-studio-choice[aria-pressed=true]{border:2px solid #ac864d;padding:9px;background:#faf7ef}.pd-studio-choice:focus-visible,#studio-share:focus-visible{outline:3px solid #ac864d;outline-offset:3px}.pd-studio-choice img{width:64px;height:64px;object-fit:contain;display:block;margin:0 auto 8px}.pd-studio-choice small{display:block;color:#6e7b85;font-size:11px}.pd-studio-choice:disabled{opacity:.4;cursor:default}#studio-live-status{font-size:13px;color:#677988;line-height:1.5}#studio-share{border:0;border-radius:24px;padding:13px 18px;background:#14364b;color:white;width:100%}@media(max-width:800px){.pd-studio-workspace{display:flex;flex-direction:column;gap:12px}.pd-studio-workspace>.pd-studio-embed,.pd-studio-panel{width:100%}.pd-studio-panel{border-radius:20px}.pd-studio-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

#studio-live-stage{position:relative;min-width:0;background:#f5f4ef;border-radius:18px;overflow:hidden;min-height:450px}.studio-render-host{width:100%}.pd-live-canvas{width:100%;height:clamp(360px,60svh,680px)!important;touch-action:none}.studio-zone-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.studio-zone-tab{padding:10px;border:1px solid #ddd;border-radius:10px;background:white;color:#193b4e;text-align:left}.studio-zone-tab[aria-pressed=true]{border:2px solid #ac864d}.studio-zone-tab span,.studio-zone-tab small{display:block}.studio-zone-tab small{font-size:11px;color:#6e7b85}.pd-studio-options{max-height:320px;overflow:auto;margin:12px 0}.pd-studio-panel h2{font-size:20px}.pd-studio-panel select,.pd-studio-panel input[type=search]{width:100%;padding:10px;border:1px solid #dcd7cf;border-radius:8px;font:inherit;margin:8px 0}.studio-custom{display:flex;align-items:center;gap:8px;margin:12px 0}.studio-custom[hidden]{display:none}.pd-studio-options button{font-size:14px}.pd-studio-workspace .pd-calibration-expanded{inset:12px!important;display:block!important;overflow:auto}.pd-studio-workspace .pd-calibration-expanded .pd-live-canvas{height:85vh!important}#studio-selection-notice{font-size:14px;color:#8d6c35}@media(max-width:800px){.pd-studio-workspace{gap:8px}#studio-live-stage{min-height:320px}.pd-live-canvas{height:clamp(240px,75vw,420px)!important;min-height:240px!important}.pd-studio-panel{position:sticky;bottom:8px;z-index:5;box-shadow:0 8px 35px #17344720}#studio-material-drawer{max-height:42svh;overflow:auto}.pd-studio-options{max-height:26svh}.pd-studio-choice img{width:58px;height:58px}.studio-zone-tab{padding:7px}.pd-studio-workspace .pd-calibration-expanded{inset:0!important}}

#studio-stage-message{position:absolute;top:65px;left:16px;right:16px;text-align:center;z-index:1;background:#faf9f5e8;border-radius:8px;padding:12px;color:#173447;pointer-events:none}#studio-stage-message[hidden]{display:none}@media(max-width:800px){.pd-studio-workspace .pd-studio-panel{position:fixed;left:12px;right:12px;bottom:8px;width:auto}.pd-simple-page{padding-bottom:120px}}

.pd-studio-page .pd-simple-page{padding-top:30px}.pd-studio-page .pd-simple-heading{margin-bottom:20px}.pd-studio-page .pd-simple-heading h1{font-size:clamp(36px,4.2vw,56px);margin:12px 0}.pd-studio-page .pd-simple-heading p{margin:8px 0}@media(max-width:800px){.pd-studio-page .pd-simple-page{padding-top:24px}}

#studio-live-stage{scroll-margin-top:96px}@media(max-width:800px){#studio-material-toggle[aria-expanded=true] span{transform:rotate(180deg)}}

/* Reserve separate space for the kitchen and the open phone finish drawer. */
@media(max-width:800px){
 .studio-drawer-open .pd-simple-page{padding-bottom:calc(32svh + 180px)}
 .studio-drawer-open #studio-material-drawer{max-height:32svh;box-sizing:border-box}
 .studio-drawer-open #studio-live-stage{height:calc(68svh - var(--pd-header-height) - 100px);max-height:calc(min(420px,75vw) + 100px);min-height:0;display:flex;flex-direction:column;scroll-margin-top:0}
 .studio-drawer-open .studio-render-host:not(.pd-calibration-expanded){display:flex;flex-direction:column;flex:1;min-height:0}
 .studio-drawer-open .pd-live-canvas{height:0!important;min-height:0!important;flex:1}
}

.pd-studio-workspace .studio-render-host.pd-calibration-expanded{display:flex!important;flex-direction:column;background:#f5f4ef;overflow:hidden!important}
.pd-studio-workspace .studio-render-host.pd-calibration-expanded .pd-live-canvas{height:0!important;min-height:0!important;flex:1}
