@font-face{font-family:Inter;src:local("Inter")}*{box-sizing:border-box}html{background:#f7f4ee;color:#382840;scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,label{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:#5c3573;text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,svg:focus-visible{outline:3px solid #b28424;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em;line-height:1.15}h1{font-size:42px}h2{font-size:24px}h3{font-size:13px;font-weight:600;margin:16px 0 8px}em{color:#7c598e;font-weight:400}.skip{position:fixed;top:-100px;left:15px;background:white;z-index:100;padding:10px}.skip:focus{top:10px}.test-bar{min-height:34px;display:flex;align-items:center;justify-content:center;gap:18px;padding:6px 22px;background:#32213f;color:#eedfba;font-size:10px;letter-spacing:.1em}.test-bar span{letter-spacing:0;color:#e0d4e5}.test-bar a{color:#eedfba;letter-spacing:0}.app-header{height:88px;display:flex;align-items:center;gap:37px;padding:0 28px;background:#fffdf9;border-bottom:1px solid #e4dbd4}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#49236d;font-size:19px;line-height:1.1;letter-spacing:-.03em;min-width:190px}.brand strong{display:block;font-size:11px;font-weight:400;letter-spacing:.1em;margin-top:3px}.header-title{display:flex;flex-direction:column;gap:3px}.header-title b{font-weight:500;font-size:13px}.eyebrow{font-size:9px;font-weight:600;color:#806536;letter-spacing:.15em}.access-badge,.muted-badge{margin-left:auto;border:1px solid #d8cab1;background:#fbf6e9;color:#775b2b;padding:7px 12px;border-radius:5px;font-size:11px;white-space:nowrap}.access-badge.active{background:#edf2e9;color:#405d45;border-color:#c8d5c3}.global-status{position:sticky;top:0;z-index:30;background:#ede7f1;border-bottom:1px solid #cfbcd8;color:#4c305b;padding:12px 30px;font-size:12px;line-height:1.65}.global-status.error{color:#8d3847;background:#faedf0;border-color:#e2bbc5}.access-panel{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1.1fr .8fr;gap:90px;padding:55px 35px;border-bottom:1px solid #e3d9cf}.access-panel h1{font-size:48px;margin:17px 0 22px}.access-panel p{max-width:550px;font-size:13px;color:#756579}.account-card{padding:24px;background:#fffdf9;border:1px solid #dfd2dc;border-radius:9px;align-self:start}.account-card h2{font-size:25px;margin-bottom:12px}.account-card .button{width:100%;margin-top:10px}.account-card .text-button{margin:15px 0 0}.account-card p{font-size:12px;margin-bottom:0}.button{border:1px solid transparent;border-radius:5px;min-height:42px;padding:10px 16px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;line-height:1.5}.primary{color:#fffdf9;background:#49236d;border-color:#49236d}.primary:hover:not(:disabled){background:#633783}.secondary{color:#60416e;background:#fffdf9;border-color:#d8cbdc}.secondary:hover:not(:disabled){background:#eee7f2}.text-button{background:none;border:0;padding:5px 0;color:#6a4380;font-size:12px;text-decoration:underline;text-underline-offset:4px}.danger{color:#984756}.full{width:100%}.small{font-size:11px;line-height:1.8;color:#756579}.workspace-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100svh - 122px)}.project-sidebar{background:#eee8f0;border-right:1px solid #dcd0e1;padding:24px 19px;display:flex;flex-direction:column;gap:15px;align-self:stretch}.sidebar-title{display:flex;justify-content:space-between;align-items:center}.sidebar-title h2{font-size:24px;margin:0}.icon-button{min-width:37px;min-height:37px;border:1px solid #d7c8dd;background:#fffdf9;color:#6a4380;border-radius:5px;font-size:20px;line-height:1}.icon-button.primary{color:white;background:#49236d}.new-project{display:flex;gap:7px;margin-top:7px}.new-project input{min-width:0}.project-list{display:flex;flex-direction:column;gap:7px;margin-top:8px}.project-item{text-align:left;border:1px solid transparent;background:transparent;padding:12px;border-radius:5px;color:#60476b;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.project-item.selected{background:#fffdf9;border-color:#d8cbdc;box-shadow:0 2px 8px #49236d05}.project-item small{display:block;font-size:9px;color:#796c80;margin-top:5px}.sidebar-footer{border-top:1px solid #d7c9de;margin-top:auto;padding-top:22px;font-size:11px;color:#7b6884}.sidebar-footer b{font-weight:500;color:#5d436a}.sidebar-footer p{font-size:11px;margin:7px 0 13px}.workspace-main{padding:29px;min-width:0}.welcome{max-width:630px;margin:65px auto;padding:20px 25px}.welcome-icon{display:grid;place-items:center;color:#9b7bac;font-size:50px;width:85px;height:85px;background:#eee7f2;border:1px solid #dccde3;border-radius:18px;margin-bottom:35px}.welcome h2{font-size:48px;margin:15px 0 25px}.welcome>p:not(.eyebrow){font-size:14px;max-width:470px;color:#756579}.welcome ol{list-style:none;padding:0;margin:28px 0;display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px;color:#70577d}.welcome li b{color:#aa8a4c;font-weight:400;margin-right:9px}.project-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.project-heading h1{font-size:34px;margin:8px 0;overflow-wrap:anywhere}.project-heading p{margin-bottom:0}.heading-actions{display:flex;gap:10px;flex-shrink:0}.notice{padding:15px 18px;background:#faf3df;border:1px solid #dfcea6;color:#7a602f;border-radius:6px;margin-bottom:20px;font-size:12px}.drawing-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #ded2dc;border-radius:8px;background:#fffdf9;overflow:hidden}.drawing-panel{min-width:0}.panel-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 22px;border-bottom:1px solid #e8e0d8}.panel-heading h2{margin:0;font-size:25px}.panel-heading .eyebrow{display:block;margin-bottom:7px}.drawing-selectors{display:grid;grid-template-columns:minmax(100px,1fr) 75px 90px;gap:12px;padding:18px 20px;border-bottom:1px solid #e8e0d8}label{font-size:10px;color:#685471;display:block}label>span{font-size:9px;color:#88758f;float:right}input,select{width:100%;padding:9px 10px;margin-top:6px;border:1px solid #dbd0df;background:#fffefd;border-radius:5px;color:#44304e;font-size:12px;min-height:40px}select{font-size:11px}input[type=checkbox]{accent-color:#60367b}.drawing-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:12px 15px;background:#faf7f4;border-bottom:1px solid #e8e0d8}.tool{background:#fffdf9;border:1px solid #ddd2e1;border-radius:4px;padding:7px 9px;font-size:10px;color:#6c5279;min-height:34px}.tool.active{background:#ede5f2;border-color:#9c7cac;color:#4c2a63}.drawing-guidance{padding:12px 20px;margin:0;font-size:11px;line-height:1.75;color:#795e83;background:#f4eef6;border-bottom:1px solid #e2d6e7;min-height:62px}.drawing-scroll{height:650px;max-height:75svh;min-height:350px;overflow:auto;background-color:#e8e3dd;background-image:linear-gradient(45deg,#e2dcd6 25%,transparent 25%),linear-gradient(-45deg,#e2dcd6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2dcd6 75%),linear-gradient(-45deg,transparent 75%,#e2dcd6 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;padding:20px}.plan-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;min-height:300px;text-align:center;color:#8b7d91}.plan-empty>span{font-size:50px;color:#a38eae;margin-bottom:15px}.plan-empty b{font-family:Georgia,serif;font-size:25px;font-weight:400;color:#725d7d}.plan-empty p{font-size:11px;margin-top:15px;line-height:1.9}.page-stage{position:relative;background:white;box-shadow:0 4px 16px #3b2a401a;transform-origin:top left;flex:none}.page-stage canvas{display:block}.page-stage svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.page-stage svg.inspect{cursor:default}.page-stage svg .floor-surface{fill:#71438c24;stroke:#71438c;stroke-width:1.5;vector-effect:non-scaling-stroke}.page-stage svg .wall-surface{fill:none;stroke:#b38b32;stroke-width:4;vector-effect:non-scaling-stroke}.page-stage svg .draft-path{fill:#9d79af20;stroke:#6c3d88;stroke-dasharray:5 3;stroke-width:2;vector-effect:non-scaling-stroke}.page-stage svg .ref-x{stroke:#2f7b76;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.page-stage svg .ref-y{stroke:#aa7431;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.page-stage svg circle{stroke:white;stroke-width:1;fill:#6c3d88;vector-effect:non-scaling-stroke}.page-stage svg text{font-family:Arial,sans-serif;fill:#4b285f;paint-order:stroke;stroke:#fffdf9;stroke-width:3;stroke-linejoin:round}.drawing-footer{padding:10px 18px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e3dad2;font-size:9px;color:#88758e}.source-text{padding:15px 20px;border-top:1px solid #e3dad2;font-size:12px;color:#6d507d}.source-text summary{cursor:pointer}.source-text summary span{float:right;font-size:9px;color:#8d7b95}.source-text .small{margin:15px 0 10px}.source-text pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-family:inherit;font-size:11px;line-height:1.8;background:#f6f1f7;border:1px solid #e0d5e5;padding:15px}.inspector{border-left:1px solid #ded2dc;background:#fbf8f6;min-width:0}.inspector-section{padding:22px;border-bottom:1px solid #e2d7df}.section-number{font-size:8px;letter-spacing:.13em;color:#9a7a40;margin-bottom:11px}.inspector h2{font-size:24px;margin-bottom:12px}.inspector label{margin-bottom:14px}.inspector .small{font-size:10px}.check-row{display:flex;align-items:flex-start;gap:8px;margin:16px 0!important}.check-row input{width:15px;height:15px;min-height:15px;margin:3px 0 0;flex:0 0 15px}.check-row span{float:none;color:#71607a;font-size:10px;line-height:1.8}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trace-summary{font-size:11px;border:1px solid #e1d6e5;background:#f2ecf5;padding:10px;border-radius:4px;color:#795a88;margin:15px 0}.opening-item{padding:12px;background:#fffdf9;border:1px solid #e1d7e6;border-radius:5px;margin:10px 0}.opening-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:7px;color:#8b7595}.opening-item .field-grid{gap:7px}.opening-item label{font-size:9px;margin-bottom:5px}.opening-item input{font-size:11px;padding:7px;min-height:35px}.opening-item .text-button{font-size:10px}.measurements-section,.takeoff-section{border:1px solid #ded2dc;border-radius:8px;background:#fffdf9;margin-top:24px;overflow:hidden}.measurements-list{padding:5px 22px}.measurement-row{display:flex;gap:18px;align-items:start;padding:17px 0;border-bottom:1px solid #e6ddd6}.measurement-row:last-child{border-bottom:0}.measurement-icon{font-size:20px;background:#f0e8f5;color:#84549b;width:36px;height:36px;border-radius:5px;display:grid;place-items:center;flex-shrink:0}.measurement-icon.wall{background:#f8f0df;color:#a17c33}.measurement-copy{min-width:0;flex:1}.measurement-copy h3{margin:0;font-size:12px;overflow-wrap:anywhere}.measurement-copy p{font-size:10px;color:#86718f;margin:4px 0 0;overflow-wrap:anywhere}.measurement-actions{display:flex;gap:15px}.measurement-actions .text-button{font-size:10px}.hold-label{font-size:9px;color:#9c6c2b}.takeoff-section>p,.export-actions,#takeoff-holds,#takeoff-results{margin:20px 22px}.export-actions{display:flex;gap:9px;flex-wrap:wrap}.takeoff-section>p:last-child{font-size:10px}.totals-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:23px}.total-card{border:1px solid #e0d4e5;border-radius:6px;background:#f5eff8;padding:20px}.total-card.wall{background:#fbf5e8;border-color:#e9dbb9}.total-card>span{display:block;font-size:10px;color:#7b6486;margin-bottom:7px}.total-card strong{font-family:Georgia,serif;font-size:39px;font-weight:400;color:#5e3675}.total-card.wall strong{color:#937130}.total-card small{font-size:11px;font-family:Arial,sans-serif;margin-left:6px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-size:9px;color:#8b7295;font-weight:500;letter-spacing:.04em;background:#faf7fb;padding:12px;border-block:1px solid #e7dfe9}td{padding:13px 12px;border-bottom:1px solid #e8e0e9;vertical-align:top;overflow-wrap:anywhere}td.number,th.number{text-align:right;white-space:nowrap}td small{display:block;color:#8b7893;margin-top:4px}.table-scroll{overflow:auto}.hold-box{padding:16px 18px;border:1px solid #e3cfa0;background:#fcf5e5;color:#85652d;border-radius:5px;font-size:11px}.hold-box p{margin:0 0 10px}.hold-box ul{padding-left:18px;margin:0}.empty{font-size:11px;color:#8b7893;line-height:1.8;padding:20px 0}.muted-badge{font-size:9px;margin:0}dialog{max-width:490px;width:calc(100% - 35px);background:#fffdf9;border:1px solid #d9cadd;border-radius:10px;padding:30px;color:#4d325c}dialog::backdrop{background:#2b15364f;backdrop-filter:blur(3px)}dialog p{font-size:13px;color:#756579}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:24px}body.busy{cursor:progress}[hidden]{display:none!important}
@media(min-width:1800px){.drawing-workspace{grid-template-columns:minmax(0,1fr) 350px}.inspector-section{padding:25px}.drawing-scroll{height:750px;max-height:80svh}}
@media(max-width:1250px){.workspace-shell{grid-template-columns:200px minmax(0,1fr)}.project-sidebar{padding-inline:14px}.workspace-main{padding:20px}.drawing-workspace{grid-template-columns:minmax(0,1fr) 275px}.inspector-section{padding:18px}.heading-actions{gap:7px}.heading-actions .button{font-size:11px;padding-inline:12px}.project-heading h1{font-size:29px}.drawing-toolbar{gap:4px;padding-inline:10px}.tool{font-size:9px;padding-inline:7px}.drawing-footer{flex-wrap:wrap;gap:4px}.source-text summary span{float:none;display:block;margin-top:4px}}
@media(max-width:1000px){.app-header{padding:0 20px;gap:20px}.brand{min-width:170px}.workspace-shell{grid-template-columns:180px minmax(0,1fr)}.drawing-workspace{grid-template-columns:1fr}.inspector{border-left:0;border-top:1px solid #ded2dc;display:grid;grid-template-columns:1fr 1fr}.inspector-section{border-bottom:0}.inspector-section+.inspector-section{border-left:1px solid #ded2dc}.project-heading{align-items:start;flex-direction:column;gap:15px}.drawing-scroll{height:560px}.access-panel{gap:40px;padding:40px 25px}.access-panel h1{font-size:41px}.heading-actions{width:100%}.heading-actions .button{flex:1}.header-title b{font-size:12px}}
@media(max-width:720px){.test-bar{font-size:8px;padding:7px 15px;justify-content:space-between;gap:10px}.test-bar span{display:none}.app-header{height:76px;padding:0 16px;gap:10px}.brand{font-size:17px;min-width:155px}.brand img{width:30px;height:30px}.brand strong{font-size:10px}.header-title{display:none}.access-badge{font-size:10px;padding:7px 9px;white-space:normal;text-align:left;max-width:160px}.global-status{padding:12px 17px;font-size:11px}.access-panel{grid-template-columns:1fr;gap:23px;padding:30px 20px}.access-panel h1{font-size:42px}.access-panel p{font-size:12px}.workspace-shell{grid-template-columns:1fr}.project-sidebar{padding:18px 20px;border-right:0;border-bottom:1px solid #dcd0e1;gap:9px;display:block}.sidebar-title h2{font-size:23px}.project-sidebar>.small{margin:5px 0 14px}.project-sidebar form{max-width:450px}.project-list{flex-direction:row;overflow-x:auto;gap:8px;margin-top:15px;padding-bottom:3px}.project-item{min-width:160px;max-width:220px;flex-shrink:0;font-size:11px;padding:10px}.sidebar-footer{display:none}.workspace-main{padding:20px 15px}.welcome{margin:25px auto;padding:20px 10px}.welcome h2{font-size:41px}.welcome>p:not(.eyebrow){font-size:13px}.welcome ol{font-size:11px;gap:12px}.project-heading h1{font-size:31px}.project-heading .small{font-size:10px}.panel-heading{padding:18px}.panel-heading h2{font-size:24px}.drawing-selectors{padding:15px;gap:9px;grid-template-columns:minmax(90px,1fr) 65px 82px}.drawing-toolbar{padding:10px}.tool{font-size:10px;padding:7px 9px}.drawing-scroll{height:450px;min-height:300px;padding:13px}.drawing-guidance{padding:12px 16px;font-size:10px}.drawing-footer{font-size:8px;padding:10px 15px}.inspector{grid-template-columns:1fr}.inspector-section{padding:22px}.inspector-section+.inspector-section{border-left:0;border-top:1px solid #ded2dc}.inspector label{font-size:11px}.inspector .small{font-size:11px}.check-row span{font-size:11px}.inspector h2{font-size:28px}.source-text{padding:15px}.source-text summary{font-size:11px}.measurements-section,.takeoff-section{margin-top:19px}.measurements-list{padding:0 16px}.measurement-row{gap:10px}.measurement-actions{flex-direction:column;gap:4px}.measurement-copy h3{font-size:11px}.measurement-copy p{font-size:9px}.measurement-icon{width:31px;height:31px;font-size:17px}.takeoff-section>p,.export-actions,#takeoff-holds,#takeoff-results{margin:17px}.totals-grid{gap:10px}.total-card{padding:16px}.total-card>span{font-size:9px}.total-card strong{font-size:31px}.export-actions .button{flex:1 1 160px;font-size:11px}.takeoff-section table{font-size:10px}th{font-size:8px}td,th{padding:10px 8px}.opening-item label{font-size:10px}.opening-item input{font-size:12px}.small{font-size:11px}.account-card{padding:23px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{width:100%}.dialog-actions .button:first-child{order:2}}
@media print{.test-bar,.app-header,.project-sidebar,.drawing-workspace,.project-heading .heading-actions,.access-panel,.global-status,.measurements-section,.export-actions,.notice,.skip{display:none!important}.workspace-shell{display:block}.workspace-main{padding:0}.project-heading{margin:0 0 20px}.takeoff-section{border:0;margin:0}.takeoff-section .panel-heading{padding:15px 0}.takeoff-section>p,#takeoff-holds,#takeoff-results{margin:15px 0}.total-card{background:white!important;break-inside:avoid}body{font-size:11px;color:#222;background:white}.table-scroll{overflow:visible}table{font-size:10px}tr{break-inside:avoid}a{color:#222}.project-heading:after{content:'Virtual Estimator · TEST environment · Quantities only';font-size:10px;color:#777}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

#billing-help{display:inline-block;margin:12px 0 0 12px;font-size:11px}
.analysis-panel{padding:22px;border-top:1px solid #e1d5e7;background:#fbf8fc}
.analysis-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:15px}
.analysis-heading .eyebrow{display:block;margin-bottom:8px}
.analysis-heading h2{font-size:27px;margin:0}
.analysis-heading .muted-badge{margin-top:5px;font-size:8px}
.analysis-panel>.small{margin-bottom:15px}
.analysis-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.analysis-actions .button{font-size:11px}
.analysis-actions .text-button{font-size:10px}
.analysis-status{margin:15px 0 8px;padding:12px 14px;border:1px solid #dacde2;border-radius:5px;background:#f0e8f5;color:#6f4c83;font-size:11px;line-height:1.8}
.analysis-status.error{border-color:#e0bcc6;background:#faedf1;color:#903c50}
.analysis-page-list{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}
.analysis-page-button{border:1px solid #d9cadd;background:#fffdf9;color:#795b86;padding:7px 9px;border-radius:4px;font-size:10px;min-height:33px}
.analysis-page-button.current{border-color:#8d689e;background:#eee4f3;color:#4e2b63}
.analysis-page-button.pending{color:#8a682c;background:#faf3df;border-color:#e3d1a9}
.analysis-page-button.failed{color:#963f54;background:#faedf1;border-color:#e4c4ce}
.analysis-page-button.complete{color:#46664e;background:#eff4eb;border-color:#cedcc9}
.analysis-room{background:#fffdf9;border:1px solid #dfd3e5;border-radius:6px;padding:18px;margin:13px 0}
.analysis-room-heading{display:flex;justify-content:space-between;align-items:start;gap:15px}
.analysis-room-heading h3{font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.analysis-confidence{font-size:8px;color:#866c36;border:1px solid #dfd2af;background:#faf5e7;padding:3px 6px;white-space:nowrap;border-radius:3px}
.analysis-room .small{font-size:10px;margin:12px 0}
.analysis-room .button{font-size:10px;min-height:36px;padding:7px 11px}
.analysis-evidence{margin:12px 0 8px;padding:11px 12px;border-left:2px solid #c2acd0;background:#f8f3fa;font-size:10px;color:#7a6386;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}
.analysis-evidence cite{display:block;font-style:normal;font-size:9px;color:#947c9d;margin-bottom:6px}
.analysis-codes{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:11px 0}
.analysis-codes>span{font-size:9px;color:#8c7796;min-width:75px}
.analysis-code{border:1px solid #ddcfe4;background:#f4edf8;color:#674278;border-radius:4px;padding:6px 9px;font-size:10px;min-height:32px}
.analysis-code.wall{border-color:#e3d3ac;background:#fbf5e6;color:#8b6c2e}
.analysis-warning{font-size:10px;color:#8b6a2e;background:#fbf5e6;border:1px solid #e9dcb9;padding:11px 13px;border-radius:5px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.analysis-provenance{font-size:9px;line-height:1.8;color:#8a7595;overflow-wrap:anywhere;border-top:1px solid #e5dae9;padding-top:14px;margin-top:20px}
.analysis-safety{border-top:1px solid #e5dae9;padding-top:15px;margin-top:20px!important;margin-bottom:0!important}
@media(max-width:720px){.analysis-panel{padding:20px 17px}.analysis-heading{gap:14px;flex-wrap:wrap}.analysis-heading h2{font-size:26px}.analysis-heading .muted-badge{margin-top:0}.analysis-room{padding:15px}.analysis-room-heading{flex-wrap:wrap;gap:8px}.analysis-room .small,.analysis-evidence,.analysis-warning{font-size:11px}.analysis-codes>span{font-size:10px}.analysis-actions .button{font-size:11px}.analysis-room .button{font-size:11px}.analysis-code{font-size:11px}.analysis-status{font-size:11px}.analysis-provenance{font-size:9px}}
@media print{.analysis-panel{display:none!important}}

.upload-reading-notice{font-size:10px;line-height:1.85;color:#7b6287;background:#f3ecf7;border-bottom:1px solid #e1d4e8;padding:13px 20px;margin:0}
.command-panel{margin:0 0 24px;padding:22px;background:#fffdf9;border:1px solid #ddcfe4;border-radius:8px}.command-panel h2{font-size:25px;margin-bottom:10px}.command-form{display:flex;align-items:end;gap:12px}.command-form label{display:flex;flex:1;flex-direction:column;gap:6px;font-size:11px}.command-form input{width:100%;min-width:0;border:1px solid #d9cadd;border-radius:5px;padding:11px 12px;background:#fbf8fc;color:#382840}.command-panel>.small{margin:12px 0}.command-list{padding-left:22px}.command-list li{padding:10px 0;border-bottom:1px solid #eee5f2;font-size:12px}.command-list small{display:block;font-size:9px;color:#80698d;overflow-wrap:anywhere}.command-list .text-button{font-size:10px}.command-lifetime{border-top:1px solid #eee5f2;padding-top:12px}.command-panel .analysis-actions{gap:20px}@media(max-width:720px){.command-form{align-items:stretch;flex-direction:column}.command-panel{padding:18px}.command-list small{font-size:10px}}@media print{.command-panel{display:none!important}}
@media(max-width:720px){.upload-reading-notice{font-size:11px;padding:13px 16px}}

/* A saved reviewed report is separate from the editable drawing measurements. */
.reviewed-finish-report{margin:0 0 26px;padding:26px;background:#fffdf9;border:1px solid #cbb5d8;border-top:4px solid #6d4689;border-radius:8px;scroll-margin-top:24px}
.reviewed-report-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:14px}
.reviewed-report-heading .eyebrow{display:block;margin-bottom:7px}.reviewed-report-heading h2{font-size:29px;margin:0}
.reviewed-finish-report p{line-height:1.7;overflow-wrap:anywhere}.reviewed-finish-report>.small{margin:12px 0}
.reviewed-report-content h3,.reviewed-report-preview h3{font-size:19px;margin:25px 0 13px}
.reviewed-report-scope{font-size:13px;padding:15px;background:#f4edf8;border-left:3px solid #a682b9;border-radius:4px}
.reviewed-report-status{margin:15px 0;color:#684479}
.reviewed-report-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0}
.reviewed-report-counters>div{padding:14px;background:#f4edf8;border-radius:5px}.reviewed-report-counters strong{display:block;font-size:25px;color:#49236d}.reviewed-report-counters span{font-size:10px;color:#70597c}
.reviewed-report-notice{font-size:12px;padding:12px 15px;background:#fff3d9;border:1px solid #e9d1a0;border-radius:5px;color:#735326}
.fallback-fields{margin:12px 0;padding:12px;background:#fff5e5;border:1px solid #dbc58d;border-radius:5px}.fallback-fields .small{margin-bottom:12px}.inspector select,.inspector textarea{width:100%;padding:9px;border:1px solid #d8cbdc;border-radius:4px;background:#fffdf9;color:#382840;font:inherit}.inspector textarea{resize:vertical}.fallback-basis{display:block;color:#85652d;font-size:11px;margin-top:5px}.basis-note{padding:11px 14px;background:#fbf5e8;border:1px solid #e9dbb9;border-radius:5px}
.reviewed-report-table-scroll{overflow-x:auto;margin:12px 0 20px;border:1px solid #e0d5e5;border-radius:5px}
.reviewed-finish-report table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.55;min-width:590px;background:#fffdf9}
.reviewed-finish-report th{text-align:left;font-size:10px;letter-spacing:.03em;background:#eee3f4;color:#503060;white-space:nowrap;padding:12px}
.reviewed-finish-report td{padding:12px;border-bottom:1px solid #e9e0ed;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}
.reviewed-finish-report tbody tr:nth-child(even){background:#faf6fc}.reviewed-finish-report td:nth-child(2){font-variant-numeric:tabular-nums}
.reviewed-report-details,.reviewed-report-provenance,.reviewed-report-import{border-top:1px solid #e3d7e8;padding-top:16px;margin-top:18px}
.reviewed-finish-report summary{cursor:pointer;color:#59336e;font-size:13px;font-weight:600;line-height:1.6}
.reviewed-report-hold{padding:16px;margin:12px 0;background:#fff6e5;border:1px solid #e7d6b1;border-radius:6px}
.reviewed-report-hold h4{font-size:13px;line-height:1.5;margin:0 0 10px}.reviewed-report-hold p{font-size:12px;margin:8px 0}.reviewed-report-hold .small{font-size:10px;color:#78644c}
.reviewed-report-reference{font-weight:600;color:#72521e}.reviewed-report-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 10px}
.reviewed-report-import>label{display:flex;flex-direction:column;gap:8px;margin:17px 0;font-size:12px}.reviewed-report-import input[type=file]{max-width:100%;font-size:12px;padding:10px;border:1px solid #dacbe2;border-radius:5px}
.reviewed-report-import>.check-row{display:flex;flex-direction:row;align-items:start}.reviewed-report-import>.check-row input{margin-top:3px}.reviewed-report-import>.check-row span{font-size:12px;line-height:1.6}
.reviewed-report-preview:not(:empty){margin-top:18px;padding:18px;border:2px dashed #b89ac9;border-radius:5px}.reviewed-report-provenance p{font-size:10px;overflow-wrap:anywhere}
@media(max-width:720px){.reviewed-finish-report{padding:18px}.reviewed-report-heading{flex-wrap:wrap}.reviewed-report-heading h2{font-size:27px}.reviewed-report-counters{grid-template-columns:repeat(2,minmax(0,1fr))}.reviewed-report-counters span{font-size:11px}.reviewed-report-preview:not(:empty){padding:12px}.reviewed-report-actions .button{flex:1 1 220px}.reviewed-report-hold .small{font-size:11px}}
@media print{.reviewed-finish-report{display:none!important}}
/* Keep the mobile grid track within the viewport; project lists and report
   tables scroll inside their own containers instead of widening the page. */
@media(max-width:720px){.workspace-shell{grid-template-columns:minmax(0,1fr)}.project-sidebar{min-width:0}}

.field-checklist{background:#fffdf9;border:1px solid #cbb5d8;border-top:4px solid #9b783d;border-radius:8px;padding:24px;margin:0 0 26px;scroll-margin-top:20px;min-width:0}
.field-checklist h2{font-size:30px;margin-bottom:12px}.field-checklist h3{font-size:20px;margin:24px 0 12px}.field-checklist h4{font-size:14px;margin:15px 0 9px}.field-checklist p,.field-checklist li,.field-checklist legend{overflow-wrap:anywhere}.field-checklist .small{font-size:12px;line-height:1.65}
.field-status,.field-notice{background:#f4edf8;border:1px solid #e0d2e7;padding:13px 15px;border-radius:5px;font-size:13px;line-height:1.6;margin:15px 0}.field-notice{background:#fff5df;border-color:#e6d5ad;color:#715324}
.field-link{display:inline-block;font-size:13px;margin:0 0 8px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-checklist label{font-size:12px;line-height:1.5;margin:10px 0}.field-checklist input,.field-checklist select,.field-checklist textarea{font:inherit;font-size:16px;width:100%;max-width:100%;min-width:0;padding:11px;border:1px solid #d7c8de;border-radius:5px;background:#fffefd;color:#382840}.field-checklist textarea{resize:vertical}.field-checklist .check-row input{width:19px;min-width:19px;height:19px;flex-basis:19px}.field-checklist .check-row span{font-size:13px;line-height:1.6;color:#594463}
.field-scope-card,.field-entry{min-width:0;border:1px solid #ddcfe4;border-radius:7px;padding:16px;margin:20px 0;background:#fbf8fc}.field-scope-card legend,.field-entry legend{font-size:16px;font-weight:600;color:#56356a;padding:0 7px}.field-entry{background:#fffdf9}.field-opening{border-left:3px solid #c5abcf;padding:0 0 8px 14px;margin:18px 0;background:#f9f5fb}.field-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.field-actions .button,.field-checklist>.button{min-height:46px;font-size:13px;white-space:normal}.field-measurement-heading{margin-top:24px;border-top:1px solid #e1d7e5;padding-top:12px}.field-flags{padding-left:22px;font-size:13px}.field-flags li{padding:7px 0}.field-quantity{border:1px solid #daccdf;border-radius:6px;padding:15px;margin:12px 0;background:#f5eff8}.field-quantity strong{font-size:24px;color:#56356a}.field-quantity p{margin:5px 0}.field-photos{border-top:1px solid #e1d7e5;margin-top:22px;padding-top:7px}.field-file-button{position:relative;overflow:hidden;cursor:pointer}.field-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.field-photo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.field-photo{padding:10px;border:1px solid #dfd0e4;border-radius:6px;font-size:12px}.field-photo a{display:block}.field-photo img{display:block;width:100%;height:160px;object-fit:contain;background:#f0e8f4;margin-bottom:8px}.field-photo p{margin:8px 0 0;overflow-wrap:anywhere}
@media(max-width:720px){.field-checklist{padding:16px}.field-checklist h2{font-size:28px}.field-grid{grid-template-columns:minmax(0,1fr);gap:3px}.field-scope-card,.field-entry{padding:12px}.field-actions{align-items:stretch}.field-actions .button{flex:1 1 180px}.field-checklist>.button{width:100%}.field-photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}.field-photo img{height:115px}.field-checklist .small{font-size:12px}}
@media print{.field-checklist{display:none!important}}

/* Subscription acknowledgement and durable customer policy navigation. */
.checkout-consent{margin:1rem 0;padding:1rem;border:1px solid var(--line,#ddd4e3);border-radius:12px}.checkout-consent .check-row{align-items:flex-start}.policy-links{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.policy-links a{font-size:.85rem;text-decoration:underline}.account-card #manage-billing{margin-top:.5rem}
