.surface-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.surface-tabs button{font-size:14px;padding:10px 5px;white-space:nowrap;min-width:0}.surface-tabs button .category-icon{display:block;font-size:21px;margin-bottom:4px}.material-panel{max-height:100%;min-height:0}.material-panel .materials{min-height:0;flex:1;max-height:465px}.material-panel .swatch{height:105px}.material .material-type{display:block;font-size:12px;line-height:1.35;color:#878078;margin:0 9px 7px}.material .price{font-size:14px}.swatch.product{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#faf8f4,#e9e5dc);padding:7px}.swatch.product img{height:100%;max-width:100%;object-fit:contain}.swatch.existing{font-size:12px;color:#989185}.swatch.fabric{background:repeating-linear-gradient(0deg,#fff1 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#0001 0 1px,transparent 1px 3px),var(--color)}.material-type{min-height:30px}.chosen{grid-template-columns:repeat(3,minmax(0,1fr));max-height:285px;overflow:auto;padding:2px}.chosen-card{position:relative;grid-template-columns:58px minmax(0,1fr);gap:9px}.chosen-card .swatch{height:78px}.chosen-card strong{font-size:14px;padding-right:9px}.chosen-card .swatch img{height:100%;max-width:100%;object-fit:contain}.remove-item{position:absolute;top:4px;right:4px;background:transparent;border:0;color:#8a8177;font-size:20px;line-height:1;padding:2px 5px}.remove-item:hover{color:#ff7900}.amount-row input{width:48px}.amount-row b{font-size:13px}.summary .total{font-size:28px}.bottom-wrap{align-items:start}.selection .selection-heading{margin-bottom:14px}.selection h2{font-size:16px}.top-actions #toggle-panels{font-weight:500}.temperature-controls{margin:12px 18px 0;padding:10px;background:#f6f2ea;border-radius:7px}.temperature-controls[hidden]{display:none}.temperature-controls span{font-size:12px;color:#867a68;display:block;margin-bottom:7px}.temperature-buttons{display:flex;gap:4px}.temperature-buttons button{flex:1;padding:7px 3px;border:1px solid #ded7cb;background:white;border-radius:5px;font-size:12px}.temperature-buttons button.active{border-color:#ff7900;color:#e1700a;background:#fff4e7}.clean-view .room-nav,.clean-view .material-panel,.clean-view .bottom-wrap,.clean-view .footer,.clean-view .hotspot{display:none}.clean-view .middle{display:block;height:calc(100vh - 130px);padding:0 30px;min-height:0}.clean-view .viewer{height:100%}.clean-view .scene-title{background:#262626b0}.clean-view .viewer-bottom{bottom:15px}.clean-view .topbar .mode,.clean-view .topbar .project-select{display:none}.clean-view .top-actions{margin-left:auto}.studio-heading{font-size:16px}.catalog-note{flex-shrink:0}.rooms button[aria-pressed=true]{background:#ff7900;color:white}@media(max-width:1300px){.chosen{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions #toggle-panels{font-size:12px;padding:10px}.topbar{gap:13px}.topbar .mode span{font-size:12px;padding:10px}.material-panel .swatch{height:92px}}@media(max-width:760px){.topbar .top-actions{gap:6px}.top-actions #toggle-panels{font-size:11px;padding:10px 7px}.topbar{gap:7px}.material-panel .materials{max-height:380px;grid-template-columns:repeat(2,minmax(0,1fr))}.material-panel .swatch{height:110px}.surface-tabs{padding:14px 16px 0;gap:6px}.surface-tabs button{padding:9px 4px;font-size:12px}.surface-tabs button .category-icon{font-size:18px;margin-bottom:2px}.material strong{font-size:14px}.material-type{font-size:12px}.material .price{font-size:13px}.chosen{grid-template-columns:1fr;max-height:365px}.chosen-card{grid-template-columns:68px 1fr}.chosen-card .swatch{height:83px}.selection-heading span{font-size:12px}.summary .total{font-size:28px}.clean-view .stage{position:fixed;height:100vh}.clean-view .middle{height:calc(100dvh - 90px);padding:0 16px}.clean-view .photo-note{max-width:250px}.topbar .logo{font-size:24px}.logo svg{width:24px}.topbar .top-actions #save{display:none}}

.swatch.porcelain{background:#eae8e3!important}.swatch.porcelain img{width:100%;height:100%;object-fit:cover;transform:scaleX(2)}
#layout-controls{padding:12px;margin-bottom:12px;background:#f5f2ec;border-radius:10px}#layout-controls[hidden]{display:none}#layout-controls>div{display:flex;gap:12px;align-items:center;margin:9px 0}#layout-controls button,#layout-controls select{background:white;border:1px solid #ded8cf;border-radius:5px;padding:7px;font:inherit}#layout-controls small{color:#746f66}
.view-tools{position:absolute;top:62px;left:14px;display:flex;gap:8px;align-items:center;z-index:3}.view-tools label,.view-tools button{background:#ffffffed;padding:8px 12px;border:1px solid #ddd;border-radius:9px;font:12px system-ui}.view-tools select{border:0;background:transparent;font:inherit}.editor-link{color:inherit}#object-dialog{width:min(1060px,95vw);max-width:none;border:0;padding:20px;border-radius:18px;background:#fafaf7}#object-dialog::backdrop{background:#111b}#object-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}#object-dialog header small{font-size:10px;letter-spacing:.12em;color:#777}#object-dialog h2{margin:5px 0;font-size:20px}#object-close{border:0;background:#eee;border-radius:50%;width:38px;height:38px;font-size:24px}#object-canvas{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain;border-radius:10px}#object-dialog footer{display:flex;gap:20px;align-items:center;margin-top:12px;font-size:12px;color:#555}#object-magnification{accent-color:#ff7900;vertical-align:middle}.surface-tabs{flex-wrap:wrap}.swatch.fixture{background:#f2f2ed!important}.swatch.fixture img{object-fit:contain;padding:6px}@media(max-width:760px){.view-tools{top:65px;left:6px}.view-tools label,.view-tools button{padding:6px;font-size:11px}}
.material-panel .swatch.fixture{display:flex;align-items:center;justify-content:center;padding:8px}.material-panel .swatch.fixture img{width:100%;height:100%;max-height:100%;object-fit:contain}.surface-tabs button{white-space:normal;font-size:12px}.surface-tabs .category-icon{font-size:17px!important}.material-panel .surface-tabs{max-height:188px;overflow:auto;flex-shrink:0}
