.pdv{--pdv-ink:#263b33;--pdv-muted:#505e55;--pdv-line:#dfe5dd;--pdv-green:#304e3c;max-width:1500px;margin:24px auto;background:#fafbf8;color:var(--pdv-ink);font:16px/1.6 Arial,Helvetica,sans-serif;border:1px solid var(--pdv-line);border-radius:18px;overflow:hidden;text-align:left;isolation:isolate}.pdv *{box-sizing:border-box}.pdv [hidden]{display:none!important}.pdv h2,.pdv h3,.pdv p{color:inherit}.pdv button,.pdv select,.pdv input{font-family:inherit}.pdv button,.pdv .pdv-upload,.pdv .pdv-product{appearance:none;box-shadow:none;text-transform:none;letter-spacing:0;font:600 16px/1.5 Arial,Helvetica,sans-serif;min-height:44px;margin:0;border:1px solid var(--pdv-line);border-radius:7px;padding:10px 13px;background:#fff;color:var(--pdv-ink);cursor:pointer;text-decoration:none}.pdv button:hover{background:#edf2e9;border-color:#b3c4ae}.pdv button:disabled{opacity:.45;cursor:wait}.pdv :focus-visible{outline:3px solid #7aa761;outline-offset:3px}.pdv .pdv-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px 32px;background:#fff;border-bottom:1px solid var(--pdv-line)}.pdv .pdv-brand{display:flex;gap:12px;align-items:center}.pdv .pdv-logo{font:italic 600 32px Georgia,serif;color:#fff;background:var(--pdv-green);border-radius:11px;width:49px;height:49px;display:grid;place-items:center;padding-bottom:5px}.pdv .pdv-brand strong{display:block;font-size:14px;letter-spacing:.15em}.pdv .pdv-brand div>span{display:block;font-size:14px;letter-spacing:.24em;color:var(--pdv-muted);margin-top:5px}.pdv .pdv-header-actions{display:flex;gap:10px;align-items:center}.pdv .pdv-upload{position:relative;display:block;overflow:hidden}.pdv .pdv-upload input{opacity:0;position:absolute;inset:0;cursor:pointer;width:100%;height:100%}.pdv .pdv-upload:focus-within{outline:3px solid #7aa761}.pdv .pdv-primary,.pdv .pdv-product{background:var(--pdv-green);color:#fff;border-color:var(--pdv-green)}.pdv .pdv-primary:hover,.pdv .pdv-product:hover{background:#44634c;color:#fff}.pdv .pdv-intro{padding:30px 32px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.pdv .pdv-eyebrow{font-size:14px;letter-spacing:.2em;font-weight:600}.pdv h2{font:700 clamp(30px,3.4vw,44px)/1.2 Arial,Helvetica,sans-serif;letter-spacing:-.015em;margin:12px 0 10px}.pdv .pdv-intro p{font-size:16px;color:var(--pdv-muted);margin:0}.pdv .pdv-badge{border:1px solid #cbd8c3;background:#f0f5e9;padding:10px 13px;border-radius:30px;font-size:14px;letter-spacing:.09em;white-space:nowrap}.pdv .pdv-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;border-top:1px solid var(--pdv-line)}.pdv .pdv-workspace{background:#eef1e9;padding:22px;min-width:0}.pdv .pdv-scene-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.pdv .pdv-scene-bar label{display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap;margin:0}.pdv select{appearance:auto;background:#fff;border:1px solid var(--pdv-line);color:var(--pdv-ink);height:44px;padding:5px 10px;border-radius:6px;font-size:14px;max-width:240px;margin:0}.pdv .pdv-local{font-size:14px;color:#57794c}.pdv .pdv-stage{position:relative;border-radius:10px;overflow:hidden;background:#dfe5d9;line-height:0;box-shadow:0 10px 30px #334c3014}.pdv canvas{display:block;width:100%;height:auto;border:0;touch-action:none}.pdv .pdv-stage-label{position:absolute;left:14px;bottom:14px;pointer-events:none;color:#fff;background:#24392e77;border-radius:4px;padding:8px 10px;font-size:14px;letter-spacing:.15em;line-height:1.3}.pdv .pdv-selection-badge{position:absolute;right:14px;top:14px;max-width:85%;background:#ffffffeb;box-shadow:0 3px 12px #0001;padding:10px 13px;border-radius:24px;font-size:14px;line-height:1.3;pointer-events:none}.pdv .pdv-scan{position:absolute;inset:0;background:#edf2eacb;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;line-height:1.5;text-align:center;padding:25px}.pdv .pdv-scan strong{font-size:14px}.pdv .pdv-scan>span:last-child{font-size:14px;color:var(--pdv-muted)}.pdv .pdv-spinner{width:33px;height:33px;border:2px solid #c3d0bc;border-top-color:var(--pdv-green);border-radius:50%;animation:pdv-spin 1s linear infinite}@keyframes pdv-spin{to{transform:rotate(360deg)}}.pdv .pdv-surface-bar{display:flex;align-items:center;gap:7px;margin-top:16px;flex-wrap:wrap}.pdv .pdv-surface-bar>span{font-size:14px;color:var(--pdv-muted);margin-right:4px}.pdv .pdv-surface-bar button{border-radius:24px;padding:8px 20px;min-height:36px}.pdv [aria-pressed=true]{background:#e7efdf;border-color:#527444;color:#2c442a}.pdv .pdv-surface-bar button[aria-pressed=true]{background:var(--pdv-green);color:#fff;border-color:var(--pdv-green)}.pdv .pdv-undetected{border-style:dashed}.pdv .pdv-mask-toggle{font-size:14px;margin:0 0 0 auto;display:flex;align-items:center;gap:5px}.pdv input[type=checkbox]{accent-color:var(--pdv-green);margin:0;width:15px;height:15px}.pdv .pdv-status{font-size:14px;min-height:36px;margin:16px 0 4px;color:#47623f}.pdv .pdv-compare{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #d6dece;font-size:14px}.pdv input[type=range]{display:block;accent-color:var(--pdv-green);padding:0;width:100%;height:22px;margin:8px 0;cursor:pointer}.pdv .pdv-compare input{flex:1;min-width:50px}.pdv .pdv-compare button{margin-left:8px;font-size:14px;white-space:nowrap;padding:8px 12px;min-height:34px}.pdv .pdv-note{font-size:14px;color:var(--pdv-muted);margin:8px 0 2px;line-height:1.6}.pdv .pdv-controls{border-left:1px solid var(--pdv-line);background:#fff;padding:22px;min-width:0}.pdv .pdv-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.pdv h3{font:700 18px/1.4 Arial,Helvetica,sans-serif;margin:0}.pdv .pdv-catalog-heading>span{font-size:14px;color:var(--pdv-muted)}.pdv .pdv-search{display:block;margin:18px 0 12px}.pdv .pdv-search input{width:100%;height:44px;background:#f8faf5;border:1px solid var(--pdv-line);border-radius:6px;padding:9px 12px;font-size:14px;box-shadow:none;color:var(--pdv-ink)}.pdv .pdv-categories{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:16px}.pdv .pdv-categories button{font-size:14px;border-radius:20px;min-height:28px;padding:5px 9px}.pdv .pdv-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pdv .pdv-material{display:flex;flex-direction:column;text-align:left;gap:7px;padding:6px;overflow:hidden}.pdv .pdv-material img{width:100%;height:86px;object-fit:cover;border-radius:4px}.pdv .pdv-material>span{font-size:14px;font-weight:600;padding:0 2px;line-height:1.4}.pdv .pdv-material>small{font-size:14px;color:var(--pdv-muted);padding:0 2px 3px}.pdv .pdv-material[aria-pressed=true]{box-shadow:0 0 0 1px #6e8b5f;background:#eef4e7}.pdv .pdv-product{display:block;text-align:center;margin:16px 0;font-size:14px}.pdv .pdv-adjust{border-top:1px solid var(--pdv-line);padding-top:16px;margin-top:20px}.pdv summary{font-size:14px;font-weight:600;cursor:pointer;list-style-position:inside}.pdv .pdv-adjust label{display:block;font-size:14px;margin:16px 0 0}.pdv output{float:right;color:var(--pdv-muted);font-size:14px}.pdv .pdv-tools{display:flex;gap:5px;margin-top:12px}.pdv .pdv-tools button{flex:1;font-size:14px;padding:8px 6px;min-height:36px}.pdv .pdv-clear-material{margin-top:18px;width:100%;font-size:14px;border-style:dashed}.pdv .pdv-hint{font-size:14px;line-height:1.65;color:var(--pdv-muted);margin:12px 0}.pdv .pdv-privacy{margin-bottom:0}.pdv .pdv-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 30px;border-top:1px solid var(--pdv-line);font-size:14px;color:var(--pdv-muted)}.pdv .pdv-footer strong{font-size:14px;letter-spacing:.14em;color:var(--pdv-ink)}.pdv .pdv-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1000px){.pdv .pdv-layout{grid-template-columns:minmax(0,1fr) 310px}.pdv .pdv-controls{padding:16px}.pdv .pdv-local{display:none}.pdv .pdv-workspace{padding:16px}.pdv .pdv-material img{height:70px}}@media(max-width:720px){.pdv{margin:12px 0;border-radius:10px}.pdv .pdv-header{padding:15px;gap:10px;flex-wrap:wrap}.pdv .pdv-logo{width:39px;height:44px;font-size:26px}.pdv .pdv-brand strong{font-size:14px}.pdv .pdv-brand div>span{font-size:14px}.pdv .pdv-header-actions{width:100%;gap:8px}.pdv .pdv-header-actions>*{flex:1;text-align:center;font-size:14px}.pdv .pdv-intro{padding:24px 18px;display:block}.pdv .pdv-badge{display:inline-block;margin-top:16px;font-size:14px}.pdv h2{font-size:34px}.pdv .pdv-intro p{font-size:14px}.pdv .pdv-layout{display:block}.pdv .pdv-workspace{padding:12px}.pdv .pdv-scene-bar label{width:100%}.pdv .pdv-scene-bar select{flex:1;max-width:none;min-width:0}.pdv .pdv-controls{border-left:0;border-top:1px solid var(--pdv-line);padding:20px}.pdv .pdv-materials{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv .pdv-material img{height:80px}.pdv .pdv-material>span{font-size:14px}.pdv .pdv-surface-bar>span{display:none}.pdv .pdv-surface-bar button{padding:8px 15px}.pdv .pdv-mask-toggle{font-size:14px}.pdv .pdv-compare{gap:7px}.pdv .pdv-compare button{padding:8px;min-height:32px;margin-left:0}.pdv .pdv-stage-label{font-size:14px;bottom:8px;left:8px}.pdv .pdv-selection-badge{right:8px;top:8px;font-size:14px;padding:8px 10px}.pdv .pdv-status{font-size:14px}.pdv .pdv-footer{padding:18px;align-items:flex-start;flex-direction:column;gap:8px}.pdv .pdv-scan strong{font-size:14px}}@media(prefers-reduced-motion:reduce){.pdv .pdv-spinner{animation:none}}
.pdv .pdv-mode-tabs{display:flex;gap:6px;margin-top:16px}.pdv .pdv-mode-tabs button{flex:1;font-size:14px;padding:8px}.pdv .pdv-object-panel{border-top:1px solid var(--pdv-line);margin-top:16px;padding-top:16px}.pdv .pdv-object-panel>label,.pdv [data-role=object-settings]>label{display:block;font-size:14px;margin:14px 0}.pdv .pdv-object-panel select{display:block;width:100%;max-width:none;margin-top:6px}.pdv .pdv-object-panel .pdv-upload{font-size:14px;text-align:center}.pdv .pdv-object-occlusion{display:flex!important;gap:7px;align-items:center}

/* Readable typography at every viewport; scoped to the visualizer. */
.pdv input,.pdv select,.pdv .pdv-search input{font-size:16px;line-height:1.5}.pdv .pdv-brand div>span,.pdv .pdv-eyebrow,.pdv .pdv-badge,.pdv .pdv-footer strong{letter-spacing:.04em}.pdv .pdv-stage-label{background:#24392ee6;font-size:12px;letter-spacing:.04em}.pdv .pdv-note,.pdv .pdv-hint,.pdv .pdv-status{line-height:1.65}.pdv .pdv-material>span{font-size:16px;overflow-wrap:anywhere}.pdv .pdv-search input::placeholder{color:#58645c;opacity:1}.pdv button,.pdv .pdv-upload{min-height:44px}.pdv .pdv-scan>span:last-child{font-size:14px}.pdv .pdv-header-actions{flex-wrap:wrap}.pdv .pdv-compare{flex-wrap:wrap}.pdv .pdv-compare input{flex-basis:35%;}.pdv .pdv-mask-toggle{flex-wrap:wrap}.pdv .pdv-selection-badge{overflow-wrap:anywhere}.pdv .pdv-brand strong{font-size:16px}.pdv .pdv-intro p{font-size:16px}

/* Guided workspace: one destination selector, optional advanced controls. */
.pdv .pdv-intro{padding:22px 30px;align-items:center;flex-wrap:wrap}.pdv .pdv-intro h2{font-size:28px;margin:0 0 8px}.pdv .pdv-steps{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:0;padding:0;color:#505e55;font-size:14px}.pdv .pdv-steps li{display:flex;gap:7px;align-items:center}.pdv .pdv-steps b{display:grid;place-items:center;width:26px;height:26px;background:#e7efdf;border-radius:50%;color:#304e3c}.pdv .pdv-surface-bar{margin:0 0 8px;gap:8px}.pdv .pdv-surface-bar>span{display:block;font-size:15px;color:#263b33}.pdv .pdv-context{font-size:15px;color:#505e55;line-height:1.5;margin:0 0 14px}.pdv .pdv-adjust summary{display:list-item;list-style:disclosure-closed inside;padding:8px 0}.pdv .pdv-adjust[open]>summary{list-style-type:disclosure-open}.pdv .pdv-adjust summary::marker{color:#304e3c}.pdv .pdv-adjust [data-action=retry]{margin-top:14px;width:100%}.pdv .pdv-catalog-help{margin:12px 0}.pdv .pdv-mobile-jump{display:none}.pdv .pdv-material img{object-fit:contain;background:#f3f5f0}.pdv .pdv-catalog-heading{flex-wrap:wrap}.pdv .pdv-search{margin-top:14px}.pdv .pdv-status{min-height:26px}.pdv .pdv-mask-toggle{margin:12px 0}.pdv .pdv-header-actions .pdv-upload{border-color:#7c9475}.pdv [data-action=before]{min-width:145px}.pdv [data-role=catalog-title]{scroll-margin-top:60px}
@media(max-width:720px){.pdv .pdv-intro{padding:18px}.pdv .pdv-intro h2{font-size:25px}.pdv .pdv-steps{gap:8px;margin-top:12px;font-size:13px}.pdv .pdv-steps b{width:22px;height:22px}.pdv .pdv-surface-bar>span{width:100%;font-size:15px}.pdv .pdv-surface-bar button{flex:1;padding:8px}.pdv .pdv-mobile-jump{display:block;width:100%;margin:12px 0;background:#e7efdf;border-color:#9cad95}.pdv .pdv-context{font-size:14px}.pdv .pdv-header-actions{flex-wrap:wrap}.pdv .pdv-header-actions>*{min-width:130px}.pdv .pdv-stage-label{display:none}}

/* Keep the three steps aligned, including themes that add last-item margins. */
.pdv .pdv-intro .pdv-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;list-style:none;margin:0;padding:0;max-width:100%}
.pdv .pdv-intro .pdv-steps>li{display:flex;align-items:center;gap:7px;float:none;min-width:0;margin:0!important;padding:0!important;line-height:1.5;list-style:none;transform:none}
.pdv .pdv-intro .pdv-steps>li>b{flex:0 0 26px;margin:0;padding:0;line-height:1;align-self:center}
@media(max-width:720px){.pdv .pdv-intro .pdv-steps{width:100%;gap:8px;margin-top:14px}.pdv .pdv-intro .pdv-steps>li{flex-direction:column;text-align:center;gap:6px;font-size:13px}.pdv .pdv-intro .pdv-steps>li>b{flex:0 0 22px;width:22px;height:22px}}

/* Equal catalog cards and aligned content, independent of theme button rules. */
.pdv .pdv-materials{grid-auto-rows:1fr;align-items:stretch}
.pdv .pdv-materials>.pdv-material{display:grid;grid-template-rows:96px minmax(48px,auto) minmax(42px,auto);align-content:start;align-items:start;justify-content:stretch;gap:8px;width:100%;height:100%;min-height:218px;margin:0!important;padding:8px!important;white-space:normal;text-align:left;line-height:1.5;transform:none}
.pdv .pdv-materials>.pdv-material>img{display:block;width:100%;height:96px;min-height:96px;max-height:96px;margin:0!important;padding:0;object-fit:contain;align-self:start}
.pdv .pdv-materials>.pdv-material>span{display:block;width:100%;min-height:48px;margin:0!important;padding:0;font-size:16px;line-height:24px;text-align:left;overflow-wrap:anywhere}
.pdv .pdv-materials>.pdv-material>small{display:block;width:100%;min-height:42px;margin:0!important;padding:0;font-size:14px;line-height:21px;text-align:left;overflow-wrap:anywhere}

/* Stable photo viewport; the actual canvas keeps its aspect ratio and pointer coordinates. */
.pdv .pdv-stage{height:clamp(360px,52vw,560px);display:flex;align-items:center;justify-content:center;background:#e3e8df}
.pdv .pdv-stage>canvas{flex:none;max-width:100%;max-height:100%;margin:0;padding:0}
@media(max-width:720px){.pdv .pdv-stage{height:clamp(260px,70vw,400px)}}

/* Fill the preview frame proportionally, without empty side bands. */
.pdv .pdv-stage{height:clamp(380px,55vw,600px);width:100%;overflow:hidden}
.pdv .pdv-stage>canvas{max-width:none;max-height:none;flex-shrink:0}
@media(max-width:720px){.pdv .pdv-stage{height:clamp(280px,75vw,420px)}}

/* Independent control panel: expanding tools never increases the photo column. */
.pdv .pdv-layout{--pdv-frame-height:clamp(400px,55vw,600px);grid-template-columns:minmax(0,1fr) 370px;align-items:start}
.pdv .pdv-workspace{padding:0;min-width:0}
.pdv .pdv-workspace .pdv-stage{height:var(--pdv-frame-height);border-radius:0;box-shadow:none}
.pdv .pdv-controls{height:var(--pdv-frame-height);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:20px;scroll-padding:16px}
.pdv .pdv-controls .pdv-header-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:20px}
.pdv .pdv-controls .pdv-header-actions>*{width:100%;text-align:center}
.pdv .pdv-controls .pdv-scene-bar{display:block;margin-bottom:18px}
.pdv .pdv-controls .pdv-scene-bar label{display:flex;flex-wrap:wrap;white-space:normal;font-size:15px}
.pdv .pdv-controls .pdv-scene-bar select{width:100%;max-width:none}
.pdv .pdv-controls .pdv-local{display:block;margin-top:8px;font-size:13px}
.pdv .pdv-controls .pdv-surface-bar>span{width:100%}
.pdv .pdv-controls .pdv-surface-bar button{flex:1;padding:8px}
.pdv .pdv-controls .pdv-compare{margin-bottom:20px}
.pdv .pdv-controls .pdv-context{font-size:14px}
@media(min-width:721px){.pdv .pdv-workspace>.pdv-mobile-jump{display:none}}
@media(max-width:1000px) and (min-width:721px){.pdv .pdv-layout{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:720px){.pdv .pdv-layout{display:block;--pdv-frame-height:clamp(280px,75vw,420px)}.pdv .pdv-controls{height:auto;overflow:visible;scrollbar-gutter:auto;padding:18px}.pdv .pdv-workspace>.pdv-mobile-jump{width:calc(100% - 24px);margin:12px}.pdv .pdv-controls .pdv-header-actions{grid-template-columns:1fr 1fr}.pdv .pdv-controls .pdv-header-actions>*{min-width:0}}

.pdv .pdv-catalog-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.pdv .pdv-catalog-pages[hidden]{display:none}.pdv .pdv-catalog-pages button{min-height:40px;padding:8px 12px}.pdv [data-role="catalog-detail"]{padding:12px;background:#eef2e8;border-radius:8px;overflow-wrap:anywhere}

/* Focused shopping flow. All optional tools remain available on demand. */
.pdv .pdv-intro .pdv-steps{display:none}
.pdv .pdv-intro{padding:18px 26px}.pdv .pdv-intro h2{font-size:26px}
.pdv .pdv-controls{padding:18px 18px 0;scroll-padding-bottom:92px}
.pdv .pdv-simple-photo h3,.pdv .pdv-step-heading{margin:0 0 10px;font-size:17px}
.pdv .pdv-simple-photo .pdv-upload{text-align:center;background:#edf3e8;border-color:#9caf92}
.pdv .pdv-room-options{margin:8px 0 18px}.pdv .pdv-room-options summary{font-weight:400;font-size:14px}
.pdv .pdv-room-options select{display:block;width:100%;max-width:none;margin:8px 0}
.pdv .pdv-context{margin:4px 0 10px!important}.pdv .pdv-status{min-height:0;margin:8px 0 14px;font-size:13px}
.pdv .pdv-catalog-help{display:none}.pdv .pdv-search{margin:12px 0 8px}
.pdv .pdv-category-select{display:flex;align-items:center;gap:10px;margin:8px 0 14px;font-size:14px}
.pdv .pdv-category-select select{flex:1;min-width:0;max-width:none}
.pdv .pdv-materials>.pdv-material{min-height:190px}
.pdv .pdv-product-details,.pdv .pdv-extra-compare{margin:14px 0;border-top:1px solid var(--pdv-line);padding-top:12px}
.pdv .pdv-finish{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff;padding:12px 0;border-top:1px solid var(--pdv-line);margin-top:16px;box-shadow:0 -8px 15px #fff}
.pdv .pdv-finish button{font-size:14px;min-width:0;padding:10px 6px}.pdv .pdv-finish [data-action=before]{min-width:0}
.pdv .pdv-privacy{font-size:12px}.pdv .pdv-adjust{margin-top:12px;padding-top:8px}
@media(max-width:720px){.pdv .pdv-controls{padding:16px 16px 0}.pdv .pdv-finish{bottom:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}.pdv .pdv-intro h2{font-size:23px}}

.pdv .pdv-simple-photo>h3,.pdv .pdv-context{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.pdv .pdv-room-options{margin-bottom:12px}.pdv .pdv-status{margin:6px 0 10px}
.pdv .pdv-materials>.pdv-material{min-height:180px}
.pdv .pdv-materials>.pdv-material>img{height:80px;min-height:80px;max-height:80px}
.pdv .pdv-materials>.pdv-material>span{min-height:24px}
.pdv .pdv-materials>.pdv-material>small{min-height:36px;font-size:13px;line-height:18px}

.pdv .pdv-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.pdv .pdv-room-grid button{padding:5px;display:grid;gap:5px;text-align:left;align-content:start}.pdv .pdv-room-grid img{display:block;width:100%;height:76px;object-fit:cover;border-radius:4px}.pdv .pdv-room-grid span{font-size:13px;line-height:1.4}.pdv .pdv-room-grid button[aria-pressed=true]{outline:2px solid #527444;outline-offset:-2px}

/* Full-width studio; the photo and controls have independent, equal-height viewports. */
.pdv{max-width:none;width:100%;margin:0;border-radius:0;border-left:0;border-right:0}
.pdv .pdv-header{padding:14px 28px}.pdv .pdv-intro{padding:12px 28px}
.pdv .pdv-layout{grid-template-columns:minmax(0,1fr) clamp(350px,27vw,480px);--pdv-frame-height:clamp(520px,calc(100svh - 185px),1100px)}
.pdv .pdv-controls{overscroll-behavior-y:contain}
.pdv .pdv-footer{padding:12px 28px}

@media(max-width:900px){.pdv .pdv-layout{display:block;--pdv-frame-height:clamp(300px,65vw,620px)}.pdv .pdv-controls{height:auto;overflow:visible;scrollbar-gutter:auto}.pdv .pdv-workspace>.pdv-mobile-jump{display:block;width:calc(100% - 24px);margin:12px}.pdv .pdv-header,.pdv .pdv-intro,.pdv .pdv-footer{padding:14px 18px}}

/* Photo width determines its height: no crop, distortion or empty side bands. */
.pdv .pdv-workspace .pdv-stage{height:auto;min-height:0}
@media(min-width:901px){.pdv .pdv-controls{height:var(--pdv-photo-height,600px);max-height:var(--pdv-photo-height,600px)}}

/* One viewport studio: header/footer count toward the height, controls scroll inside. */
.pdv{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}
.pdv>.pdv-data{display:none}
.pdv .pdv-layout{height:100%;min-height:0;overflow:hidden;align-items:stretch}
.pdv .pdv-workspace{height:100%;min-height:0;overflow:hidden}
.pdv .pdv-workspace .pdv-stage{height:100%;min-height:0}
.pdv .pdv-controls{height:100%;max-height:none;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
.pdv .pdv-workspace>.pdv-mobile-jump{display:none}
.pdv .pdv-intro h2{margin:0 0 5px}.pdv .pdv-intro p{margin:0}
@media(max-width:900px){.pdv .pdv-layout{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.pdv .pdv-footer{display:none}.pdv{grid-template-rows:auto minmax(0,1fr)}.pdv .pdv-intro{padding:10px 16px}.pdv .pdv-intro h2{font-size:20px}.pdv .pdv-intro p{font-size:13px}.pdv .pdv-controls{padding-top:12px}}
.pdv{box-sizing:border-box}
