:root{--bg:#eef2f7;--panel:#ffffff;--text:#0f172a;--muted:#64748b;--line:#e5e7eb;--accent:#0066cc;--accent-2:#60a5fa;--shadow:0 14px 38px rgba(15,23,42,0.14);}*{box-sizing:border-box;}body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);overflow:hidden;}.app-shell{display:grid;grid-template-rows:58px 1fr;height:100vh;}.top-header{background:#050505;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 16px;box-shadow:0 2px 10px rgba(15,23,42,0.22);z-index:10;}.top-brand{display:flex;align-items:center;gap:12px;font-size:18px;letter-spacing:0.3px;color:inherit;text-decoration:none;border-radius:8px;}.top-brand:hover{opacity:0.88;}.top-brand:focus-visible{outline:2px solid #60a5fa;outline-offset:4px;}.top-brand img{height:38px;width:auto;display:block;}.top-actions{display:flex;align-items:center;gap:12px;}.header-status{max-width:560px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#e0f2fe;}.upload-button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:white;padding:9px 13px;border-radius:8px;cursor:pointer;font-weight:700;transition:0.2s ease;border:1px solid #0052a3;}.upload-button:hover{background:#0052a3;}.upload-button input{display:none;}.app{display:grid;grid-template-columns:var(--sidebar-width,330px) 10px minmax(0,1fr) 10px var(--properties-width,360px);min-height:0;}.app.sidebar-collapsed{grid-template-columns:52px 0 minmax(0,1fr) 10px var(--properties-width,360px);}.sidebar{background:#0f172a;color:white;padding:10px;overflow:hidden;display:grid;grid-template-rows:38px minmax(160px,1fr) minmax(220px,1.3fr);gap:10px;min-height:0;}.sidebar-toggle-row{display:flex;align-items:center;gap:10px;min-width:0;}.sidebar-toggle-row span{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.collapse-button{width:34px;height:34px;min-width:34px;border:0;border-radius:8px;background:var(--accent);color:white;cursor:pointer;font-weight:900;font-size:18px;line-height:1;}.collapse-button:hover{background:#0052a3;}.app.sidebar-collapsed .sidebar{padding:10px 8px;grid-template-rows:38px 0 0;}.app.sidebar-collapsed .sidebar-toggle-row span,.app.sidebar-collapsed .tree-panel{display:none;}.column-splitter{touch-action:none;background:#94a3b8;cursor:col-resize;min-width:10px;z-index:5;transition:background 0.15s ease;}.column-splitter:hover,.column-splitter.dragging{background:var(--accent);}.app.sidebar-collapsed #columnSplitter{display:none;}.panel{background:var(--panel);color:var(--text);border-radius:12px;padding:12px;box-shadow:var(--shadow);min-height:0;}.sidebar .panel{background:rgba(255,255,255,0.08);color:white;box-shadow:none;border:1px solid rgba(255,255,255,0.10);}.panel h2{margin:0 0 9px;font-size:14px;}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:8px;}.panel-header.stacked{display:grid;grid-template-columns:1fr;align-items:stretch;}.tree-search{width:100%;height:28px;border:1px solid rgba(255,255,255,0.18);border-radius:8px;padding:0 9px;background:rgba(255,255,255,0.10);color:white;outline:none;}.tree-search-row{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:5px;width:100%;}.tree-search::placeholder{color:#cbd5e1;}.tree-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;}.small-button,.viewer-actions button{border:0;border-radius:8px;padding:7px 9px;background:var(--accent);color:white;cursor:pointer;font-weight:700;font-size:12px;}.small-button:hover,.viewer-actions button:hover{background:#0052a3;}.tree-panel{display:grid;grid-template-rows:auto 1fr;overflow:hidden;}.tree-list{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:4px;padding-right:3px;}.tree-list.empty{color:#cbd5e1;font-size:12px;padding:8px 0;}.tree-group{border-radius:8px;overflow:hidden;}.tree-parent,.tree-child{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;font-size:12px;padding:5px 6px;border-radius:7px;}.tree-parent{background:rgba(255,255,255,0.10);font-weight:700;}.tree-child{margin-left:18px;color:#e5e7eb;}.tree-parent:hover,.tree-child:hover{background:rgba(255,255,255,0.16);}.tree-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.tree-count{color:#cbd5e1;font-size:11px;}.viewer-column{min-width:0;min-height:0;padding:12px;}.viewer-card{position:relative;width:100%;height:100%;min-width:0;min-height:0;background:#ffffff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);}#viewerCanvas{width:100%;height:100%;display:block;contain:strict;}.floating-actions{position:absolute;top:12px;right:12px;display:flex;gap:8px;z-index:3;}.viewer-actions button{width:34px;height:34px;padding:0;font-size:17px;display:grid;place-items:center;box-shadow:0 4px 12px rgba(15,23,42,0.18);}.viewer-overlay{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#e5e7eb;gap:8px;pointer-events:none;background:var(--bim-viewer-background,#2b2b2b);}.viewer-overlay.hidden{display:none;}.viewer-overlay strong{font-size:28px;}.viewer-overlay span{color:#94a3b8;}.properties-column{min-width:0;min-height:0;padding:12px 12px 12px 0;}.properties-panel{height:100%;display:grid;grid-template-rows:auto 1fr;overflow:hidden;}.properties-content{overflow:auto;min-height:0;}.property-group{margin-bottom:14px;}.property-group h3{color:var(--accent);font-size:13px;margin:0 0 8px;}.property-table{width:100%;border-collapse:collapse;font-size:12px;}.property-table td{border-bottom:1px solid var(--line);padding:6px 4px;vertical-align:top;}.property-table td:first-child{color:var(--muted);width:45%;}.empty{color:var(--muted);font-size:13px;padding:12px;}@media (max-width:1100px){.app,.app.sidebar-collapsed{grid-template-columns:52px 0 1fr 0 0;}.properties-column,.properties-splitter{display:none;}}.app.resizing .viewer-card,.app.resizing #viewerCanvas{pointer-events:none;}.properties-column .panel{background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,0.10);box-shadow:none;}.properties-column .panel h2{color:#ffffff;}.properties-column .properties-content.empty{color:#cbd5e1;}.properties-column .property-group h3{color:#60a5fa;}.properties-column .property-table td{border-bottom:1px solid rgba(255,255,255,0.10);color:#e5e7eb;}.properties-column .property-table td:first-child{color:#94a3b8;}.properties-column .property-table tr:hover td{background:rgba(255,255,255,0.04);}.app{background:#0f172a;}.viewer-column{padding:0;background:#ffffff;}.viewer-card{border-radius:0;box-shadow:none;}.properties-column{padding:0;background:#0f172a;}.properties-panel{border-radius:0;border:0 !important;box-shadow:none !important;}.sidebar{padding:8px;}.sidebar .panel{border-radius:9px;}.column-splitter{background:#1e293b;}.column-splitter:hover,.column-splitter.dragging{background:var(--accent);}*{scrollbar-width:thin;scrollbar-color:#64748b #111827;}*::-webkit-scrollbar{width:10px;height:10px;}*::-webkit-scrollbar-track{background:#111827;}*::-webkit-scrollbar-thumb{background:#475569;border-radius:10px;border:2px solid #111827;}*::-webkit-scrollbar-thumb:hover{background:#64748b;}*::-webkit-scrollbar-corner{background:#111827;}.viewer-card,.viewer-column,#viewerCanvas{scrollbar-color:#cbd5e1 #ffffff;}.properties-header{display:grid;grid-template-columns:1fr;gap:8px;padding:12px 12px 8px;border-bottom:1px solid rgba(255,255,255,0.10);background:#0f172a;}.properties-header h2{margin:0;}.properties-search-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;align-items:center;}.properties-search-add{width:30px;height:30px;padding:0;border:1px solid rgba(96,165,250,0.65);border-radius:7px;background:#2563eb;color:#ffffff;font-size:20px;font-weight:700;line-height:1;cursor:pointer;}.properties-search-add:hover{background:#1d4ed8;}.properties-search-add:focus-visible{outline:2px solid #93c5fd;outline-offset:1px;}.properties-search-add:disabled{opacity:0.45;cursor:default;}.properties-search-filters{display:flex;flex-wrap:wrap;gap:5px;min-width:0;}.properties-search-filters.hidden{display:none;}.properties-search-filter-chip{display:inline-flex;align-items:center;min-width:0;max-width:100%;border:1px solid rgba(96,165,250,0.38);border-radius:999px;background:rgba(37,99,235,0.18);color:#dbeafe;overflow:hidden;}.properties-search-filter-text{min-width:0;padding:3px 4px 3px 8px;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.properties-search-filter-remove{flex:0 0 auto;width:23px;height:23px;padding:0;border:0;background:transparent;color:#bfdbfe;font-size:15px;line-height:1;cursor:pointer;}.properties-search-filter-remove:hover{background:rgba(239,68,68,0.22);color:#fecaca;}.properties-search-filter-remove:focus-visible{outline:1px solid #93c5fd;outline-offset:-2px;}.properties-search{width:100%;height:30px;border:1px solid rgba(255,255,255,0.16);border-radius:7px;padding:0 10px;background:#1e293b;color:#f8fafc;outline:none;}.properties-search::placeholder{color:#94a3b8;}.properties-search:focus{border-color:#60a5fa;}.properties-content{padding:0;}.properties-content.empty{padding:12px;}.property-group{margin:0;border-bottom:1px solid rgba(255,255,255,0.10);}.property-summary{min-height:28px;padding:6px 10px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;cursor:pointer;color:#ffffff;background:#1e293b;font-weight:700;font-size:12px;list-style:none;user-select:none;}.property-summary::-webkit-details-marker{display:none;}.property-summary::before{content:'▸';margin-right:6px;color:#cbd5e1;}.property-group[open]>.property-summary::before{content:'▾';}.property-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.property-summary small{color:#cbd5e1;font-weight:600;}.property-summary:hover{background:#273449;}.properties-column .property-table{background:#0f172a;}.properties-column .property-table td{padding:5px 8px;border-bottom:1px solid rgba(255,255,255,0.08);}.properties-column .property-table tr:last-child td{border-bottom:0;}.properties-column .property-table td:first-child{width:42%;background:rgba(255,255,255,0.03);}.sidebar{grid-template-rows:38px var(--project-panel-height,minmax(140px,1fr)) 8px minmax(0,1.3fr);}.sidebar-toggle-row{padding-left:4px;}.sidebar-toggle-row span{font-size:15px;}.row-splitter{height:8px;cursor:row-resize;background:#1e293b;border-radius:6px;touch-action:none;}.row-splitter:hover,.row-splitter.dragging{background:var(--accent);}.property-summary{display:flex !important;grid-template-columns:none !important;align-items:center;justify-content:flex-start;gap:5px;min-height:32px;padding:7px 10px;font-size:13.5px;text-transform:uppercase;letter-spacing:0.2px;}.property-summary::before{margin-right:2px;flex:0 0 auto;}.property-summary span{flex:1 1 auto;min-width:0;}.property-summary small{margin-left:auto;flex:0 0 auto;font-size:11px;}.selection-rectangle{position:absolute;border:1px solid #ff0000;background:rgba(255,0,0,0.12);pointer-events:none;z-index:5;}.selection-rectangle.hidden{display:none;}.view-cube{position:absolute;top:54px;right:12px;width:86px;display:grid;gap:4px;z-index:4;user-select:none;}.view-cube button{height:24px;border:1px solid rgba(15,23,42,0.35);border-radius:5px;background:rgba(255,255,255,0.92);color:#0f172a;font-size:9px;font-weight:800;cursor:pointer;box-shadow:0 4px 10px rgba(15,23,42,0.16);}.view-cube button:hover{background:#e0f2fe;border-color:#0066cc;color:#0066cc;}.selection-rectangle{border:1px solid #0066cc !important;background:rgba(0,102,204,0.12) !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.28);}.selection-rectangle.crossing{background:rgba(0,102,204,0.18) !important;border-style:dashed !important;}.selection-rectangle.zoom-area{border:2px solid #22c55e !important;background:rgba(34,197,94,0.14) !important;border-style:solid !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.45),0 0 0 1px rgba(22,163,74,0.45) !important;}.view-cube{position:absolute;top:12px;right:12px;width:82px;height:82px;display:block;z-index:6;perspective:220px;}.view-cube .cube-face{position:absolute;border:1px solid #8b949e;background:linear-gradient(135deg,#f8fafc,#cbd5e1);color:#475569;font-size:8px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,0.18);padding:0;}.view-cube .cube-face:hover{background:linear-gradient(135deg,#dbeafe,#93c5fd);color:#003f7f;border-color:#0066cc;}.view-cube .cube-front{left:19px;top:31px;width:46px;height:34px;transform:skewY(2deg);}.view-cube .cube-top{left:18px;top:9px;width:47px;height:25px;transform:skewX(-28deg);font-size:7px;}.view-cube .cube-right{left:63px;top:23px;width:20px;height:41px;transform:skewY(-38deg);writing-mode:vertical-rl;font-size:7px;}.view-cube .cube-left{left:1px;top:26px;width:20px;height:39px;transform:skewY(38deg);writing-mode:vertical-rl;font-size:7px;}.view-cube .cube-back,.view-cube .cube-bottom{opacity:0;pointer-events:auto;}.view-cube .cube-back{left:20px;top:31px;width:44px;height:32px;}.view-cube .cube-bottom{left:19px;top:57px;width:46px;height:20px;}.floating-actions{top:102px;right:20px;flex-direction:column;gap:6px;}.viewer-actions button{width:30px;height:30px;font-size:15px;}.sidebar{grid-template-rows:38px var(--project-panel-height,minmax(120px,1fr)) 8px minmax(140px,1.2fr) !important;}.sidebar-toggle-row{padding-left:8px;}.sidebar-toggle-row span{display:block !important;}.row-splitter{display:block;height:8px;min-height:8px;cursor:row-resize;background:#1e293b;border-radius:6px;touch-action:none;}.row-splitter:hover,.row-splitter.dragging{background:#0066cc;}.view-cube{top:10px !important;right:12px !important;width:92px !important;height:92px !important;opacity:1 !important;pointer-events:auto;background:transparent;}.view-cube::after{content:'';position:absolute;inset:9px 8px 8px 8px;border:1px solid rgba(71,85,105,0.65);box-shadow:0 6px 16px rgba(15,23,42,0.18);pointer-events:none;transform:rotate(-8deg) skewY(-2deg);background:rgba(255,255,255,0.35);}.view-cube .cube-face{opacity:1 !important;pointer-events:auto !important;z-index:7;border:1px solid #64748b !important;background:linear-gradient(135deg,#ffffff,#d1d5db) !important;color:#475569 !important;text-shadow:none;}.view-cube .cube-front{left:20px !important;top:36px !important;width:48px !important;height:36px !important;transform:none !important;}.view-cube .cube-top{left:18px !important;top:13px !important;width:50px !important;height:24px !important;transform:skewX(-28deg) !important;}.view-cube .cube-right{left:67px !important;top:27px !important;width:22px !important;height:42px !important;transform:skewY(-38deg) !important;}.view-cube .cube-left,.view-cube .cube-back,.view-cube .cube-bottom{display:none !important;}.floating-actions{top:108px !important;right:42px !important;display:flex !important;flex-direction:column !important;}#hideSelectedButton{display:grid !important;place-items:center;}.view-cube{position:absolute !important;top:12px !important;right:12px !important;width:104px !important;height:104px !important;z-index:8 !important;perspective:520px !important;background:transparent !important;pointer-events:auto !important;user-select:none;}.view-cube::after{display:none !important;}.view-cube-scene{position:absolute;inset:0;display:grid;place-items:center;perspective:520px;}.view-cube-object{width:58px;height:58px;position:relative;transform-style:preserve-3d;transform:rotateX(-24deg) rotateY(-38deg);transition:transform 0.12s ease-out;cursor:grab;}.view-cube.dragging .view-cube-object{cursor:grabbing;transition:none;}.view-cube .cube-face{display:grid !important;place-items:center;position:absolute !important;left:0 !important;top:0 !important;width:58px !important;height:58px !important;padding:0 !important;opacity:0.96 !important;pointer-events:auto !important;border:1px solid #8b949e !important;border-radius:0 !important;background:linear-gradient(135deg,#ffffff,#d1d5db) !important;color:#475569 !important;font-size:8px !important;font-weight:800 !important;line-height:1.05 !important;text-align:center !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.45) !important;writing-mode:horizontal-tb !important;transform-origin:center center !important;backface-visibility:visible !important;}.view-cube .cube-face:hover{background:linear-gradient(135deg,#dbeafe,#93c5fd) !important;color:#003f7f !important;border-color:#0066cc !important;}.view-cube .cube-front{transform:translateZ(29px) !important;}.view-cube .cube-back{transform:rotateY(180deg) translateZ(29px) !important;}.view-cube .cube-right{transform:rotateY(90deg) translateZ(29px) !important;}.view-cube .cube-left{transform:rotateY(-90deg) translateZ(29px) !important;}.view-cube .cube-top{transform:rotateX(90deg) translateZ(29px) !important;}.view-cube .cube-bottom{transform:rotateX(-90deg) translateZ(29px) !important;}.floating-actions{top:122px !important;right:48px !important;}.view-cube{width:104px !important;height:104px !important;top:12px !important;right:12px !important;background:transparent !important;border:0 !important;perspective:none !important;cursor:grab;}.view-cube.dragging{cursor:grabbing;}#viewCubeCanvas{width:104px;height:104px;display:block;background:transparent;}.view-cube{width:128px !important;height:128px !important;top:10px !important;right:12px !important;}#viewCubeCanvas{width:128px !important;height:128px !important;}.floating-actions{top:146px !important;right:58px !important;}.floating-actions{right:10px !important;gap:7px !important;}.viewer-actions button{width:38px !important;height:38px !important;font-size:19px !important;border-radius:9px !important;}.viewer-actions button.active{background:#003f7f !important;box-shadow:0 0 0 2px rgba(96,165,250,0.9),0 4px 12px rgba(15,23,42,0.18) !important;}.viewer-actions .tool-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block;}.category-panel .tree-list{overflow:auto;min-height:0;white-space:nowrap;padding-right:4px;padding-bottom:6px;}.category-tree-group{min-width:max-content;}.category-parent,.category-panel .tree-child{grid-template-columns:18px auto max-content max-content;min-width:max-content;width:max-content;max-width:none;}.category-parent .tree-name,.category-panel .tree-child .tree-name{overflow:visible;text-overflow:clip;white-space:nowrap;min-width:max-content;}.tree-expander{width:16px;height:16px;border:0;padding:0;margin:0;background:transparent;color:#cbd5e1;display:inline-grid;place-items:center;cursor:pointer;font-size:12px;line-height:1;}.tree-expander:disabled{cursor:default;opacity:0;}.tree-expander-placeholder{pointer-events:none;}.tree-children{display:flex;flex-direction:column;gap:2px;margin-left:14px;min-width:max-content;}.category-panel .tree-child{margin-left:0;}.tree-list::-webkit-scrollbar{width:10px;height:10px;}.tree-list::-webkit-scrollbar-track{background:rgba(15,23,42,0.35);border-radius:999px;}.tree-list::-webkit-scrollbar-thumb{background:#475569;border-radius:999px;border:2px solid rgba(15,23,42,0.35);}.tree-list::-webkit-scrollbar-thumb:hover{background:#64748b;}.tree-list{align-items:flex-start;}.tree-list>*,.tree-group,.tree-parent,.tree-child,.tree-children{flex:0 0 auto;flex-shrink:0;}.tree-parent,.tree-child{min-height:26px;line-height:16px;}.category-panel .tree-list{overflow-x:auto !important;overflow-y:auto !important;}.category-tree-group,.category-parent,.category-panel .tree-child,.tree-children{flex-shrink:0 !important;}.loading-panel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,0.30);backdrop-filter:blur(2px);z-index:1000;pointer-events:auto;}.loading-panel.hidden{display:none;}.loading-card{width:min(440px,calc(100% - 42px));border-radius:16px;padding:18px 20px;background:rgba(15,23,42,0.92);color:white;box-shadow:0 18px 50px rgba(15,23,42,0.30);border:1px solid rgba(255,255,255,0.14);display:grid;gap:10px;}.loading-card strong{font-size:15px;letter-spacing:0.2px;}.loading-card span,.loading-card small{color:#dbeafe;font-size:12px;}.loading-bar{width:100%;height:9px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,0.16);}.loading-bar-fill{height:100%;width:0%;border-radius:inherit;background:var(--accent);transition:width 0.18s ease;}.loading-bar-fill.indeterminate{width:42% !important;animation:loading-indeterminate 1s ease-in-out infinite alternate;}@keyframes loading-indeterminate{from{transform:translateX(-80%);}to{transform:translateX(160%);}}.project-panel .tree-parent,.project-panel .tree-child,.project-panel .tree-name,.project-panel .tree-count{cursor:pointer;user-select:none;}.project-panel input[type="checkbox"]{cursor:pointer;}.project-panel .tree-parent:hover,.project-panel .tree-child:hover{background:rgba(0,102,204,0.34);outline:1px solid rgba(96,165,250,0.45);}.measure-overlay-root{position:absolute;inset:0;pointer-events:none;z-index:20;}.measure-point-label{position:absolute;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(217,70,239,0.90);color:#fff7ed;font-size:11px;font-weight:700;line-height:18px;text-align:center;transform:translate(-50%,-50%);box-shadow:0 2px 6px rgba(15,23,42,0.35);}.measure-distance-label{position:absolute;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,0.96);color:#0f172a;border:1px solid rgba(15,23,42,0.22);font-weight:700;font-size:12px;line-height:1.2;transform:translate(-50%,-150%);box-shadow:0 2px 8px rgba(15,23,42,0.18);white-space:nowrap;}.measure-axis-box{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;padding:8px 12px;border-radius:6px;background:rgba(31,41,55,0.9);border:1px solid rgba(255,255,255,0.12);box-shadow:0 10px 24px rgba(15,23,42,0.28);font-size:12px;font-weight:700;color:#e5e7eb;white-space:nowrap;}.measure-axis-box.hidden,.measure-distance-label.hidden,.measure-point-label.hidden{display:none;}.measure-axis-x{color:#ef4444;}.measure-axis-y{color:#22c55e;}.measure-axis-z{color:#60a5fa;}.measure-axis-box strong{color:inherit;margin-right:3px;}.viewer-actions button.measure-mini-button{width:28px !important;height:28px !important;min-width:28px !important;min-height:28px !important;margin-left:5px;font-size:18px !important;font-weight:800 !important;line-height:1 !important;border-radius:7px !important;background:rgba(15,23,42,0.88) !important;color:#e5e7eb !important;}.viewer-actions button.measure-mini-button:hover{background:#0f5ea8 !important;}.viewer-actions button.measure-mini-button.hidden{display:none !important;}.viewer-actions button.section-axis-button{margin-left:0 !important;font-size:12px !important;border:1px solid currentColor !important;opacity:0.72;}.viewer-actions button.section-axis-button.active{opacity:1;background:#0f5ea8 !important;box-shadow:0 0 0 2px rgba(255,255,255,0.7),0 0 0 4px currentColor !important;}.viewer-actions button.section-axis-x{color:#f87171 !important;}.viewer-actions button.section-axis-y{color:#4ade80 !important;}.viewer-actions button.section-axis-z{color:#60a5fa !important;}.measure-dynamic-label{position:absolute;transform:translate(-50%,-50%);padding:3px 7px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px rgba(15,23,42,0.20);}.measure-total-dynamic{background:rgba(255,255,255,0.96);color:#0f172a;border:1px solid rgba(15,23,42,0.22);transform:translate(-50%,-160%);}.measure-projection-label{background:rgba(15,23,42,0.88);border:1px solid rgba(255,255,255,0.24);}.measure-projection-x{color:#ff4d4d;}.measure-projection-y{color:#31d158;}.measure-projection-z{color:#38bdf8;}.top-brand strong{display:inline-flex;align-items:center;padding:.55rem .9rem;border-radius:10px;font-weight:700;font-size:1.02rem;letter-spacing:0;line-height:1;transition:background-color .2s,color .2s;}.top-brand:hover strong,.top-brand:focus-visible strong{background:rgba(0,102,204,0.18);color:#fff;}.header-upload{padding:.55rem .9rem;border-radius:10px;font-weight:700;font-size:1.02rem;line-height:1;}.top-brand{gap:0;}.top-brand img{height:40px !important;width:auto !important;display:block;}.properties-column .property-table td.property-value-cell.editable{cursor:text;position:relative;}.properties-column .property-table td.property-value-cell.editable:hover{background:rgba(96,165,250,0.12);box-shadow:inset 0 0 0 1px rgba(96,165,250,0.35);}.properties-column .property-table tr.property-row-editable td:first-child::after{content:' ✎';color:#60a5fa;opacity:0.75;font-size:11px;}.properties-column .property-table td.property-value-cell.readonly{color:#cbd5e1;}.properties-column .property-table td.property-value-cell.editing{padding:2px 4px;background:rgba(15,23,42,0.95);box-shadow:inset 0 0 0 1px rgba(96,165,250,0.65);}.property-value-input{width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(96,165,250,0.65);border-radius:4px;background:#020617;color:#f8fafc;padding:4px 6px;font:inherit;outline:none;}.property-value-input:focus{border-color:#93c5fd;box-shadow:0 0 0 2px rgba(96,165,250,0.22);}.project-load-overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,0.42);backdrop-filter:blur(3px);}.project-load-card{width:min(620px,calc(100vw - 42px));max-height:min(760px,calc(100vh - 42px));display:grid;grid-template-rows:auto minmax(180px,1fr) auto;gap:12px;border-radius:18px;padding:18px;color:#f8fafc;background:rgba(15,23,42,0.96);border:1px solid rgba(148,163,184,0.30);box-shadow:0 24px 70px rgba(15,23,42,0.40);}.project-load-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.project-load-header>div{display:grid;gap:4px;}.project-load-header strong{font-size:16px;}.project-load-header span,.project-load-summary,.project-load-status,.project-load-count{color:#cbd5e1;font-size:12px;}.project-load-close{width:30px;height:30px;border:1px solid rgba(148,163,184,0.35);border-radius:999px;background:rgba(30,41,59,0.85);color:#f8fafc;cursor:pointer;font-size:18px;line-height:1;}.project-load-toolbar,.project-load-footer{display:flex;align-items:center;gap:10px;}.project-load-toolbar button,.project-load-secondary,.project-load-primary{border:1px solid rgba(148,163,184,0.35);border-radius:10px;padding:8px 12px;background:rgba(30,41,59,0.90);color:#f8fafc;cursor:pointer;font-size:12px;}.project-load-primary{margin-left:auto;border-color:rgba(37,99,235,0.85);background:#2563eb;font-weight:700;}.project-load-primary:disabled,.project-load-secondary:disabled{opacity:0.55;cursor:not-allowed;}.project-load-tree{min-height:180px;overflow:auto;padding:8px;border-radius:12px;background:rgba(15,23,42,0.62);border:1px solid rgba(148,163,184,0.20);}.project-load-node{min-height:28px;display:grid;grid-template-columns:14px 18px minmax(0,1fr) minmax(72px,auto) minmax(74px,auto);align-items:center;gap:8px;padding:5px 8px;border-radius:9px;cursor:pointer;user-select:none;}.project-load-node:hover{background:rgba(37,99,235,0.22);}.project-load-row-selected{background:rgba(14,165,233,0.24) !important;box-shadow:inset 3px 0 0 #38bdf8;}.project-load-expander{appearance:none;-webkit-appearance:none;width:14px;min-width:14px;height:18px;padding:0;margin:0;border:none;background:transparent;color:#93c5fd;font-size:10px;line-height:18px;text-align:center;cursor:pointer;}.project-load-expander:disabled{cursor:default;opacity:0;}.project-load-parent{font-weight:650;}.project-load-child{color:#e2e8f0;}.project-load-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.project-load-status{justify-self:end;max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:1px 6px;border-radius:999px;background:rgba(148,163,184,0.14);}.project-load-status-loaded{color:#bbf7d0;background:rgba(22,163,74,0.18);}.project-load-status-changed{color:#fde68a;background:rgba(217,119,6,0.22);}.project-load-status-unloaded,.project-load-status-new{color:#bfdbfe;background:rgba(37,99,235,0.20);}.project-load-count{justify-self:end;white-space:nowrap;}.project-load-footer{padding-top:2px;}.project-load-empty{padding:16px;color:#cbd5e1;font-size:13px;}.project-tree-node-deferred{opacity:0.86;}.project-deferred-badge{display:inline-flex;margin-left:8px;padding:1px 6px;border-radius:999px;color:#bfdbfe;background:rgba(37,99,235,0.25);font-size:10px;font-weight:700;vertical-align:middle;}.project-load-discovery-card{width:min(560px,calc(100vw - 42px));grid-template-rows:auto minmax(130px,auto) auto;}.project-load-discovery-body{min-height:130px;display:grid;align-content:center;gap:14px;}.project-load-discovery-message{padding:0;text-align:center;color:#e2e8f0;}.project-load-discovery-progress{position:relative;height:8px;overflow:hidden;border-radius:999px;background:rgba(148,163,184,0.26);}.project-load-discovery-progress-bar{position:absolute;top:0;bottom:0;left:-35%;width:35%;border-radius:inherit;background:#2563eb;animation:project-load-discovery-move 1.15s ease-in-out infinite;}@keyframes project-load-discovery-move{0%{left:-35%;}50%{left:45%;}100%{left:100%;}}.measure-local-axis-label{min-width:18px;padding:2px 5px;color:#ffffff;border:1px solid rgba(255,255,255,0.7);box-shadow:0 2px 7px rgba(15,23,42,0.28);}.measure-local-axis-x{background:rgba(239,68,68,0.94);}.measure-local-axis-y{background:rgba(34,197,94,0.94);}.measure-local-axis-z{background:rgba(14,165,233,0.94);}