/* Origin studio — visual polish, scoped to this designer. */
.origin-studio-intro{padding-top:32px;padding-bottom:30px;align-items:end;gap:32px}
.origin-studio-intro h1{font-size:clamp(35px,3.5vw,54px);line-height:1.08}
.origin-studio-intro p{max-width:320px;font-size:15px;line-height:1.7;padding-bottom:4px}
.origin-studio-intro .designer-back{margin-bottom:18px}
.origin-designer{gap:32px;align-items:start}
.origin-designer .designer-visual{top:100px}
.origin-designer .visual-heading{min-height:44px;gap:14px;margin-bottom:10px}
.origin-designer .visual-heading .eyebrow{font-size:10px;letter-spacing:.12em}
.origin-preview-tools{display:flex;align-items:center;gap:16px}
.origin-preview-tools .quiet-button{min-height:44px;font-size:11px;white-space:nowrap}
.origin-designer .origin-scene{height:auto;aspect-ratio:1.45;border-radius:16px;background-image:linear-gradient(145deg,#ffffff50,transparent 60%),linear-gradient(0deg,#bbb7ac24,transparent 30%);box-shadow:inset 0 0 0 1px #2839340a;overflow:hidden}
.origin-designer #origin-render{padding:0}
.origin-designer .origin-wordmark{font-size:12px;letter-spacing:.3em;top:18px;left:20px}
.origin-designer .scene-footer{bottom:14px;font-size:8px}
.origin-designer .preview-bottom{padding:20px 0 6px}
.origin-designer .preview-bottom h2{font:400 34px/1.05 Editorial,Georgia,serif}
.origin-designer .preview-bottom p{font-size:12px;line-height:1.5}
.origin-designer .wall-controls{gap:12px}
.origin-designer .wall-controls button{width:30px;height:30px}
.origin-designer .origin-view-controls{padding:4px;gap:3px;border-radius:30px;background:#eaece5}
.origin-designer .origin-view-controls button{border:0;border-radius:26px;background:transparent;min-height:44px;font-size:12px}
.origin-designer .origin-view-controls button[aria-pressed=true]{background:white;color:#18343f;box-shadow:0 2px 9px #1b2c3510;font-weight:700}
.origin-designer .preview-caption,.origin-designer .origin-key{font-size:11px;line-height:1.65;color:#5d6c68}
.origin-designer .origin-key{margin-top:5px}
.origin-designer .designer-options{border-radius:18px;overflow:hidden;border-color:#e1e2d9;box-shadow:0 10px 36px #182b3705}
.origin-designer .designer-tabs{padding:6px;gap:3px;background:#eeefe8;border:0}
.origin-designer .designer-tabs button{min-height:58px;border:0;border-radius:12px;background:transparent;font-size:12px}
.origin-designer .designer-tabs button[aria-selected=true]{background:white;box-shadow:0 2px 8px #1427340c;color:#173541}
.origin-designer .designer-tabs button span{font-size:9px;margin-bottom:2px}
.origin-designer .designer-panel{padding:26px}
.origin-designer .designer-panel h2{font-size:31px}
.origin-designer .designer-panel>p{font-size:13px}
.origin-designer .designer-panel>.eyebrow{font-size:9px}
.origin-designer .origin-families{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0 18px}
.origin-designer .origin-families button{min-height:44px;padding:8px 14px;font-size:12px;border-radius:24px}
.origin-designer .origin-product-grid{gap:10px}
.origin-designer .origin-product-choice{padding:0 0 12px;overflow:hidden;border-radius:12px;background:#f7f7f2;transition:border-color .15s,box-shadow .15s}
.origin-designer .origin-product-choice .origin-product-photo{height:110px;width:100%;object-fit:cover;margin:0 0 12px;border-radius:0}
.origin-designer .origin-product-choice strong{font-size:16px;margin:0 8px 4px}
.origin-designer .origin-product-choice small{font-size:10px;line-height:1.55;margin:0 8px;min-height:32px}
.origin-designer .origin-product-choice .model-check{top:9px;right:9px;width:22px;height:22px;line-height:22px;font-size:12px;background:#183640;box-shadow:0 1px 4px #0002}
.origin-designer .origin-product-choice[aria-pressed=true]{border-color:#a18a5a;box-shadow:inset 0 0 0 1px #a18a5a;background:#f5f1e7}
.origin-designer .origin-product-grid:has([data-product=front]:not([hidden])) .origin-product-choice,.origin-designer .origin-product-grid:has([data-product=oi30]:not([hidden])) .origin-product-choice{padding:0 14px 0 0;grid-template-columns:140px 1fr;column-gap:14px}
.origin-designer .origin-product-grid:has([data-product=front]:not([hidden])) img,.origin-designer .origin-product-grid:has([data-product=oi30]:not([hidden])) img{grid-row:span 2;height:125px;margin:0}
.origin-designer .origin-range-details{border-bottom:1px solid #e3e5db;margin:18px 0 0;padding-bottom:18px}
.origin-range-details summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;min-height:36px;font-size:12px;font-weight:650;list-style:none}
.origin-range-details summary:after{content:'+';font-size:20px;color:#9a8353}
.origin-range-details[open] summary:after{content:'−'}
.origin-range-details summary span{font-weight:400;font-size:10px;color:#74807a;margin-left:auto}
.origin-designer .origin-range-details p{font-size:12px;min-height:0}
.origin-designer .origin-range-details a{font-size:11px}
.origin-designer .designer-fieldset{margin-top:25px}
.origin-designer .designer-fieldset legend{font-size:15px}
.origin-designer .designer-note{font-size:11px!important;color:#65736b}
.origin-designer .origin-layouts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.origin-designer .origin-layouts button{border-radius:10px;padding:7px 7px 11px;background:#f8f8f4}
.origin-designer .origin-layout-icon{height:77px;background:#ecece5;border-radius:6px;margin-bottom:6px}
.origin-designer .origin-layouts button>span:last-child{font-size:10px;line-height:1.5;min-height:30px}
.origin-designer .origin-size-field{border:1px solid #e2e3d9;border-radius:12px;background:#f7f7f1;padding:15px;margin-top:22px}
.origin-designer .origin-size-field legend{padding:0 5px;font-size:13px}
.origin-designer .origin-size-field label{font-size:12px}
.origin-designer .origin-size-field input{min-height:48px;font-size:16px;border-radius:8px}
.origin-designer .button{min-height:48px;border-radius:7px;font-size:12px;background:#192e3c;color:white;border-color:#192e3c}
.origin-designer .button.outline{background:white;color:#192e3c}
.origin-designer .quiet-button{min-height:44px}
.origin-designer .origin-style-options{gap:9px}
.origin-designer .origin-style-options button{padding:7px 7px 14px;border-radius:12px;overflow:hidden}
.origin-look-sample{display:block;width:100%;height:94px;background:#e9e6dd;border-radius:7px;overflow:hidden;margin-bottom:9px}
.origin-look-sample svg{width:100%;height:100%;display:block;transform:scale(1.15)}
.origin-designer .origin-style-options strong{font-size:14px}
.origin-designer .origin-style-options small{font-size:10px;line-height:1.55}
.origin-designer .glass-options button{border-radius:9px;min-height:46px;font-size:12px;padding:12px 9px}
.origin-designer .origin-glass-samples button{padding:7px 7px 12px;overflow:hidden}
.origin-glass-sample{display:block;position:relative;height:115px;overflow:hidden;background:#dadbd2;border:5px solid #35444b;border-radius:2px;margin-bottom:10px}
.origin-glass-sample i{display:block;position:absolute;inset:0;background:url('/assets/origin/studio-interior.webp') center/cover}
.origin-glass-frosted i{filter:blur(8px);transform:scale(1.2);opacity:.5}
.origin-glass-reeded i{filter:blur(2px);transform:scale(1.1);opacity:.7}
.origin-glass-reeded:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,#fff7 0 1px,#cad1cb22 1px 4px,#35483c33 4px 5px,#fff4 5px 7px)}
.origin-glass-clear:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#fff3,transparent 70%)}
.origin-designer .origin-panel-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.origin-designer .origin-panel-grid .model-choice{border-radius:10px;padding:14px 5px}
.origin-designer .origin-panel-grid .model-choice img{height:140px}
.origin-designer .origin-panel-grid .model-choice strong{font-size:12px}
.origin-designer .origin-panel-grid .model-choice small{font-size:9px}
.origin-designer .origin-hardware select{min-height:48px;font-size:14px;border-radius:8px}
.origin-designer .origin-hardware-detail{display:grid;grid-template-columns:155px 1fr;gap:20px;align-items:center;border:1px solid #e2e4db;border-radius:12px;background:#f7f7f1;padding:18px;margin-top:18px}
.origin-designer .origin-hardware-detail img{width:155px;height:200px;object-fit:contain;mix-blend-mode:multiply;background:transparent}
.origin-designer .origin-hardware-detail strong{font-size:16px;line-height:1.5}
.origin-designer .origin-hardware-detail p{font-size:12px;line-height:1.7;margin:9px 0}
.origin-designer .origin-hardware-detail a{font-size:11px}
.origin-designer .designer-colour>span{width:53px;height:53px;box-shadow:inset 0 2px 3px #fff4,inset 0 -2px 4px #0002}
.origin-designer .designer-colour strong{font-size:12px}
.origin-designer .designer-colour small{font-size:10px}
.origin-designer .design-summary>div{font-size:12px;grid-template-columns:115px 1fr;padding:14px 0}
.origin-designer .designer-assurance{font-size:10px!important;padding:18px 26px}
.origin-preview-dialog{width:min(1180px,94vw);max-height:94dvh;padding:24px;border:0;border-radius:18px;background:#f7f6ef;color:#18333e;box-shadow:0 20px 100px #0004;overflow:auto}
.origin-preview-dialog::backdrop{background:#132531b8;backdrop-filter:blur(5px)}
.origin-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.origin-dialog-header .eyebrow{font-size:10px;margin-bottom:6px}
.origin-dialog-header h2{font-size:25px;line-height:1.2}
.origin-dialog-header button{min-width:80px;min-height:44px;font-size:14px}
#origin-enlarged-render{border-radius:12px;overflow:hidden;background:#ded8cc}
#origin-enlarged-render svg{display:block;width:100%;max-height:70dvh}
#origin-enlarged-render img{display:block;width:100%;max-height:70dvh;object-fit:contain}
#origin-dialog-caption{font-size:12px;line-height:1.6;margin:14px 0 0;color:#61716c}
body:has(#origin-preview-dialog[open]){overflow:hidden}
.origin-designer button:focus-visible,.origin-preview-dialog button:focus-visible,.origin-range-details summary:focus-visible{outline:3px solid #aa8a51;outline-offset:3px}
@media(min-width:1500px){.origin-designer .origin-scene{height:auto}.origin-designer .origin-product-choice .origin-product-photo{height:130px}}
@media(max-width:1100px){.origin-designer{gap:24px}.origin-designer .designer-panel{padding:20px}.origin-designer .origin-product-choice .origin-product-photo{height:90px}.origin-designer .origin-layouts{grid-template-columns:repeat(2,minmax(0,1fr))}.origin-designer .origin-families button{font-size:11px;padding:8px 12px}.origin-preview-tools{gap:10px}.origin-preview-tools .quiet-button{font-size:10px}.origin-designer .origin-hardware-detail{grid-template-columns:110px 1fr;gap:15px}.origin-designer .origin-hardware-detail img{width:110px;height:180px}}
@media(max-width:900px){.origin-designer .origin-scene{height:auto}.origin-studio-intro p{font-size:13px}.origin-designer .visual-heading .eyebrow{font-size:8px}.origin-designer .origin-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
 .origin-studio-intro{padding-top:24px;padding-bottom:24px;gap:14px}.origin-studio-intro h1{font-size:38px}.origin-studio-intro p{font-size:13px;margin:0;max-width:none}.origin-studio-intro .designer-back{margin-bottom:16px}
 .origin-designer{gap:22px}.origin-designer .designer-visual{position:relative;top:auto;padding:0;background:transparent;z-index:auto}
 .origin-designer .visual-heading{margin-bottom:7px;min-height:44px}.origin-designer .visual-heading .eyebrow{font-size:9px}.origin-preview-tools{gap:12px}.origin-preview-tools .quiet-button{font-size:10px}
 .origin-designer .origin-scene{height:auto;aspect-ratio:1.27;border-radius:12px}.origin-designer .origin-wordmark{font-size:10px;top:14px;left:15px}
 .origin-designer .scene-footer{left:14px;right:14px;bottom:12px;font-size:6px}.origin-designer .scene-footer span:last-child{font-size:8px}
 .origin-designer .preview-bottom{padding:15px 0 4px}.origin-designer .preview-bottom h2{font-size:28px}.origin-designer .preview-bottom p{font-size:11px}
 .origin-designer .preview-caption,.origin-designer .origin-key{font-size:10px;line-height:1.55}.origin-designer .origin-view-controls button{min-height:44px;font-size:11px}
 .origin-designer .designer-tabs{position:sticky;top:0;z-index:2}.origin-designer .designer-tabs button{min-height:55px;font-size:11px}.origin-designer .designer-options{border-radius:14px;overflow:visible}.origin-designer .designer-tabs{border-radius:14px 14px 0 0}
 .origin-designer .designer-panel{padding:22px 18px}.origin-designer .designer-panel h2{font-size:29px}.origin-designer .origin-families{gap:6px}.origin-designer .origin-families button{font-size:11px;min-height:42px;padding:8px 12px}
 .origin-designer .origin-product-choice .origin-product-photo{height:88px}.origin-designer .origin-product-choice strong{font-size:14px}.origin-designer .origin-product-choice small{font-size:9px;margin:0 5px}
 .origin-designer .origin-layouts{grid-template-columns:repeat(2,minmax(0,1fr))}.origin-designer .origin-layout-icon{height:85px}.origin-designer .origin-layouts button>span:last-child{font-size:11px;min-height:32px}
 .origin-designer .origin-range-details summary span{font-size:9px}.origin-designer .origin-style-options strong{font-size:12px}.origin-designer .origin-style-options small{font-size:9px}.origin-look-sample{height:72px}
 .origin-designer .origin-hardware-detail{grid-template-columns:110px 1fr;padding:13px;gap:13px}.origin-designer .origin-hardware-detail img{height:175px;width:110px}.origin-designer .origin-hardware-detail strong{font-size:14px}
 .origin-designer .origin-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.origin-designer .origin-panel-grid .model-choice img{height:140px}.origin-designer .origin-panel-grid .model-choice strong{font-size:11px}.origin-designer .origin-panel-grid .model-choice small{font-size:9px}
 .origin-designer:has(#origin-operation:not([hidden])) .origin-scene{height:auto}.origin-designer .origin-opening-drawing{height:115px}.origin-designer .origin-operation{border-radius:10px;padding:10px}.origin-designer .origin-operation label{font-size:11px}.origin-designer .origin-operation p{font-size:10px;line-height:1.6}.origin-designer .origin-operation input{min-height:36px}
 .origin-designer .designer-actions{gap:10px}.origin-designer .designer-actions .button{font-size:11px;padding:12px}.origin-designer .designer-assurance{border-radius:0 0 14px 14px}
 .origin-preview-dialog{padding:15px;width:96vw;border-radius:12px}.origin-dialog-header h2{font-size:21px}.origin-dialog-header .eyebrow{font-size:9px}#origin-dialog-caption{font-size:11px}.origin-glass-sample{height:100px}
}
@media(prefers-reduced-motion:reduce){.origin-designer *{scroll-behavior:auto;transition:none!important}}

.origin-mobile-preview{display:none}
@media(max-width:640px){.origin-mobile-preview{display:block;position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:30;min-height:48px;padding:12px 25px;border:1px solid #ffffff80;border-radius:28px;background:#18323eeF;color:#fff;box-shadow:0 4px 18px #132c3330;backdrop-filter:blur(8px);font-size:13px;font-weight:650;white-space:nowrap}body:has(#origin-designer) footer{padding-bottom:85px}.origin-mobile-preview:focus-visible{outline:3px solid #ac915b;outline-offset:3px}}

.origin-designer .origin-scene{width:100%}
.origin-designer .designer-visual .origin-scene,.origin-designer:has(#origin-operation:not([hidden])) .designer-visual .origin-scene{height:auto}
.origin-designer:has(#origin-operation:not([hidden])) .origin-scene{height:auto;aspect-ratio:1.85}
@media(max-width:640px){.origin-designer:has(#origin-operation:not([hidden])) .origin-scene{aspect-ratio:1.27}}

.origin-designer .origin-panel-grid .model-choice strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:640px){.origin-designer .designer-tabs{position:relative;top:auto;scroll-margin-top:140px}.origin-designer button,.origin-designer select,.origin-designer input{scroll-margin-top:150px;scroll-margin-bottom:85px}}

/* Keep the moving elevation and its control together. */
.origin-designer .origin-operation{margin:0;padding:12px 16px 8px;border:1px solid #dce0d6;border-top:0;border-radius:0 0 12px 12px;background:#f3f3ed}
.origin-designer .origin-operation label,.origin-preview-dialog .origin-operation label{display:flex;justify-content:space-between;font-size:12px;color:#304851;margin:0}
.origin-operation input[type=range]{width:100%;height:32px;min-height:32px;cursor:ew-resize;accent-color:#8f7748;touch-action:pan-y}
.origin-designer:has(#origin-operation:not([hidden])) .origin-scene{aspect-ratio:1.45;border-radius:12px 12px 0 0}
.origin-motion-detail{margin-top:12px;border-top:1px solid #dee1d8;padding-top:8px;color:#52655d}
.origin-motion-detail summary{cursor:pointer;font-size:12px;min-height:40px;display:flex;align-items:center;justify-content:space-between}
.origin-motion-detail summary:after{content:'+';font-size:20px}.origin-motion-detail[open] summary:after{content:'−'}
.origin-motion-detail p{font-size:11px;line-height:1.6}
.origin-preview-dialog .origin-operation{margin:0;border:0;border-radius:0 0 10px 10px;padding:13px 16px;background:#ecece3}
@media(max-width:640px){.origin-designer .origin-scene,.origin-designer:has(#origin-operation:not([hidden])) .origin-scene{aspect-ratio:1.27;max-height:52svh}.origin-designer .origin-operation{padding:10px 12px 5px}.origin-designer .preview-bottom{padding-top:14px}.origin-motion-detail .origin-opening-drawing{height:110px}#origin-enlarged-render svg{max-height:60dvh}.origin-preview-dialog .origin-operation{padding:12px}.origin-designer:has(#origin-operation:not([hidden])) .preview-caption{display:block}}
