/* Shared density: compact desktop controls, full touch targets, a fitted 3D viewport. */
:root{--rail:264px;--texture:clamp(170px,20vw,290px);--ui-text:13px;--ui-label:12px;--ui-note:11px;--ui-control:36px;--ui-radius:12px}
.topbar{height:60px;margin:8px 12px 0;padding:0 16px;gap:12px;border-radius:16px}.topbar .quiet{min-height:36px;padding:6px 10px;font-size:12px;border-radius:10px}.topbar .header-description{margin-left:8px;font-size:10px}.topbar .header-description>span{font-size:12px}.topbar .brand-logo-button{min-height:38px}.app{height:calc(100dvh - 68px)}
.selector-scroll{padding:14px}.visual-catalog-filters{border-radius:14px;padding:12px}.texture-picker{min-height:54px;border-radius:10px}.catalog-modes button{min-height:36px;font-size:11px}.palette{gap:10px 8px}.swatch-img img{height:70px}.swatch .swatch-code,.swatch .swatch-name{font-size:11px;line-height:1.35}.texture-caption{padding:12px;border-radius:13px}.texture-caption h2{font-size:22px;line-height:1.15;margin:7px 0 9px}.texture-caption .texture-order-actions button{min-height:36px}.bottom-bar{min-height:52px;padding:8px 14px;font-size:11px}.bottom-bar>p{font-size:11px}.material-nav button{width:36px;height:36px}.material-nav span{font-size:11px}
.solutions-section,.project-full,.technical-section{padding:32px clamp(12px,3vw,48px)}.solutions-intro{gap:24px;align-items:center}.solutions-intro h2,.project-heading h2,.technical-heading h2,.order-heading h2{font-size:clamp(25px,2.5vw,36px);line-height:1.15;margin:8px 0 14px}.solutions-intro>p{font-size:14px;line-height:1.55;margin:0 0 14px}.solutions-intro .small-label,.project-heading .small-label{font-size:10px;letter-spacing:1.1px}.solution-grid{gap:16px}.solution-card-board,.solution-card-board img{height:190px}.solution-card-description{font-size:13px;line-height:1.5;padding:0 16px 14px}.library-filter-panel{padding:14px;border-radius:16px}.library-toolbar{gap:10px;margin:12px 0}.library-views button,.visual-tabs button{min-height:36px;padding:7px 10px;font-size:12px}.visual-rail .visual-choice{border-radius:12px}.solution-disclaimer{font-size:11px;margin-top:18px}.order-section{padding:0 clamp(12px,3vw,48px) 36px}.order-heading{gap:24px;margin-bottom:20px}.order-layout{gap:20px}.order-search-box{padding:16px}.order-jumpbar{padding:8px 0;margin-bottom:20px}.order-jump-total strong{font-size:18px}
.project-full .project-heading{gap:16px}.project-full .project-heading h2{font-size:clamp(24px,2.4vw,34px)}.project-heading p:not(.small-label){font-size:13px;margin:8px 0}.project-heading small{font-size:11px;margin-top:4px}.project-file-actions{gap:6px}.project-file-actions button{min-height:36px;font-size:12px;padding:7px 11px}.project-full .project-transfer{gap:12px;margin-top:14px;padding:12px;border-radius:14px}.project-transfer span{font-size:11px;line-height:1.5}.project-import-feedback{font-size:11px;margin:7px 0 10px;min-height:16px}
.project-full .project-skins{margin:10px 0 12px;padding:10px;border-radius:14px}.project-skins-heading{margin-bottom:6px}.project-skins-heading b{font-size:12px}.project-skins-heading small{font-size:10px}.project-skins-heading button{min-height:32px;height:32px;min-width:32px;width:32px}.project-full #projectSolutionCards>button{flex-basis:176px;min-height:54px;padding:6px;gap:7px;border-radius:10px}.project-full #projectSolutionCards>button>span{flex-basis:50px;height:38px}.project-full #projectSolutionCards img{width:15px;height:38px}.project-full #projectSolutionCards b{font-size:11px}
.project-full .project-workspace{grid-template-columns:minmax(0,1fr) clamp(270px,23vw,300px);gap:12px}.project-full .project-stage-wrap{border-radius:16px;top:8px}.project-full[data-editor-open=false] .project-workspace{grid-template-columns:minmax(0,1fr)}.project-full .project-camera-views{padding:6px;gap:4px}.project-full .project-camera-views button{min-height:36px;padding:6px 9px;font-size:11px;border-radius:9px}.project-camera-views button span{font-size:14px;margin-right:2px}
/* One horizontal action strip, outside the model. */
.project-full .project-glass-dock{position:static;z-index:5;left:auto;top:auto;bottom:auto;display:flex;flex-direction:row;gap:5px;width:100%;max-height:none;padding:6px;border:0;border-bottom:1px solid #cfdbc6;border-radius:0;overflow:visible;background:rgba(243,247,236,.94);color:#30462e;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.project-full .project-glass-dock button{display:flex;flex:1 1 0;min-width:0;width:auto;min-height:38px;height:38px;padding:6px 8px;gap:7px;border:1px solid #c4d0ba;border-radius:9px;background:rgba(255,255,255,.74);color:#30462e;justify-content:center;box-shadow:none;font-size:12px}
.project-full .project-glass-dock .glass-dock-label{display:block;font-size:12px;line-height:1.2}.project-full .project-glass-dock button>svg{width:18px;height:18px;flex:0 0 18px}.project-full .project-glass-dock button:hover{background:#e6eddf;color:#263f29;border-color:#789369}.project-full .project-glass-dock button[aria-pressed=true]{background:#405d37;color:#fff;border-color:#405d37;box-shadow:none}.project-full .project-glass-dock button:focus-visible{outline:3px solid #7a994a;outline-offset:-2px}
.project-full .project-stage{height:clamp(320px,calc(100svh - 240px),620px);min-height:280px}.project-scene-shell{position:relative}
/* Small model HUD. Camera adjustments open only when needed. */
.project-full .project-stage-toolbar{position:absolute;z-index:6;top:8px;left:8px;right:8px;display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px;padding:0;border:0;background:none;pointer-events:none}
.project-full .project-stage-toolbar>span{flex:0 1 auto;max-width:46%;min-width:0;display:block;padding:7px 9px;border:1px solid #fff9;border-radius:9px;background:rgba(248,250,243,.93);font-size:11px;line-height:20px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto}
.project-full .project-stage-toolbar>div{display:flex;flex-wrap:nowrap;align-items:flex-start;margin:0 0 0 auto;gap:4px;pointer-events:auto}
.project-full .project-stage-toolbar button,.project-camera-options>summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:34px;height:34px;padding:5px 8px;border:1px solid #afc09f;border-radius:9px;background:rgba(248,251,242,.95);color:#30482b;font-size:11px;line-height:20px;cursor:pointer;list-style:none}
.project-camera-options{position:relative}.project-camera-options summary::-webkit-details-marker{display:none}.project-camera-options svg{width:16px;height:16px}.project-camera-options>.project-camera-buttons{display:none}.project-camera-options[open]>.project-camera-buttons{position:absolute;z-index:15;top:calc(100% + 6px);right:0;width:252px;display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:rgba(246,250,239,.98);border:1px solid #fff;border-radius:13px;box-shadow:0 12px 30px #1d352537;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.project-full .project-camera-buttons button{min-height:40px;height:40px;min-width:40px;font-size:15px}.project-full .project-camera-buttons #projectCameraReset{font-size:12px;flex:1}.project-camera-options summary:focus-visible{outline:3px solid #7a994a;outline-offset:2px}
.project-full .project-model-bottom{padding:8px 10px;gap:8px}.project-full .project-model-bottom button{min-height:34px;padding:6px 9px;font-size:11px;border-radius:9px}.project-full .project-model-bottom>span:not(.glass-interaction-hint){display:none}.project-full .project-model-bottom .glass-interaction-hint{font-size:11px;font-weight:400;line-height:1.4}.project-full .project-model-note{font-size:11px;line-height:1.5;padding:8px 10px}
.project-full .project-editor{top:8px;padding:12px;border-radius:16px;max-height:calc(100svh - 84px);scroll-padding-top:64px}.glass-editor-heading{top:-12px;margin:-12px -12px 12px;padding:10px 12px;min-height:52px}.glass-editor-heading strong{font-size:11px;margin-top:3px}.glass-editor-heading span{font-size:9px}.glass-editor-heading button{width:32px;height:32px;flex-basis:32px}
.project-full .project-variants button,.project-full .project-zones button,.project-full .project-quick-modes button{min-height:36px;padding:6px;font-size:11px;border-radius:9px}.project-full .project-variant-details{margin:5px 0 9px;font-size:11px}.project-full .project-variant-details summary{min-height:26px}.project-full .project-editor label{font-size:12px}.project-full .project-editor input:not([type=checkbox]):not([type=color]),.project-full .project-editor select{min-height:38px;font-size:13px;padding:7px 9px;border-radius:9px}.project-full .project-surface-label{margin-bottom:9px}
.project-full #projectActiveMaterial{min-height:78px;padding:8px;gap:9px;margin:9px 0;border-radius:12px}.project-full #projectActiveMaterial>img{width:46px;height:60px;border-radius:7px}.project-full #projectActiveMaterial h3{font-size:21px;line-height:1.12;margin:4px 0}.project-full #projectActiveMaterial small{font-size:10px}.project-full #projectActiveMaterial p{font-size:11px;line-height:1.45;margin:4px 0}
.project-full .project-quick-heading{font-size:11px;margin:9px 0 6px}.project-full .project-quick-modes{gap:4px;margin-bottom:6px}.project-full .project-shades{max-height:168px;padding:3px 3px 7px;gap:6px}.project-full .project-shades button{flex-basis:76px;padding:4px;border-radius:10px}.project-full .project-shades img{height:62px;border-radius:6px}.project-full .project-shades span{font-size:11px;line-height:15px;min-height:34px;padding:4px 1px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.project-full .project-texture-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:230px}.project-full .project-texture-choices img{height:50px}.project-full .project-texture-choices b,.project-full .project-texture-choices small{font-size:10px;line-height:1.3}.project-full .project-editor>.order-secondary,.project-full .project-editor>.order-primary,.project-full .project-small-actions button{min-height:36px;font-size:12px;border-radius:10px;padding:7px 9px}.project-full .project-catalog-apply{font-size:11px;min-height:34px;margin:5px 0}.project-full .project-small-actions{gap:5px}.project-full .project-area-line{margin:12px 0 6px}.project-full .project-area-line strong{font-size:15px}.project-full #projectFeedback{font-size:11px;line-height:1.5}.project-full .project-save-footer{font-size:11px;margin-top:10px}.project-full .project-estimate{margin-top:12px;border-radius:12px}.project-full .project-estimate>summary{min-height:40px;padding:10px 12px;font-size:12px}
.ui-picker-dialog{border-radius:18px}.catalog-picker-grid{gap:10px}.catalog-picker-grid>button{border-radius:11px}.ui-picker-dialog input{min-height:40px;font-size:14px}.facade-radial .radial-sector-content>span{font-size:11px}
@media(max-width:1024px){.project-full .project-workspace{grid-template-columns:minmax(0,1fr)}.project-full .project-stage-wrap{position:static}.project-full .project-editor{position:fixed;z-index:90;top:auto;bottom:max(10px,env(safe-area-inset-bottom));right:12px;left:auto;width:min(380px,calc(100vw - 24px));max-height:65svh;box-shadow:0 -8px 44px #19311e30;background:rgba(247,250,241,.97)}.project-full .project-editor .glass-editor-heading{background:#f6f8f0}.project-full .project-stage{height:clamp(280px,calc(100svh - 220px),560px)}.project-full .project-stage-toolbar>span{flex-basis:auto}.project-full .project-stage-toolbar>div{flex-wrap:nowrap;margin-top:0}.project-full .project-stage-toolbar button span,.project-camera-options summary>span{display:none}.project-full .project-stage-toolbar button,.project-camera-options>summary{width:38px;height:38px;min-width:38px;min-height:38px;padding:6px}.project-full .project-stage-toolbar .project-camera-buttons button{width:auto;min-width:40px;min-height:40px}.project-full .project-stage-toolbar #projectEditorToggle{margin:0}.project-full .project-stage-toolbar>span{max-width:calc(100% - 134px)}.project-full .glass-context-trigger{padding:6px!important}.project-full[data-editor-open=false] .project-editor{display:none}.project-full[data-editor-open=true] .project-glass-dock{display:flex}}
@media(max-width:760px){
 :root{--rail:100%;--ui-control:44px}.topbar{height:56px;margin:6px 8px 0;padding:0 8px;border-radius:13px}.topbar .quiet{min-height:40px;font-size:12px;padding:6px 8px}.app{height:auto}.selector-scroll{padding:12px}.visual-catalog-filters,.library-filter-panel{border-radius:13px}.texture-caption{padding:10px}.texture-caption h2{font-size:21px}.catalog-modes button{min-height:40px}.texture-picker{min-height:56px}.swatch-img img{height:64px}.bottom-bar{padding:8px 12px;min-height:48px}.material-nav button{min-width:44px;min-height:44px}.solutions-section,.project-full,.technical-section{padding:24px 12px}.solutions-intro h2,.project-full .project-heading h2,.order-heading h2{font-size:27px}.solutions-intro>p{font-size:13px;line-height:1.5}.solution-card-board,.solution-card-board img{height:170px}.project-full .project-heading p:not(.small-label){font-size:12px}.project-file-actions{gap:6px}.project-file-actions button{min-height:40px;font-size:11px;padding:8px 10px}.project-full .project-transfer{padding:10px;gap:8px;margin-top:10px}.project-transfer span{font-size:11px}.project-full .project-skins{padding:8px;margin:8px 0 10px}.project-skins-heading small{display:none}.project-skins-heading button{width:36px;height:36px;min-width:36px;min-height:36px}.project-full #projectSolutionCards>button{flex-basis:163px}.project-full .project-stage-wrap{border-radius:13px}.project-full .project-camera-views{padding:5px;gap:4px}.project-full .project-camera-views button{min-height:40px;padding:7px 9px;font-size:11px}.project-full .project-glass-dock{padding:5px;gap:3px}.project-full .project-glass-dock button{height:46px;min-height:46px;padding:3px 1px;flex-direction:column;gap:3px}.project-full .project-glass-dock .glass-dock-label{font-size:11px;line-height:13px;white-space:nowrap}.project-full .project-glass-dock button>svg{width:18px;height:18px}.project-full .project-stage{height:auto;aspect-ratio:4/3;min-height:220px;max-height:390px}.project-full[data-editor-open=true] .project-stage{height:clamp(190px,calc(54svh - 120px),280px);min-height:170px;aspect-ratio:auto}.project-full .project-editor{left:10px;right:10px;width:auto;padding:12px;max-height:46svh;border-radius:18px}.project-full .project-stage-toolbar{top:7px;left:7px;right:7px;gap:4px}.project-full .project-stage-toolbar>span{font-size:10px;padding:7px;max-width:calc(100% - 138px)}.project-full .project-stage-toolbar>div{gap:4px}.project-full .project-stage-toolbar button,.project-camera-options>summary{min-height:40px;height:40px;min-width:40px;width:40px}.project-full .project-editor input:not([type=checkbox]):not([type=color]),.project-full .project-editor select,.ui-picker-dialog input{font-size:16px;min-height:44px}.project-full .project-variants button,.project-full .project-zones button,.project-full .project-quick-modes button,.project-full .project-editor>.order-secondary,.project-full .project-editor>.order-primary,.project-full .project-small-actions button{min-height:44px;font-size:12px}.project-full .project-variant-details summary{min-height:40px}.project-full .project-shades button{flex-basis:82px}.project-full .project-shades img{height:64px}.project-full .project-model-bottom button{min-height:40px}.project-full .project-model-note{font-size:11px}.project-full .project-model-bottom .glass-interaction-hint{font-size:11px}.order-section{padding:0 12px 30px}.order-layout{gap:16px}.order-search-box{padding:12px}.order-section input:not([type=checkbox]),.order-section select{font-size:16px}.library-views button,.visual-tabs button{min-height:40px}.facade-radial .radial-sector-content>span{font-size:11px}
}
@media(min-width:761px) and (max-width:1024px){
 .project-full[data-editor-open=true] .project-workspace{grid-template-columns:minmax(0,1fr) 270px}
 .project-full .project-editor{position:sticky;top:8px;bottom:auto;left:auto;right:auto;width:auto;max-height:calc(100svh - 84px)}
 .project-full .project-stage{height:auto;aspect-ratio:4/3;min-height:280px;max-height:560px}
 .project-full .project-glass-dock button{flex-direction:column;height:48px;gap:3px;padding:4px 1px}
 .project-full .project-glass-dock .glass-dock-label{font-size:11px}
}
@media(pointer:coarse){.project-full .project-glass-dock button,.project-full .project-camera-views button,.project-camera-options>summary{min-height:44px}}
