.ld-preview{clear:both;width:100%;margin:55px 0 30px;background:#171611;color:#ede8df;padding:clamp(18px,4vw,48px);box-sizing:border-box;border:1px solid #423c2e;font-family:Arial,sans-serif}.ld-preview *{box-sizing:border-box}.ld-preview header>span{font-size:11px;letter-spacing:3px;color:#cba85e}.ld-preview h2{color:#f1ece2;font:normal clamp(26px,4vw,40px) Georgia,serif;margin:14px 0}.ld-preview header p{color:#b8b3a9;margin:0 0 28px}.ld-toolbar{display:flex;align-items:end;gap:22px;flex-wrap:wrap}.ld-rooms{display:flex;gap:8px;flex:1;flex-wrap:wrap}.ld-preview button{background:transparent;border:1px solid #514b3c;color:#ccc7bd;padding:14px 18px;border-radius:0;cursor:pointer;font-size:13px;letter-spacing:1px}.ld-preview button[aria-pressed=true]{border-color:#cba85e;background:#302b20;color:#fff}.ld-preview label{display:block;color:#c6c0b5;font-size:13px}.ld-preview select{display:block;margin-top:8px;background:#24221c;color:#eee7dc;border:1px solid #5e5440;padding:10px;max-width:100%;width:240px}.ld-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:28px 0}.ld-controls output{display:block;color:#f5efe2;font-size:20px;margin-top:10px}.ld-controls input[type=range]{width:100%;margin-top:15px;accent-color:#cba85e;cursor:pointer}.ld-scene{overflow:hidden;background:#171611;border-top:1px solid #524b3b}.ld-svg{width:100%;height:auto;display:block}.ld-room-lines,.ld-furniture{fill:none;stroke:#777368;stroke-width:1.5;opacity:.65}.ld-furniture[hidden]{display:none}.ld-chain-line,.ld-dim-lines{fill:none;stroke:#cba85e;stroke-width:1.5}.ld-svg text{fill:#eee8dc;font:bold 16px Arial,sans-serif;paint-order:stroke;stroke:#171611;stroke-width:4px}.ld-lamp{mix-blend-mode:screen}.ld-readout{padding:16px 0;color:#e4cf9e;line-height:1.6;border-top:1px solid #423c2e}.ld-readout.ld-warning{color:#ffb49f}.ld-preview footer{font-size:11px;line-height:1.7;color:#a59f93}.ld-preview :focus-visible{outline:2px solid #e7c47a;outline-offset:4px}@media(max-width:650px){.ld-controls{grid-template-columns:1fr;gap:16px}.ld-controls label{display:grid;grid-template-columns:1fr auto;align-items:center}.ld-controls input{grid-column:1/-1}.ld-controls output{margin:0;font-size:18px}.ld-rooms{display:grid;grid-template-columns:1fr 1fr;width:100%}.ld-toolbar>label,.ld-preview select{width:100%}.ld-svg text{font-size:20px}.ld-preview button{padding:12px 8px}.ld-preview{margin-top:30px}}
.ld-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.ld-light-section{margin-top:45px;padding-top:38px;border-top:1px solid #514832}.ld-luxury-stage{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3/2;background:#080806}.ld-mansion{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;max-width:none!important}.ld-luxury-lamp{position:absolute!important;left:50%;top:17%;transform:translateX(-50%);height:53%!important;width:28%!important;object-fit:fill;mix-blend-mode:screen;z-index:3;max-width:none!important}.ld-luxury-chain{position:absolute;left:50%;top:9%;height:9%;width:2px;background:#dabd78;z-index:2}.ld-luxury-halo{position:absolute;inset:2% 17% 10%;background:radial-gradient(ellipse,rgba(255,210,131,.26),rgba(247,192,88,.09) 30%,transparent 65%);mix-blend-mode:screen;z-index:2}.ld-stage-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,4,.65),transparent 27%,transparent 70%,rgba(5,5,4,.85)),linear-gradient(0deg,rgba(5,5,4,.8),transparent 30%);z-index:4;pointer-events:none}.ld-stage-caption{position:absolute;right:3%;top:34%;width:24%;z-index:5;text-align:center}.ld-stage-caption>span{font-size:10px;letter-spacing:2px;color:#d3b46e}.ld-stage-caption strong{display:block;font:normal clamp(16px,2vw,26px) Georgia,serif;color:#fff3df;margin:14px 0}.ld-stage-caption small{color:#d3c9b6;font-size:11px}.ld-dimmer{position:absolute;left:5%;bottom:6%;z-index:5;width:170px;display:flex!important;flex-direction:column;align-items:center;gap:10px;color:#f4e4c0!important;text-align:center}.ld-dimmer input{width:100%;accent-color:#dbb65e;cursor:pointer}.ld-knob{display:block;width:70px;height:70px;border-radius:50%;border:4px double #f0d78e;background:repeating-conic-gradient(#cfaa5b 0deg 2deg,#e5ca82 2deg 4deg);box-shadow:0 0 0 8px #1e1a1277,0 4px 12px #000;position:relative;transform:rotate(var(--turn,54deg))}.ld-knob i{position:absolute;left:30px;top:5px;width:5px;height:9px;background:#fff8dd;border-radius:2px}.ld-dimmer output{display:block;margin-top:5px}.ld-mansion,.ld-luxury-lamp{transition:filter .12s linear}.ld-luxury-halo{transition:opacity .12s linear}@media(max-width:650px){.ld-controls{grid-template-columns:1fr}.ld-luxury-stage{aspect-ratio:3/4}.ld-mansion{object-position:48% center}.ld-luxury-lamp{top:17%;height:44%!important;width:44%!important}.ld-stage-caption{top:auto;bottom:5%;right:4%;width:48%}.ld-stage-caption strong{font-size:18px}.ld-dimmer{left:5%;bottom:6%;width:95px}.ld-knob{width:54px;height:54px}.ld-knob i{left:22px}.ld-stage-caption small{font-size:10px}}
/* 1.2.1: isolate compact room controls from theme button dimensions. */
.ld-preview .ld-rooms{align-items:start!important;grid-auto-rows:max-content!important}
.ld-preview .ld-rooms button{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:44px!important;min-height:44px!important;max-height:44px!important;min-width:0!important;aspect-ratio:auto!important;flex:0 1 auto!important;padding:8px 14px!important;margin:0!important;border-radius:3px!important;font-size:12px!important;line-height:1.2!important;letter-spacing:.5px!important;box-shadow:none!important}
@media(max-width:650px){
 .ld-preview .ld-rooms{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;flex-basis:100%!important}
 .ld-preview .ld-rooms button{width:100%!important;padding:8px 4px!important;font-size:11px!important}
 /* Image canvas keeps its native ratio; controls sit beneath it. */
 .ld-preview .ld-luxury-stage{container-type:inline-size;aspect-ratio:auto!important;padding-top:66.6667%;display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,1.5fr);gap:18px;align-items:center}
 .ld-preview .ld-mansion{object-fit:contain!important;object-position:center top!important;inset:0 0 auto!important;height:auto!important;aspect-ratio:3/2!important}
 .ld-preview .ld-luxury-lamp{top:11.333cqw!important;height:35.333cqw!important;width:28%!important;object-fit:contain!important}
 .ld-preview .ld-luxury-chain{top:6cqw;height:6cqw}
 .ld-preview .ld-luxury-halo{top:0;bottom:auto;height:60cqw}
 .ld-preview .ld-stage-vignette{top:0;bottom:auto;height:66.6667cqw;background:linear-gradient(90deg,rgba(5,5,4,.25),transparent 25%,transparent 75%,rgba(5,5,4,.35))}
 .ld-preview .ld-dimmer{position:relative!important;left:auto!important;bottom:auto!important;width:100%!important;grid-column:1;grid-row:1;margin:24px 0!important;padding:0 10px!important;font-size:11px!important;min-width:0}
 .ld-preview .ld-stage-caption{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;width:100%!important;grid-column:2;grid-row:1;padding:16px 10px 16px 0;overflow-wrap:anywhere}
 .ld-preview .ld-stage-caption strong{font-size:16px;line-height:1.35}
 .ld-preview .ld-stage-caption>span{font-size:8px;letter-spacing:1px}
}
/* 1.2.3: full viewport section, one continuous dimension axis. */
.ld-preview{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100vw - 20px)!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:clamp(16px,6vw,120px)!important;padding-right:clamp(16px,6vw,120px)!important}
.ld-preview .ld-clearance-label{font:normal 13px Georgia,serif}
@media(max-width:650px){.ld-preview{padding-left:16px!important;padding-right:16px!important}.ld-preview .ld-clearance-label{font-size:16px}}
/* 1.3.0: broad architectural canvas and smaller, physical furniture. */
.ld-preview>header,.ld-preview>.ld-toolbar,.ld-preview>.ld-controls,.ld-preview>.ld-scene,.ld-preview>.ld-readout,.ld-preview>footer,.ld-preview>.ld-light-section{max-width:1200px;margin-left:auto;margin-right:auto}
.ld-preview .ld-room-lines,.ld-preview .ld-furniture{stroke-width:.8}
.ld-preview .ld-gold-detail{stroke:#bd9b4f}
.ld-preview .ld-scene{border-top:0}
.ld-preview .ld-svg text{font-size:13px;stroke-width:3px}
.ld-preview .ld-svg .ld-clearance-label{font-size:12px}
.ld-preview .ld-dim-lines,.ld-preview .ld-chain-line{stroke-width:.8}
.ld-preview .ld-toolbar{justify-content:center;align-items:center}
.ld-preview .ld-rooms{flex:0 1 auto;justify-content:center}
@media(max-width:650px){.ld-preview .ld-svg{min-height:280px}.ld-preview .ld-svg text{font-size:18px}.ld-preview .ld-svg .ld-clearance-label{font-size:15px}.ld-preview .ld-toolbar{align-items:stretch}}
/* 1.3.1: one uninterrupted background for the dimension scene. */
.ld-preview,.ld-preview .ld-scene{background:#171611!important}
.ld-preview .ld-svg{background:transparent!important}
.ld-preview .ld-ambient{display:none!important}
/* 1.3.2: mobile zoom and readable on-scene dimensions. */
@media(max-width:650px){.ld-preview .ld-svg{min-height:0!important;aspect-ratio:850/585;height:auto!important}.ld-preview .ld-scene{overflow:hidden}.ld-preview .ld-svg text{stroke-width:5px}}
/* 1.3.3: compact architectural controls with explicit step buttons. */
.ld-preview .ld-control-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ld-preview .ld-control-heading>div:first-child{min-width:0}
.ld-preview .ld-control-heading span{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#c6c0b5}
.ld-preview .ld-control-heading output{margin:5px 0 0!important;font:normal 20px Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important}
.ld-preview .ld-step-buttons{display:flex;gap:7px;flex-shrink:0}
.ld-preview .ld-step-buttons button{width:auto!important;min-width:58px!important;height:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:auto!important;margin:0!important;padding:6px!important;font:normal 12px Arial,sans-serif!important;letter-spacing:0!important;border:1px solid #90783f!important;border-radius:2px!important;background:#29251b!important;color:#f1e7cc!important;box-shadow:none!important}
.ld-preview .ld-step-buttons button:disabled{opacity:.35;cursor:default}
.ld-preview .ld-controls input[type=range]{appearance:none!important;-webkit-appearance:none!important;display:block!important;height:5px!important;min-height:5px!important;padding:0!important;border:0!important;border-radius:0!important;background:linear-gradient(to right,#caa655 0 var(--ld-fill,25%),#55534b var(--ld-fill,25%) 100%)!important;margin:24px 0 18px!important;box-shadow:none!important}
.ld-preview .ld-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:22px!important;height:22px!important;border-radius:50%!important;border:6px solid #caa655!important;background:#eedaa0!important;box-shadow:0 0 0 6px #caa65526!important;cursor:grab}
.ld-preview .ld-controls input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:6px solid #caa655;background:#eedaa0;box-shadow:0 0 0 6px #caa65526;cursor:grab}
@media(max-width:650px){
 .ld-preview .ld-controls{gap:12px;margin-top:20px;margin-bottom:20px}
 .ld-preview .ld-svg{aspect-ratio:800/585}
 .ld-preview .ld-control-heading span{font-size:10px;letter-spacing:1.3px}
 .ld-preview .ld-control-heading output{font-size:18px!important}
 .ld-preview .ld-step-buttons button{min-width:55px!important;font-size:11px!important}
 .ld-preview .ld-controls input[type=range]{margin-top:24px!important;margin-bottom:14px!important}
}
/* 1.3.4: preserve photographs and lighten architectural outlines. */
.ld-preview .ld-furniture,.ld-preview .ld-room-lines{stroke:#a6a197!important}
.ld-preview .ld-gold-detail{stroke:#c5a35d}
.ld-preview .ld-luxury-lamp{object-fit:contain!important}
.ld-preview .ld-control-heading{justify-content:flex-start}
