:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#303a32;background:#f4f2ec;font-size:13px;--ink:#303a32;--muted:#858a7d;--line:#e3e3d9;--green:#465d49;--paper:#faf9f4}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid #81937c;outline-offset:3px}button:disabled{opacity:.4;cursor:default}a{text-decoration:none}button:hover{color:#345736}h1,h2,h3,p{margin:0}h2{font-size:14px;font-weight:600}h3{font-size:13px;font-weight:600}button[hidden],[hidden]{display:none!important}.topbar{height:76px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 25px;gap:28px;background:var(--paper)}.brand{display:flex;align-items:center;gap:11px;min-width:172px;font-size:17px;font-weight:600;letter-spacing:2px}.brandmark{font-size:31px;font-weight:300;border:1px solid #6d7c66;border-radius:11px;width:39px;height:42px;line-height:35px;text-align:center}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;color:#8b9182}.project-title{font-size:13px;display:flex;align-items:center;gap:14px;white-space:nowrap}.project-title>span{color:#b3b8ab}.project-title b{font-size:10px;font-weight:400;border:1px solid #d8dfce;border-radius:20px;padding:5px 9px;color:#6c795f}.top-actions{display:flex;margin-left:auto;align-items:center;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 14px;border:1px solid #d9decf;border-radius:7px;background:#faf9f4;font-size:12px;white-space:nowrap}.button:hover{background:#eeeede}.button.primary{background:var(--green);border-color:var(--green);color:white}.locked{color:#667960;font-size:11px;margin-right:8px;white-space:nowrap}.workspace{display:grid;grid-template-columns:230px minmax(360px,1fr) 285px;height:calc(100dvh - 76px);min-height:500px}.workspace.references-hidden{grid-template-columns:230px minmax(360px,1fr)}.references-hidden .evidence-sidebar{display:none}.sidebar{background:var(--paper);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dedfd4 transparent}.left-sidebar{border-right:1px solid var(--line);display:flex;flex-direction:column}.intro{padding:24px 21px 18px;border-bottom:1px solid var(--line)}.eyebrow{font-size:8px;letter-spacing:1.6px;font-weight:500;color:#8a9381;margin-bottom:10px}.intro h1{font-size:18px;letter-spacing:-.4px;font-weight:500;margin-bottom:9px}.intro>p:not(.eyebrow){font-size:10px;color:#949889}.stats{display:flex;margin-top:21px;gap:22px}.stats strong{font-size:25px;font-weight:400;letter-spacing:-1px;display:block}.stats em{font-size:10px;font-style:normal;margin-left:3px;letter-spacing:0}.stats small{display:block;font-size:9px;color:#919786;margin-top:6px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading>span{font-size:9px;color:#a4aa9a}.room-section{padding:19px 12px 12px}.room-section .section-heading{padding:0 9px;margin-bottom:10px}.room-item{display:flex;align-items:center;width:100%;text-align:left;padding:10px 9px;gap:11px;border-radius:7px;margin-bottom:2px}.room-item:hover{background:#f0f1e8}.room-item.active{background:#e8ecdf;color:#3d573c}.room-number{font-size:9px;letter-spacing:1px;color:#a3ac97;width:20px}.room-item strong{font-size:11px;font-weight:500;display:block}.room-item small{font-size:8px;color:#969c8e;display:block;margin-top:4px}.room-arrow{margin-left:auto;font-size:13px;color:#a7b09c}.display-section{padding:17px 21px;border-top:1px solid var(--line)}.display-section h2{margin-bottom:9px;font-size:12px}.switch-row{display:flex;justify-content:space-between;align-items:center;font-size:10px;padding:7px 0;color:#7d8675}.switch-row input{appearance:none;width:27px;height:15px;border:0;border-radius:20px;background:#d9ddcf;position:relative;cursor:pointer;margin:0}.switch-row input:after{content:"";position:absolute;width:11px;height:11px;left:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 2px #5552}.switch-row input:checked{background:#819674}.switch-row input:checked:after{left:14px}.fixed-note{display:flex;gap:9px;border-top:1px solid var(--line);padding:15px 21px;color:#6e7e62;font-size:10px;line-height:1.9}.fixed-note>span{font-size:17px}footer{margin-top:auto;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:14px 17px;color:#919988;font-size:9px}footer button{font-size:9px}.viewport{position:relative;overflow:hidden;background:#eeeee7;min-width:0;touch-action:none}#canvas-host{position:absolute;inset:0}canvas{display:block;outline:0}#labels-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.room-label,.dimension-label{position:absolute;left:0;top:0;white-space:nowrap;transform:translate(-50%,-50%);font-size:10px;letter-spacing:1px;color:#5f7057;background:#f6f8edcc;border:1px solid #e1e7d2b3;border-radius:4px;padding:4px 7px;backdrop-filter:blur(3px);box-shadow:0 1px 4px #56614108}.room-label.minor{background:#f3f4eb99;font-size:8px;color:#86907c;border:0}.dimension-label{font-size:9px;letter-spacing:.4px;border:0;background:#f4f5edc9;padding:2px 5px}.dimension-label.total{font-weight:600}.viewport-top{position:absolute;left:28px;top:25px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.viewport-top h2{font-size:24px;font-weight:400;letter-spacing:1px;line-height:1.4}.viewport-top .eyebrow{font-size:8px;color:#969f8b;letter-spacing:1.4px;margin-bottom:8px}.view-sub{font-size:10px;color:#8c9583;display:block;margin-top:8px}.wall-segment{display:flex;border:1px solid #dde2d3;background:#f7f8efd9;border-radius:7px;padding:3px;pointer-events:auto}.wall-segment button{font-size:10px;padding:7px 11px;border-radius:4px;color:#859379}.wall-segment .active{background:#dfe6d5;color:#516848}.compass{position:absolute;top:110px;right:30px;width:44px;display:flex;flex-direction:column;align-items:center;pointer-events:none;color:#9aa48e}.compass>span{font-size:10px;letter-spacing:1px}.compass svg{width:43px;height:43px;fill:none;stroke:#b9c2aa;stroke-width:1}.compass .needle{fill:#97a883;stroke:0;transform-origin:25px 25px}.compass small{font-size:7px;margin-top:4px;white-space:nowrap}.viewport-bottom{position:absolute;left:50%;bottom:51px;transform:translateX(-50%);display:flex;align-items:center;gap:7px}.view-switch{display:flex;background:#fcfcf5ed;box-shadow:0 5px 24px #78836812;border:1px solid #dce4cf;border-radius:10px;padding:4px;gap:3px}.view-switch button{padding:11px 16px;min-width:75px;color:#8b9780;font-size:11px;border-radius:6px}.view-switch button.active{background:#52694c;color:white}.icon-button{width:35px;height:35px;border:1px solid #dce4cf;border-radius:8px;background:#fcfcf5dd;color:#7b8a6d;font-size:18px}.viewport-caption{position:absolute;left:25px;right:25px;bottom:18px;display:flex;justify-content:space-between;color:#96a189;font-size:9px;pointer-events:none}.evidence-sidebar{border-left:1px solid var(--line);padding-bottom:20px}.evidence-heading{padding:24px 21px 17px}.evidence-heading h2{font-size:17px;font-weight:500;letter-spacing:.3px}.evidence-heading>p:last-child{font-size:10px;color:#8c9583;margin-top:8px;line-height:1.6}.main-reference{position:relative;display:block;width:calc(100% - 42px);margin:0 21px;height:238px;border-radius:8px;overflow:hidden;padding:0;background:#e5e4db}.main-reference img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block}.main-reference>span{position:absolute;left:9px;bottom:9px;background:#2e3b33b3;color:#fff;border-radius:4px;padding:5px 8px;font-size:9px}.main-reference>b{position:absolute;right:9px;bottom:12px;color:#fff;text-shadow:0 1px 3px #000;font-size:9px;font-weight:400}.reference-thumbs{display:flex;padding:9px 21px 0;gap:5px;overflow-x:auto;scrollbar-width:thin}.reference-thumbs button{padding:0;flex:0 0 35px;height:44px;border-radius:4px;overflow:hidden;opacity:.55;border:2px solid transparent}.reference-thumbs button.active{opacity:1;border-color:#7a946a}.reference-thumbs img{width:100%;height:100%;object-fit:cover}.evidence-details{padding:21px 21px 16px}.evidence-details ul{padding-left:14px;margin:12px 0 14px;color:#75826a;font-size:10px;line-height:1.9}.evidence-details li{padding-left:2px;margin-bottom:5px}.evidence-note{font-size:9px;line-height:1.8;color:#a18e72;padding:10px 12px;background:#f3efe3;border-radius:6px}.material-section{padding:17px 21px;border-top:1px solid var(--line)}.material-row{display:flex;gap:10px;align-items:center;padding:7px 0}.swatch{width:31px;height:31px;border-radius:6px;background-size:cover;border:1px solid #5d685a10;flex-shrink:0}.material-row strong{font-size:10px;font-weight:400;display:block;line-height:1.6}.material-row small{font-size:8px;color:#a1a896;display:block;margin-top:3px}.baseline-note{margin:5px 21px 0;padding:14px 13px;border:1px solid #e0e5d5;border-radius:7px;color:#7c8e6e;font-size:10px}.baseline-note strong{font-size:10px;font-weight:500}.baseline-note p{font-size:9px;line-height:1.8;margin-top:6px}#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f2f3e9ee;z-index:20;gap:16px;color:#607554}#loading>span{font-size:45px}#loading h2{font-size:19px;font-weight:400}#loading p{font-size:11px;color:#92a082}#toast{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);padding:11px 17px;border-radius:8px;color:#fff;background:#3b4f3deb;opacity:0;pointer-events:none;font-size:11px;transition:opacity .2s;max-width:80%;text-align:center}#toast.visible{opacity:1}#walk-controls{position:absolute;left:25px;bottom:100px;text-align:center}#walk-controls button{border:1px solid #dbe4ce;background:#f7faedbd;color:#6e825b;width:31px;height:30px;border-radius:6px;margin:2px;touch-action:none}dialog{border:1px solid #e0e5d5;border-radius:15px;background:var(--paper);color:var(--ink);padding:26px;max-width:1000px;width:calc(100% - 80px);max-height:90vh;box-shadow:0 30px 100px #14201322}dialog::backdrop{background:#35453266;backdrop-filter:blur(6px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.dialog-heading h2{font-size:20px;font-weight:500}.dialog-heading>button{font-size:26px;color:#919e85;padding:0 8px}.reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.reference-grid img{width:100%;border-radius:8px}.reference-grid p,.reference-grid ul{font-size:12px;color:#88917e;line-height:1.9;margin:12px 0 18px}.reference-grid h3{margin-top:8px}.reference-grid ul{padding-left:18px}.reference-grid li{margin-bottom:7px}#reference-viewer{width:auto;max-width:90vw;padding:18px}#reference-viewer .dialog-heading{margin-bottom:13px;gap:40px}#reference-viewer h2{font-size:14px}#reference-full{height:68vh;max-width:100%;object-fit:contain;display:block;margin:auto;border-radius:6px}.photo-nav{display:flex;align-items:center;justify-content:space-between;padding-top:13px;font-size:11px;gap:30px}.photo-nav>span{font-size:10px;color:#96a08b}#help-dialog{max-width:580px}#help-dialog dt{font-size:12px;font-weight:600;margin-bottom:7px}#help-dialog dd{font-size:12px;line-height:1.8;margin:0 0 18px;color:#818e75}
@media(min-width:1600px){.workspace{grid-template-columns:250px minmax(500px,1fr) 310px}.workspace.references-hidden{grid-template-columns:250px 1fr}.intro{padding:29px 24px 22px}.main-reference{height:280px}.room-item{padding:12px 12px}.room-item strong{font-size:12px}.room-item small{font-size:9px}}
@media(max-width:1150px){.workspace{grid-template-columns:204px minmax(340px,1fr) 248px}.workspace.references-hidden{grid-template-columns:204px minmax(340px,1fr)}.topbar{padding:0 17px;gap:15px}.brand{min-width:157px}.project-title{gap:9px;font-size:12px}.top-actions{gap:6px}.locked{display:none}.top-actions .button{padding:9px 10px;font-size:10px}.intro{padding:22px 16px}.intro h1{font-size:16px}.stats{gap:19px}.main-reference{height:215px}.viewport-top{left:21px;right:20px}.viewport-top h2{font-size:21px}.compass{right:22px}.view-switch button{min-width:64px;padding:10px}.viewport-caption{font-size:8px;gap:15px}.evidence-heading{padding-left:17px}.main-reference{margin-left:17px;width:calc(100% - 34px)}.reference-thumbs,.evidence-details,.material-section{padding-left:17px;padding-right:17px}}
@media(max-width:850px){.project-title b,.project-title>span,.project-title{display:none}.topbar{height:62px}.brand{font-size:15px}.brandmark{width:33px;height:35px;font-size:28px;line-height:30px}.top-actions{margin-left:auto}.workspace,.workspace.references-hidden{height:calc(100dvh - 62px);grid-template-columns:170px 1fr;min-height:480px}.evidence-sidebar{display:none;position:absolute;right:0;top:62px;bottom:0;width:275px;z-index:8;box-shadow:-15px 0 50px #3453321a}.workspace:not(.references-hidden) .evidence-sidebar{display:block}.intro h1{font-size:13px}.stats{gap:12px}.stats strong{font-size:20px}.intro>p:not(.eyebrow){font-size:9px}.room-item{gap:5px}.room-item small{font-size:7px}.room-item strong{font-size:10px}.room-number{width:16px}.fixed-note{font-size:9px;padding:13px}.viewport-top{left:17px}.viewport-top .eyebrow{font-size:6px}.viewport-top h2{font-size:18px}.viewport-top .view-sub{max-width:160px;font-size:8px}.wall-segment button{padding:6px 8px;font-size:9px}.viewport-bottom{gap:5px;bottom:44px}.icon-button{width:29px;height:29px;font-size:16px}.view-switch button{min-width:53px;font-size:10px;padding:9px 7px}.viewport-caption{left:14px;right:14px;font-size:7px}.viewport-caption>span:last-child{display:none}.reference-grid{grid-template-columns:1fr}dialog{width:calc(100% - 30px);padding:19px}}
@media(max-width:540px){.workspace,.workspace.references-hidden{grid-template-columns:112px 1fr}.brand{min-width:100px;font-size:13px;gap:7px}.brand small{font-size:6px;letter-spacing:1px}.top-actions .button{font-size:9px;padding:8px}#references-button{display:none}.topbar{padding:0 10px;gap:4px}.intro{padding:19px 11px 14px}.intro h1{font-size:11px;line-height:1.8}.intro .eyebrow,.intro>p:not(.eyebrow){display:none}.stats{gap:11px;flex-wrap:wrap;margin-top:10px}.stats>div:last-child{display:none}.stats strong{font-size:22px}.stats small{font-size:8px}.room-section{padding:14px 6px}.room-section .section-heading{padding:0 5px}.room-section h2{font-size:10px}.room-item{padding:10px 5px;gap:5px}.room-item small,.room-arrow,.room-number{display:none}.room-item strong{font-size:9px}.display-section{padding:13px 11px}.display-section h2,.switch-row{font-size:9px}.fixed-note{padding:10px;font-size:8px;gap:4px}.fixed-note span{font-size:12px}footer>span{display:none}.viewport-top{top:20px;left:14px;right:12px;display:block}.viewport-top h2{font-size:17px}.wall-segment{margin-top:13px;width:fit-content}.compass{top:130px;right:13px;width:31px}.compass svg{width:32px;height:32px}.view-switch{gap:0;padding:3px}.view-switch button{min-width:45px;padding:8px 5px;font-size:9px}.viewport-bottom{gap:3px;bottom:43px}.icon-button{width:24px;height:28px}#screenshot-button{display:none}#walk-controls{left:13px;bottom:88px}.viewport-caption{font-size:6px}.evidence-sidebar{width:245px}}

/* The navigation row and drawer only exist in the narrow layout. */
.mobile-navigation{display:none}
@media(max-width:850px){
  .mobile-navigation{height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;background:var(--paper);border-bottom:1px solid var(--line)}
  .mobile-navigation button{min-height:44px;padding:0 12px;font-size:13px;font-weight:500;color:var(--green);border-radius:6px}
  .mobile-navigation button[aria-expanded=true]{background:#e8ecdf}
  .mobile-navigation>span{font-size:10px;color:var(--muted)}
  .workspace,.workspace.references-hidden{position:relative;grid-template-columns:minmax(0,1fr);height:calc(100dvh - 110px);min-height:0}
  .workspace .left-sidebar{display:none;position:absolute;inset:0 auto 0 0;width:min(300px,calc(100% - 48px));z-index:12;box-shadow:12px 0 32px #3453321a;overscroll-behavior:contain;touch-action:pan-y}
  .workspace.navigation-open .left-sidebar{display:flex}
  .workspace .evidence-sidebar{top:0}
  .left-sidebar .intro{padding:18px}
  .left-sidebar .intro h1{font-size:16px;line-height:1.5}
  .left-sidebar .room-section{padding:16px 12px}
  .left-sidebar .room-section h2,.left-sidebar .display-section h2{font-size:13px}
  .left-sidebar .room-item{min-height:44px;padding:12px 9px;gap:9px}
  .left-sidebar .room-item strong{font-size:12px}
  .left-sidebar .room-item small{display:block;font-size:9px;line-height:1.5}
  .left-sidebar .room-number,.left-sidebar .room-arrow{display:block}
  .left-sidebar .display-section{padding:16px 21px}
  .left-sidebar .switch-row{min-height:44px;font-size:12px}
  .left-sidebar footer button{min-height:44px;font-size:12px}
}
