:root{color:#263238;background:#eef2f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--surface: #ffffff;--surface-subtle: #f7f9fa;--line: #d7e0e5;--line-strong: #b7c5cc;--text: #263238;--muted: #687981;--teal: #0f8f86;--teal-dark: #096b66;--amber: #d19a22;--coral: #de5638;--shadow: 0 14px 36px rgba(32, 45, 51, .14)}*{box-sizing:border-box;letter-spacing:0}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}button,input,textarea{font:inherit}button{color:inherit}.app-root{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;overflow:hidden;background:linear-gradient(180deg,#ffffffd1,#eff4f6eb),#eef2f4}.element-panel input,.element-panel select{width:100%;min-width:0;padding:8px;border:1px solid var(--line);border-radius:4px;background:#fff;font:inherit;font-size:12px}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.element-actions{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}.element-actions .secondary-action{font-size:12px;padding:0 8px}.element-list{max-height:420px;overflow:auto}.element-row{display:block;width:100%;text-align:left;padding:8px 6px;background:transparent;border:0;border-bottom:1px solid var(--line);cursor:pointer;font-size:12px;overflow-wrap:anywhere}.element-row small{display:block;margin-top:3px;color:var(--muted)}.element-row.is-active{background:#dcefeb;box-shadow:inset 3px 0 var(--teal)}.element-row:hover{background:#edf4f2}button:disabled{opacity:.45;cursor:not-allowed}.notice{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;background:#fff4eb;border:1px solid #e4b99c;font-size:13px;z-index:5;overflow-wrap:anywhere}.notice .icon-button{flex:0 0 36px}.parameter-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.parameter-table td,.parameter-table th{padding:7px 4px;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere;vertical-align:top}.parameter-table small{display:block;color:var(--muted);font-size:10px}details summary{font-size:12px;cursor:pointer;color:var(--muted)}.review-actions{display:flex;gap:8px;flex-wrap:wrap}.review-tools{position:absolute;top:12px;left:12px;z-index:3;max-width:calc(100% - 24px)}.review-toolbar{display:flex;flex-wrap:wrap;gap:5px}.review-toolbar .icon-button{background:#fff}.review-toolbar .is-active{background:#dcefeb;border-color:var(--teal)}.review-popover{width:270px;max-width:100%;max-height:min(540px,48vh);overflow:auto;margin-top:7px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:var(--shadow);font-size:12px}.review-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.review-heading h2{font-size:14px;margin:0}.review-popover label{display:grid;gap:6px;margin:10px 0}.review-popover select{min-width:0;width:100%;border:1px solid var(--line);padding:7px;border-radius:4px;background:#fff}.review-popover input[type=range]{width:100%;margin:5px 0;accent-color:var(--teal)}.review-popover .check-row{display:flex;align-items:center}.review-popover fieldset{min-width:0;margin:10px 0;border:1px solid var(--line);padding:5px 8px}.review-popover .icon-button{width:30px;height:30px;flex-shrink:0}.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.measurement-list{max-height:200px;overflow:auto}.measurement-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--line)}.measurement-row small{display:block;margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.measure-progress{display:block;color:var(--teal-dark);margin:8px 0}.review-popover .review-actions{margin-top:10px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid var(--line);background:#fffffff0}.brand{display:flex;align-items:center;min-width:260px;gap:10px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:8px;background:var(--teal);color:#fff;font-weight:800}.brand h1,.brand p,.section-title h2{margin:0}.brand h1{font-size:15px;line-height:1.2}.brand p{margin-top:2px;color:var(--muted);font-size:12px}.toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:thin}.tool-button,.primary-action,.secondary-action,.icon-button,.list-item,.markup-main{border:1px solid transparent;border-radius:8px;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}.tool-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;gap:7px;padding:0 11px;white-space:nowrap;background:var(--surface-subtle);border-color:var(--line);color:#2b3d43}.tool-button:hover,.primary-action:hover,.secondary-action:hover,.icon-button:hover,.list-item:hover,.markup-main:hover{border-color:var(--line-strong);transform:translateY(-1px)}.tool-button.is-active{background:#0f8f861a;border-color:#0f8f866b;color:var(--teal-dark)}.tool-button.warning{background:#d19a2226;border-color:#d19a227a;color:#7b5a14}.workspace{display:grid;grid-template-columns:292px minmax(360px,1fr) 340px;min-height:0}.left-rail,.right-rail{min-width:0;overflow:auto;background:#ffffffc2}.left-rail{border-right:1px solid var(--line)}.right-rail{border-left:1px solid var(--line)}.viewer-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#dfe8ec}.viewer-host{width:100%;height:100%}.viewer-canvas{display:block;width:100%;height:100%;outline:none}.viewer-canvas.is-picking-markup{cursor:crosshair}.viewer-status,.mode-badge{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.72);border-radius:8px;background:#ffffffe6;color:#31434a;box-shadow:0 8px 24px #232f351f;font-size:12px;line-height:1}.viewer-status{left:14px;bottom:14px;max-width:min(520px,calc(100% - 28px));padding:9px 11px}.viewer-status span{width:9px;height:9px;flex:0 0 auto;border-radius:999px;background:var(--muted)}.viewer-status.loading span{background:var(--amber)}.viewer-status.ready span{background:var(--teal)}.viewer-status.fallback span,.viewer-status.error span{background:var(--coral)}.mode-badge{right:14px;top:14px;padding:9px 12px;color:#6c4f14}.panel-section{padding:14px;border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#2b3d43}.section-title h2{font-size:13px;font-weight:750}.item-list{display:grid;gap:8px}.item-list.compact{gap:6px;margin-top:9px}.list-item{display:grid;width:100%;gap:4px;padding:10px;text-align:left;background:#f7f9faeb;border-color:var(--line)}.list-item.is-active,.markup-row.is-active{border-color:#0f8f8675;background:#0f8f8614}.item-name,.item-meta,.item-note{display:block;min-width:0;overflow-wrap:anywhere}.item-name{font-size:13px;font-weight:700;color:var(--text)}.item-meta,.item-note,.empty-state{color:var(--muted);font-size:12px;line-height:1.45}.item-note{color:#53656d}.empty-state{margin:6px 0 2px}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;gap:7px;padding:0 12px}.primary-action{width:100%;background:var(--teal);color:#fff}.primary-action:disabled{cursor:not-allowed;opacity:.55;transform:none}.secondary-action{background:#eef3f5;border-color:var(--line)}.markup-row{display:grid;grid-template-columns:repeat(3,36px) minmax(0,1fr);align-items:stretch;gap:7px;padding:0;border:1px solid transparent;border-radius:8px}.markup-main{grid-column:1 / -1;display:grid;gap:4px;min-width:0;padding:9px 10px;text-align:left;background:transparent;border-color:transparent}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;align-self:center;padding:0;background:#f2f6f7;border-color:var(--line)}.info-grid{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px 10px;margin:0;font-size:12px}.info-grid dt{color:var(--muted)}.info-grid dd{min-width:0;margin:0;color:#263238;overflow-wrap:anywhere}.object-info{display:grid;gap:10px}.object-info pre{max-height:180px;margin:0;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f6f8f9;color:#2b3d43;font-size:11px;white-space:pre-wrap}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:18px;background:#1c272c52}.modal{display:grid;width:min(440px,100%);gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-header h2{margin:0;font-size:16px}.modal label{display:grid;gap:6px;color:#41545c;font-size:12px;font-weight:700}.modal input,.modal textarea{width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:9px 10px;color:var(--text);background:#fff;resize:vertical}.modal input:focus,.modal textarea:focus{border-color:var(--teal);outline:2px solid rgba(15,143,134,.18)}.modal-actions{justify-content:flex-end}.modal-actions .primary-action,.modal-actions .secondary-action{width:auto}.walk-state{position:absolute;right:12px;top:12px;z-index:2;padding:8px 14px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;color:var(--text);cursor:pointer}@media(max-width:1180px){.workspace{grid-template-columns:250px minmax(340px,1fr) 300px}.tool-button span{display:none}.tool-button{width:38px;padding:0}}@media(max-width:860px){.app-root{height:auto;min-height:100%;overflow:auto}.topbar{align-items:flex-start;flex-direction:column}.workspace{grid-template-columns:1fr;grid-template-rows:60vh auto auto}.viewer-stage{grid-row:1}.topbar{gap:10px}.toolbar{max-width:100%;flex-wrap:wrap}.left-rail,.right-rail{border:0}.left-rail{display:grid;grid-template-columns:1fr 1fr}}@media(max-width:620px){.review-popover{position:fixed;bottom:12px;left:12px;width:calc(100% - 24px);max-height:30vh;margin:0}.review-heading{position:sticky;top:0;z-index:1;background:#fff}.left-rail{grid-template-columns:1fr}.brand{min-width:0}.toolbar{width:100%;justify-content:flex-start}}.publisher-panel{padding:12px;border-bottom:1px solid #d8dfe4}.publisher-panel form,.publisher-panel label{display:grid;gap:6px;margin:8px 0;min-width:0}.publisher-panel input,.publisher-panel select{width:100%;min-width:0;padding:6px;border:1px solid #bdc9d1;border-radius:4px}.publisher-panel fieldset{margin:10px 0;padding:8px;border:1px solid #bdc9d1;min-width:0}.publisher-panel legend{overflow-wrap:anywhere;font-size:12px}.publisher-panel .transform-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;font-size:11px}.publisher-panel .review-actions{flex-wrap:wrap}.publisher-panel p{overflow-wrap:anywhere}.floor-navigation select{width:100%;padding:6px}.floor-navigation canvas{width:100%;max-width:240px;aspect-ratio:1;height:auto;cursor:crosshair;display:block}.floor-map-title{margin:8px 0;font-size:12px;overflow-wrap:anywhere;color:#52616b}.issue-rectangle{position:absolute;pointer-events:none;border:2px solid #e33824;z-index:5}.issue-snapshot{display:block;max-width:100%;max-height:220px;object-fit:contain}.modal{max-height:calc(100dvh - 32px);overflow-y:auto}.markup-row{flex-wrap:wrap}.markup-main{min-width:0}.admin-workspace{display:grid;grid-template-columns:360px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.admin-rail{overflow-y:auto;border-right:1px solid #d8dfe4}.publisher-panel .check-row{display:flex;align-items:center;gap:8px}.publisher-panel .check-row input{width:auto}@media(max-width:720px){.admin-workspace{display:flex;flex-direction:column;overflow:auto}.admin-rail{order:1;overflow:visible}.admin-workspace .viewer-stage{flex:none;height:45dvh;min-height:240px}}:root{--teal:#3a55dc;--teal-dark:#293fab;--amber:#cdb178}#root{height:calc(100% - 34px)}.site-footer{height:34px;display:flex;align-items:center;justify-content:center;gap:20px;background:#1b2b44;color:#e7ecf6;font-size:11px}.site-footer a{color:inherit;text-decoration:none}.site-footer a:hover{text-decoration:underline}@media(max-width:640px){#root{height:calc(100% - 54px)}.site-footer{height:54px;gap:4px 14px;flex-wrap:wrap;padding:6px 12px;font-size:10px}}
