.asset-binding button.danger{color:var(--bad)}.asset-binding button.danger:hover:not(:disabled){border-color:var(--bad)}.asset-binding button:disabled{opacity:.55;cursor:default}.bom-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:stretch;justify-content:center;padding:24px;background:#0f172073}.bom-shell{display:flex;flex-direction:column;width:min(1400px,100%);background:var(--panel);border-radius:10px;border:1px solid var(--line);overflow:hidden}.bom-shell header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.bom-shell header small{color:var(--muted);font-size:11px;letter-spacing:.05em}.bom-shell header h2{margin:2px 0;font-size:18px}.bom-shell header p{margin:0;color:var(--muted);font-size:12px}.bom-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 16px;border-bottom:1px solid var(--line)}.bom-toolbar input{min-width:260px}.bom-toolbar span{color:var(--muted);font-size:12px}.bom-table-wrap{overflow:auto;flex:1}.bom-table{border-collapse:collapse;width:100%;font-size:12px}.bom-table th{position:sticky;top:0;background:#f7f9fb;text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.bom-table td{padding:4px 6px;border-bottom:1px solid var(--line);vertical-align:middle}.bom-table input,.bom-table select{font:inherit;width:100%;min-width:70px;padding:3px 5px;border:1px solid var(--line);border-radius:4px}.bom-table input.invalid,.bom-table select.invalid{border-color:var(--bad);background:#fdecea}.bom-table tr[data-dirty=true]{background:#fffbea}.bom-table tr.bim-bound .tag{color:var(--ok);font-weight:600}.bom-table .bim-cell{white-space:nowrap}.bom-table .bim-cell button.bound{color:var(--ok);border-color:var(--ok)}.bom-table .bim-cell .unlink{margin-left:4px;color:var(--bad)}.bom-table button:disabled{opacity:.5;cursor:default}.asset-binding .fixation{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0;padding:8px;border:1px solid var(--line);border-radius:6px}.asset-binding .fixation legend{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.asset-binding .fixation label{display:flex;flex-direction:column;gap:2px;font-size:11px;color:var(--muted)}.asset-binding .fixation input{font:inherit;padding:3px 5px;border:1px solid var(--line);border-radius:4px}.asset-binding .fixation button{grid-column:1 / -1}.takeoff-dock{position:absolute;left:8px;right:8px;bottom:8px;z-index:30;max-height:46%;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 24px #0f17202e;overflow:hidden;font-size:12px}.takeoff-dock header{display:flex;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--line)}.takeoff-dock header>div{flex:1}.takeoff-dock header small{color:var(--muted);font-size:10px;letter-spacing:.05em}.takeoff-dock header h2{margin:0;font-size:15px}.takeoff-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 12px;border-bottom:1px solid var(--line)}.takeoff-toolbar [role=status]{color:var(--muted)}.takeoff-toolbar button.danger{color:var(--bad)}.takeoff-new{display:inline-flex;gap:4px}.takeoff-conflict,.takeoff-suggestion{margin:0;padding:6px 12px;border-bottom:1px solid var(--line);background:#fdecea;color:var(--bad)}.takeoff-suggestion{background:#fff6e0;color:var(--warn)}.takeoff-readonly,.takeoff-summary,.takeoff-empty{margin:0;padding:4px 12px;color:var(--muted)}.takeoff-readonly.status-published{color:var(--ok)}.takeoff-table-wrap{overflow:auto;flex:1;min-height:60px}.takeoff-table{border-collapse:collapse;width:100%}.takeoff-table th{position:sticky;top:0;background:#f7f9fb;text-align:left;padding:4px 6px;border-bottom:1px solid var(--line);white-space:nowrap}.takeoff-table td{padding:2px 4px;border-bottom:1px solid var(--line);vertical-align:middle}.takeoff-table td.num{text-align:right;font-variant-numeric:tabular-nums}.takeoff-table input,.takeoff-table select{font:inherit;width:100%;min-width:56px;padding:2px 4px;border:1px solid var(--line);border-radius:4px}.takeoff-table input.invalid,.takeoff-table select[aria-invalid=true]{border-color:var(--bad);background:#fdecea}.takeoff-table .unlink{color:var(--bad)}.uom-badge{display:inline-block;padding:1px 5px;border-radius:4px;font-size:10px;font-weight:600;white-space:nowrap}.uom-badge.uom-ok{background:#e6f4ea;color:var(--ok)}.uom-badge.uom-uom_unknown{background:#fff6e0;color:var(--warn)}.uom-badge.uom-line_requires_m{background:#fdecea;color:var(--bad)}.takeoff-card table{width:100%;border-collapse:collapse;font-size:12px;margin-bottom:6px}.takeoff-card th,.takeoff-card td{text-align:left;padding:2px 4px;border-bottom:1px solid var(--line)}.takeoff-card td.overridden{color:var(--muted);text-decoration:line-through}.takeoff-card .user-wins{color:var(--accent);font-weight:600}.alloc-shell{width:min(1100px,100%)}.alloc-body{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:0;flex:1;overflow:hidden}.alloc-col{overflow:auto;padding:10px 16px}.alloc-col+.alloc-col{border-left:1px solid var(--line)}.alloc-col h3{font-size:12px;margin:10px 0 6px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.alloc-col .muted{margin:0 0 8px;color:var(--muted);font-size:12px}.alloc-col .warn{color:var(--bad);font-size:12px}.alloc-runs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.alloc-runs button{width:100%;text-align:left;display:flex;flex-direction:column;gap:2px;font-size:12px}.alloc-runs button small{color:inherit;opacity:.75}.alloc-links{display:flex;flex-direction:column;gap:4px;font-size:12px}.alloc-errors{margin:0;padding-left:18px;color:var(--bad);font-size:12px}.alloc-docs a{word-break:break-all}@media (max-width: 720px){.alloc-body{grid-template-columns:1fr;overflow:auto}.alloc-col+.alloc-col{border-left:0;border-top:1px solid var(--line)}}.review-dock{position:absolute;top:8px;right:8px;z-index:100000;width:360px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 24px #0f17202e;overflow:hidden;font-size:12px}.review-dock header{display:flex;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--line)}.review-dock header>div{flex:1}.review-dock header small{color:var(--muted);font-size:10px;letter-spacing:.05em}.review-dock header h2{margin:0;font-size:15px}.review-tabs{display:flex;gap:4px;padding:6px 12px;border-bottom:1px solid var(--line)}.review-body{overflow:auto;flex:1;padding:8px 12px;display:flex;flex-direction:column;gap:8px}.review-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.review-row input:not([type=date]){flex:1;min-width:120px}.review-dock input,.review-dock select,.review-dock textarea{font:inherit;padding:3px 6px;border:1px solid var(--line);border-radius:4px}.review-dock textarea{width:100%;min-height:54px;resize:vertical}.review-compose{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#f7f9fb}.review-anchor{margin:0}.review-anchor.missing,.review-anchor small{color:var(--warn)}.review-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.review-list>li{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:6px;padding:4px 6px}.review-list>li>button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;padding:2px;text-align:left;background:none}.review-list small,.review-meta,.review-hint,.review-notes small{color:var(--muted)}.review-list .review-empty,.review-notes .review-empty{border:0;color:var(--muted)}.review-status{display:inline-block;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:600}.review-status.status-open{background:#fdecea;color:var(--bad)}.review-status.status-in_review{background:#fff6e0;color:var(--warn)}.review-status.status-resolved{background:#e6f4ea;color:var(--ok)}.review-issue-detail{display:flex;flex-direction:column;gap:6px}.review-issue-detail header{padding:0;border:0;gap:6px}.review-issue-detail header b{flex:1}.review-description{margin:0;white-space:pre-wrap}.review-notes{margin:0;padding:0 0 0 16px;display:flex;flex-direction:column;gap:4px}.review-notes li span{display:block;white-space:pre-wrap}.review-conflict,.review-msg{margin:0;padding:6px 12px;border-bottom:1px solid var(--line)}.review-conflict{background:#fdecea;color:var(--bad)}.review-msg{color:var(--muted)}.review-dock button.danger{color:var(--bad)}.review-marker{position:absolute;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:600 11px system-ui,sans-serif;color:#fff;background:var(--bad);border:2px solid #fff;box-shadow:0 1px 4px #00000059;cursor:pointer}.review-marker.status-in_review{background:var(--warn)}.review-marker.status-resolved{background:var(--ok)}.review-label{position:absolute;display:none}.review-list>li>div:first-child{display:flex;flex-direction:column;gap:2px}.face-plan-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#020812c7;display:grid;place-items:center;padding:24px}.face-plan-modal{width:min(1660px,99vw);max-height:92vh;overflow:auto;background:#081729;color:#dcecff;border:1px solid #294968;border-radius:14px;box-shadow:0 24px 70px #00000073}.face-plan-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid #213955;position:sticky;top:0;background:#081729;z-index:4}.face-plan-header div{display:flex;flex-direction:column}.face-plan-header small{letter-spacing:.1em;color:#74a5cf}.face-plan-header h3{margin:3px 0;font-size:18px}.face-plan-header span{font-size:12px;color:#89a4be}.face-plan-header button{background:#17385f;color:#dcecff;border:1px solid #315c88;border-radius:7px;padding:8px 12px}.face-plan-toolbar{display:flex;align-items:center;gap:8px;padding:10px 18px;border-bottom:1px solid #203952;background:#0a1b2e;position:sticky;top:74px;z-index:3}.face-plan-toolbar b{font-size:11px;color:#a9c7e3;margin-right:4px}.face-plan-toolbar button,.face-plan-savebar button{background:#17385f;color:#dcecff;border:1px solid #315c88;border-radius:6px;padding:6px 9px;cursor:pointer}.face-plan-toolbar button:hover,.face-plan-savebar button:hover:not(:disabled){background:#204b7b}.face-plan-toolbar span{margin-left:auto;font-size:10px;color:#7893ad;white-space:nowrap}.face-plan-toolbar span strong{color:#b9dcff;font-weight:700}.face-plan-savebar{min-height:52px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 18px;border-bottom:1px solid #203952;font-size:11px;color:#a9c7e3}.face-plan-savebar b{color:#ffd479}.face-plan-savebar button.primary{background:#0b63ce;border-color:#0b63ce;color:#fff}.face-plan-savebar button:disabled{opacity:.5;cursor:default}.face-plan-savebar small{width:100%;color:#7893ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.face-plan-savebar .face-plan-message{color:#b9dcff}.face-plan-layout{display:grid;grid-template-columns:minmax(780px,1fr) minmax(320px,370px);gap:18px;padding:18px}.face-rack-shell{min-width:0}.face-rack-title{text-align:center;font-size:11px;letter-spacing:.1em;color:#87a6c7;margin-bottom:8px}.face-rack{--rail-edge: 8.7%;position:relative;background:linear-gradient(90deg,#0c1e31 0,#0c1e31 7%,#132942 7%,#132942 9%,#091522 9%,#091522 91%,#132942 91%,#132942 93%,#0c1e31 93%);border:2px solid #456b8e;border-radius:7px;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.face-rack:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--face-u-height, 32px) - 1px),rgba(112,153,191,.18) calc(var(--face-u-height, 32px) - 1px) var(--face-u-height, 32px));pointer-events:none}.face-rack-rails{position:absolute;top:0;bottom:0;width:9px;background:repeating-linear-gradient(to bottom,#607b94 0 3px,#172a3d 3px var(--face-u-height, 32px));opacity:.9}.face-rack-rails.left{left:6.7%}.face-rack-rails.right{right:6.7%}.face-u-scale{position:absolute;inset:0 auto 0 2px;width:clamp(30px,5.5%,52px);display:flex;flex-direction:column;justify-content:space-around;pointer-events:none}.face-u-scale span{font-size:10px;line-height:1;color:#7fb2df;letter-spacing:.02em}.face-device{position:absolute;left:var(--rail-edge);right:var(--rail-edge);min-height:18px;z-index:2;cursor:grab;display:flex;align-items:center;gap:6px;box-sizing:border-box}.face-device.dragging{cursor:grabbing;z-index:5}.face-device.selected{z-index:6;outline:2px solid #59b8ff;outline-offset:-1px;filter:drop-shadow(0 0 7px rgba(75,164,255,.35))}.face-device.moved .face-device-label span{color:#ffd479}.manual-item{z-index:3}.face-device-art{height:100%;min-height:26px;min-width:0;flex:1;border:1px solid #617b93;background:#1a2733;border-radius:3px;display:flex;align-items:center;gap:8px;padding:2px 8px;box-sizing:border-box;overflow:hidden;position:relative}.face-device-art strong{font-size:10px;white-space:nowrap}.face-device-brand{font-size:8px;color:#8da7bf}.face-device-art.controller{background:#202833;border-color:#798a99}.face-device-art.patch{background:#17251f}.face-device-art.switch{background:#172130}.face-device-art.pdu{background:#28231b}.face-device-art.gateway{background:#1f2630;width:45%}.face-patch-ports,.face-switch-ports{display:grid;grid-template-columns:repeat(12,6px);grid-template-rows:repeat(2,5px);gap:2px;margin-left:auto}.face-patch-ports i{width:6px;height:5px;background:#a8bd8c;border:1px solid #334a2e}.face-switch-ports i{width:6px;height:5px;background:#718ba5;border:1px solid #253a50}.face-controller-leds{display:flex;gap:3px;margin-left:auto}.face-controller-leds i{width:5px;height:5px;border-radius:50%;background:#78c99a}.face-pdu-slots{display:flex;gap:4px;margin-left:auto}.face-pdu-slots i{width:8px;height:12px;border:1px solid #ac9874;border-radius:2px}.face-dio-trays{display:grid;grid-template-columns:repeat(4,11px);gap:3px;margin-left:auto}.face-dio-trays i{width:10px;height:9px;border:1px solid #7a95ae;background:#101c29;border-radius:2px}.face-gateway-mark{margin-left:auto;font-size:9px;border:1px solid #667f9d;padding:2px 4px}.face-device-art.manual{border-style:solid}.face-device-art.cable-guide{background:linear-gradient(180deg,#1a232d,#0c1218);border-color:#5f7386;justify-content:center}.face-guide-rings{display:flex;align-items:center;justify-content:space-evenly;width:78%;margin:0 auto}.face-guide-rings i{width:42px;height:17px;border:2px solid #8b9aaa;border-radius:4px;background:linear-gradient(180deg,#111820,#05090d);box-shadow:inset 0 0 0 1px #ffffff0a}.face-device-art.blank-panel{background:linear-gradient(180deg,#171d24,#090d12);border-color:#4d5d6d;justify-content:center}.face-device-art.blank-panel strong{letter-spacing:.12em;color:#708294;font-size:9px}.face-device-art.has-photo-front{background:#0f151b;isolation:isolate}.face-device-art.has-photo-front>.face-photo-front{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;display:block;z-index:0;pointer-events:none;-webkit-user-select:none;user-select:none}.face-device-art.has-photo-front:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid rgba(122,163,197,.18);box-shadow:inset 0 0 8px #0003;z-index:1}.face-device-art.has-photo-front>:not(.face-photo-front){display:none}.face-device-label{flex:0 0 94px;width:94px;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:center;color:#dcecff;text-shadow:0 1px 2px #000}.face-device-label b,.face-device-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.05}.face-device-label b{font-size:10px}.face-device-label span{font-size:9px;color:#8fc7ff}.face-plan-list{border-left:1px solid #203952;padding-left:16px;min-width:0}.face-plan-list h4{margin:0 0 10px}.face-plan-list .face-manual-title{margin-top:18px;padding-top:12px;border-top:1px solid #203952}.face-plan-list article{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px;padding:9px 8px;border:1px solid transparent;border-bottom-color:#1c3248;border-radius:8px;cursor:pointer;outline:none}.face-plan-list article:hover,.face-plan-list article:focus-visible{background:#0e2238;border-color:#315a82}.face-plan-list article.selected{background:#102b47;border-color:#4b91c9;box-shadow:0 0 0 1px #4b91c92e inset}.face-plan-list article .face-device-art{height:38px}.face-plan-list .face-device-art.has-photo-front{min-height:30px}.face-plan-list article>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.face-plan-list article b,.face-plan-list article span,.face-plan-list article small{overflow:hidden;text-overflow:ellipsis}.face-plan-list article span{font-size:10px;color:#9db0c5}.face-plan-list article small{font-size:9px;color:#6fa9d9}.face-plan-muted{font-size:10px;color:#7893ad}.face-manual-row .face-device-art{height:34px}.face-manual-row .face-guide-rings{width:92%}.face-manual-row .face-guide-rings i{width:18px;height:11px;border-width:1px}.face-manual-actions{display:flex;gap:6px;margin-top:4px}.face-manual-actions select,.face-manual-actions button{background:#10233b;color:#dcecff;border:1px solid #31506f;border-radius:5px;padding:4px 6px;font-size:9px}.face-manual-actions button{cursor:pointer}.face-manual-actions button:hover{border-color:#8a4c4c;background:#3a1e24}.face-item-properties,.face-properties-empty{margin:0 0 18px;padding:13px;border:1px solid #315674;background:#0b1d31;border-radius:10px;box-shadow:0 8px 24px #00000029;min-width:0;overflow:hidden}.face-item-properties>header{display:flex;flex-direction:column;gap:3px;padding-bottom:10px;border-bottom:1px solid #28445e;min-width:0}.face-item-properties>header small{font-size:9px;letter-spacing:.11em;color:#6fb4f0}.face-item-properties>header strong{font-size:15px;color:#eef7ff}.face-item-properties>header span{font-size:10px;color:#91aac2;line-height:1.4;overflow-wrap:break-word}.face-item-properties.manual-properties{border-color:#52677d}.face-item-properties.manual-properties>header small{color:#a8b8c7}.face-property-groups{display:flex;flex-direction:column;gap:11px;padding-top:11px;min-width:0;width:100%}.face-property-group{display:flex;flex-direction:column;min-width:0;width:100%}.face-property-group h5{margin:0 0 6px;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7fa8cf}.face-property-group dl{margin:0;display:flex;flex-direction:column;min-width:0;width:100%}.face-property-row{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;box-sizing:border-box;padding:7px 0;border-bottom:1px dotted rgba(120,155,190,.12)}.face-property-row>dt{margin:0;font-size:9px;line-height:1.25;color:#6f91b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.face-property-row>dd{margin:0;font-size:11px;line-height:1.4;color:#e4f0ff;overflow-wrap:anywhere}.face-properties-empty{display:flex;flex-direction:column;gap:5px;border-style:dashed;color:#8ca7c0}.face-properties-empty b{font-size:12px;color:#bcd5eb}.face-properties-empty span{font-size:10px;line-height:1.45}.face-plan-help{font-size:10px;color:#7893ad;line-height:1.55;margin-top:14px}.face-plan-launcher{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#f7f9fb}.face-plan-launcher div{display:flex;flex-direction:column}.face-plan-launcher small{color:var(--muted);font-size:11px}@media (max-width: 1250px){.face-plan-layout{grid-template-columns:minmax(650px,1fr) minmax(300px,340px)}.face-device-label{flex-basis:86px;width:86px}}@media (max-width: 900px){.face-plan-toolbar{top:70px;flex-wrap:wrap}.face-plan-toolbar span{width:100%;margin-left:0;white-space:normal}.face-plan-layout{grid-template-columns:1fr}.face-plan-list{border-left:0;border-top:1px solid #203952;padding-left:0;padding-top:14px}}.layer-toggle,.check{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:flex-start;margin:4px 0}.layer-toggle small,.check small{display:block;color:var(--muted);font-size:11px}.check em{font-style:normal;color:var(--muted);font-size:12px}.resource-list{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.resource-list li{display:grid;grid-template-columns:1fr auto;gap:4px}.resource{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:6px}.resource small{display:block;color:var(--muted);font-size:11px}.resource.selected{border-color:var(--accent);background:#e3eefc}.object-summary{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.object-summary code{font-size:11px;color:var(--muted);word-break:break-all}.object-actions{margin-bottom:8px}.prop-list{margin:0;display:flex;flex-direction:column}.prop-row{display:grid;grid-template-columns:minmax(90px,40%) 1fr;gap:8px;padding:3px 0;border-bottom:1px solid #eef1f4;font-size:12px}.prop-row dt{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prop-row dd{margin:0;word-break:break-word}.prop-groups details,.technical details{margin-top:6px}.prop-groups summary,.technical summary{cursor:pointer;font-size:12px}.prop-groups summary .count,.technical summary .count,.layer-panel summary .count{color:var(--muted);font-weight:400}.linked h3,.technical h3,.inspector-group h4{font-size:12px;margin:10px 0 4px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.linked ul{margin:0;padding-left:16px}button.link{border:0;background:none;color:var(--accent);padding:0}.inspector-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px}.inspector-head small{font-size:10px;letter-spacing:.08em;color:var(--muted)}.inspector-head h3{margin:2px 0;font-size:16px}.inspector-head em,.resource em{font-style:normal;font-size:10px;padding:2px 6px;border-radius:10px;background:#f0e6e6;color:var(--bad);white-space:nowrap}.inspector-head em.bound,.resource em.bound{background:#e3f2e7;color:var(--ok)}.layer{font-style:normal;font-size:10px;margin-left:6px;padding:0 5px;border-radius:8px;background:#eef1f4;color:var(--muted)}.layer-user{background:#e3eefc;color:var(--accent)}.layer-engineered{background:#fff3dc;color:var(--warn)}.layer-bad{background:#fbe4e2;color:var(--bad)}.prop-row.inconsistent dd{color:var(--bad)}button.link.edit{margin-left:6px;font-size:11px;opacity:.55}.prop-row:hover button.link.edit,button.link.edit:focus{opacity:1}.prop-edit{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.prop-edit input{flex:1 1 120px;min-width:0;font:inherit;padding:2px 4px}.prop-edit button{font-size:11px;padding:1px 6px}.edit-msg{display:block;font-size:10px;color:var(--muted)}.edit-msg.bad{color:var(--bad)}.warn{margin:4px 0 8px;padding:6px 8px;border-radius:6px;background:#fff3dc;color:var(--warn);font-size:12px}.cutbar{position:relative;display:flex;align-items:center;gap:6px}.scissors{position:relative}.scissors.has-cuts{border-color:var(--accent);box-shadow:0 0 0 1px #0b63ce2e inset}.scissors.is-picking{animation:cut-pulse 1.15s ease-in-out infinite}.scissors i{position:absolute;right:-6px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-style:normal;line-height:17px;text-align:center}.scissors i.all-paused{background:var(--muted)}.pick-hint{position:absolute;top:36px;left:0;width:max-content;padding:6px 9px;border:1px solid var(--accent);border-radius:8px;background:var(--panel);color:var(--accent);font-size:11px;box-shadow:0 8px 20px #00000026;pointer-events:none;z-index:55}.cut-popover{position:absolute;top:38px;left:0;width:256px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 16px 40px #0003;z-index:60}.cut-popover header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}.cut-popover header>div{display:flex;min-width:0;flex-direction:column;gap:2px}.cut-popover header small,.cut-popover .cut-source{max-width:200px;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap;margin:0 0 6px}.cut-popover p{margin:4px 0 9px;color:var(--muted);font-size:12px;line-height:1.4}.cut-popover button{font-size:12px}.cut-popover .close{border:0;background:transparent;color:var(--muted);font-size:16px;padding:0 6px}.axis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.axis-grid button{height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.axis-grid button b{font-size:15px}.axis-grid button span{color:var(--muted);font-size:10px}.axis-grid button.suggested{border-color:var(--accent)}.cut-popover footer{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:8px}.cut-nav{display:grid;grid-template-columns:31px 1fr 31px;align-items:center;gap:5px;margin-bottom:7px}.cut-nav>span{height:30px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:6px}.cut-nav>span small{color:var(--accent);font-weight:700;font-size:11px}.command-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}.axis-row{display:grid;grid-template-columns:1fr repeat(3,34px);align-items:center;gap:4px;margin-top:6px}.axis-row>span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.axis-row button{padding:4px 0;font-weight:700}.cut-popover button.is-on{border-color:var(--accent);background:#e3eefc;color:var(--accent)}.cut-popover button.danger{color:var(--bad)}.cut-popover button.danger:hover{border-color:var(--bad)}.cut-popover .divider{height:1px;margin:8px 0 6px;background:var(--line)}.cut-popover .wide{width:100%}.cut-popover .secondary button{color:var(--muted)}.object-section-tools{display:flex;align-items:center;gap:6px;margin:8px 0;padding:6px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.object-section-tools>span{margin-right:auto;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.object-section-tools button b{margin-right:3px;font-size:11px}@keyframes cut-pulse{0%,to{box-shadow:0 0 #0b63ce26}50%{box-shadow:0 0 0 5px #0b63ce14}}.navbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.segmented{display:inline-flex}.segmented button{border-radius:0;margin-left:-1px}.segmented button:first-child{border-radius:6px 0 0 6px;margin-left:0}.segmented button:last-child{border-radius:0 6px 6px 0}.help-anchor{position:relative}.shortcut-popover{position:absolute;top:36px;right:0;width:260px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 16px 40px #0003;z-index:60;font-size:12px}.shortcut-popover dl{margin:6px 0 10px;display:flex;flex-direction:column;gap:3px}.shortcut-popover dl div{display:grid;grid-template-columns:96px 1fr;gap:6px}.shortcut-popover dt,.shortcut-popover dd{margin:0}kbd{font:11px ui-monospace,monospace;padding:1px 5px;border:1px solid var(--line);border-bottom-width:2px;border-radius:4px;background:#f7f9fb}.models-toolbar{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:5px;margin:0 0 8px}.models-toolbar button{font-size:12px;padding:4px 6px;white-space:nowrap}.models li[data-state=error]{box-shadow:inset 3px 0 var(--bad);padding-left:6px}.sidebar-toggle{padding:2px 8px}.shell.left-collapsed{grid-template-columns:0 minmax(0,1fr) 360px}.shell.left-collapsed .sidebar{display:none}.stage canvas.cut-picking{cursor:crosshair}.stage.cut-pick-active:after{position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:1px dashed var(--accent);border-radius:10px;content:"";pointer-events:none}.nav-toast{position:absolute;left:50%;bottom:16px;transform:translate(-50%);padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:12px;box-shadow:0 8px 24px #00000026;pointer-events:none}@media (max-width: 760px){.shell.left-collapsed{grid-template-columns:1fr}.cut-popover{left:auto;right:0}}@media (max-width: 760px){main.shell,main.shell.left-collapsed{grid-template-columns:minmax(0,1fr)}header.topbar{flex-wrap:wrap;gap:6px 8px;padding:6px 8px;min-width:0}header.topbar>*{min-width:0;max-width:100%}header.topbar nav,header.topbar .navbar{flex-wrap:wrap}header.topbar .session-badge{flex-wrap:wrap;justify-content:flex-end}header.topbar .session-badge>span{overflow-wrap:anywhere}}.models small.model-error{color:var(--bad);white-space:normal}.tool-panel .point{margin:2px 0;font-size:12px;font-variant-numeric:tabular-nums}.tool-panel .p1{color:#1d6fd6}.tool-panel .p2{color:#c2410c}.tool-panel .distance{font-size:18px;font-weight:700;color:var(--ok);margin:8px 0}.u-control{margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:6px}.panel .u-control input[type=number]{width:64px;margin:0;text-align:center}.u-control .actions{align-items:center;flex-wrap:nowrap}.u-control small{color:var(--muted);font-size:11px}.stage canvas.picking{cursor:crosshair}.bim-tree .tree,.bim-tree .tree ul,.search-results{list-style:none;margin:0;padding:0}.bim-tree .tree{max-height:320px;overflow:auto}.tree-model>b{display:block;font-size:12px;color:var(--muted);margin:6px 0 2px}.tree-row{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:2px;border-radius:4px}.tree-row.selected,.tree-label.selected{background:#e3eefc}.tree-row button,.search-results button{border:0;background:transparent;padding:2px 4px}.tree-twisty{width:20px;color:var(--muted)}.tree-label{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0}.tree-label span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tree-label small{font-size:11px;color:var(--muted)}.tree-actions{display:flex;opacity:.35}.tree-row:hover .tree-actions,.tree-row.selected .tree-actions{opacity:1}.search-results{max-height:320px;overflow:auto}.search-results li{display:grid;grid-template-columns:1fr auto}.panel h2 .count{float:right;font-weight:400;text-transform:none}.export-version{margin:4px 0}.export-version small{color:var(--muted);font-size:11px}.export-blockers{list-style:none;margin:4px 0;padding:0;font-size:12px}.export-actions{display:flex;gap:6px;margin:6px 0}.export-result{font-size:12px;margin:4px 0}.export-list{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:4px}.export-list li{display:flex;flex-direction:column}.export-list code{font-size:11px;word-break:break-all}.export-list small,.export-canvas{color:var(--muted);font-size:11px}.export-queue{display:inline-block;margin-top:4px;font-size:12px}.revision-dock{max-height:52%}.rev-tabs{display:inline-flex;gap:4px}.rev-tabs button.active{background:var(--accent);color:#fff}.rev-lineage{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:4px 12px 4px 30px;color:var(--muted)}.rev-lineage li.current b{color:var(--ok)}.rev-sides{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:4px 12px}.rev-hash-ok{color:var(--ok);font-weight:600}.rev-hash-bad{color:var(--bad);font-weight:600}.rev-hash-pending{color:var(--muted)}.rev-added{color:#2e7d32;font-weight:600}.rev-removed{color:var(--bad);font-weight:600}.rev-changed{color:#b26a00;font-weight:600}.rev-table tr.rev-row{cursor:pointer}.rev-table tr.rev-added td:first-child{box-shadow:inset 3px 0 #2eb352}.rev-table tr.rev-removed td:first-child{box-shadow:inset 3px 0 #db3330}.rev-table tr.rev-changed td:first-child{box-shadow:inset 3px 0 #faa81a}.rev-table tr.rev-row:hover{background:#f2f6fa}.rev-totals{margin-top:6px}:root{--bg: #eef2f6;--panel: #ffffff;--ink: #1b2430;--muted: #5b6776;--line: #d6dde6;--accent: #0b63ce;--ok: #1f7a3d;--warn: #9a6400;--bad: #b3261e;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}.shell{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"top top top" "side stage insp" "status status status";height:100%}.topbar{grid-area:top;display:flex;align-items:center;gap:16px;padding:8px 16px;background:var(--panel);border-bottom:1px solid var(--line)}.topbar nav{display:flex;gap:6px;flex-wrap:wrap}button{font:inherit;padding:4px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);cursor:pointer}button:disabled{opacity:.45;cursor:default}button.active,button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.sidebar{grid-area:side;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:12px;border-right:1px solid var(--line);background:#f7f9fb}.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 12px}.panel h2{font-size:13px;margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.panel input:not([type=checkbox]),.panel select{width:100%;font:inherit;padding:4px 6px;margin-bottom:6px}.hint{margin:0 0 8px;color:var(--muted);font-size:12px}.models,.rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.models li{display:flex;flex-direction:column;gap:4px;padding-bottom:6px;border-bottom:1px solid var(--line)}.models label{display:flex;gap:8px;align-items:flex-start}.models small,.rows small{display:block;color:var(--muted);font-size:12px}.models li[data-state=error] b{color:var(--bad)}.model-actions{display:flex;gap:6px}.row{width:100%;display:grid;grid-template-columns:1fr auto auto;gap:8px;text-align:left;align-items:center}.row.selected{border-color:var(--accent)}.row i{font-style:normal;font-size:11px;color:var(--muted)}.status-ok b[data-status]{color:var(--ok)}.status-warn b[data-status]{color:var(--warn)}.status-outlier b[data-status]{color:var(--bad)}.editor{margin-top:8px;display:flex;flex-direction:column;gap:6px}.xyz{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.xyz label span{font-size:11px;color:var(--muted)}.actions{display:flex;gap:6px;flex-wrap:wrap}.field span{display:block;font-size:12px;color:var(--muted)}.inspector{grid-area:insp;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--line);background:#f7f9fb}.stage{grid-area:stage;position:relative;min-width:0;min-height:0}.stage canvas{width:100%;height:100%;display:block}.statusbar{grid-area:status;display:flex;justify-content:space-between;gap:16px;padding:6px 16px;background:var(--panel);border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.statusbar.status-error{color:var(--bad)}@media (max-width: 760px){.shell{grid-template-columns:1fr;grid-template-rows:auto 45% auto 1fr auto;grid-template-areas:"top" "stage" "insp" "side" "status"}.sidebar,.inspector{border-right:0;border-left:0;border-top:1px solid var(--line)}}.login-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0f172a73;z-index:50}.login-panel{display:grid;gap:10px;width:min(360px,calc(100vw - 32px))}.login-panel label{display:grid;gap:4px;font-size:13px}.login-panel input{font:inherit;padding:6px 8px;border:1px solid var(--line);border-radius:6px}.login-error{margin:0;color:#b42318;font-size:13px}.session-badge{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:13px}
