/* Inline Studio shares the page scroll; only the model itself stays in an iframe. */
.cp-configure-section{padding:52px 0;background:#f3f6f2;scroll-margin-top:120px;border-block:1px solid #dce4df}
.cp-studio-app{display:block;max-width:1600px;margin:auto;isolation:isolate;font:14px/1.55 Arial,sans-serif;color:#233b39;background:#fafbf8;border:1px solid #dce4df;border-radius:16px;padding-bottom:8px;overflow:visible}
.cp-studio-app .brandbar{padding:20px;gap:16px}.cp-studio-app .brand{font-size:22px}.cp-studio-app .brand small{display:none}
.cp-studio-app .workspace{padding:0 20px 24px}.cp-studio-app .visual{top:124px}
.cp-studio-app .configuration{max-height:none;overflow:visible}
.cp-studio-app .preview-layout .canvas{height:clamp(300px,calc(100dvh - 420px),700px)}
.cp-studio-app h1,.cp-studio-app h2,.cp-studio-app h3{font-family:Arial,sans-serif}
.cp-studio-app .stages{scroll-margin-top:120px}
.cp-studio-app #panel{scroll-margin-top:132px}
.cp-studio-app dialog{font:14px/1.55 Arial,sans-serif}
body:has(.cp-studio-app dialog[open]:not(.studio-welcome)),body:has(.cp-gallery-dialog[open]){overflow:hidden}
.cp-studio-app{position:relative}
.cp-studio-app .studio-welcome-overlay{position:absolute;inset:0;z-index:20;border-radius:inherit;background:rgba(239,243,240,.8);backdrop-filter:grayscale(.65) blur(1.5px)}
.cp-studio-app .studio-welcome-overlay[hidden]{display:none}
.cp-studio-app .studio-welcome-position{position:sticky;top:124px;display:flex;align-items:center;justify-content:center;height:min(680px,calc(100dvh - 148px));padding:20px}
.cp-studio-app dialog.studio-welcome{position:static;inset:auto;margin:0;width:min(480px,100%);max-height:calc(100dvh - 188px);overflow:auto;flex-shrink:1}
@media(max-width:780px){.cp-studio-app .studio-welcome-position{top:114px;padding:16px;height:calc(100dvh - 138px)}.cp-studio-app dialog.studio-welcome{max-height:calc(100dvh - 170px)}}
@media(max-width:780px){.cp-studio-app{border-radius:0;border-inline:0}.cp-studio-app .brandbar{padding:16px;flex-wrap:wrap}.cp-studio-app .workspace{padding-inline:12px}.cp-studio-app .visual{position:relative;top:auto}.cp-studio-app .preview-layout .canvas{height:360px}.cp-configure-section>.cp-wrap{padding-inline:20px}}
@media(min-width:1000px){.cp-configure-section{padding:72px 24px}.cp-configure-section>.cp-wrap{max-width:1600px;padding-inline:0}}

/* Page-integrated Studio: one workspace, with framing reserved for selectable options. */
.cabin-product .cp-configure-section{background:var(--td-color-soft,#fafafa);padding:48px 0;border-block:1px solid #dce4df}
.cabin-product .cp-studio-app{max-width:var(--td-container,1500px);padding:0 var(--td-gutter,16px);margin-inline:auto;border:0;border-radius:0;background:transparent;box-shadow:none;font-family:var(--td-font-ui);--wash:#f2f5f3;--soft:#eaf3ef}
.cp-studio-app :is(h1,h2,h3,dialog){font-family:var(--td-font-ui)}
.cp-studio-app .brandbar{padding:0 0 28px;align-items:flex-start;gap:24px;flex-wrap:wrap}
.cp-studio-app .studio-heading{max-width:730px}
.cp-studio-app .studio-heading .studio-kicker{font-size:11px;font-weight:750;letter-spacing:.12em;color:var(--teal);margin:0 0 12px}
.cp-studio-app .studio-heading h2{font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-.045em;margin:0 0 14px}
.cp-studio-app .studio-heading>p:last-child{font-size:15px;line-height:1.7;color:var(--muted);max-width:72ch;margin:0}
.cp-studio-app .header-actions{margin:0;flex-shrink:0;gap:8px}
.cp-studio-app .workspace{max-width:none;padding:0;gap:32px}
.cp-studio-app .configuration{border:0;border-radius:0;background:transparent;box-shadow:none}
.cp-studio-app #panel{padding:0 0 24px}
.cp-studio-app .panel-footer{padding:20px 0 0;border-radius:0;background:var(--td-color-soft,#fafafa);border-top:1px solid var(--line)}
.cp-studio-app .panel-footer .nextrow{padding-bottom:16px}
.cp-studio-app .stages{max-width:none;padding:0;margin:0 0 32px;gap:0;border-bottom:1px solid #cbd8d2}
.cp-studio-app .stages button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:16px 12px;color:var(--muted);white-space:normal}
.cp-studio-app .stages button:hover{background:#edf3ef;color:var(--ink)}
.cp-studio-app .stages button[aria-current=step]{background:transparent;border-bottom-color:var(--teal);color:var(--teal);font-weight:800}
.cp-studio-app .stages button[aria-current=step] .stepnum{background:var(--teal);border-color:var(--teal);color:white}
.cp-studio-app .camera-presets{padding:0;border:0;border-radius:0;background:transparent}
.cp-studio-app .canvas{border:0;border-radius:var(--td-radius-sm,6px)}
.cp-studio-app :is(.card,.plainoption,.smallnote,.extrasintro,.camera-menu,.detailphoto,.comparison .photo){border-radius:var(--td-radius-sm,6px)}
.cp-studio-app :is(.quiet,.primary,.linkbutton,.addbtn,.settings select,.toolbar input,.camera-controls button,.camera-presets .camera-menu button){border-radius:var(--td-radius-sm,6px)}
.cp-studio-app :is(.substeps button,.chips button){border-radius:var(--td-radius-sm,6px)}
.cp-studio-app .card{box-shadow:none}
.cp-studio-app .camera-controls button{box-shadow:0 2px 6px #142e2612}
@media(min-width:1024px){
 .cabin-product .cp-configure-section{padding-block:64px}
 .cp-studio-app .brandbar{flex-wrap:nowrap;align-items:center;padding-bottom:32px}
 .cp-studio-app .studio-heading{max-width:660px}
 .cp-studio-app .workspace{gap:clamp(28px,3vw,48px)}
 .cp-studio-app .visual{top:124px}
}
@media(max-width:780px){
 .cp-studio-app .workspace{display:block}
 .cp-studio-app .header-actions{justify-content:flex-start}
 .cp-studio-app .stages{margin-bottom:24px}
 .cp-studio-app .panel-footer{padding-top:16px}
 .cp-studio-app .studio-heading>p:last-child{font-size:14px}
}

/* Keep compact Studio labels legible alongside the larger landing typography. */
.cp-studio-app .camera-presets .camera-menu button{font-size:12px;line-height:1.35}
.cp-studio-app .card p{font-size:12px;line-height:1.55}
.cp-studio-app .card h3{font-size:15px}
.cp-studio-app .card .price{font-size:14px}
.cp-studio-app .view-title h2 small{font-size:13px}
.cp-studio-app .price-note{font-size:12px;line-height:1.55}
.cp-studio-app .cost span{font-size:13px}
.cp-studio-app .cost small{font-size:11px}
.cp-studio-app .camera-hint{font-size:12px;line-height:1.4}
