/* Three depths of glass: navigation / readable controls / contextual actions. */
:root{--glass-ink:#273b2e;--glass-line:rgba(255,255,255,.8);--glass-surface:rgba(246,248,240,.86);--glass-solid:#f5f7ef;--glass-dark:rgba(30,47,37,.88);--glass-shadow:0 16px 44px rgba(29,48,33,.10),inset 0 1px rgba(255,255,255,.9)}
body{background:radial-gradient(ellipse at 10% 15%,rgba(196,213,184,.23),transparent 38%),radial-gradient(ellipse at 92% 50%,rgba(206,191,162,.16),transparent 32%),#f5f6ef}
.topbar{position:relative;z-index:25;margin:12px 16px 0;height:66px;padding:0 20px;border:1px solid var(--glass-line);border-radius:22px;background:rgba(250,251,247,.80);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 6px 24px rgba(29,48,33,.05),inset 0 1px #fff}
.topbar .quiet{border:1px solid transparent;border-radius:14px;min-height:44px;padding:9px 12px;color:var(--glass-ink)}.topbar .quiet:hover{background:rgba(255,255,255,.85);border-color:#fff}.topbar .brand-logo-button{border-radius:13px}.topbar .header-actions{gap:5px}
#catalogWorkspace>.selector{background:rgba(249,250,245,.76);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-right-color:rgba(205,214,196,.65)}
.visual-catalog-filters,.library-filter-panel{background:var(--glass-surface);border-color:var(--glass-line);border-radius:20px;box-shadow:var(--glass-shadow)}
.texture-caption{background:rgba(250,251,247,.9);border:1px solid var(--glass-line);border-radius:18px;box-shadow:0 10px 24px #25362914;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.texture-picker,.catalog-modes button,.visual-tabs button,.library-views button{border-radius:12px}.catalog-filter-tags button,.library-active-filters button{border-radius:20px}
.ui-picker-dialog,#solutionDialog,#solutionCompareDialog,#libraryPhotoDialog,#aboutDialog{border:1px solid #fff;border-radius:24px;background:rgba(247,249,242,.96);color:var(--glass-ink);box-shadow:0 32px 100px #17281c38,inset 0 1px #fff;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);overscroll-behavior:contain}
dialog::backdrop{background:rgba(22,37,27,.27);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.ui-picker-dialog input,.ui-picker-dialog button,.catalog-picker-grid>button{border-radius:13px}.ui-picker-dialog header{background:rgba(247,249,242,.97)}
.project-full{--glass-accent:#486444}.project-full .project-heading h2{letter-spacing:-.7px}.project-full .project-workspace{gap:18px;position:relative;grid-template-columns:minmax(0,1fr) 320px;align-items:start}
.project-full .project-stage-wrap{border:1px solid rgba(255,255,255,.9);border-radius:24px;background:rgba(235,240,225,.78);box-shadow:var(--glass-shadow);overflow:hidden;top:10px}
.project-full .project-stage{height:clamp(420px,calc(100svh - 270px),720px);min-height:350px}.project-scene-shell{position:relative;isolation:isolate;overflow:hidden}.project-scene-shell .project-stage{border:0}
.project-full .project-camera-views{background:rgba(250,251,246,.78);border-color:rgba(199,210,188,.48);padding:12px;gap:7px}
.project-full .project-camera-views button{border-radius:13px;background:rgba(255,255,255,.72);min-height:44px;padding:8px 12px;border-color:rgba(166,185,151,.5);font-size:12px}
.project-full .project-camera-views button[aria-pressed=true]{background:#3f5b36;border-color:#3f5b36;color:#fff;box-shadow:0 4px 12px #304b2720}
.project-full .project-stage-toolbar{background:rgba(248,250,242,.8);border-color:rgba(199,210,188,.48);padding:9px 13px;flex-wrap:wrap}.project-full .project-stage-toolbar>span{font-size:12px;font-weight:500;color:var(--glass-ink)}
.project-full .project-stage-toolbar>div{gap:6px;align-items:center;margin:0;display:flex}.project-full .project-stage-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:40px;border-radius:12px;background:rgba(255,255,255,.72);border-color:#aabb9c80;color:var(--glass-ink)}
.project-stage-toolbar svg{width:17px;height:17px}.project-full .glass-context-trigger{background:#3f5b36!important;border-color:#3f5b36!important;color:#fff!important;padding:8px 12px}
.project-full .project-model-bottom,.project-full .project-model-note{background:rgba(248,250,242,.86);border-color:#fff}.project-full .project-model-bottom{padding:10px 13px;flex-wrap:wrap}.project-full .project-model-bottom button{border-radius:12px}.project-full .project-model-bottom .glass-interaction-hint{font-size:11px;color:#385231;font-weight:600}.project-full .project-model-bottom>span:not(.glass-interaction-hint){font-size:10px}
.project-full .project-editor{position:sticky;top:10px;max-height:calc(100svh - 20px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--glass-surface);border:1px solid var(--glass-line);border-radius:24px;padding:16px;color:var(--glass-ink);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);scroll-padding-block:82px 16px}
.glass-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:-16px;z-index:2;background:rgba(246,248,240,.98);margin:-16px -16px 16px;padding:14px 16px;border-bottom:1px solid #d5ddcd}
.glass-editor-heading span{font-size:9px;letter-spacing:1.6px;color:#65755e;display:block}.glass-editor-heading strong{display:block;font-size:12px;line-height:1.45;margin-top:4px;font-weight:600;overflow-wrap:anywhere}.glass-editor-heading button{width:38px;height:38px;flex:0 0 38px;border:1px solid #c1ceba;border-radius:50%;background:rgba(255,255,255,.8);color:#3b5036;display:grid;place-items:center}.glass-editor-heading svg{width:18px;height:18px}
.project-full[data-editor-open=false] .project-editor{display:none}.project-full[data-editor-open=false] .project-workspace{grid-template-columns:minmax(0,1fr)}
.project-full .project-variants button,.project-full .project-zones button,.project-full .project-quick-modes button{border-radius:12px;min-height:44px;font-size:12px;background:rgba(255,255,255,.68);border-color:#a7b99a8c}
.project-full .project-variants button[aria-pressed=true],.project-full .project-zones button[aria-pressed=true]{background:#405c37;color:#fff;border-color:#405c37;box-shadow:0 3px 12px #273e231c}
.project-full .project-quick-modes button[aria-pressed=true]{background:#e1ead8;border-color:#5a7549;box-shadow:inset 0 -2px #5a7549}
.project-full .project-variant-details{margin:8px 0 12px}.project-full .project-editor input:not([type=checkbox]):not([type=color]),.project-full .project-editor select{border-radius:12px;background:rgba(255,255,255,.82);min-height:44px}
.project-full #projectActiveMaterial{background:rgba(255,255,255,.64);border:1px solid #fff;border-radius:16px;padding:12px;margin-top:12px;margin-bottom:12px}.project-full #projectActiveMaterial img{border-radius:9px}.project-full #projectActiveMaterial h3{font-size:23px}.project-full #projectActiveMaterial small{margin:0;font-size:11px}.project-full #projectActiveMaterial p{font-size:12px}
.project-full .project-editor>.order-secondary,.project-full .project-editor>.order-primary{border-radius:13px;min-height:44px}.project-full .project-shades button{border-radius:12px;padding:5px;background:rgba(255,255,255,.74);border-color:#b9c9ad;flex-basis:84px}.project-full .project-shades img{border-radius:7px;height:72px}.project-full .project-shades span{font-size:11px}.project-full .project-shades button[aria-pressed=true]{background:#e3ecd8;outline-color:#4f6d3f}
.project-full .project-small-actions button,.project-full .project-scale button{border-radius:12px;min-height:44px}.project-full .project-zone-geometry{border-radius:14px;background:rgba(226,235,213,.8)}
.project-full .project-skins,.project-full .project-estimate,.project-full .project-transfer{border:1px solid var(--glass-line);border-radius:20px;background:rgba(249,251,244,.78);box-shadow:0 8px 24px #263b1e08}.project-full #projectSolutionCards>button{border-radius:14px;background:rgba(255,255,255,.68)}.project-full .project-texture-choices button{border-radius:12px;background:rgba(255,255,255,.78);padding:6px}.project-full .project-texture-choices img{border-radius:7px}.project-full .project-texture-choices b{font-size:11px}.project-full .project-texture-choices small{font-size:10px}
/* Floating dock. Labels stay in accessible names while compact. */
.project-glass-dock{position:absolute;z-index:5;top:16px;left:16px;max-height:calc(100% - 32px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;display:flex;flex-direction:column;gap:5px;width:62px;padding:9px;border:1px solid rgba(255,255,255,.43);border-radius:25px;background:var(--glass-dark);color:#f8faf5;box-shadow:0 14px 32px #16291b2e,inset 0 1px #ffffff40;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.project-glass-dock[data-expanded=true]{width:210px}.project-glass-dock button{flex:0 0 44px;min-height:44px;width:100%;display:flex;align-items:center;gap:12px;padding:0 11px;text-align:left;color:#f7faf4;border:1px solid transparent;border-radius:50%;background:transparent;white-space:nowrap;touch-action:manipulation}
.project-glass-dock button>svg{width:20px;height:20px;flex:0 0 20px}.project-glass-dock .glass-dock-label{display:none;font-size:12px;line-height:1.4}.project-glass-dock[data-expanded=true] button{border-radius:14px}.project-glass-dock[data-expanded=true] .glass-dock-label{display:block}
.project-glass-dock button:hover,.project-glass-dock button[aria-pressed=true]{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.45);color:#fff;box-shadow:inset 0 1px #ffffff40}.project-glass-dock button:disabled{opacity:.4;cursor:default}.project-glass-dock .glass-dock-toggle{padding:0 3px;margin-bottom:3px;gap:8px}.glass-dock-mark{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#d9e7c3;color:#29412c;font:600 21px Georgia,serif;box-shadow:inset 0 1px #fff}.project-glass-dock .glass-dock-toggle>svg{display:none;margin-left:auto;width:15px;flex-basis:15px}.project-glass-dock[data-expanded=true] .glass-dock-toggle>svg{display:block;transform:rotate(180deg)}
/* Non-modal contextual ring, mounted above the scene without changing it. */
.facade-radial{position:fixed;inset:auto;margin:0;padding:0;max-width:none;max-height:none;overflow:visible;border:0;background:transparent;z-index:190;color:#fff;outline:none;filter:drop-shadow(0 20px 30px #14271f4d)}.facade-radial:not([open]){display:none}
.radial-ring{position:relative;width:100%;height:100%;border-radius:50%;background:rgba(28,44,34,.92);border:1px solid #ffffff80;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #fff5;animation:radial-reveal .16s ease-out}
.radial-sector{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:rgba(255,255,255,.07);color:#f6faef;touch-action:manipulation;transition:background-color .12s,color .12s;cursor:pointer;outline:none}
.radial-sector-content{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:82px;transform:translate(-50%,-50%);pointer-events:none}.radial-sector svg{width:23px;height:23px}.radial-sector-content>span{font-size:12px;line-height:1.2;max-width:80px;text-align:center;overflow-wrap:normal}
.radial-sector:hover{background:rgba(255,255,255,.23);color:#fff}.radial-sector:focus-visible{background:#e3edcf;color:#213c2b}.radial-sector:disabled{opacity:.32;cursor:default}.radial-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:31%;height:31%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #ffffff55;border-radius:50%;background:rgba(248,250,241,.94);color:#29412d;box-shadow:inset 0 1px #fff;padding:10px;touch-action:manipulation}.radial-center svg{width:20px;height:20px;flex-shrink:0}.radial-center span{font-size:10px;line-height:1.2;max-width:75px;overflow-wrap:anywhere}.radial-center:hover{background:#fff;color:#243b29}
.glass-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.project-glass-dock button:focus-visible,.radial-center:focus-visible{outline:3px solid #d9ecb7;outline-offset:2px}.project-full button:focus-visible,.topbar button:focus-visible,.ui-picker-dialog button:focus-visible{outline:3px solid #799847;outline-offset:3px}.project-full .project-glass-dock button:focus-visible{outline-color:#d9ecb7;outline-offset:-2px}
@keyframes radial-reveal{from{transform:scale(.93);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:1000px) and (min-width:761px){.project-full .project-workspace{grid-template-columns:minmax(0,1fr) 285px;gap:12px}.project-full .project-stage-toolbar>span{flex-basis:100%}.project-full .project-stage-toolbar>div{flex-wrap:wrap}.topbar .header-description{display:none}}
@media(max-width:760px){
 .topbar{margin:8px 8px 0;padding:0 10px;border-radius:18px;height:62px;gap:8px}.topbar .header-actions{gap:2px}.topbar .quiet{padding:7px}.topbar .header-description{display:none}.texture-caption{border-radius:14px}
 .project-full .project-workspace{grid-template-columns:minmax(0,1fr);gap:12px}.project-full .project-stage-wrap{position:static;border-radius:19px}.project-full .project-stage{height:370px;min-height:300px}.project-full .project-camera-views{padding:9px}.project-full .project-camera-views button{min-height:44px;font-size:11px;padding:7px 10px}.project-full .project-stage-toolbar{display:flex;padding:9px;gap:7px}.project-full .project-stage-toolbar>span{flex-basis:100%}.project-full .project-stage-toolbar>div{display:flex;flex-wrap:wrap;gap:5px}.project-full .project-stage-toolbar button{min-width:40px;min-height:44px}.project-full .project-stage-toolbar #projectEditorToggle{margin-left:auto}.project-full .project-model-bottom .glass-interaction-hint{font-size:11px}
 .project-full .project-editor{position:fixed;z-index:90;top:auto;bottom:max(10px,env(safe-area-inset-bottom));left:10px;right:10px;width:auto;max-height:52svh;padding:16px;border-radius:24px;background:rgba(246,248,240,.96);box-shadow:0 -10px 60px #172e223b,inset 0 1px #fff;scroll-padding-top:85px;animation:radial-reveal .15s ease-out}.project-full .project-editor .glass-editor-heading{background:#f6f8f0}.project-full .project-editor>.order-primary{margin-bottom:8px}
 .project-glass-dock{left:10px;top:10px;max-height:calc(100% - 20px);width:56px;padding:5px;border-radius:22px;gap:3px}.project-glass-dock button{min-height:42px;flex-basis:42px;padding:0 11px}.project-glass-dock .glass-dock-toggle{padding:0 3px}.project-glass-dock[data-expanded=true]{width:200px}.project-glass-dock .glass-dock-label{font-size:12px}
 .radial-sector-content{width:72px;gap:3px}.radial-sector-content>span{font-size:11px}.radial-sector svg{width:21px;height:21px}
}
@media(prefers-reduced-motion:reduce){.radial-ring,.project-full .project-editor{animation:none}.radial-sector,.project-glass-dock button{transition:none}}
@media(prefers-reduced-transparency:reduce){.project-glass-dock{background:#263f30}.radial-ring{background:#233a2c}.project-full .project-editor,.topbar,.visual-catalog-filters,.texture-caption,.ui-picker-dialog{background:var(--glass-solid);-webkit-backdrop-filter:none;backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.project-glass-dock{background:#263f30}.radial-ring{background:#233a2c}.project-full .project-editor,.topbar,.visual-catalog-filters,.texture-caption,.ui-picker-dialog{background:var(--glass-solid)}}
#quickOrderDialog{border:1px solid #fff;border-radius:24px;background:rgba(247,249,242,.97);color:var(--glass-ink);box-shadow:0 32px 100px #17281c38,inset 0 1px #fff;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);overscroll-behavior:contain}#quickOrderDialog input,#quickOrderDialog select,#quickOrderDialog button{border-radius:12px}
@media(max-width:760px){.project-full[data-editor-open=true] .project-stage{height:250px;min-height:230px}.project-full .project-editor{max-height:46svh}}
@media(max-width:760px){.project-full[data-editor-open=true] .project-glass-dock{display:none}}
@media(max-width:400px){.library-toolbar .library-views{flex-wrap:wrap;gap:4px;min-width:0;max-width:100%}}
