:root{--ink:#1f2a2d;--muted:#7a8386;--line:#e0eaeb;--accent:#5bcbd1;--soft-accent:#eefafa;--green:#537f81;--paper:#fff;--chrome:#f7f9f9;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.shape-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex-shrink:0;min-height:49px;padding:7px 14px;background:#f8fbfc;border-bottom:1px solid #dce7e7}.shape-current{display:flex;align-items:center;gap:7px;font-size:11px;color:#4b6f71;min-height:30px;padding:0 6px;border-radius:5px}.shape-current:hover{background:#e7f1f2}.shape-current svg{width:18px;height:18px}.shape-caret{font-size:10px;color:#74a0a2}.shape-colour-control{display:flex;align-items:center;gap:5px;font-size:9px;color:#659598}.shape-colour-control input{width:26px;height:27px;border:1px solid #d0e0e1;border-radius:4px;padding:2px;background:white;cursor:pointer}.shape-colour-control select{height:28px;max-width:116px;font-size:10px;border:1px solid #d5e2e3;border-radius:4px;background:white;color:#52787a;padding:0 5px}.shape-width-control{display:flex;align-items:center;gap:6px;font-size:9px;color:#659598}.shape-width-control input{width:78px;height:28px;border:1px solid #d5e2e3;border-radius:4px;background:white;padding:0 7px;font-size:10px;color:#52787a}.shape-draft-actions{display:flex;gap:6px;margin-left:auto}.shape-draft-actions .button{height:28px;font-size:9px;padding:0 8px}.tool.shape-menu-trigger:after{content:'▾';position:absolute;right:3px;bottom:0;font-size:7px;color:#79a3a5}.shape-picker{position:fixed;z-index:132;width:270px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:12px;background:#fff;border:1px solid #d5e2e3;border-radius:9px;box-shadow:0 8px 28px #1c313224}.shape-picker-heading{font-size:8px;color:#74a0a3;letter-spacing:1.3px;margin-bottom:9px}.shape-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.shape-grid.line-choices{grid-template-columns:repeat(4,1fr)}.line-choices .shape-choice{height:46px}.line-choices .shape-choice small{font-size:8px;white-space:nowrap}.shape-choice{height:30px;padding:4px;border:1px solid transparent;border-radius:5px;display:grid;place-items:center;color:#486a6c}.shape-choice svg{width:22px;height:22px;stroke-width:1.3}.shape-choice:hover,.shape-choice:focus-visible{background:#e9f3f4;border-color:#c6dbdc}.shape-choice.active{background:#eefafa;border-color:#b4e6e9;color:#48a3a8}.shape-picker-help{font-size:9px;color:#74a0a3;line-height:1.7;margin-top:9px}
.paint-context-menu{position:fixed;z-index:130;width:308px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;background:#f9fbfb;border:1px solid #dae6e7;border-radius:9px;padding:5px;box-shadow:0 7px 24px #15222326;color:#243535;font-size:13px;user-select:none}.paint-context-submenu{width:220px;z-index:131}.context-item{display:flex;align-items:center;gap:12px;min-height:35px;width:100%;padding:6px 10px;border-radius:5px;text-align:left;outline-offset:-2px;white-space:nowrap}.context-item>svg{width:18px;height:18px;stroke-width:1.5}.context-item:hover:not(:disabled),.context-item:focus-visible{background:#e5eeef}.context-item:disabled{opacity:1;color:#94b6b7;cursor:default}.context-label{flex:1}.context-item kbd{font:11px var(--font);color:#69989b;white-space:nowrap;margin-left:16px}.context-item:disabled kbd{color:#9ababc}.context-arrow{font-size:21px;color:#6b9a9c;line-height:1}.context-separator{height:1px;background:#dfe9e9;margin:4px 2px}
.text-format-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px}.text-button-group{display:flex;gap:3px;padding:3px;border:1px solid #d9e5e5;border-radius:6px;background:#f5f9fa}.text-format-button{min-width:30px;height:29px;padding:0 8px;border-radius:4px;font-size:11px;color:#608e90}.text-format-button:hover{background:#e6f0f1}.text-format-button.active{background:#dbe9ea;color:#365557;box-shadow:inset 0 0 0 1px #b8d1d2}.format-bold{font-weight:750}.format-italic{font-style:italic}.format-underline{text-decoration:underline}.text-colour-field{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:#68989b}.text-colour-field input{width:30px;height:30px;padding:2px;border:1px solid #d4e2e3;border-radius:5px;background:white;cursor:pointer}.text-preview-heading{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;color:#76a2a4;margin:0 0 8px}.text-preview-heading span{font-size:9px;letter-spacing:0;color:#8eb2b4}.text-label-preview{height:116px;border:1px solid #dbe6e7;border-radius:6px;background:white;overflow:hidden}.text-label-preview canvas{width:100%;height:100%;display:block;object-fit:contain}#labelText{min-height:82px}
.canvas-workspace{flex:1;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:minmax(0,1fr) 18px;background:#edf3f3}.canvas-workspace>.stage{grid-area:1/1;min-width:0;min-height:0}.plan-scrollbar{min-width:0;min-height:0;overscroll-behavior:contain;background:#edf3f3;scrollbar-color:#a4c1c2 #edf3f3;scrollbar-width:auto;direction:ltr}.plan-scrollbar-x{grid-area:2/1;overflow-x:scroll;overflow-y:hidden}.plan-scrollbar-y{grid-area:1/2;overflow-y:scroll;overflow-x:hidden}#scrollWidth{height:1px;pointer-events:none}#scrollHeight{width:1px;pointer-events:none}.scrollbar-corner{grid-area:2/2;background:#edf3f3;border-top:1px solid #dae6e7;border-left:1px solid #dae6e7}.plan-scrollbar:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.plan-scrollbar::-webkit-scrollbar{width:18px;height:18px}.plan-scrollbar::-webkit-scrollbar-track{background:#edf3f3}.plan-scrollbar::-webkit-scrollbar-thumb{background:#a4c1c2;border:4px solid #edf3f3;border-radius:10px;min-height:32px;min-width:32px}.plan-scrollbar::-webkit-scrollbar-thumb:hover{background:#709da0}
*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden;background:var(--chrome);color:var(--ink);font:13px var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{border:0;background:none}button,svg{flex-shrink:0}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-header{height:76px;display:flex;align-items:center;padding:0 24px;gap:24px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-1.1px;line-height:1.15}.brand-mark{display:grid;place-items:center;width:39px;height:41px;background:var(--ink);border-radius:10px;color:#fff}.brand-mark svg{width:28px;height:28px;stroke:0}.brand-sub{display:block;font-size:8px;letter-spacing:2.6px;font-weight:600;color:var(--muted);margin:4px 0 0 2px}.header-divider{height:29px;width:1px;background:var(--line);margin-left:4px}.document-heading{display:flex;flex-direction:column;gap:6px;min-width:90px;max-width:270px}#projectTitle{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.save-status{color:var(--muted);font-size:10px}.header-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.button{height:36px;padding:0 14px;border:1px solid #dce7e7;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;font-weight:550;font-size:12px;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover:not(:disabled){background:#f3f7f7;border-color:#c8d9da}.button svg{width:16px;height:16px}.button-dark{background:#243535;border-color:#243535;color:#fff}.button-dark:hover:not(:disabled){background:#334c4d;border-color:#334c4d}.export-dot{width:5px;height:5px;background:#bcd6d8;border-radius:50%;margin-left:10px}.key{color:#929b98;font-size:9px;margin-left:10px;letter-spacing:.2px;font-weight:400}.full{width:100%}.small{height:31px;font-size:11px}.document-tabs{height:42px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#f2f6f7;padding-left:72px;gap:4px}.document-tabs #tabs{display:flex;align-self:stretch;max-width:calc(100% - 260px);overflow-x:auto;scrollbar-width:none}.tab{height:42px;min-width:140px;max-width:220px;display:flex;align-items:center;gap:8px;padding:0 12px;border-right:1px solid var(--line);font-size:11px;color:var(--muted);white-space:nowrap;position:relative}.tab.active{background:#fff;color:var(--ink)}.tab.active:after{content:"";position:absolute;bottom:0;left:15px;right:15px;height:2px;background:var(--accent)}.tab-title{overflow:hidden;text-overflow:ellipsis}.tab-icon{font-size:8px;letter-spacing:.3px;background:#e8efef;color:#5c888a;padding:3px 4px;border-radius:3px}.tab-close{margin-left:5px;color:#a3aaa6;font-size:16px;padding:2px}.tab-close:hover{color:var(--accent)}.new-tab{width:32px;color:#8c9490}.new-tab svg{width:15px}.local-pill{margin-left:auto;margin-right:23px;display:flex;align-items:center;gap:7px;font-size:10px;color:#7a8580;white-space:nowrap}.local-pill span{background:#7da6a9;width:5px;height:5px;border-radius:50%}.editor-shell{height:calc(100dvh - 118px);display:grid;grid-template-columns:72px minmax(300px,1fr) 282px}.tool-rail{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding-top:13px;overflow:auto;scrollbar-width:none;z-index:2}.tool-group{display:flex;flex-direction:column;gap:4px;padding:0 0 12px;margin-bottom:10px;border-bottom:1px solid #ebf1f1}.tool-group:last-of-type{border:0}.tool{width:40px;height:36px;border:1px solid transparent;display:grid;place-items:center;border-radius:7px;color:#788280;position:relative}.tool:hover{background:#f0f5f5;color:var(--ink)}.tool.active{background:#eefafa;border-color:#c5ecee;color:#43aaaf}.tool.active:before{content:"";position:absolute;width:3px;height:16px;background:var(--accent);left:-16px;border-radius:0 3px 3px 0}.tool svg{width:19px;height:19px}.accent-tool{color:#57a7ab}.rail-bottom{margin-top:auto;padding-bottom:13px}.workspace{display:flex;flex-direction:column;overflow:hidden;min-width:0}.context-toolbar{height:47px;flex-shrink:0;background:#fff;display:flex;align-items:center;padding:0 16px;gap:12px;border-bottom:1px solid var(--line)}.history-controls{display:flex;gap:9px}.history-controls button{width:23px;height:29px;padding:0;color:#5c8789}.history-controls svg{width:17px}.toolbar-separator{width:1px;height:20px;background:var(--line);margin-right:3px}.tool-name{font-weight:550;font-size:12px;white-space:nowrap}.tool-summary{color:#929a96;font-size:11px;margin-left:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-right{margin-left:auto;display:flex;align-items:center;gap:5px}.small-button{font-size:11px;white-space:nowrap;padding:6px 8px;color:#578082;border-radius:5px;display:flex;align-items:center;gap:6px}.small-button:hover{background:#eff4f5}.small-button svg{width:14px;height:14px}.hint-bar{height:34px;display:flex;align-items:center;gap:8px;flex-shrink:0;padding:0 18px;background:#eef3f3;border-bottom:1px solid #dde8e9;color:#629194;font-size:10px;overflow:hidden}.hint-icon{color:#79a3a5;font-size:13px}.hint-bar #hintText{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hint-bar button{margin-left:auto;font-size:18px;font-weight:300;color:#88adaf;padding:0 2px}.stage{flex:1;position:relative;overflow:hidden;background-color:#e6eeef;background-image:radial-gradient(#c8d9da 0.65px,transparent .65px);background-size:18px 18px;touch-action:none;outline:0}.stage:focus-visible{outline:0}.stage canvas{width:100%;height:100%;display:block;position:absolute;inset:0;touch-action:none}.stage-prompt{position:absolute;top:38px;left:50%;transform:translateX(-50%);padding:10px 16px;background:#253738;color:#fff;border:1px solid #436365;border-radius:8px;box-shadow:0 4px 22px #1a292a1c;pointer-events:none;font-size:12px;white-space:nowrap;max-width:85%;overflow:hidden;text-overflow:ellipsis}.canvas-badge{position:absolute;bottom:20px;left:25px;font-size:8px;letter-spacing:1.3px;font-weight:600;color:#82aaac;display:flex;gap:6px;align-items:center;pointer-events:none}.canvas-badge span{width:4px;height:4px;background:#98b8ba;border-radius:50%}.zoom-controls{position:absolute;bottom:17px;right:21px;display:flex;align-items:center;height:34px;padding:0 4px;background:#fff;border:1px solid #d6e3e4;border-radius:7px;box-shadow:0 2px 10px #2232330b}.zoom-controls button{min-width:27px;height:26px;padding:0 5px;font-size:16px;color:#598486}.zoom-controls button:hover{background:#eff4f5;border-radius:4px}.zoom-controls #zoomLabel{font-size:10px;min-width:44px;color:#3c585a;font-variant-numeric:tabular-nums}.zoom-controls span{height:15px;width:1px;background:var(--line);margin:0 4px}.zoom-controls svg{width:14px;height:14px}.status-bar{height:31px;background:#f8fbfb;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;gap:16px;font-size:9px;color:#7da6a8;flex-shrink:0;white-space:nowrap}.status-bar>div{display:flex;align-items:center;gap:7px}.status-led{width:4px;height:4px;background:#7ba5a7;border-radius:50%}.status-right{gap:12px!important;font-variant-numeric:tabular-nums}.status-divider{height:11px;width:1px;background:#dae6e7}.inspector{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d7e4e5 transparent;padding:0 18px 16px;min-height:0}.inspector-top{height:48px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;color:#8a948d;font-size:8px;letter-spacing:1.4px;font-weight:600}.inspector-top button{font-size:12px;letter-spacing:1px;color:#8e978e;padding:6px}.scale-card{border:1px solid #d9e5e5;background:#f5f9fa;border-radius:9px;padding:15px 13px 9px;margin:0 0 19px}.card-heading{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:550}.scale-icon{display:flex;color:#618f91}.scale-icon svg{width:17px;height:17px}.scale-dot{width:6px;height:6px;background:#729fa1;margin-left:auto;border:2px solid #deeaea;box-sizing:content-box;border-radius:50%}.scale-dot.warning{background:#70d2d7;border-color:#d4f1f2}.scale-value{font-size:33px;line-height:1.2;letter-spacing:-1.5px;font-weight:500;margin-top:14px;color:#31494a;font-variant-numeric:tabular-nums}.scale-value span{font-size:10px;color:#6b9a9c;letter-spacing:0;margin-left:7px}.scale-state{font-size:9px;color:#7ca6a8;margin:7px 0 14px}.button-scale{width:100%;background:#fff;border-color:#d4e2e3;color:#557d7f;font-size:10px;height:32px}.button-scale:hover:not(:disabled){background:#eaf3f4}.button-scale svg{width:13px;height:13px}.text-button{font-size:10px;text-align:left;color:#74a0a2;display:flex;gap:8px;align-items:center;padding:11px 0 4px;width:100%;justify-content:space-between}.text-button:hover{color:#416062}.text-button span{font-size:13px}.inspector-section{border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:17px}.section-label{font-size:8px;letter-spacing:1.3px;color:#709da0;font-weight:600;display:flex;justify-content:space-between;margin-bottom:13px}.section-label span{font-size:7px;color:#98b8ba;letter-spacing:.5px}.empty-selection{text-align:center;padding:12px 0 15px;color:#97b8ba}.empty-selection svg{width:27px;height:27px;color:#acc6c7}.empty-selection p{font-size:11px;color:#79a3a5;margin:10px 0 5px}.empty-selection small{font-size:9px;color:#a3c0c2}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:9px 0}.field-grid label,.field{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#7aa4a7;min-width:0}.field-grid input,.field-grid select{height:31px;width:100%;min-width:0;border:1px solid #dce7e8;border-radius:5px;background:#fafdfd;color:#496b6d;font-size:11px;padding:0 8px;font-variant-numeric:tabular-nums}.field-grid input:focus{background:#fff}.check-row{display:flex;align-items:center;gap:7px;font-size:9px;color:#78a3a5;margin:11px 0;line-height:1.4}.check-row input{accent-color:#5a8587;width:12px;height:12px;margin:0}.move-grid{margin-top:13px}.transform-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.transform-grid button{height:32px;border:1px solid #dce7e8;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:7px;color:#659598;font-size:10px;background:#fff}.transform-grid button:hover{background:#f0f6f6}.transform-grid svg{width:14px;height:14px}.mirror{transform:scaleX(-1)}.quarter{transform:rotate(90deg)}.selection-actions{display:flex;align-items:center;justify-content:space-around;border-top:1px solid #e9f0f0;padding-top:11px;margin-top:14px}.icon-button{width:28px;height:26px;display:grid;place-items:center;color:#6c9b9d}.icon-button svg{width:15px;height:15px}.icon-button:hover{background:#eef4f4;border-radius:4px}.danger:hover{color:#56b9be}.floating-actions{display:flex;gap:7px;padding-top:9px}.floating-actions button{flex:1}.colour-row{display:flex;align-items:center;gap:6px;margin-bottom:15px}.colour-picker{width:30px;height:30px;border-radius:7px;border:1px solid #dce7e8;padding:3px;display:block;overflow:hidden;margin-right:2px}.colour-picker input{border:0;width:30px;height:30px;padding:0;cursor:pointer;margin:-4px;border-radius:5px}.colour-swatch{width:16px;height:16px;background:var(--swatch);border:1px solid #d1e0e1;border-radius:4px;position:relative}.colour-swatch:hover{outline:2px solid #c1d4d5;outline-offset:2px}.colour-row>span{margin-left:auto;font-size:8px;letter-spacing:.3px;color:#8bb0b2;text-transform:uppercase}.wall-presets{display:flex;gap:7px}.wall-presets button{flex:1;background:#f0f5f5;border:1px solid #e0eaeb;border-radius:4px;height:25px;color:#719ea1;font-size:9px}.wall-presets button:hover{background:#e1eded}.range-row{display:flex;align-items:center;gap:8px;font-size:9px;color:#83aaac}.range-row input{min-width:0;width:100%;accent-color:#739fa1;height:2px}.range-row output{font-size:8px;min-width:12px}.document-tools .transform-grid{margin-top:0}.geosite-card{margin-top:auto;background:#eef4f4;border:1px solid #dde8e9;border-radius:8px;padding:15px 14px}.geosite-label{font-size:7px;color:#8db1b3;letter-spacing:1.2px;font-weight:650}.geosite-card h3{font-size:15px;font-weight:500;letter-spacing:-.4px;color:#436365;margin:10px 0 6px}.geosite-card p{font-size:10px;line-height:1.7;color:#82a9ab;margin:0 0 11px}.geosite-card button{font-size:10px;font-weight:550;color:#578183;display:flex;align-items:center;justify-content:space-between;width:100%;padding:0}.geosite-card button svg{width:15px;height:15px}.drop-overlay{position:fixed;inset:12px;border:2px dashed #61babf;border-radius:16px;background:#f5f9f9ef;z-index:99;display:grid;place-items:center;pointer-events:none}.drop-overlay>div{text-align:center;color:#547c7f}.drop-overlay svg{width:60px;height:60px;stroke-width:1}.drop-overlay h2{font-size:26px;font-weight:500;letter-spacing:-.7px}.drop-overlay p{color:#79a3a5}.toast-area{position:fixed;bottom:49px;left:88px;z-index:150;display:flex;flex-direction:column;gap:7px;max-width:min(500px,calc(100vw - 110px));pointer-events:none}.toast{padding:12px 16px;border-radius:7px;background:#293c3d;color:#e5edee;box-shadow:0 6px 25px #18282926;font-size:11px;line-height:1.6;display:flex;align-items:center;gap:15px;animation:toast-in .2s ease;pointer-events:auto}.toast.error{background:#397679;color:#effafb}.toast button{font-size:10px;background:#ffffff1c;color:inherit;border-radius:4px;padding:4px 8px;margin-left:auto;white-space:nowrap}.modal{padding:0;border:1px solid #dce7e8;border-radius:12px;box-shadow:0 22px 90px #12222333;max-height:90dvh;width:470px;max-width:94vw;background:#fff;color:var(--ink);overflow:auto}.modal.wide{width:900px}.modal::backdrop{background:#22333455;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 16px;border-bottom:1px solid #e9f0f0}.modal-eyebrow{font-size:8px;letter-spacing:1.5px;color:#7da6a8;margin-bottom:8px}.modal h2{margin:0;font-size:21px;font-weight:550;letter-spacing:-.7px}.modal-header p{font-size:11px;line-height:1.7;color:#76a1a3;margin:9px 0 0}.close-modal{width:26px;height:26px;color:#8cb0b2;padding:2px}.close-modal svg{width:18px;height:18px}.modal-body{padding:20px 24px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #e9f0f0;padding:15px 24px;background:#f7fafb}.modal-actions .push-left{margin-right:auto}.field{font-size:11px;color:#68989b;gap:8px;margin-bottom:15px}.field>input,.field>select,.field>textarea{width:100%;border:1px solid #d4e2e3;border-radius:6px;padding:10px 12px;background:#f8fbfc;color:#395455;font-size:13px;min-width:0}.field>input[type="number"]{font-variant-numeric:tabular-nums}.field>textarea{min-height:90px;resize:vertical;line-height:1.6}.field small{font-size:10px;color:#86adaf;line-height:1.7}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal .check-row{font-size:11px;color:#659597}.modal .check-row input{width:14px;height:14px}.info-box{background:#eef6f6;border:1px solid #d8e6e7;border-radius:7px;padding:12px 14px;font-size:11px;line-height:1.8;color:#68989b;margin:12px 0}.info-box.warning{background:#eefafa;border-color:#caebed;color:#5a9ea1}.info-box strong{font-weight:600;color:#466768}.modal-error{color:#4eadb2;font-size:11px;line-height:1.6;padding-top:5px}.measure-result{font-size:36px;color:#486a6b;letter-spacing:-1.3px;margin:4px 0 20px}.measure-result span{font-size:12px;letter-spacing:0;color:#7da6a8}.help-steps{counter-reset:help;display:flex;flex-direction:column;gap:16px}.help-step{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}.help-step:before{counter-increment:help;content:counter(help);display:grid;place-items:center;font-size:11px;border:1px solid #d6e3e3;color:#75a1a3;border-radius:50%;width:24px;height:24px}.help-step h4{font-size:12px;margin:2px 0 5px;font-weight:550}.help-step p{font-size:11px;margin:0;color:#76a1a3;line-height:1.8}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-top:20px;font-size:10px;color:#76a1a3}.shortcut-grid div{display:flex;align-items:center;justify-content:space-between;gap:8px}.shortcut-grid kbd{font:9px var(--font);background:#f0f6f6;border:1px solid #dae7e7;padding:3px 6px;border-radius:4px;color:#608e91}.pdf-body{display:grid;grid-template-columns:180px 1fr;gap:20px}.pdf-pages{max-height:400px;overflow:auto;display:flex;flex-direction:column;gap:7px;padding-right:6px}.pdf-page-option{display:flex;align-items:center;gap:9px;border:1px solid #dae6e7;padding:10px;border-radius:6px;font-size:11px;cursor:pointer}.pdf-page-option.active{border-color:#83abad;background:#eff7f8}.pdf-page-option input{accent-color:#588183}.pdf-preview-wrap{position:relative;background:#e5eded;min-height:300px;max-height:430px;display:grid;place-items:center;overflow:hidden;border:1px solid #d8e4e5;border-radius:5px}.pdf-preview-wrap canvas{max-width:100%;max-height:420px;display:block;touch-action:none;cursor:crosshair}.pdf-caption{font-size:9px;color:#83abad;margin-top:8px;line-height:1.6}.pdf-crop-overlay{position:absolute;border:1.5px solid #5dcbd1;background:#5dcbd10d;pointer-events:none}.export-layout{display:grid;grid-template-columns:270px 1fr;gap:24px}.export-options{padding-right:22px;border-right:1px solid #e0eaea}.export-preview{background:#e4eded;min-height:300px;max-height:440px;display:flex;align-items:center;justify-content:center;border:1px solid #dae6e6;border-radius:6px;padding:20px;overflow:hidden;background-image:linear-gradient(45deg,#d5e2e3 25%,transparent 25%),linear-gradient(-45deg,#d5e2e3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d5e2e3 75%),linear-gradient(-45deg,transparent 75%,#d5e2e3 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}.export-preview canvas{max-width:100%;max-height:395px;box-shadow:0 3px 16px #273a3b18;object-fit:contain}.export-summary{font-size:10px;line-height:1.8;color:#77a2a4;margin:12px 0}.format-buttons{display:flex;gap:5px;margin-bottom:18px}.format-buttons button{height:31px;flex:1;border:1px solid #d9e5e6;color:#75a1a3;border-radius:5px;font-size:11px}.format-buttons button.active{background:#e6f1f2;color:#496e70;border-color:#98b9bb}.geosite-reference{background:#f0f6f6;border:1px solid #dae8e9;border-radius:7px;padding:15px;margin-bottom:15px}.geosite-reference>span{font-size:9px;letter-spacing:1px;color:#87adaf}.geosite-reference .measure-result{margin:7px 0 3px;font-size:35px}.geosite-reference p{font-size:10px;color:#79a4a6;margin:5px 0;line-height:1.7}.progress-bar{height:4px;background:#e5eeef;border-radius:4px;overflow:hidden;margin:15px 0}.progress-bar i{display:block;width:40%;height:100%;background:#7aa6a8;animation:progress 1.2s ease-in-out infinite}.busy-label{font-size:12px;color:#7aa4a6;line-height:1.9}.properties-toggle{display:none}.destructive{color:#52acb1}.modal-mini-actions{display:flex;gap:8px;flex-wrap:wrap}.modal-mini-actions button{font-size:10px;padding:7px 9px;border:1px solid #dbe6e7;border-radius:4px;color:#76a1a3}.calibration-actions{display:flex;gap:8px}.calibration-actions button{flex:1}.object-list{margin-top:10px;display:flex;flex-direction:column;gap:5px}.object-list button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;text-align:left;color:#6d9b9e;padding:7px 8px;border:1px solid #dde9ea;border-radius:4px}.history-note{font-size:9px;line-height:1.7;color:#8cb1b3;margin-top:8px}.stage.busy{cursor:progress!important}
.unit-control{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:12px 0 4px;font-size:9px;color:#6b9a9c}.unit-control select{min-width:0;max-width:145px;padding:5px 6px;border:1px solid #d4e2e3;border-radius:5px;background:#fff;color:#47686a;font-size:10px}#bucketSettings{padding:2px 0 12px;margin-bottom:9px;border-bottom:1px solid #e0eaeb}.field-grid input:disabled{background:#eff4f5;color:#89afb1;cursor:default}
@keyframes toast-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(min-width:1700px){.inspector{padding-left:24px;padding-right:24px}.editor-shell{grid-template-columns:76px minmax(300px,1fr) 306px}.tool-rail{padding-top:18px}.tool{height:40px}.app-header{height:82px}.document-tabs{padding-left:76px}.editor-shell{height:calc(100dvh - 124px)}}
@media(max-width:1300px){.tool-summary{display:none}.app-header{padding:0 18px;gap:18px}.editor-shell{grid-template-columns:62px minmax(300px,1fr) 256px}.inspector{padding:0 14px 14px}.document-tabs{padding-left:62px}.tool.active:before{left:-11px}.brand{font-size:21px}.key{display:none}.canvas-badge{font-size:7px;bottom:24px;left:17px}.status-right #pointerPosition{display:none}.toast-area{left:76px}}
@media(max-width:1000px){.header-divider,.document-heading{display:none}.editor-shell{grid-template-columns:57px minmax(280px,1fr)}.inspector{display:none;position:fixed;top:118px;bottom:0;right:0;width:282px;z-index:20;box-shadow:-15px 0 40px #27393a22}.inspector-open .inspector{display:flex}.properties-toggle{display:inline-flex}.document-tabs{padding-left:57px}.app-header{gap:8px}.local-pill{font-size:9px}.tool.active:before{left:-9px}.context-toolbar{gap:9px;padding:0 12px}.status-bar{padding:0 10px}.header-actions{gap:6px}}
@media(max-width:600px){.app-header{height:64px;padding:0 12px}.brand{font-size:19px}.brand-mark{width:30px;height:34px}.brand-sub{font-size:6px;letter-spacing:2px}.header-actions .button{padding:0 9px;font-size:10px;height:32px}.header-actions .button svg{display:none}.header-actions .button[data-action="save"] span{font-size:0}.header-actions .button[data-action="save"] span:after{content:"Save";font-size:10px}.export-dot{display:none}.document-tabs{height:37px}.tab{height:37px;min-width:120px;font-size:10px}.local-pill{display:none}.document-tabs #tabs{max-width:calc(100% - 36px)}.editor-shell{height:calc(100dvh - 101px);grid-template-columns:47px minmax(0,1fr)}.tool{width:34px;height:34px}.tool svg{width:17px}.tool.active:before{left:-7px}.tool-group{gap:1px;margin-bottom:7px;padding-bottom:7px}.context-toolbar{height:42px;gap:7px;padding:0 8px}.tool-name{font-size:10px}.context-right .small-button{font-size:0;padding:5px}.context-right .small-button svg{width:15px}.context-right button[data-action="canvas"]{font-size:9px}.history-controls{gap:2px}.toolbar-separator{margin:0}.hint-bar{height:30px;font-size:8px;padding:0 9px;gap:5px}.status-right #documentSize{font-size:8px}.status-divider{display:none}.status-right #unitLabel{display:none}.status-bar{font-size:8px;gap:4px}.canvas-badge{display:none}.zoom-controls{bottom:12px;right:12px}.toast-area{left:57px;max-width:calc(100vw - 70px)}.inspector{top:101px}.export-layout,.pdf-body{grid-template-columns:1fr}.export-options{border-right:0;border-bottom:1px solid #dae6e7;padding:0 0 12px}.export-preview{max-height:240px;min-height:180px}.export-preview canvas{max-height:210px}.pdf-pages{max-height:130px;display:grid;grid-template-columns:1fr 1fr}.modal-header,.modal-body{padding:18px}.modal-actions{padding:12px 18px;flex-wrap:wrap}.field-pair{gap:9px}.stage-prompt{max-width:90%;font-size:10px;top:30px;white-space:normal;text-align:center;line-height:1.7}}

/* Live physical dimensions stay visible on the canvas. */
.editor-shell{--rail-width:72px}
body:not(.inspector-open) .editor-shell{grid-template-columns:var(--rail-width) minmax(0,1fr)}
.inspector[hidden]{display:none!important}
.header-actions .properties-toggle{display:inline-flex}
.inspector-open .properties-toggle{background:#e7f1f2;border-color:#afc8ca;color:#446567}
.inspector-top-actions{display:flex;align-items:center;gap:5px}
.inspector-top-actions svg{width:15px;height:15px}
.status-bar{height:auto;min-height:56px;padding:7px 14px;gap:14px}
.status-bar>.status-left{flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}
.live-measurement{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%;color:#31494a;line-height:1.4}
.live-measurement svg{width:17px;height:17px;color:#618f92}
.measurement-label{font-size:10px;color:#639295}
.live-measurement output{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.1px}
.live-measurement.needs-scale output{font-size:12px;font-weight:500}
.live-measurement .small-button{font-size:10px;padding:2px 7px;background:#e6f0f1;color:#4b6e70}
.status-message{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:9px}
#statusText{overflow:hidden;text-overflow:ellipsis}
.status-right{font-size:10px}
.status-plan-label{font-size:9px;color:#86acae}
@media(min-width:1700px){.editor-shell{--rail-width:76px}}
@media(max-width:1300px){.editor-shell{--rail-width:62px}.status-right #unitLabel,.status-right .status-divider{display:none}}
@media(max-width:1000px){.editor-shell{--rail-width:57px}.status-bar>.status-right{display:none}}
@media(max-width:600px){.editor-shell{--rail-width:47px}.status-bar{padding:7px 9px;min-height:58px}.live-measurement{gap:5px}.live-measurement output{font-size:13px}.measurement-label{font-size:9px}.header-actions .properties-label{font-size:0}.header-actions .properties-label:after{content:'Tools';font-size:10px}}

.shape-crisp-control{display:flex;align-items:center;gap:5px;font-size:9px;color:#598486;white-space:nowrap}.shape-crisp-control input{width:12px;height:12px;margin:0;accent-color:#5a8587}

/* HomeNinja: Petronas teal, black and silver frame a white drawing sheet. */
:root{--tone-1:#eef1f3;--tone-2:#d9dee2;--tone-3:#00b8ad;--ink:#101315;--muted:#626f78;--line:#c8d0d6;--accent:#007d76;--soft-accent:#d9f5f2;--green:#176d66;--chrome:#e7ecef}
.app-header{background:var(--tone-3);border-color:#009a91}.header-divider{background:#008e86}.document-heading,.save-status{color:#123d3a}.header-actions .button{background:#e1e6e9;border-color:#afc6c8;color:#101315}.header-actions .button:hover:not(:disabled){background:#f5f7f8;border-color:#64777e}.header-actions .button-dark{background:#101315;border-color:#101315;color:#e8edf0}.header-actions .button-dark:hover:not(:disabled){background:#29343a;color:#fff}.header-actions .key{color:#4d666b}
.document-tabs{background:#dbe1e5;border-color:#c0c9cf}.tab{color:#57656f}.tab.active{background:#f8fafb;color:#101315}.tab.active:after{background:var(--tone-3)}.tab-icon{background:#cad3d9;color:#394952}.local-pill{color:#576971}.local-pill span{background:#18877f}.new-tab{color:#53646f}
.tool-rail{background:#101719;border-color:#354249}.tool-group{border-color:#334249}.tool{color:#c2cdd3}.tool:hover{background:#27343a;color:#fff}.tool.active{background:var(--tone-3);border-color:#46d5ca;color:#101315}.tool.active:before{background:var(--tone-3)}.accent-tool{color:#22cbbf}
.context-toolbar{background:#f0f3f5;border-color:#c7d0d6}.shape-toolbar,.eraser-toolbar{background:#e7ecef;border-bottom:1px solid #c3cdd3}.history-controls button,.small-button{color:#465963}.tool-summary{color:#64747c}.toolbar-separator{background:#c3cdd3}.context-right .small-button:hover,.small-button:hover{background:#d5e0e4;color:#101315}
.inspector{background:#f1f4f6;border-color:#c2ccd3}.scale-card,.geosite-card{background:#e2e8ec;border-color:#bcc9d1}.inspector-top,.card-heading,.section-label{color:#4b5f6b}.scale-value{color:#101315}.scale-value span,.scale-state{color:#536b77}.scale-icon{color:#147a72}.scale-dot{background:#1a9d8f}.geosite-label,.geosite-card p{color:#5b707a}.geosite-card h3{color:#101315}.geosite-card button{color:#116e66}
.button{border-color:#c8d1d7;color:#25353e}.button-dark{background:#101719;border-color:#101719;color:#f0f4f6}.button-dark:hover:not(:disabled){background:#2b3d45;border-color:#2b3d45;color:#fff}.button:not(.button-dark):hover:not(:disabled){background:#dfe8ec;border-color:#a9bcc7}.button-scale{background:#d4efeb;border-color:#a7d7d0;color:#174b46}
.shape-picker,.paint-context-menu{background:#f7f9fa;border-color:#bac9d1}.shape-choice{color:#384f5e}.shape-choice.active{background:#cff2ed;border-color:#6bbeb5;color:#101315}.shape-choice:hover,.context-item:hover:not(:disabled){background:#dce9ed}.context-item kbd{color:#607581}.shape-picker-heading,.shape-picker-help,.shape-caret,.shape-current,.shape-colour-control,.shape-crisp-control,.shape-width-control{color:#4c6574}
.canvas-workspace,.plan-scrollbar,.scrollbar-corner{background-color:#dde4e8}.stage{background-color:#e4e9ec;background-image:radial-gradient(#c2cdd3 .65px,transparent .65px)}.plan-scrollbar{scrollbar-color:#8fa5b2 #dde4e8}.plan-scrollbar::-webkit-scrollbar-track{background:#dde4e8}.plan-scrollbar::-webkit-scrollbar-thumb{background:#8fa5b2;border-color:#dde4e8}.plan-scrollbar::-webkit-scrollbar-thumb:hover{background:#617f91}.zoom-controls{border-color:#b9c9d2;background:#f6f8f9}.zoom-controls button{color:#415e6e}.zoom-controls #zoomLabel{color:#243b48}.canvas-badge{color:#627c8b}
.status-bar{background:#101719;border-color:#354249}.live-measurement{color:#f0f5f6}.measurement-label{color:#b8c9d0}.live-measurement svg{color:#28cabc}.status-message,.status-right{color:#b2c5d0}.status-plan-label{color:#91aab8}.status-led{background:#00b8ad}.live-measurement .small-button{background:#00b8ad;color:#101315}
.inspector-open .properties-toggle,.inspector-open #focusPropertiesToggle{background:#c6eae5;border-color:#84c7be;color:#123e39}.shape-colour-control select,.shape-width-control input,.field-grid input,.field-grid select{border-color:#bdcdd6;color:#273e4d;background:#fff}.field-grid input:disabled{background:#e4ebef;color:#718491}.unit-control{color:#546e7d}.unit-control select{color:#2c4c5e;border-color:#b8ccd7}
.eraser-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;flex-shrink:0}.eraser-size-control{display:flex;align-items:center;gap:9px;font-size:11px;color:#435d6d}.eraser-size-control input{width:135px;accent-color:#008d83}.eraser-size-control output{min-width:65px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:#153647}.eraser-colour{display:flex;align-items:center;gap:6px;font-size:10px;color:#4c697c}.eraser-colour input{width:28px;height:27px;border:1px solid #b9cdd9;border-radius:5px;padding:2px;background:white;cursor:pointer}.eraser-swap{font-size:20px;color:#177d75;border-radius:5px;padding:0 5px}.eraser-swap:hover{background:#d0e9e5}.eraser-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.canvas-focus-toggle{background:#e0eeef;color:#285b64;border-color:#aecacf}.canvas-focus-toggle:hover,.canvas-focus-toggle[aria-pressed="true"]{background:#c5ebe5;border-color:#6ab7ab;color:#173a36}
.destructive,.danger:hover,.modal-error{color:#b33b42}.info-box.warning{background:#fff5e9;border-color:#ead0ac;color:#8b612b}.toast.error{background:#fbeceb;border-color:#dfaaa4;color:#a5413c}

/* Compact chrome gives the drawing the height previously used by stacked bars. */
body{display:flex;flex-direction:column}
.app-header{height:52px;flex:0 0 52px;padding:0 14px;gap:14px}.brand{font-size:20px;gap:8px}.brand-mark{width:30px;height:32px;border-radius:7px}.brand-mark svg{width:23px;height:23px}.brand-sub{font-size:6px;letter-spacing:2px;margin-top:2px}.header-divider{height:25px}.document-heading{gap:3px}#projectTitle{font-size:11px}.save-status{font-size:9px}.header-actions{gap:7px}.header-actions .button{height:30px;padding:0 10px;font-size:11px}
.document-tabs{height:30px;flex:0 0 30px;padding-left:54px}.tab{height:30px;min-width:125px;font-size:10px;padding:0 10px}.tab-icon{font-size:7px;padding:2px 3px}.tab-close{font-size:14px}.local-pill{font-size:9px;margin-right:14px}
.editor-shell{height:auto;flex:1;min-height:0;--rail-width:54px;grid-template-columns:var(--rail-width) minmax(0,1fr) 282px}
.tool-rail{padding-top:6px}.tool-group{gap:2px;padding-bottom:8px;margin-bottom:7px}.tool{width:38px;height:34px}.tool.active:before{left:-9px}.tool svg{width:18px;height:18px}.rail-bottom{padding-bottom:7px}
.context-toolbar{height:34px;padding:0 10px;gap:8px}.history-controls{gap:5px}.history-controls button{height:27px}.tool-name{font-size:11px}.tool-summary{font-size:10px}.context-right{gap:3px}.small-button{font-size:10px;padding:5px 7px;gap:5px}.toolbar-separator{height:17px;margin:0}
.shape-toolbar{min-height:40px;padding:4px 10px;gap:8px 12px}.shape-current{min-height:28px}.shape-draft-actions .button{height:27px}
.eraser-toolbar{min-height:40px;padding:5px 10px;gap:8px 12px}
.status-bar{height:36px;min-height:36px;padding:4px 10px;gap:12px}.status-bar>.status-left{flex-direction:row;align-items:center;gap:16px}.live-measurement{flex-wrap:nowrap;flex-shrink:0;gap:6px;line-height:1.2}.live-measurement output{font-size:14px}.status-message{flex:1;overflow:hidden;max-width:100%}.status-right{font-size:9px}.measurement-label{font-size:9px}
.zoom-controls{bottom:12px;right:14px}.canvas-badge{bottom:13px;left:23px}.toast-area{bottom:46px;left:66px}
.focus-file-actions{display:none;align-items:center;gap:1px;padding-right:5px;margin-right:4px;border-right:1px solid var(--line)}.focus-file-actions .small-button{width:28px;justify-content:center;padding:5px}.canvas-focus-toggle{border:1px solid #c9e2d7;background:#eef8f3;color:#467c64}.canvas-focus-toggle:hover,.canvas-focus-toggle[aria-pressed="true"]{background:#dff2e8;border-color:#afd6c2}
.canvas-focus .app-header,.canvas-focus .document-tabs{display:none}.canvas-focus .focus-file-actions{display:flex}
@media(max-width:1300px){.inspector{padding-left:14px;padding-right:14px}.editor-shell{grid-template-columns:var(--rail-width) minmax(0,1fr) 256px}.key{display:none}}
@media(max-width:1000px){.editor-shell{grid-template-columns:var(--rail-width) minmax(0,1fr)}.inspector{top:82px}.canvas-focus .inspector{top:0}.status-message{display:none}}
@media(max-width:700px){.measurement-label{display:none}.context-toolbar{gap:5px;padding:0 7px}.context-right{gap:2px}.canvas-focus-toggle{padding:5px}.canvas-focus-toggle svg{display:none}.context-right .canvas-action{display:none}.tool-summary{display:none}.live-measurement{min-width:0}.live-measurement output{font-size:13px}.status-bar>.status-left{gap:6px}}
@media(max-width:600px){.app-header{padding:0 9px;gap:7px}.brand{font-size:17px;gap:6px}.brand-sub{font-size:5px;letter-spacing:1.6px}.brand-mark{width:27px;height:29px}.header-actions{gap:4px}.header-actions .button{padding:0 7px;font-size:10px}.header-actions .button[data-action="save"] span:after{font-size:10px}.document-tabs{padding-left:46px}.tab{height:30px;min-width:115px}.editor-shell{--rail-width:46px}.tool{width:34px;height:34px}.tool.active:before{left:-7px}.tool svg{width:17px}.eraser-toolbar{padding:5px 8px;gap:6px 10px}.eraser-size-control{flex-basis:100%}.eraser-size-control input{flex:1;min-width:75px}.shape-toolbar{padding:5px 8px;gap:7px}.shape-draft-actions{margin-left:0}.status-bar{padding:4px 8px}.toast-area{left:56px}.canvas-focus .tool-name,.canvas-focus .context-toolbar>.toolbar-separator{display:none}.focus-file-actions{padding-right:3px;margin-right:2px}.focus-file-actions .small-button{width:25px}.canvas-focus-toggle{font-size:10px!important}.context-right .small-button[data-action="canvas"]{font-size:0}}

@media(max-width:420px){.brand>span:last-child{display:none}.header-actions{gap:3px}}

/* The approved logo has a compact header lockup and an icon for narrow screens. */
.brand{flex:0 0 auto;gap:0;letter-spacing:0;line-height:1}.brand-logo{display:block;width:220px;height:42px;object-fit:contain}.brand-icon{display:none;width:34px;height:34px}.help-brand-art{display:block;width:100%;height:180px;object-fit:contain;background:#00b8ad;border-radius:8px;margin:0 0 18px}.canvas-focus-toggle{background:#e0eeef;color:#285b64;border-color:#aecacf}.canvas-focus-toggle:hover,.canvas-focus-toggle[aria-pressed="true"]{background:#c5ebe5;border-color:#6ab7ab;color:#173a36}
@media(max-width:600px){.brand-logo{width:160px;height:36px}}
@media(max-width:480px){.brand-logo{display:none}.brand-icon{display:block}}

/* One approved lockup: preserve the artwork proportions and show its content. */
.brand-logo{position:relative;overflow:hidden}
.brand-artwork{position:absolute;display:block;width:104.5%;max-width:none;height:auto;left:-2%;top:-42.5%}
@media(max-width:600px){.brand-artwork{top:-28%}}
/* Architectural library: overlays preserve the existing drawing viewport. */
.symbol-library{position:fixed;z-index:35;left:54px;top:82px;bottom:36px;width:306px;max-width:calc(100vw - 60px);background:#f3f6f7;border:1px solid #b9c7cb;box-shadow:6px 0 22px #10171922;display:flex;flex-direction:column;padding:14px;gap:10px;overflow:hidden;color:#101719}.symbol-library[hidden],.symbol-properties[hidden],.symbol-placement-hint[hidden]{display:none}.symbol-library-heading{display:flex;align-items:center;justify-content:space-between}.symbol-library h2{font-size:19px;margin:2px 0}.symbol-library small{font-size:9px;letter-spacing:.9px}.symbol-library-heading .small-button{font-size:24px}.symbol-search{width:100%;padding:10px!important;background:white!important}.symbol-library-filters{display:flex;gap:8px;align-items:center}.symbol-library-filters select{width:115px}.symbol-library-filters label{font-size:10px;display:flex;align-items:center;gap:4px}.symbol-library-note{font-size:10px;line-height:1.5;color:#5c6b73;margin:0}.symbol-catalog{overflow-y:auto;min-height:0;flex:1}.symbol-catalog details{border-top:1px solid #cbd6d9;padding:9px 0}.symbol-catalog summary{cursor:pointer;font-size:12px;font-weight:600;display:list-item}.symbol-catalog summary span{float:right;color:#68777d;font-size:10px}.symbol-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:10px}.symbol-card{position:relative;border:1px solid #d0dadd;background:#fff;border-radius:6px;overflow:hidden}.symbol-choice{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;height:146px;background:none;border:0;padding:8px 6px 9px;text-align:center;cursor:pointer;font:inherit;color:inherit}.symbol-choice:hover{background:#e0f6f2}.symbol-choice>span:last-of-type{font-size:11px;line-height:1.25}.symbol-choice small{font-size:8px;color:#67767c;letter-spacing:0}.symbol-thumbnail{display:block;width:100%;height:80px}.symbol-thumbnail svg{width:100%;height:100%}.symbol-favourite{position:absolute;right:3px;top:2px;border:0;background:#ffffffbb;border-radius:50%;color:#007d76;cursor:pointer;font-size:19px}.symbol-properties{position:fixed;z-index:24;right:18px;bottom:49px;max-height:60vh;overflow-y:auto;width:480px;max-width:calc(100vw - 84px);padding:12px;background:#f4f7f8f5;border:1px solid #b4c7ca;border-radius:9px;box-shadow:0 4px 24px #10171924;color:#101719}.symbol-properties-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px;margin-bottom:8px}.symbol-properties-title strong{font-size:13px}.symbol-properties-title small{font-size:9px;color:#607078}.symbol-properties-title output{font-size:10px;margin-left:auto}.symbol-property-row{display:flex;align-items:end;flex-wrap:wrap;gap:6px;margin:6px 0}.symbol-property-row label{font-size:9px;display:flex;flex-direction:column;gap:3px;max-width:135px}.symbol-property-row input:not([type=checkbox]):not([type=color]){width:100px;padding:6px!important;font-size:11px}.symbol-property-row select{font-size:10px;max-width:130px}.symbol-properties .button{font-size:10px;padding:6px 8px;min-height:27px}.symbol-properties details{font-size:11px;border-top:1px solid #d0dadd;padding-top:7px;margin-top:8px}.symbol-properties summary{cursor:pointer}.symbol-property-spacer{flex:1}.symbol-placement-hint{position:fixed;z-index:23;left:50%;transform:translateX(-50%);top:151px;padding:8px 12px;background:#101719e8;color:#eaf9f6;font-size:11px;border-radius:6px;pointer-events:none;max-width:70vw;text-align:center}.symbol-opening-preview{border:1px solid #e5a070;background:#fff2e7;padding:8px;font-size:10px;margin-top:7px}.symbol-opening-preview label{display:flex;align-items:center;gap:6px}.symbol-opening-preview input{width:100px}.canvas-focus .symbol-library{top:0}.canvas-focus .symbol-placement-hint{top:48px}.symbol-empty{font-size:12px;padding:12px}.symbol-property-row [hidden]{display:none}
@media(max-width:600px){.symbol-library{left:46px;top:82px;width:280px}.symbol-properties{right:8px;bottom:45px;max-height:40vh}.symbol-placement-hint{top:155px;font-size:10px}}

.aggregate-thumbnail{display:block;width:100%;height:100%;object-fit:cover;border:1px solid #c5cecf;border-radius:3px}
.material-toolbar{position:fixed;z-index:26;right:18px;bottom:49px;max-width:calc(100vw - 84px);width:470px;background:#f2f7f7f5;border:1px solid #b1c8c8;border-radius:9px;box-shadow:0 4px 24px #10171925;padding:12px;color:#14292b}.material-toolbar[hidden]{display:none}.material-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.material-heading strong{font-size:13px}.material-heading button{font-size:22px}.material-controls{display:flex;flex-wrap:wrap;align-items:end;gap:7px;margin:7px 0}.material-controls label{display:flex;flex-direction:column;font-size:9px;gap:3px}.material-controls input:not([type=checkbox]):not([type=color]){width:105px;font-size:11px;padding:7px}.material-controls select{max-width:150px;font-size:11px;padding:6px}.material-controls label.material-protect{flex-direction:row;align-items:center;font-size:10px;gap:5px;padding:5px 0}.material-controls [hidden]{display:none}.material-toolbar p{font-size:10px;line-height:1.5;color:#566c70;margin:9px 0 0}@media(max-width:600px){.material-toolbar{right:8px;bottom:45px;width:390px;max-height:42vh;overflow:auto}}

.material-toolbar.symbol-mode{top:153px;bottom:auto;width:320px}.material-toolbar.symbol-mode .material-paint-settings,.material-toolbar.symbol-mode .material-paint-extras{display:none}.canvas-focus .material-toolbar.symbol-mode{top:49px}

/* Small ruler menu and dimension controls preserve the drawing area. */
.ruler-menu{position:fixed;z-index:55;width:284px;padding:8px;background:#f7fbfb;border:1px solid #c1d9d9;border-radius:9px;box-shadow:0 8px 28px #153c4226}.ruler-menu[hidden],.dimension-toolbar[hidden]{display:none}.ruler-menu-heading{padding:7px 9px;font-size:10px;letter-spacing:1px;color:#567477}.ruler-menu button{display:flex;align-items:center;gap:10px;padding:10px 9px;width:100%;border:0;background:transparent;text-align:left;border-radius:5px;color:#172e31;cursor:pointer}.ruler-menu button:hover,.ruler-menu button:focus{background:#dff3ef;outline:1px solid #78c4bb}.ruler-menu svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.ruler-menu button:last-child svg{color:#ed2323}.ruler-menu button span{font-size:12px}.ruler-menu small{display:block;font-size:9px;color:#62787b;margin-top:4px}.dimension-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:7px 14px;background:#eff8f7;border-bottom:1px solid #d2e3e2;font-size:11px}.dimension-toolbar strong{font-size:12px}.dimension-toolbar label{display:flex;align-items:center;gap:6px;font-size:10px}.dimension-toolbar input[type=color]{width:27px;height:27px;padding:2px;border:1px solid #c3d8d7;background:#fff}.dimension-toolbar input[type=number]{width:66px;padding:5px}.dimension-toolbar output{color:#d81717;font-weight:600}.dimension-toolbar #dimensionHint{color:#64797b;flex:1;font-size:10px}.font-size-number{appearance:textfield;-moz-appearance:textfield}.font-size-number::-webkit-inner-spin-button,.font-size-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.field:has(>.font-size-number){position:relative}.field>.font-size-number{padding-right:34px}.font-size-stepper{position:absolute;right:5px;bottom:5px;display:flex;flex-direction:column;width:24px}.font-size-stepper button{border:0;background:#e5f1f1;color:#337b80;height:15px;line-height:12px;border-radius:2px;cursor:pointer}.font-size-stepper button:hover{background:#c8e5e1}
@media(max-width:700px){.dimension-toolbar{gap:7px}.dimension-toolbar #dimensionHint{flex-basis:100%}.ruler-menu{max-width:calc(100vw - 65px)}}

.dimension-toolbar .dimension-room-name input{width:150px;padding:5px;border:1px solid #bdcdd6;border-radius:5px;background:#fff;color:#273e4d}.dimension-toolbar .dimension-label-field input{width:100px;color:#c71919;font-weight:600}.dimension-round-controls{display:flex;align-items:center;gap:4px}.dimension-round-controls select{width:76px;padding:5px;font-size:11px}.dimension-round-controls button{min-width:27px;padding:5px 7px}.dimension-round-controls button[disabled]{opacity:.45;cursor:default}
/* Readable floor flips use one temporary review dialog; no canvas chrome is added. */
.readable-toggle{margin-top:8px;font-size:11px}.context-checked .context-label:after{content:' ✓';color:#007f77;font-weight:700}.flip-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:16px}.flip-preview-main{min-width:0}.flip-preview-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:10px}.flip-preview-tools span{margin-left:auto;font-size:11px;color:#557876}.flip-canvas-wrap{background:#e9f2f2;border:1px solid #ccdddd;border-radius:7px;overflow:hidden}.flip-canvas-wrap canvas{display:block;width:100%;height:auto;max-height:64vh;object-fit:contain;touch-action:none}.flip-instructions,.flip-note{font-size:11px;line-height:1.6;color:#557876}.flip-review{border-left:1px solid #d9e7e7;padding-left:14px;min-width:0}.flip-review>strong{font-size:12px;display:block;line-height:1.6}.flip-warnings{color:#965c13;font-size:11px;line-height:1.5;margin-bottom:10px}.flip-labels{max-height:52vh;overflow:auto}.flip-label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 4px;border:1px solid #d8e5e4;border-left:3px solid #008c82;border-radius:5px;margin-bottom:8px;padding:8px}.flip-label.needs-review{border-left-color:#d27a00}.flip-label label{display:flex;align-items:flex-start;gap:6px;word-break:break-word;font-size:11px}.flip-label input{margin:1px 0 0;flex-shrink:0;accent-color:#008c82}.flip-label small{grid-column:1/-1;font-size:10px;line-height:1.5;color:#617977}.flip-label .text-button{font-size:10px;padding:0;align-self:start}@media(max-width:760px){.flip-preview-layout{grid-template-columns:1fr}.flip-review{border:0;padding:0}.flip-labels{max-height:23vh}.flip-canvas-wrap canvas{max-height:40vh}}
.flip-canvas-wrap canvas{width:min(100%,calc(64vh * 1100 / 680));height:auto;max-height:none;margin:auto}@media(max-width:760px){.flip-canvas-wrap canvas{width:min(100%,calc(40vh * 1100 / 680));max-height:none}}
.save-location-hint{color:#5d7776;font-size:11px;line-height:1.6;margin:2px 0 15px}.export-options>.field:first-child{margin-top:0}

/* The shared IU source catalogue overlays the editor only while browsing. */
.iu-sales-trigger{gap:6px!important}.iu-sales-trigger svg{width:15px;height:15px}.iu-sales-caret{font-size:10px;color:#55716f}.focus-file-actions .iu-sales-focus{width:auto;padding:4px 7px;font-size:10px;white-space:nowrap}
.iu-sales-library{position:fixed;z-index:110;width:692px;height:min(610px,calc(100dvh - 90px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #b9cbcd;border-radius:11px;background:#f7fafb;box-shadow:0 18px 55px #152a3540;color:#20343c}.iu-sales-library[hidden]{display:none}.iu-sales-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px 10px;background:#e5f3f1;border-bottom:1px solid #cededd;flex-shrink:0}.iu-sales-eyebrow{font-size:8px;letter-spacing:1.7px;font-weight:600;color:#437d78}.iu-sales-header h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:3px 0 0}.iu-sales-header-end{display:flex;align-items:center;gap:9px}.iu-sales-header-end>span{font-size:10px;color:#56726f}.iu-sales-header-end .small-button{padding:5px}.iu-sales-header-end svg{width:16px;height:16px}
.iu-sales-search{display:flex;align-items:center;gap:9px;margin:11px 13px;padding:0 8px 0 11px;border:1px solid #c3d3d7;border-radius:6px;background:#fff;flex-shrink:0}.iu-sales-search>svg{width:16px;height:16px;color:#6d878c;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}.iu-sales-search input{width:100%;min-width:0;border:0;padding:10px 0;background:transparent;color:#20343c;font:inherit;font-size:12px;outline:none}.iu-sales-search:focus-within{border-color:#159f95;box-shadow:0 0 0 2px #00b8ad15}.iu-sales-search input::-webkit-search-cancel-button{display:none}.iu-sales-search .small-button{font-size:10px;padding:5px}
.iu-sales-content{display:grid;grid-template-columns:168px minmax(0,1fr);min-height:0;flex:1;border-top:1px solid #dde7e9;overflow:hidden}.iu-sales-designs{overflow:auto;padding:7px;border-right:1px solid #d7e2e5;background:#edf2f4;scrollbar-width:thin;scrollbar-color:#b0c5c9 transparent}.iu-sales-design{display:flex;width:100%;align-items:center;justify-content:space-between;gap:6px;padding:10px 8px;margin-bottom:2px;text-align:left;border:1px solid transparent;border-radius:5px;background:transparent;font-size:11px;line-height:1.45;color:#4a606b}.iu-sales-design small{font-size:9px;opacity:.7;font-variant-numeric:tabular-nums}.iu-sales-design:hover{background:#e0ebed;color:#183b41}.iu-sales-design.active{border-color:#afdad5;background:#d9eeeb;color:#126b64;font-weight:600}.iu-sales-design:focus-visible,.iu-sales-plan:focus-visible{outline:2px solid #008c83;outline-offset:1px}
.iu-sales-results{min-width:0;min-height:0;display:flex;flex-direction:column}.iu-sales-results-heading{padding:12px 14px 9px;flex-shrink:0}.iu-sales-results-heading h3{font-size:13px;margin:0 0 4px;font-weight:600}.iu-sales-results-heading p{font-size:10px;color:#68808a;margin:0}.iu-sales-variants{padding:3px 13px 13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;overflow:auto;scrollbar-width:thin;scrollbar-color:#b0c5c9 transparent}.iu-sales-plan{display:flex;flex-direction:column;min-width:0;overflow:hidden;align-items:flex-start;text-align:left;background:#fff;border:1px solid #d1dfe2;border-radius:7px;padding:0 10px 8px;color:#253e47;box-shadow:0 1px 2px #15334305}.iu-sales-plan:hover{border-color:#6abeb5;box-shadow:0 2px 8px #008c8315}.iu-sales-plan:disabled{opacity:.5;cursor:wait}.iu-sales-thumbnail{display:flex;align-items:center;justify-content:center;width:calc(100% + 20px);margin:0 -10px 8px;height:125px;background:#fff;border-bottom:1px solid #edf1f3;padding:7px}.iu-sales-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}.iu-sales-plan-name{font-size:11px;font-weight:600;margin-bottom:4px}.iu-sales-plan>small{font-size:9px;color:#74858e}.iu-sales-open{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px;color:#13867d;margin-top:9px}.iu-sales-open>span{font-size:13px}.iu-sales-help{padding:10px 13px;background:#edf4f4;border-top:1px solid #d5e3e4;font-size:10px;line-height:1.6;color:#5d777b;flex-shrink:0}.iu-sales-message{padding:9px 13px;font-size:11px;line-height:1.6;color:#336f68;background:#e5f6f1;flex-shrink:0}.iu-sales-message.iu-sales-error{color:#a34448;background:#fbedec}
@media(max-width:800px){.iu-sales-trigger svg{display:none}.iu-sales-trigger{padding:0 7px!important}}
@media(max-width:540px){.iu-sales-library{height:calc(100dvh - 85px)}.iu-sales-content{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.iu-sales-designs{display:flex;gap:5px;padding:7px;border-right:0;border-bottom:1px solid #d7e2e5;overflow-x:auto;overflow-y:hidden;max-height:54px}.iu-sales-design{width:auto;flex-shrink:0;padding:7px 9px;margin:0;gap:7px;font-size:10px;white-space:nowrap}.iu-sales-results-heading{padding:10px 12px 7px}.iu-sales-header{padding:10px 12px}.iu-sales-header h2{font-size:15px}.iu-sales-header-end>span{font-size:9px}.iu-sales-search{margin:9px 11px}.iu-sales-variants{padding:3px 10px 10px;gap:8px}.iu-sales-thumbnail{height:110px}.iu-sales-help{font-size:9px}}

/* Let the results scroll; never squeeze card captions under their previews. */
.iu-sales-variants{grid-auto-rows:max-content;align-items:start;flex:1;min-height:0}
.iu-sales-plan{height:auto;min-height:240px;align-self:start;flex-shrink:0}
.iu-sales-card-heading{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 0 8px;flex:0 0 auto;line-height:1.4}
.iu-sales-plan-name{display:block;margin:0;font-size:11px;color:#29424a}
.iu-sales-plan-version{display:block;font-size:12px;font-weight:600;color:#087b70}
.iu-sales-thumbnail{height:120px;flex:0 0 120px;margin-bottom:8px}
.iu-sales-plan-source{display:block;width:100%;min-height:26px;margin-bottom:5px;color:#536d76;font-size:10px;line-height:1.35;overflow-wrap:anywhere;flex:0 0 auto}
.iu-sales-plan>small,.iu-sales-open{flex:0 0 auto;line-height:1.4}
@media(max-width:540px){.iu-sales-thumbnail{height:110px;flex-basis:110px}.iu-sales-plan{min-height:230px}.iu-sales-plan-name{font-size:10px}.iu-sales-plan-version{font-size:11px}.iu-sales-plan-source{font-size:9px}}

/* A split Select control keeps free-form and transparent modes close to the canvas. */
.selection-tool-group{display:flex;flex-direction:column;align-items:center;gap:0}
.selection-menu-trigger{display:flex;align-items:center;justify-content:center;width:38px;height:14px;padding:0;border:1px solid #33484c;border-top:0;border-radius:0 0 4px 4px;color:#c2d5d6;background:#19282c}
.selection-menu-trigger svg{width:13px;height:8px;stroke-width:1.5}
.selection-menu-trigger:hover,.selection-menu-trigger[aria-expanded="true"]{background:#285052;color:#fff}
.selection-menu-trigger.transparent-active{color:#3ee0d0;border-color:#178f85;background:#16403e}
.selection-menu{position:fixed;z-index:75;width:278px;max-width:calc(100vw - 64px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:6px;border:1px solid #bccfd1;border-radius:8px;background:#f7fafb;box-shadow:0 10px 30px #18333d2e;color:#28414a}
.selection-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:35px;padding:7px 9px;border-radius:4px;text-align:left;font-size:12px;line-height:1.4}
.selection-menu button:hover:not(:disabled),.selection-menu button:focus-visible{background:#dcefeb;outline:1px solid #7bc5bc;outline-offset:-1px}
.selection-menu button:disabled{opacity:.4;cursor:default}
.selection-menu button>svg{width:18px;height:18px;flex:none}
.selection-menu button>span:not(.selection-check){flex:1}
.selection-menu kbd{font:10px var(--font);color:#7b9097;white-space:nowrap}
.selection-check{visibility:hidden;width:15px;flex:none;color:#078679;font-weight:700;text-align:right}
.selection-menu-checked .selection-check{visibility:visible}
.selection-menu-divider{height:1px;background:#dce5e7;margin:4px 5px}
.selection-menu-help{font-size:10px;line-height:1.6;color:#678087;margin:3px 10px 7px 36px}
@media(max-width:600px){.selection-menu-trigger{width:34px}.selection-menu{width:263px}.selection-menu button{font-size:11px}}

/* Physical stroke presets stay next to the editable width in the drawing toolbar. */
.shape-thickness-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%}
.shape-width-presets{display:flex;align-items:center;gap:3px}
.shape-width-presets button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;padding:0 6px;border:1px solid #bdcdd6;border-radius:4px;background:#f8fbfc;color:#3e5965;font-size:10px;white-space:nowrap}
.shape-width-presets button:hover:not(:disabled){background:#e4f4f1;border-color:#65b6ad}
.shape-width-presets button.active{background:#d8f2ed;border-color:#008f85;color:#006c65;box-shadow:inset 0 0 0 1px #008f8522}
.shape-width-presets button:disabled{opacity:.4;cursor:default}
.stroke-preview{display:inline-block;width:15px;height:var(--sample-stroke);background:currentColor;flex:none}

/* Quick save stays beside Undo/Redo even in Focus canvas. */
.project-save-controls{display:flex;align-items:stretch;flex-shrink:0}.project-save-controls>.button{border-radius:6px 0 0 6px}.project-save-menu{position:relative}.project-save-menu>summary{height:30px;width:23px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border:1px solid var(--line);border-left:0;border-radius:0 6px 6px 0;background:#fff;color:#355d60}.project-save-menu>summary::-webkit-details-marker{display:none}.project-save-menu>summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.project-save-menu>summary:hover,.project-save-menu[open]>summary{background:#dff3ef}.project-save-menu>summary:focus-visible{outline:2px solid #008c83;outline-offset:2px}.project-save-popover{position:absolute;right:0;top:calc(100% + 5px);min-width:224px;padding:5px;z-index:70;border:1px solid #b9cece;border-radius:7px;background:#f7fbfb;box-shadow:0 6px 22px #153c4226}.project-save-popover>button{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:10px;border:0;background:transparent;border-radius:4px;font:inherit;font-size:12px;color:#173c3f;cursor:pointer}.project-save-popover>button:hover,.project-save-popover>button:focus-visible{background:#dff3ef}.project-save-popover kbd{font:inherit;font-size:10px;color:#657c7d}.history-controls #quickSaveButton{color:#167e77}.history-controls #quickSaveButton:hover{background:#dff3ef}

/* Beta profiles personalise the header without reducing the drawing area. */
.company-brand{display:flex;align-items:center;justify-content:center;flex:0 1 112px;min-width:36px;max-width:112px;height:36px;padding-left:10px;border-left:1px solid #008e86}.company-brand img{display:block;max-width:100%;max-height:32px;object-fit:contain}.app-header .document-heading{min-width:0;flex:0 1 230px}.profile-button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #00887e;border-radius:50%;background:#e6f5f3;color:#174b48;overflow:hidden}.profile-button:hover{background:#fff;border-color:#175c55}.profile-button img{width:100%;height:100%;object-fit:cover}.profile-button>span{display:grid;place-items:center}.profile-button svg{display:block;width:20px;height:20px;stroke-width:1.7}.profile-image-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:20px}.profile-image-card{display:flex;align-items:center;gap:14px;padding:12px;background:#eff7f6;border:1px solid #d6e5e3;border-radius:8px}.profile-image-card strong{font-size:12px}.profile-image-preview{display:grid;place-items:center;flex:0 0 100px;width:100px;height:65px;background:#fff;border:1px solid #d6e5e3;border-radius:5px;overflow:hidden;color:#79918f;font-size:10px;text-align:center}.profile-image-preview img{display:block;width:100%;height:100%;object-fit:contain}.profile-photo-preview{flex-basis:65px;width:65px;border-radius:50%}.profile-photo-preview img{object-fit:cover}.profile-photo-preview svg{width:32px;height:32px}.profile-image-actions{display:flex;align-items:center;gap:6px;margin-top:8px}.profile-image-actions .small-button{font-size:10px}.profile-note{font-size:10px;line-height:1.6;color:#607b7b;margin:9px 0 0}.plan-tab-menu{position:fixed;z-index:120;min-width:174px;padding:5px;border:1px solid #b9cece;border-radius:7px;background:#f7fbfb;box-shadow:0 6px 22px #153c4226}.plan-tab-menu button{display:block;width:100%;padding:10px 13px;text-align:left;border-radius:4px;color:#173c3f;font-size:12px}.plan-tab-menu button:hover,.plan-tab-menu button:focus-visible{background:#dff3ef;outline:1px solid #78c4bb;outline-offset:-1px}.tab:focus-visible{outline:2px solid #008c83;outline-offset:-3px}#projectTitle{cursor:context-menu}
@media(max-width:1100px){.company-brand{flex-basis:86px;max-width:86px}.app-header{gap:9px}.brand-logo{width:190px}.header-divider{margin-left:0}.profile-button{flex-basis:30px;width:30px;height:30px}}
@media(max-width:700px){.company-brand{flex-basis:66px;max-width:66px;padding-left:7px}.app-header{gap:6px}.brand-logo{width:150px}.header-actions{gap:4px}.header-actions .properties-toggle{display:none}.profile-button{flex-basis:28px;width:28px;height:28px}}
@media(max-width:480px){.company-brand{max-width:58px}.profile-image-card{gap:9px;padding:10px}.profile-image-preview{flex-basis:83px;width:83px}.profile-photo-preview{flex-basis:60px;width:60px;height:60px}.profile-image-actions{gap:3px}.profile-image-actions .button{padding:0 8px}}

.profile-image-actions{flex-wrap:wrap}.profile-crop-dialog{width:min(520px,94vw);max-height:90vh;overflow:auto;border:1px solid #c4ddda;border-radius:10px;padding:20px;color:#224844;background:#fff;font:13px Arial;box-shadow:0 20px 80px #123b3b40}.profile-crop-dialog::backdrop{background:#173f4166}.profile-crop-dialog header{display:flex;align-items:center;gap:12px}.profile-crop-dialog h2{margin:0;flex:1;font-size:22px}.profile-crop-dialog header button{padding:6px 10px;font-size:24px;color:#648c88}.profile-crop-dialog p{line-height:1.6;color:#607d79}.profile-crop-frame{width:100%;margin:18px auto;background:repeating-conic-gradient(#e1e9e7 0 25%,#f8faf9 0 50%) 50%/16px 16px;border:1px solid #b2ceca;overflow:hidden}.profile-crop-frame canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}.profile-crop-frame canvas:active{cursor:grabbing}.profile-crop-frame canvas:focus-visible{outline:2px solid #008f83;outline-offset:-3px}.profile-crop-circle{border-radius:50%;max-width:320px}.profile-crop-dialog label{display:flex;align-items:center;gap:12px;margin:12px 0;color:#365d56}.profile-crop-dialog select{flex:1;padding:8px;border:1px solid #bfd4d0;border-radius:5px;background:#f6faf9}.profile-crop-zoom input{flex:1;accent-color:#008f83;min-width:80px}.profile-crop-zoom output{min-width:42px}.profile-crop-tools{display:flex;flex-wrap:wrap;gap:6px}.profile-crop-tools button,.profile-crop-dialog footer>button{padding:8px 12px;border:1px solid #c4d8d4;border-radius:5px;background:#f4f9f7;font:12px Arial;color:#24554c}.profile-crop-dialog footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e0eae7;margin-top:16px;padding-top:14px}.profile-crop-dialog footer>.button-dark{background:#008b7d;color:#fff}

#symbolWallJoinField{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px;padding:6px 0;font-size:10px;white-space:nowrap}
#symbolWallJoin{accent-color:#008c87}
#symbolLibraryToggle{padding:0}
.tool .symbol-library-emblem{display:block;width:32px;height:32px;object-fit:contain;pointer-events:none}
.tool .ninja-ruler-emblem{display:block;width:34px;height:34px;object-fit:contain;pointer-events:none}
.ruler-menu .ninja-ruler-menu-emblem{display:block;width:23px;height:23px;object-fit:contain;flex:none}

#symbolWallJoinField>label{display:inline-flex;align-items:center;gap:6px;flex-direction:row}#symbolWallJoinField input{width:auto}

.room-label-hint{color:#536b70;font-size:13px;margin:0 0 16px}.room-label-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.room-label-grid button{font:600 13px Arial,sans-serif;min-height:46px;border:1px solid #bdd5d6;border-radius:8px;background:#f4fafa;color:#123e40;padding:10px 8px;cursor:pointer}.room-label-grid button:hover{background:#d8f3ee;border-color:#008c85}.room-label-grid button:focus-visible{outline:3px solid #008c85;outline-offset:2px}@media(max-width:600px){.room-label-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Library uploads add private browser records without changing source plans. */
.iu-sales-upload-panel,.iu-sales-name-editor{flex:none;padding:10px 13px;background:#edf6f5;border-top:1px solid #d4e3e2;font-size:11px;max-height:220px;overflow:auto}.iu-sales-upload-actions,.iu-sales-name-editor{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.iu-sales-upload-actions>span{flex:1;min-width:150px;color:#516e75}.iu-sales-upload-note{font-size:10px;line-height:1.5;color:#5d777b;margin:8px 0}.iu-sales-upload-panel p:empty,.iu-sales-upload-panel ul:empty{display:none}.iu-sales-upload-panel ul{padding-left:18px;margin:5px 0;max-height:90px;overflow:auto;line-height:1.5}.iu-sales-upload-error{color:#a34448}.iu-sales-name-editor label{display:flex;flex:1;min-width:130px;flex-direction:column;gap:4px}.iu-sales-name-editor input{min-width:0;width:100%;border:1px solid #bdcdd6;border-radius:5px;padding:6px;background:#fff;color:#273e4d}.iu-sales-uploaded-card{display:flex;flex-direction:column;min-width:0;border:1px solid #d1dfe2;border-radius:7px;background:#fff;overflow:hidden}.iu-sales-uploaded-card>.iu-sales-plan{width:100%;flex:1;border:0;border-radius:0}.iu-sales-uploaded-card>.small-button{align-self:flex-start;margin:0 4px 5px;font-size:10px}.iu-sales-uploaded-card:focus-within{outline:2px solid #008c83;outline-offset:1px}@media(max-width:540px){.iu-sales-header-end{flex-wrap:wrap;justify-content:flex-end;gap:5px}.iu-sales-header-end>span{order:3;width:100%;text-align:right}}

/* Common garage-length preset in the scale dialog. */
.scale-preset{align-self:flex-start;height:30px;padding:0 12px;border-color:#a9d4d5;color:#0b7f83;background:#effbfb;font-size:11px;font-weight:650}
.scale-preset:hover:not(:disabled){background:#e2f5f5;border-color:#80c4c6}
