/* Final interface: restrained surfaces, readable type, stable numbers and clear choices. */
:root{--ui-ink:#203b33;--ui-secondary:#53645b;--ui-line:#dce2d8;--ui-bg:#f3f1e9;--ui-primary:#235746;--ui-warm:#a16a35;--ui-radius:18px}
html,body{background:var(--ui-bg)!important;color:var(--ui-ink)!important;font-size:16px;text-rendering:optimizeLegibility}
body{font-weight:450;line-height:1.55}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button{line-height:1.35;transition:background-color .15s,border-color .15s,box-shadow .15s}
button:not(:disabled){cursor:pointer}
button:disabled{cursor:not-allowed!important;opacity:.48!important;box-shadow:none!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:3px solid #b3773e!important;outline-offset:3px!important}
.font-mono,input[type=number],input[type=range]+span,[id*='pct'],[id*='zoom'],[id*='dim-'],[id*='combo-']{font-family:HanvitSans,'Malgun Gothic',sans-serif!important;font-variant-numeric:tabular-nums lining-nums;letter-spacing:0!important}
input[type=number],input[type=text],input[type=tel],input[type=email],select,textarea{border:1px solid #cbd6ca!important;border-radius:10px!important;background:#fff!important;color:#203b33!important;box-shadow:none!important;font-size:16px!important;min-height:46px;padding:9px 11px!important;max-width:100%;min-width:0}
input::placeholder,textarea::placeholder{color:#728077!important;opacity:1}
input:focus,select:focus,textarea:focus{border-color:#477961!important;box-shadow:0 0 0 3px #47796114!important}
input[readonly],input:disabled{background:#eef1e9!important;color:#5d6a60!important}
input[type=checkbox],input[type=radio]{width:21px!important;height:21px!important;min-width:21px;accent-color:var(--ui-primary)!important;cursor:pointer}
input[type=range]{height:30px!important;min-height:30px;accent-color:var(--ui-primary)!important;cursor:pointer}
input[type=range]::-webkit-slider-thumb{min-width:23px;min-height:23px}
#workbench-shell{padding:0 20px 12px 112px!important;gap:14px!important}
#atelier-header{min-height:88px!important;height:88px!important;max-height:88px!important;border:0!important;gap:18px!important}
#atelier-header h1{font-size:24px!important;font-weight:750!important;letter-spacing:-.055em!important;line-height:1.3!important}
#atelier-header h1+span{display:block!important;font-size:13px!important;letter-spacing:0!important;color:#596a5e!important;margin-top:1px!important}
#atelier-header>div:first-child>div:first-child>div{display:block!important}
#atelier-header>div:first-child>div:first-child>svg{width:34px!important;height:34px!important}
#atelier-header .hb-btn{font-size:14px!important;min-height:46px!important;padding:9px 13px!important;border:1px solid var(--ui-line)!important;border-radius:12px!important;box-shadow:0 2px 3px #283d2803!important}
#atelier-header .hb-btn:hover{border-color:#93ab98!important;background:#ecf2e8!important}
#atelier-header #btn-save-design{background:#e7eee2!important;border-color:#d0ddca!important}
#atelier-header #header-nav-quote{background:var(--ui-primary)!important;color:white!important;box-shadow:0 4px 10px #23574619!important}
#top-attribute-tabs-bar{left:16px!important;top:104px!important;bottom:48px!important;width:78px!important;height:auto!important;justify-content:flex-start!important;align-items:stretch!important;gap:9px!important;overflow-y:auto!important;overflow-x:hidden!important}
#top-attribute-tabs-bar:before{font-size:12px;color:#617367;padding:8px 0 5px}
#top-attribute-tabs-bar .top-attr-tab-btn{width:78px!important;min-height:96px!important;padding:13px 3px!important;border-radius:17px!important;color:#405d4f!important;font-size:14px!important;gap:8px!important;font-weight:650!important}
#top-attribute-tabs-bar .top-attr-tab-btn.is-active{background:var(--ui-primary)!important;color:white!important;box-shadow:0 7px 18px #2357461a!important}
#top-attribute-tabs-bar .top-attr-tab-btn:hover:not(.is-active){background:#e4eadd!important}
#top-attribute-tabs-bar .top-attr-tab-btn .studio-icon{width:27px!important;height:27px!important}
#studio-main-grid,#space-main-grid{gap:16px!important;min-width:0}
#studio-left-window,#space-left-window{width:358px!important;min-width:358px!important;max-width:358px!important;flex-basis:358px!important;border:1px solid #e2e6dc!important;padding:20px!important;border-radius:var(--ui-radius)!important;background:#fdfefb!important;scrollbar-gutter:stable;box-shadow:0 3px 10px #203b3303!important}
#studio-center-window,#space-center-window{border:1px solid #e0e5da!important;border-radius:var(--ui-radius)!important;background:#fdfefb!important;min-width:0}
#studio-left-window>div:first-child>div:has(#lbl-left-active-tab-title){padding-bottom:13px!important;margin-bottom:14px!important}
#lbl-left-active-tab-title{font-size:15px!important;line-height:1.5!important;font-weight:650!important;color:#3a5747!important}
#studio-left-window .hb-sec-title,#space-left-window .hb-sec-title{font-size:17px!important;font-weight:750!important;letter-spacing:-.035em;gap:7px;line-height:1.45!important}
#studio-left-window [class*='text-'],#space-left-window [class*='text-']{font-size:14px!important;line-height:1.5!important}
#studio-left-window [id^=step-container-]{margin-bottom:20px!important;padding-bottom:20px!important;border-color:#e3e8de!important}
#studio-left-window button,#space-left-window button{min-height:46px!important;font-size:14px!important;line-height:1.4!important;border-radius:11px!important;font-weight:600!important}
#studio-left-window button[aria-pressed=true],#space-left-window .space-arch-btn[aria-pressed=true]{border-color:#426e53!important;box-shadow:inset 0 0 0 1px #426e53!important}
.hb-btn,.hb-icon-btn,.hb-seg-btn{font-size:14px!important;min-height:44px!important;line-height:1.35!important}
.hb-svg,.studio-icon{width:21px!important;height:21px!important;flex-shrink:0}
.hb-icon-btn{min-width:44px!important;width:44px!important}
.visual-shape-picker{padding:3px 11px!important;border:1px solid #d7e1d2!important;background:#edf2e7!important;border-radius:12px!important;margin-bottom:21px!important}
.visual-shape-picker summary{min-height:48px!important;font-size:15px!important;color:#2c513d;gap:10px}
.visual-shape-picker summary>span{font-size:23px!important;font-weight:400}
.visual-shape-picker[open]{padding-bottom:10px!important}
.visual-shape-picker .hb-seg-btn{min-height:76px!important;font-size:14px!important;border:1px solid #dde5d7!important;background:#fff!important}
#cement-base-options{gap:7px!important}
#cement-base-options>button{min-height:83px!important;font-size:13.5px!important;padding:9px 3px!important;background:#f4f6ef!important;color:#3e5646!important;border:1px solid #dce3d6!important}
#cement-base-options>button>span{gap:4px!important}
#cement-base-options>button>span>span:first-child{display:none}
#cement-base-options>button.is-active{background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:#fff!important;box-shadow:none!important}
#binder-physical-spec-banner{background:transparent!important;padding:8px 0 0!important;gap:7px!important;line-height:1.5!important;font-size:13px!important;color:#52674f!important}
#binder-physical-spec-text{font-size:13px!important;color:#52674f!important}
#binder-physical-spec-badge{font-size:11px!important;padding:3px 6px!important;border-radius:6px!important;background:#e9eedf!important;color:#49613c!important}
#base-color-options{gap:8px!important}
#base-color-options>button{min-height:91px!important;background:#f8faf5!important;border:1px solid #e2e8db!important;font-size:13px!important;padding:11px 3px!important}
#base-color-options>button>span:first-child{width:36px!important;height:36px!important;border:1px solid #00000018!important;box-shadow:0 2px 4px #00000009!important}
#base-color-options>button>span:last-child{font-size:13px!important;line-height:1.3!important;white-space:normal!important;word-break:keep-all}
#base-color-options>button[aria-pressed=true]{background:#eaf1e2!important;border:2px solid #426e53!important}
#selected-aggregates-top-summary{gap:7px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
#selected-aggregates-top-summary>div{position:relative;padding:11px 6px!important;background:#f2f6eb!important;border:1px solid #d7e2cf!important;border-radius:12px!important;min-height:138px!important}
#selected-aggregates-top-summary button{min-width:36px!important;min-height:36px!important;width:36px!important;height:36px!important;border-radius:50%!important;font-size:22px!important;display:inline-flex;align-items:center;justify-content:center}
#selected-aggregates-top-summary img{width:51px!important;height:51px!important}
#selected-aggregates-top-summary .truncate{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:14px!important}
#stone-chip-options-list,#glass-chip-options-list{gap:8px!important}
#stone-chip-options-list>.agg-card-btn,#glass-chip-options-list>.agg-card-btn{padding:9px 5px!important;border-radius:13px!important;min-height:142px!important;background:#f7f9f3!important;border:1px solid #e1e7d9!important}
.agg-card-btn>div{width:100%!important;height:83px!important;border:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important}
#stone-chip-options-list img,#glass-chip-options-list img{width:72px!important;height:72px!important;border-radius:10px!important}
.agg-card-btn button{min-width:36px!important;min-height:36px!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#fffffff2!important;color:#315940!important;box-shadow:0 2px 5px #1c36221a!important;bottom:0!important;right:0!important}
.agg-card-btn>span:last-child{font-size:14px!important;line-height:1.45!important;white-space:normal!important;word-break:keep-all}
.agg-card-btn[aria-pressed=true]{background:#e9f1e2!important;border:2px solid #426e53!important;box-shadow:none!important}
.agg-slot-badge{font-size:11px!important;background:#235746!important;color:#fff!important;padding:4px 6px!important;top:0!important;left:0!important}
[id^=slot-mix-card-]{border-radius:15px!important;padding:14px!important}
[id^=slot-mix-num-]{width:66px!important;text-align:center!important;font-weight:750!important}
[id^=slot-mix-pct-]{font-size:15px!important;font-weight:750!important;background:#fff!important;border:1px solid #d0dcc8!important;min-width:45px;text-align:center;padding:5px 8px!important;border-radius:8px!important}
[data-grade-btn]{min-height:54px!important;padding:7px 3px!important;font-size:14px!important;white-space:nowrap!important}
.ui-grading-note summary{list-style:none;display:flex;align-items:center;gap:6px;font-size:12px!important;line-height:1.4!important;color:#506448;cursor:pointer;min-height:36px}
.ui-grading-note summary::-webkit-details-marker{display:none}
.ui-grading-note summary:after{content:'⌄';margin-left:auto;color:#355a45}
.ui-grading-note[open] summary:after{transform:rotate(180deg)}
.ui-grading-note p{font-size:13px!important;line-height:1.65!important;color:#4e6052;padding:5px 8px 9px;background:#f3f6ee;border-radius:8px}
.ui-grade-dots{display:inline-flex;align-items:center;gap:3px;min-width:34px}
.ui-grade-dots i{display:block;background:#8d9e7e;clip-path:polygon(15% 20%,75% 0,100% 65%,45% 100%,0 70%);width:8px;height:8px}
.ui-grade-dots i:nth-child(2){width:12px;height:12px}.ui-grade-dots i:nth-child(3){width:16px;height:16px}
#finish-options-list{gap:9px!important}
.finish-card-btn{min-height:81px!important;border:1px solid #dbe3d3!important;background:#f8faf4!important;padding:13px!important;border-radius:13px!important;color:#2e4d3d!important;white-space:normal!important}
.finish-card-btn.is-active{background:#e6efdf!important;border:2px solid #3f6d4e!important;color:#224c38!important;box-shadow:none!important}
.finish-symbol{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#e4ebdb;border-radius:9px;margin-right:4px}
.finish-description{font-size:13px!important;color:#53644d!important;opacity:1!important;white-space:normal!important;line-height:1.5!important;max-width:230px}
.finish-detail-badge{font-size:11px!important;background:#e9efdf!important;color:#3d5c39!important;border-radius:7px!important;padding:6px 8px!important}
.dimension-dial{min-height:84px!important;border-color:#d2ddc9!important;background:#f2f6eb!important}
.dimension-dial strong{font-size:17px!important;font-weight:750!important}
.dimension-dial-field>label{font-size:15px!important;font-weight:700!important;color:#344f3c!important}
.dimension-dial-hint,.dimension-help,.dimension-thickness-options{font-size:12px!important;color:#53654d!important;line-height:1.6!important}
#studio-left-window #step-container-shape-dims .text-3xl{font-size:26px!important}
#center-top-toolbar{min-height:64px!important;gap:8px!important;padding:9px 12px!important;background:#fff!important;border-bottom:1px solid #e2e8dc!important}
#center-top-toolbar .hb-icon-btn{min-width:42px!important;width:42px!important;border-color:transparent!important;background:#f5f7f1!important;border-radius:10px!important}
#center-top-toolbar>div{gap:7px!important}
#center-top-toolbar #btn-regenerate-seed{min-width:91px!important;font-size:13px!important;color:#355b40!important;background:#edf3e7!important}
#unified-view-stage-bar{background:#eef2e8!important;border:0!important;gap:3px!important;padding:3px!important;border-radius:12px!important}
#unified-view-stage-bar>.hb-seg-btn{font-size:13px!important;min-height:42px!important;padding:8px!important}
#unified-view-stage-bar>.is-active{background:#fff!important;color:#23543c!important;box-shadow:0 2px 6px #2f452f0d!important}
#center-top-lighting-bar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;min-height:88px!important;height:auto!important;gap:9px!important;padding:9px 12px!important;border-bottom:1px solid #e3e8dc!important;background:#fff!important;overflow:visible!important;z-index:30}
#center-top-lighting-bar>div:first-child{width:auto!important;flex:1!important;min-width:0!important;gap:0!important;flex-wrap:nowrap!important}
#center-top-lighting-bar>div:first-child>span,#center-top-lighting-bar>div:first-child>div:not(#stage-lighting-theme-group){display:none!important}
#center-top-lighting-bar>div:not(:first-child){display:none!important}
#center-top-lighting-bar>div:last-child:not(#ui-light-direction){display:none!important}
#stage-lighting-theme-group{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%;max-width:460px;background:transparent!important;border:0!important;padding:0!important}
#stage-lighting-theme-group button{min-width:0!important;min-height:68px!important;display:flex!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;border:1px solid #dfe6d6!important;border-radius:11px!important;padding:6px!important;background:#f6f8f2!important;color:#334d3b!important;box-shadow:none!important}
#stage-lighting-theme-group button>span{display:flex;align-items:center;gap:5px;font-size:13px!important;font-weight:650!important}
#stage-lighting-theme-group .studio-icon{width:15px!important;height:15px!important}
#stage-lighting-theme-group button.is-active{background:#e9f1e2!important;border:2px solid #386447!important;color:#1e4e37!important}
.ui-light-preview{display:block;width:54px;height:28px;border-radius:4px;border:1px solid #53674b20;box-shadow:0 1px 3px #00000010}
#ui-light-direction{position:relative;flex:0 0 auto;min-width:114px}
#ui-light-direction>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;padding:7px 9px;background:#f0f4e9;border:1px solid #d8e3d0;border-radius:11px;list-style:none;cursor:pointer;font-size:13px;color:#34573e;white-space:nowrap}
#ui-light-direction>summary::-webkit-details-marker{display:none}
#ui-light-direction>summary>svg{width:20px;height:20px}
#ui-light-direction>summary>b{font-size:14px;font-variant-numeric:tabular-nums}
#ui-light-direction>#lighting-angle-center-dock{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;left:auto!important;display:flex!important;flex-wrap:wrap!important;width:470px!important;max-width:calc(100vw - 52px)!important;margin:0!important;padding:15px!important;background:#fff!important;border:1px solid #cddbc4!important;border-radius:14px!important;box-shadow:0 12px 35px #1c362227!important;z-index:60}
#ui-light-direction:not([open])>#lighting-angle-center-dock{display:none!important}
#lighting-angle-center-dock>span{font-size:14px!important}
#lighting-angle-center-dock button{min-width:44px;min-height:44px!important;font-size:14px!important;background:#f0f4ea}
#center-stage-viewport{min-height:200px!important;background:#d6d5c7;isolation:isolate}
.ui-spec-pill{position:absolute;left:15px;top:14px;z-index:21;display:flex;align-items:center;gap:7px;max-width:calc(100% - 30px);padding:7px 11px;border:1px solid #ffffff9c;border-radius:10px;background:#fffffff0;color:#35503e;font-size:14px;box-shadow:0 2px 7px #213b2b0a;pointer-events:none}
.ui-spec-pill>svg{width:21px;height:21px;flex-shrink:0}
#top-active-spec-summary-badge{font-size:14px!important;font-weight:650!important;font-variant-numeric:tabular-nums;line-height:1.4}
#stage-luminaire-type-label{font-size:12px!important;padding:4px 8px!important;background:#fffffff0!important;max-width:230px}
#stage-active-luminaire-widget{opacity:.9;transform:scale(.85);transform-origin:center top}
#center-bottom-toolbar{min-height:76px!important;gap:7px!important;padding:9px 10px!important;background:#fdfefb!important;border-color:#e1e8d9!important}
#center-bottom-toolbar .hb-icon-btn{min-width:44px!important;width:44px!important;min-height:52px!important;gap:4px!important;border-radius:10px!important;color:#2c523c!important}
#center-bottom-toolbar .hb-icon-btn:hover{background:#eaf1e3!important}
#center-bottom-toolbar .hb-icon-btn:after{font-size:12px!important;font-weight:600;line-height:1.25}
#center-bottom-toolbar .hb-seg-btn{min-height:48px!important;font-size:14px!important;padding:8px!important}
#center-bottom-toolbar .hb-seg-group{background:#edf2e7!important;border-color:#e0e7d6!important}
#center-bottom-toolbar [id='dock-zoom-pct-label']{font-size:14px!important;color:#243f31!important;min-width:52px}
#space-installation-summary{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px!important;background:#f1f5eb!important;color:#385340!important;padding:12px 16px!important;border:0!important}
.ui-technical-details{position:relative;font-size:12px;color:#5c6f59;white-space:nowrap}
.ui-technical-details summary{cursor:pointer;min-height:32px;display:flex;align-items:center;list-style:none;gap:4px}
.ui-technical-details summary:before{content:'ⓘ';font-size:16px}
.ui-technical-details>#space-three-diag-badge{position:absolute!important;top:100%!important;right:0!important;left:auto!important;z-index:50!important;font-size:12px!important;max-width:calc(100vw - 44px);white-space:normal;min-width:260px}
#space-viewport-toolbar{gap:10px!important;padding:10px 13px!important;min-height:66px!important;align-items:center!important}
#space-viewport-toolbar>div{flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
#space-viewport-toolbar .hb-btn{font-size:13px!important;padding:8px 10px!important;min-height:44px!important}
#space-viewport-toolbar .font-mono{font-size:14px!important;color:#34563a!important}
#space-camera-preset-bar{position:static!important;left:auto!important;bottom:auto!important;transform:none!important;width:100%!important;flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:center;gap:7px!important;padding:11px!important;border:0!important;border-top:1px solid #e1e8d8!important;border-radius:0!important;background:#fdfefb!important;box-shadow:none!important}
#space-camera-preset-bar .hb-btn{min-height:44px!important;font-size:14px!important;flex:1 1 auto;padding:9px 13px!important}
#space-scale-guide-overlay{bottom:14px!important;left:14px!important;border-radius:11px!important;padding:9px 11px!important;font-size:12px!important}
#space-stair-hud{max-width:calc(100% - 26px);white-space:normal;border-radius:9px!important;font-size:12px!important}
.scene-object-panel button{font-size:14px!important;min-height:44px!important}
#atelier-statusbar{height:auto!important;min-height:30px!important;gap:10px!important;flex-wrap:wrap!important;font-size:12px!important;color:#53654c!important;padding:0 2px!important}
#atelier-statusbar>div{min-width:0;flex-wrap:wrap;gap:7px!important}
#application-build-label{font-size:10px!important;color:#53654b!important;border:1px solid #d8e0cf;border-radius:5px;padding:2px 5px;white-space:nowrap}
#chip-loading-text{font-size:11px!important;color:#52704c!important}
#atelier-statusbar .truncate{white-space:normal!important}
#admin-private-console{border-radius:15px!important;border-color:#d6dfd0!important;background:#fff!important;padding:16px!important;box-shadow:0 12px 32px #2c422526!important}
#admin-private-console button{min-height:44px!important;font-size:14px!important;border-radius:10px!important;padding:9px 13px!important}
#admin-private-console>div{flex-wrap:wrap;gap:9px!important}
#view-quote,#view-saved,#view-admin,#view-spec{font-size:15px!important;line-height:1.6;min-width:0}
#view-quote .venetian-card,#view-saved .venetian-card,#view-admin .venetian-card{border:1px solid #dce4d5!important;border-radius:17px!important;background:#fdfefb!important;padding:23px!important;box-shadow:0 2px 8px #2e482b05!important}
#view-quote h2,#view-saved h2,#view-admin h2{font-size:23px!important;line-height:1.45!important;letter-spacing:-.035em}
#view-quote h3,#view-saved h3,#view-admin h3{font-size:17px!important;line-height:1.5!important}
#view-quote p,#view-saved p,#view-admin p,#view-quote label,#view-quote [class*='text-']{font-size:14px!important;line-height:1.65!important}
#view-quote label{color:#3c543e!important;display:block}
#view-quote button,#view-saved button,#view-admin button{min-height:44px!important;font-size:14px!important;border-radius:10px!important;line-height:1.5!important}
#btn-submit-quote{min-height:54px!important;font-size:17px!important;background:#235746!important;color:white!important;box-shadow:0 5px 13px #2357461b!important}
.ui-expert-fold{border:1px solid #dce4d4;border-radius:12px;background:#f4f7ef;overflow:hidden}
.ui-expert-fold>summary{padding:12px 15px;min-height:46px;cursor:pointer;font-size:14px;font-weight:650;color:#47603f}
.ui-expert-fold>div{margin:0!important;border-radius:0!important;box-shadow:none!important}
.ui-expert-fold>button{margin:10px!important}
body>div[id$='-modal']{padding:24px!important;background:#15251d8c!important;backdrop-filter:blur(5px)!important;overscroll-behavior:contain;z-index:90!important}
body>div[id$='-modal']>.venetian-card{border:1px solid #d9e2d1!important;border-radius:20px!important;padding:24px!important;background:#fdfefb!important;box-shadow:0 24px 90px #0b1d1b38!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;scrollbar-gutter:stable;min-width:0}
body>div[id$='-modal']>.venetian-card>div:first-child{position:sticky;top:-24px;z-index:4;background:#fdfefbf5;border-bottom:1px solid #dbe4d2!important;backdrop-filter:blur(6px);padding:13px 0 17px!important;align-items:center;gap:14px}
body>div[id$='-modal'] h2{font-size:23px!important;line-height:1.4!important;font-weight:750!important;letter-spacing:-.045em;color:#233f30!important;margin:0!important}
body>div[id$='-modal'] h3{font-size:18px!important;line-height:1.5!important}
body>div[id$='-modal'] p,body>div[id$='-modal'] label,body>div[id$='-modal'] [class*='text-']{font-size:14px!important;line-height:1.6!important}
body>div[id$='-modal'] button{min-height:44px!important;min-width:44px;font-size:14px!important;line-height:1.4!important;border-radius:10px!important;padding:8px 12px!important}
body>div[id$='-modal'] button:disabled{opacity:.45!important}
body>div[id$='-modal']>.venetian-card>div:first-child>button{white-space:nowrap;flex-shrink:0;background:#e9f0e3!important;color:#2d5137!important;border:1px solid #d2dfc6!important;min-width:78px}
body>div[id$='-modal'] pre{font-size:12px!important;line-height:1.6!important;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
body>div[id$='-modal'] .grid>div{min-width:0}
body>div[id$='-modal'] table{font-size:14px;line-height:1.6;width:100%;border-collapse:collapse}
body>div[id$='-modal'] th,body>div[id$='-modal'] td{padding:10px 12px!important;border-color:#e0e6d8!important}
#annotation-spec-modal [class*='grid-cols-4']{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
#chip-library-grid{gap:12px!important}
#chip-library-grid>div{border-radius:13px!important;border-color:#dce6d1!important;background:#f5f8ef!important;padding:10px!important}
#stone-modal-tabs button{min-height:40px!important;font-size:13px!important}
#stone-modal-tabs{max-height:145px!important;gap:7px!important}
#stone-modal-title{font-size:24px!important}
.ui-dialog-open,.ui-dialog-open body{overflow:hidden!important}
.ui-mobile-jump{display:none}
@media(min-width:1600px){#studio-left-window,#space-left-window{width:390px!important;min-width:390px!important;max-width:390px!important;flex-basis:390px!important;padding:24px!important}#workbench-shell{padding-right:24px!important;gap:16px!important}#stage-lighting-theme-group{max-width:520px}}
@media(min-width:1024px) and (max-width:1199px){#studio-left-window,#space-left-window{width:322px!important;min-width:322px!important;max-width:322px!important;flex-basis:322px!important;padding:17px!important}#workbench-shell{padding-left:104px!important;padding-right:12px!important}#atelier-header .hb-btn{font-size:13px!important;padding:8px 9px!important}#center-top-toolbar>div:last-child{gap:5px!important}#center-top-toolbar{flex-wrap:wrap!important}#stage-lighting-theme-group{gap:5px!important}#ui-light-direction{min-width:96px}#ui-light-direction>summary{font-size:12px!important;padding:7px 5px!important}#ui-light-direction>summary>svg{display:none}#selected-aggregates-top-summary .truncate{font-size:13px!important}}
@media(max-width:1023px){
  html,body{height:auto!important;overflow:auto!important;scroll-padding-top:14px}
  #workbench-shell{padding:0 16px 18px!important;gap:16px!important}
  #atelier-header{height:auto!important;max-height:none!important;min-height:0!important;padding:22px 0 14px!important;gap:15px!important}
  #atelier-header h1{font-size:25px!important}
  #atelier-header .hb-btn{font-size:14px!important;padding:9px 12px!important}
  #top-attribute-tabs-bar{position:static!important;top:auto!important;bottom:auto!important;left:auto!important;width:100%!important;flex-direction:row!important;justify-content:space-between!important;gap:7px!important;overflow:visible!important}
  #top-attribute-tabs-bar .top-attr-tab-btn{width:auto!important;min-width:0!important;flex:1;min-height:83px!important;padding:11px 4px!important;font-size:14px!important}
  #top-attribute-tabs-bar:before{display:none}
  #studio-main-grid,#space-main-grid{gap:16px!important;display:flex!important;flex-direction:column!important}
  #studio-center-window,#space-center-window{order:0;min-height:680px!important;height:76vh!important;max-height:950px!important;flex-basis:auto!important}
  #studio-left-window,#space-left-window{order:1;width:100%!important;min-width:0!important;max-width:none!important;flex-basis:auto!important;max-height:none!important;padding:24px!important;overflow:visible!important}
  #studio-center-window #center-stage-viewport{min-height:260px!important}
  #center-top-toolbar{flex-wrap:wrap!important;justify-content:flex-start!important;padding:10px!important}
  #center-top-toolbar>div:last-child{margin-left:auto;justify-content:flex-end!important;flex:1 1 auto;gap:6px!important}
  #center-top-lighting-bar{min-height:92px!important;padding:10px!important;gap:8px!important}
  #stage-lighting-theme-group{max-width:none;gap:5px!important}
  #stage-lighting-theme-group button{min-height:68px!important;font-size:13px!important;gap:4px!important;padding:5px 2px!important}
  #stage-lighting-theme-group button>span{flex-direction:row!important;gap:3px!important;font-size:12px!important}
  #stage-lighting-theme-group .studio-icon{display:none}
  #ui-light-direction{min-width:83px}
  #ui-light-direction>summary{min-height:58px;flex-wrap:wrap;max-width:86px;gap:3px;font-size:13px!important;padding:5px!important}
  #ui-light-direction>summary>svg{width:17px;height:17px}
  #ui-light-direction>summary>b{width:100%;font-size:15px}
  #ui-light-direction>summary>span:last-child{display:none}
  #ui-light-direction>#lighting-angle-center-dock{width:360px!important;max-width:calc(100vw - 56px)!important}
  #center-bottom-toolbar{min-height:76px!important;gap:5px!important;padding:8px!important}
  .ui-mobile-jump{display:flex;gap:9px;width:100%;border:0;background:transparent;margin:0}
  .ui-mobile-jump a{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;border:1px solid #d2deca;border-radius:12px;background:#fcfef8;color:#31543b;font-size:15px;font-weight:650;text-decoration:none}
  .ui-mobile-jump a:first-child{background:#235746;border-color:#235746;color:white}
  .ui-mobile-jump svg{width:22px;height:22px}
  #space-camera-preset-bar{gap:6px!important;padding:10px!important}
  #space-camera-preset-bar button{font-size:13px!important;flex:1 1 29%;padding:8px!important}
  #space-viewport-toolbar{max-height:260px!important;overflow:auto!important}
  #space-installation-summary{font-size:13px!important;padding:11px!important}
  #base-color-options{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #stone-chip-options-list,#glass-chip-options-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body>div[id$='-modal']{padding:12px!important}
  body>div[id$='-modal']>.venetian-card{padding:18px!important;max-height:calc(100dvh - 24px)!important;border-radius:17px!important}
  body>div[id$='-modal']>.venetian-card>div:first-child{top:-18px}
  body>div[id$='-modal'] h2{font-size:21px!important}
  #view-quote .venetian-card,#view-saved .venetian-card,#view-admin .venetian-card{padding:19px!important}
}
@media(max-width:480px){
  #workbench-shell{padding:0 10px 14px!important}
  #atelier-header h1{font-size:24px!important}
  #atelier-header>div:last-child{gap:6px!important}
  #atelier-header .hb-btn{font-size:13px!important;padding:8px 10px!important;min-height:44px!important}
  #studio-center-window{height:auto!important;min-height:690px!important;max-height:none!important}
  #center-stage-viewport{min-height:310px!important;flex:1 0 310px!important}
  #center-top-toolbar>div:last-child{margin:0!important;flex:1 1 100%!important;justify-content:flex-start!important}
  #center-top-toolbar .hb-icon-btn{width:40px!important;min-width:40px!important}
  #unified-view-stage-bar{flex:1 1 auto;min-width:0}
  #unified-view-stage-bar .hb-seg-btn{flex:1;font-size:13px!important;padding:7px!important}
  #center-top-lighting-bar{gap:6px!important;padding:8px!important}
  #stage-lighting-theme-group button{min-height:63px!important}
  .ui-light-preview{width:43px;height:25px}
  #ui-light-direction{min-width:73px}
  #ui-light-direction>summary{font-size:12px!important;max-width:75px}
  #ui-light-direction>summary>svg{display:none}
  #studio-left-window,#space-left-window{padding:20px 15px!important}
  #stone-chip-options-list,#glass-chip-options-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #selected-aggregates-top-summary .truncate{font-size:13px!important}
  body>div[id$='-modal']{padding:8px!important}
  body>div[id$='-modal']>.venetian-card{padding:15px!important;max-height:calc(100dvh - 16px)!important}
  body>div[id$='-modal']>.venetian-card>div:first-child{top:-15px;gap:10px;padding-bottom:12px!important}
  body>div[id$='-modal'] h2{font-size:19px!important}
  body>div[id$='-modal']>.venetian-card>div:first-child>button{min-width:64px;padding:7px 9px!important;font-size:13px!important}
  #chip-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #atelier-statusbar>div{gap:5px!important;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{#ui-light-direction,.ui-mobile-jump,.ui-technical-details{display:none!important}body>div[id$='-modal']>.venetian-card>div:first-child{position:static!important}html,body{overflow:visible!important}}
/* These headings must outrank legacy utility text sizes. */
#studio-left-window .hb-sec-title[class],#space-left-window .hb-sec-title[class]{font-size:17px!important;font-weight:750!important;line-height:1.45!important}
#studio-left-window #lbl-left-active-tab-title{font-size:15px!important}
#studio-left-window .finish-description[class]{font-size:13px!important;line-height:1.5!important}
body>div[id$='-modal'] h2[class]{font-size:23px!important;line-height:1.4!important;font-weight:750!important;color:#233f30!important}
body>div[id$='-modal'] h3[class]{font-size:18px!important;line-height:1.5!important}
#view-quote h2[class],#view-saved h2[class],#view-admin h2[class]{font-size:23px!important;line-height:1.45!important}
#view-quote h3[class],#view-saved h3[class],#view-admin h3[class]{font-size:17px!important;line-height:1.5!important}
#preview-scale-badge:before{content:'화면 기준 ';font-size:12px;font-weight:500;color:#57694e}
@media(max-width:480px){body>div[id$='-modal'] h2[class]{font-size:19px!important}}
#center-top-toolbar button[data-ui-label]{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;min-height:52px!important;height:auto!important;min-width:54px!important;width:54px!important;padding:6px 3px!important}
#center-top-toolbar button[data-ui-label]:after{content:attr(data-ui-label);font-size:11px;line-height:1.25;white-space:nowrap;font-weight:600}
#atelier-header #btn-toggle-private-admin{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;min-width:98px!important;width:auto!important;white-space:nowrap!important;padding:8px 11px!important}
#selected-aggregates-top-summary button,.agg-card-btn button{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important}
#cement-base-options>button{position:relative}
#cement-base-options>button[aria-pressed=true]:after{content:'✓';position:absolute;right:7px;top:4px;color:#fff;font-size:14px;font-weight:750}
#space-camera-preset-bar button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#advanced-studio-drawer div:has(>#cross-section-title-label){display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
#studio-left-window #cross-section-title-label,#studio-left-window #cross-section-thick-label{font-size:13px!important;line-height:1.5!important;word-break:keep-all}
#advanced-studio-drawer button[onclick="regenerateDesignSeed()"]{white-space:nowrap!important;flex-shrink:0;min-width:105px!important}
