:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#35444d;background:#f8fafb;font-synthesis:none;--accent:#087f79;--border:#e3e8eb;--muted:#7b8991;--mono:"Cascadia Code","SFMono-Regular",Consolas,monospace}
.help-launcher{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;margin-left:auto;padding:7px 9px;background:#f5faf8;border:1px solid #d9e8e3;border-radius:7px;color:#087f79;font-size:11px}.help-launcher svg{width:18px;height:18px}.help-launcher:hover,.help-launcher[aria-pressed=true]{background:#e3f2eb}.help-settings{margin:18px 0;padding:16px;border:1px solid #d8e7e1;border-radius:9px;background:#f5faf8}.help-settings h2{font-size:15px;margin:0 0 7px}.help-settings p,.help-settings small{font-size:11px;line-height:1.6;color:#647e78}.help-settings small{display:block;margin:8px 0}.help-settings>label{display:flex;align-items:center;gap:9px;font-size:12px;margin:12px 0}.help-settings input[type=checkbox]{accent-color:#087f79;width:16px;height:16px}.help-settings>button{padding:9px 13px;border:1px solid #bed7cd;border-radius:6px;background:#fff;color:#087f79;font-size:12px}.help-settings .help-search-label{display:block;font-weight:600;margin-top:18px}.help-search-label input{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #ccded6;border-radius:6px;background:#fff;font:12px inherit}.help-results{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:240px;overflow:auto}.help-results button{padding:8px;text-align:left;border:1px solid #dce8e3;border-radius:5px;background:#fff;font-size:11px;line-height:1.4;color:#436a5f}.help-results button:hover{background:#e4f2eb}.help-inspecting button,.help-inspecting input,.help-inspecting select,.help-inspecting summary{cursor:help!important}#help-inspect-banner{position:fixed;z-index:10015;left:50%;bottom:45px;transform:translateX(-50%);display:flex;align-items:center;gap:15px;padding:11px 15px;max-width:calc(100vw - 20px);width:max-content;background:#204b47;color:#fff;border-radius:9px;box-shadow:0 4px 22px #1234;font-size:12px}#help-inspect-banner[hidden]{display:none}#help-inspect-banner button{border:1px solid #ffffff44;background:transparent;color:#fff;border-radius:5px;padding:6px;font-size:11px;white-space:nowrap}@media(max-width:700px){.help-launcher span{display:none}.help-launcher{padding:6px;margin-left:0}.help-results{grid-template-columns:1fr}.app-header .help-launcher{flex-shrink:0}}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button,canvas{touch-action:manipulation}button:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}button:disabled{opacity:.35;cursor:default}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column;min-height:240px}.app-header{height:36px;flex-shrink:0;display:flex;align-items:center;padding:0 25px;gap:26px;background:#fff;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:6px;color:var(--accent)}.brand-mark{width:31px;height:31px;stroke:none}.brand-name{font-size:28px;font-weight:700;letter-spacing:-1.5px;line-height:1}.brand-dot{color:#54aaa1}.brand-by{font-size:9px;letter-spacing:2.1px;font-weight:650;color:#8a969d;margin:7px 0 0 9px}.project-heading{display:flex;align-items:center;gap:16px;font-size:12px;font-weight:500}.header-divider{height:24px;width:1px;background:var(--border);margin-right:6px}.version-badge{font-size:8px;letter-spacing:1.1px;border:1px solid #dfe5e8;border-radius:4px;color:#7d898f;padding:3px 5px}.header-right{display:flex;align-items:center;gap:18px;margin-left:auto}.workspace-label{font-size:11px;color:var(--muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:6px;width:34px;height:34px;flex-shrink:0}.icon-button:hover{background:#eef2f4;color:#1b464c}.toolbar{height:57px;flex-shrink:0;border-bottom:1px solid #dce3e7;display:flex;justify-content:space-between;align-items:center;padding:0 22px;gap:16px;background:#fdfefe;z-index:1}.tool-group{display:flex;align-items:center;gap:5px}.tool{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:34px;padding:0 11px;font-size:11px;font-weight:500;background:transparent;border:1px solid transparent;border-radius:6px;white-space:nowrap}.tool:hover{background:#eef2f4}.tool.active{background:#e7f2f0;border-color:#d0e7e2;color:#096e67}.tool[aria-pressed=true]{color:#315b60}.tool[aria-pressed=false]{color:#9ba5ab}.tool-divider{height:20px;width:1px;background:var(--border);margin:0 7px}.zoom-controls{display:flex;align-items:center;gap:2px;border:1px solid var(--border);border-radius:7px;height:34px;padding:0 2px;flex-shrink:0;background:white}.zoom-controls .icon-button{height:28px;width:28px}.zoom-controls svg{width:15px;height:15px}.zoom-value{background:transparent;border:0;font-family:var(--mono);font-size:11px;min-width:59px;height:28px;border-radius:4px}.zoom-value:hover{background:#f0f4f5}.viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#f4f7f8;isolation:isolate}canvas{display:block;position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:none}canvas.dragging{cursor:grabbing}.view-label{position:absolute;top:22px;left:25px;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.92);border:1px solid #e1e7ea;box-shadow:0 2px 5px #1b464c04;border-radius:7px;padding:9px 11px;font-size:10px;pointer-events:none}.view-label svg{color:#84959d;width:14px;height:14px}.view-label-divider{height:12px;width:1px;background:#dfe5e8;margin:0 2px}.view-dimension{font-family:var(--mono);font-size:9px;color:#8a969d}.navigation-hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;white-space:nowrap;font-size:10px;color:#88969e;background:#f4f7f8e8;border:1px solid #e5ebed;border-radius:20px;padding:9px 16px;pointer-events:none}.navigation-hint i{width:3px;height:3px;background:#9baab0;border-radius:50%}.scale{position:absolute;left:28px;bottom:28px;color:#7a8991;font-family:var(--mono);font-size:10px;text-align:center;pointer-events:none}#scale-bar{width:80px;height:7px;border:1px solid #87969d;border-top:0;margin-top:5px}.orientation{position:absolute;right:30px;bottom:26px;width:38px;height:45px;pointer-events:none;font-family:var(--mono);font-size:9px}.orientation-line-y{position:absolute;left:9px;top:12px;height:26px;width:1px;background:#bd6066}.orientation-line-x{position:absolute;left:9px;bottom:7px;width:25px;height:1px;background:#388d7c}.orientation-y{position:absolute;left:6px;top:0;color:#bd6066}.orientation-x{position:absolute;right:-3px;bottom:3px;color:#388d7c}.orientation-origin{position:absolute;width:4px;height:4px;border-radius:50%;background:#89949a;left:7.5px;bottom:5.5px}.statusbar{height:33px;flex-shrink:0;display:flex;align-items:center;gap:27px;padding:0 26px;border-top:1px solid #dce3e7;font-size:10px;color:#829099;background:#fff}.status-left{display:flex;align-items:center;gap:9px}.status-dot{width:5px;height:5px;border-radius:50%;background:#63998b}.status-separator{color:#c8d1d6;margin:0 1px}.status-grid{display:flex;align-items:center;gap:6px}.status-grid svg{height:12px;width:12px;color:#9aa7ad}.status-grid output{color:#4f666f;margin-left:3px}.coordinates{display:flex;gap:21px;margin-left:auto;font-family:var(--mono);font-size:10px}.coordinates>span{white-space:nowrap}.coordinates output{display:inline-block;min-width:55px;text-align:right;color:#536871}.coordinate-unit{color:#9eabb2}dialog{width:min(470px,calc(100vw - 32px));padding:30px;border:1px solid #d9e3e5;border-radius:14px;color:#35444d;box-shadow:0 24px 100px #163d4930}dialog::backdrop{background:#1d354133;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.eyebrow{font-size:9px;color:var(--accent);letter-spacing:1.7px;margin:0 0 10px;font-weight:600}h1{font-size:21px;letter-spacing:-.6px;font-weight:600;margin:0}.help-intro,.help-note{font-size:12px;line-height:1.7;color:#7a8991}.help-intro{margin:17px 0 20px}.shortcut-list{margin:0}.shortcut-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf0f2;padding:12px 0;font-size:11px}.shortcut-list dd{margin:0;color:#7d8c93}.shortcut-list kbd{font-family:var(--mono);border:1px solid #dfe5e7;padding:2px 5px;border-radius:4px;background:#f7f9fa;font-size:10px}.help-note{border-top:1px solid #edf0f2;padding-top:15px;margin-bottom:0}
@media(max-width:700px){.app-header{height:36px;padding:0 16px;gap:16px}.brand-by,.workspace-label{display:none}.brand-name{font-size:25px}.brand-mark{width:27px}.project-heading{gap:10px;font-size:11px}.header-divider{margin:0}.header-right{gap:0}.toolbar{padding:0 12px;gap:8px;height:53px}.tool{padding:0 8px;gap:6px}.tool-divider{margin:0 3px}.view-label{left:16px;top:16px}.statusbar{padding:0 16px;gap:14px}.coordinates{gap:10px}.coordinates output{min-width:43px}.navigation-hint{bottom:74px}.scale{left:18px;bottom:23px}.orientation{right:23px;bottom:20px}}
@media(max-width:470px){.tool span{display:none}.tool{width:33px;padding:0}.tool-divider{margin:0 2px}.tool-group{gap:2px}.zoom-controls{gap:0}.zoom-value{min-width:48px}.statusbar{font-size:9px;gap:10px}.status-left .status-separator,.status-left>span:last-child{display:none}.coordinates{gap:8px;font-size:9px}.coordinates output{min-width:37px}.coordinate-unit{display:none}.navigation-hint{font-size:9px;padding:8px 12px;gap:9px}.version-badge{font-size:7px}.project-heading{gap:8px}.app-header{gap:12px}dialog{padding:23px}}

/* Project tools float above the drawing, leaving the header for the brand. */
.project-launcher{position:absolute;right:26px;bottom:25px;z-index:3;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.project-trigger{display:flex;align-items:center;gap:11px;height:48px;padding:0 18px;border:1px solid #08766f;border-radius:24px;background:var(--accent);color:#fff;font-size:12px;font-weight:600;box-shadow:0 5px 18px #125a5c25;transition:background .16s,box-shadow .16s}
.project-trigger:hover{background:#096e67;box-shadow:0 7px 22px #125a5c30}.project-trigger:focus-visible{outline:2px solid #087f79;outline-offset:4px}.project-trigger .project-chevron{width:14px;height:14px;transition:transform .18s}.project-trigger[aria-expanded=true] .project-chevron{transform:rotate(180deg)}
.project-options{display:flex;flex-direction:column;gap:9px;align-items:flex-end;padding:4px 8px 4px 4px;margin-right:5px;max-height:calc(100dvh - 210px);overflow-y:auto;scrollbar-width:thin}.project-options[hidden]{display:none}
.project-option{position:relative;display:flex;align-items:center;gap:11px;flex-shrink:0;min-width:154px;height:42px;padding:0 15px;background:#fff;border:1px solid #dce6e8;border-radius:12px;font-size:12px;font-weight:500;box-shadow:0 3px 10px #24494f0b;animation:option-reveal .18s ease-out backwards;transition:background .15s,border-color .15s}
.project-option::after{content:'';position:absolute;right:-4px;bottom:12px;width:6px;height:6px;transform:rotate(-45deg);border-right:1px solid #dce6e8;border-bottom:1px solid #dce6e8;background:inherit}.project-option:hover{background:#f0f7f5;border-color:#c6ddd7}.project-option:hover::after{border-color:#c6ddd7}.project-option svg{width:18px;height:18px;color:#497278}.project-option[aria-pressed=true]{color:#08756e}.option-indicator{height:5px;width:5px;border-radius:50%;background:#cbd4d7;margin-left:auto}.project-option[aria-pressed=true] .option-indicator{background:#16998b}
.project-option:nth-child(1){animation-delay:.06s}.project-option:nth-child(2){animation-delay:.04s}.project-option:nth-child(3){animation-delay:.02s}.orientation{right:199px}.brand-by{display:inline}
@keyframes option-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.project-launcher{right:17px;bottom:19px}.orientation{right:185px;bottom:21px}.brand-by{display:inline}}
@media(max-width:470px){.project-trigger{height:46px;padding:0 16px}.project-option{min-width:148px;height:43px}.orientation{right:177px}}
@media(prefers-reduced-motion:reduce){.project-option{animation:none}.project-trigger,.project-chevron{transition:none}}

/* Architecture ribbon and wall model library. */
[hidden]{display:none!important}:is(.category-tab,.file-menu-button){align-self:stretch;border:0;border-bottom:2px solid transparent;background:transparent;margin-left:16px;padding:3px 16px 0;font-size:10px;letter-spacing:1.2px;font-weight:600;color:#77868d}:is(.category-tab,.file-menu-button)[aria-expanded=true]{color:var(--accent);border-bottom-color:var(--accent);background:#f6faf9}.architecture-tools{position:relative;z-index:5;flex-shrink:0;background:#fff;border-bottom:1px solid var(--border)}.architecture-row{min-height:55px;display:flex;align-items:center;gap:14px;padding:8px 25px}.ribbon-tool{display:flex;align-items:center;gap:9px;min-height:36px;background:#fff;border:1px solid #e1e8e9;border-radius:7px;padding:0 12px;font-size:12px;white-space:nowrap}.ribbon-tool:hover,.ribbon-tool.is-active{background:#eaf5f2;border-color:#c5e1da;color:#087f79}.small-chevron{width:12px;height:12px;transform:rotate(180deg)}.ribbon-separator{height:21px;width:1px;background:var(--border)}.active-model-label{font-size:11px;color:#7c8a90;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:340px}.model-config{border-color:transparent;color:#698087}.history-tools{margin-left:auto;display:flex;gap:3px}.history-tools .icon-button svg{width:17px;height:17px}.history-tools button[aria-pressed=true]{color:var(--accent);background:#eaf5f2}.wall-tool-wrap{position:relative}.wall-library{position:absolute;left:0;top:44px;width:290px;max-width:calc(100vw - 30px);background:white;border:1px solid #dbe5e7;border-radius:12px;box-shadow:0 12px 35px #153f4a1f;padding:15px;z-index:6}.panel-eyebrow{font-size:9px;letter-spacing:1.4px;color:#83939a;margin:0 0 10px}.model-card{display:flex;align-items:center;gap:12px;width:100%;padding:12px 8px;text-align:left;background:white;border:1px solid transparent;border-radius:8px}.model-card:hover{background:#f0f7f5;border-color:#d8e9e4}.model-card-swatch{width:12px;height:33px;border:1px solid #88969b55;border-radius:3px;flex-shrink:0}.model-card strong{font-size:12px;font-weight:550;display:block;overflow-wrap:anywhere}.model-card small{display:block;font-size:10px;color:#8c999f;margin-top:5px}.library-config{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#f7faf9;border:1px solid #e4ece9;border-radius:7px;font-size:11px;padding:10px;margin-top:10px;color:#628078}.library-config svg{width:15px;height:15px}#model-cards{max-height:260px;overflow:auto}.wall-modes{display:flex;align-items:center;gap:6px;min-height:49px;padding:6px 25px 10px;border-top:1px solid #f1f4f5;overflow-x:auto}.mode-caption{font-size:8px;letter-spacing:1.2px;color:#98a3a8;margin-right:11px}.mode-button{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 11px;background:white;border:1px solid transparent;border-radius:6px;font-size:11px;white-space:nowrap}.mode-button svg{width:17px;height:17px}.mode-button:hover{background:#f2f6f6}.mode-button[aria-pressed=true]{background:#eaf5f2;color:#08776f;border-color:#cce4dd}.axis-note{margin-left:auto;font-size:10px;color:#9aa6ac;white-space:nowrap;padding-left:15px}canvas.drawing-wall{cursor:crosshair}canvas.space-pan{cursor:grab}canvas.dragging{cursor:grabbing}.navigation-hint.drawing-instructions{font-size:10px;bottom:26px;max-width:calc(100% - 360px);white-space:normal;text-align:center;line-height:1.5}.drawing-message{position:absolute;top:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);padding:11px 16px;border:1px solid #dbe6e5;background:#fff;border-radius:8px;box-shadow:0 4px 14px #16414a0e;font-size:12px;color:#7c5748;z-index:4}.selection-card{position:absolute;top:20px;right:24px;display:flex;align-items:center;gap:17px;max-width:calc(100% - 200px);background:#ffffffed;border:1px solid #dce6e8;border-radius:8px;padding:12px 14px;box-shadow:0 4px 10px #16414a07}.selection-card strong{display:block;font-size:12px;font-weight:550}.selection-card span{display:block;color:#7b8a91;font-size:10px;margin-top:5px;overflow-wrap:anywhere}.delete-wall{border:0;background:transparent;color:#a67064;font-size:10px;padding:7px}.save-status{color:#95a19e;font-size:9px;margin-left:auto;white-space:nowrap}.wall-count{font-size:9px;white-space:nowrap;color:#7b8b92}.measurement{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:10px;white-space:nowrap;color:#457970}.measurement input{width:119px;min-width:0;height:25px;border:1px solid #d2e3df;background:#f7faf9;border-radius:4px;padding:0 7px;font-family:var(--mono);font-size:11px;color:#1b6058;outline:none}.measurement input:focus{border-color:#289d8d;background:#fff;box-shadow:0 0 0 2px #24988615}.measurement input[aria-invalid=true]{border-color:#c08471}.measurement input:disabled{border-color:#e8edee;background:#f9fbfb}.measurement>button{width:25px;height:25px;border:1px solid #d2e3df;border-radius:4px;background:#eff7f4;color:#087f79}.statusbar{gap:18px;height:36px}.statusbar:has(.measurement:not([hidden])) .coordinates{display:none}.statusbar:has(.measurement:not([hidden])) .save-status{margin-left:0}.model-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 30px);padding:26px}.model-picker{margin:23px 0 16px}.model-picker>label,.form-field{font-size:11px;font-weight:500;color:#536b72}.model-picker>div{display:flex;gap:8px;margin-top:7px}.model-picker select{flex:1;min-width:0}.model-picker select,.form-field input{height:37px;border:1px solid #dce5e6;border-radius:6px;background:#fff;padding:0 10px;font:inherit;color:#3a555e;width:100%}.model-picker button{background:#f1f8f5;border:1px solid #d4e7df;color:#087f79;border-radius:6px;font-size:11px;padding:0 12px;white-space:nowrap}.form-field{display:block;margin-top:15px}.form-field input{display:block;margin-top:7px;font-size:12px}.form-field>span{color:#9aaaae;float:right;font-weight:400}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.finish-fields{grid-template-columns:1fr 74px}.form-field input[type=color]{padding:5px;cursor:pointer}.model-sample{display:flex;align-items:center;gap:14px;padding:12px;background:#f6f8f8;border:1px solid #edf0f1;border-radius:7px;margin-top:20px}.model-sample>span{display:block;width:65px;height:12px;background:#a6adb0;border:1px solid #74858b}.model-sample p{font-size:11px;color:#61747c;margin:0;line-height:1.7}.model-sample small{font-size:10px;color:#99a4a9}.model-note{font-size:10px;line-height:1.6;color:#8d9ba0;margin:13px 0}.form-error{color:#a85848;font-size:11px;line-height:1.5;margin:8px 0}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:19px}.form-actions button{border:1px solid #dce5e6;border-radius:7px;background:white;font-size:12px;padding:10px 14px}.form-actions .primary-button{background:var(--accent);border-color:var(--accent);color:#fff}.form-field input:focus,.model-picker select:focus{outline:2px solid #abd2c9;outline-offset:1px}.project-options{padding-top:10px;padding-bottom:10px}
@media(max-width:1000px){.save-status{display:none}.axis-note{display:none}.active-model-label{max-width:280px}.navigation-hint.drawing-instructions{max-width:calc(100% - 300px)}}
@media(max-width:700px){.category-tab{margin-left:auto;font-size:9px;padding:3px 9px 0}.architecture-row{padding:8px 15px;gap:7px;flex-wrap:wrap}.active-model-label{font-size:10px;max-width:calc(100% - 250px);min-width:80px}.ribbon-tool{padding:0 9px;font-size:11px}.model-config span{display:none}.history-tools{gap:0}.history-tools .icon-button{width:28px}.wall-modes{padding:6px 14px 9px;gap:3px}.mode-caption{display:none}.mode-button{padding:0 9px;font-size:10px}.navigation-hint.drawing-instructions{bottom:82px;max-width:calc(100% - 32px);width:max-content}.statusbar{gap:10px;padding:0 12px}.statusbar:has(.measurement:not([hidden])) .status-grid,.statusbar:has(.measurement:not([hidden])) .wall-count{display:none}.measurement{gap:5px;font-size:9px}.measurement input{width:108px}.selection-card{top:65px;left:15px;right:15px;max-width:none}.model-dialog{padding:22px}.model-dialog h1{font-size:20px}.drawing-message{font-size:11px;top:65px}}
@media(max-width:470px){.architecture-row{gap:5px}.architecture-row .ribbon-separator{display:none}.active-model-label{max-width:110px;min-width:0;flex:1;white-space:normal;line-height:1.4}.ribbon-tool{gap:6px;padding:0 8px}.ribbon-tool svg{width:16px;height:16px}.ribbon-tool .small-chevron{width:10px}.model-config{padding:0 6px}.history-tools .icon-button{width:26px}.measurement input{width:100px}.category-tab{font-size:8px;letter-spacing:.8px}.brand-by{font-size:8px;letter-spacing:1.5px;margin-left:5px}.app-header{gap:8px}.wall-count{margin-left:auto}.coordinates{margin-left:0}.statusbar:has(.measurement:not([hidden])) .status-left{display:none}.measurement{width:100%;justify-content:flex-end}.navigation-hint.drawing-instructions{font-size:10px;bottom:85px}.form-columns{gap:11px}}

/* Compact drafting palette, keeping room for the drawing. */
.architecture-tools{display:flex;align-items:center;gap:12px;padding-right:20px;min-height:68px}
.architecture-row{flex:1;padding-block:10px}.wall-modes{order:0;margin-left:0;display:grid;grid-template-columns:repeat(2,auto);gap:3px;padding:5px;border:1px solid #dce8e5;border-radius:9px;overflow:visible;background:#f8fbfa;flex-shrink:0}.wall-modes .mode-caption{display:none}.mode-button{min-height:29px;font-size:10px;padding:0 8px;background:transparent}.mode-button svg{width:17px;height:17px}.selection-action{background:#eef7f4;border:1px solid #cee4dd;border-radius:6px;padding:8px;color:#087f79;font-size:10px}.selection-card{flex-wrap:wrap}.selection-card>div{flex:1;min-width:160px}canvas.editing-wall,canvas.moving-elements{cursor:move}.model-delete-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}.model-delete-row button{background:#fff;border:1px solid #e7d6d0;color:#9c6356;border-radius:6px;padding:8px;font-size:11px}.model-delete-row span{flex-basis:100%;font-size:10px;color:#88989a}.model-delete-row #restore-model{color:#087f79;border-color:#cee4dd}
@media(max-width:700px){.architecture-tools{gap:0;padding-right:5px;flex-wrap:wrap}.architecture-row{padding:8px 12px;min-width:190px}.wall-modes{order:0;margin:0 12px 8px;width:calc(100% - 24px);grid-template-columns:repeat(4,1fr);gap:2px}.mode-button{justify-content:center;flex-direction:column;gap:3px;font-size:8px;padding:6px 2px;white-space:normal;text-align:center}.selection-card{gap:8px}.selection-card>div{flex-basis:100%}}

.architecture-tools{display:block;padding-right:0}.architecture-row{gap:18px;min-height:88px}.wall-modes{margin:0;order:0}.history-tools{margin-left:auto}
@media(max-width:700px){.architecture-row{gap:8px;min-height:64px}.wall-modes{order:2;width:100%;margin:0;grid-template-columns:repeat(4,1fr)}.history-tools{margin-left:auto}.wall-library{top:42px}}

.view-label{pointer-events:auto}.view-switch{background:#edf7f3;border:1px solid #d4e6e0;border-radius:5px;color:#087f79;font-size:11px;padding:6px 9px}.three-panel{position:absolute;inset:0;z-index:8;background:#f4f7f8}.three-panel canvas{cursor:grab}.three-panel canvas:active{cursor:grabbing}.three-toolbar{position:absolute;top:20px;left:24px;right:24px;display:flex;gap:8px;align-items:center;pointer-events:none}.three-toolbar button{pointer-events:auto;background:#fffffff2;border:1px solid #d7e5e2;border-radius:7px;padding:10px 13px;font-size:11px;color:#306d63;box-shadow:0 3px 12px #163d4908}.three-toolbar span{font-size:9px;letter-spacing:1.4px;color:#708c85;margin:0 auto 0 8px}.three-message{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);font-size:11px;line-height:1.6;color:#69837c;background:#ffffffe6;border:1px solid #dce8e5;padding:10px 16px;border-radius:20px;text-align:center;pointer-events:none;max-width:calc(100% - 30px);width:max-content}.in-3d #viewport>.view-label{display:none}
@media(max-width:700px){.three-toolbar{left:12px;right:12px;top:14px;gap:5px}.three-toolbar button{font-size:10px;padding:9px}.three-toolbar span{display:none}.three-toolbar #fit-3d{margin-left:auto}.three-message{font-size:10px}}

.modify-palette{display:grid;grid-template-columns:repeat(2,auto);gap:3px;padding:5px;border-left:1px solid #dce8e5}.modify-palette button{min-height:28px;border:1px solid transparent;border-radius:5px;background:#fff;padding:4px 9px;font-size:10px;color:#58746c}.modify-palette button:hover,.modify-palette button[aria-pressed=true]{background:#eaf5f2;border-color:#cce4dd;color:#087f79}.modify-options{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 25px;border-top:1px solid #edf2f1;background:#f8fbfa;font-size:11px;color:#53766e}.modify-options select{font:inherit;border:1px solid #cddfd9;background:#fff;border-radius:5px;padding:5px;color:#42665d}.modify-options button{margin-left:auto;border:0;background:transparent;color:#087f79;font:inherit}.three-toolbar button[aria-pressed=true]{background:#d8f1e9;border-color:#4f9e8b}.three-toolbar{flex-wrap:wrap}
@media(max-width:700px){.modify-palette{order:3;grid-template-columns:repeat(4,1fr);width:100%;border-left:0;border-top:1px solid #e3ece8}.modify-palette button{font-size:9px;padding:5px 2px}.modify-options{padding:8px 12px;gap:8px}.modify-options #modify-instruction{flex-basis:100%;order:2}.three-toolbar #align-height{margin-left:0}}

.form-field select{display:block;margin-top:7px;width:100%;height:37px;border:1px solid #dce5e6;border-radius:6px;background:#fff;padding:0 9px;color:#3a555e;font:inherit}.level-zero{display:flex;justify-content:space-between;margin-top:16px;background:#edf5f2;padding:14px;border-radius:7px;font-size:12px;color:#397267}.architecture-row{flex-wrap:wrap}.selection-card{z-index:2}.selection-action{white-space:nowrap}.model-dialog p[aria-live]{min-height:18px}
@media(max-width:700px){#floor-tool,#levels-tool{font-size:10px}.selection-card{max-height:160px;overflow:auto}}
/* Docked element properties and contextual drawing tools. */
.workspace-body{display:flex;flex:1;min-height:0;min-width:0}.workspace-body>.viewport{min-width:0}.properties-panel{width:310px;flex:0 0 310px;min-height:0;overflow:auto;background:#fff;border-left:1px solid #dce6e4;z-index:4;scrollbar-width:thin}.properties-panel>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e5edea;background:#f8fbfa;position:sticky;top:0;z-index:2}.properties-panel h2{font-size:14px;margin:0;font-weight:600}.properties-panel .panel-eyebrow{font-size:8px;margin:0 0 4px}.properties-panel #properties-content{padding:0 16px 20px}.properties-panel .dialog-header{padding-top:16px;display:block;margin-bottom:8px}.properties-panel h1{font-size:15px;letter-spacing:-.2px}.properties-panel .eyebrow{display:none}.properties-panel .form-field{margin-top:11px;font-size:10px}.properties-panel .form-field input,.properties-panel .form-field select{height:32px;margin-top:5px;font-size:11px}.properties-panel .form-columns{gap:10px}.properties-panel .form-actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0;margin-top:8px;border-top:1px solid #e5edea}.properties-panel .form-actions button{width:100%;font-size:11px;padding:9px}.property-section{background:#f0f6f4;border-block:1px solid #e3ece8;color:#457970;margin:16px -16px 0;padding:8px 16px;font-size:10px;font-weight:600}.property-model{border-left:4px solid #8baaa1;padding:9px 12px;background:#f8faf9;font-size:12px}.properties-panel .selection-card{position:static;margin:12px 16px 0;padding:10px;max-width:none;max-height:none;gap:7px;box-shadow:none;background:#f7faf9;border-color:#e0ebe6}.properties-panel .selection-card>div{min-width:0;flex-basis:100%}.properties-panel .selection-card #element-levels{display:none}.properties-panel .selection-card span{line-height:1.6}.properties-panel .model-note{color:#738982}.architecture-row{gap:12px;padding-block:8px;min-height:82px}.wall-modes{grid-template-columns:repeat(2,minmax(95px,auto));position:relative;padding:6px 6px 20px}.wall-modes:after{content:'DESENHAR PAREDE';position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:1px;color:#8c9e98}.floor-modes:after{content:'CONTORNO DO PISO'}.mode-button{justify-content:flex-start;min-height:29px}.sketch-actions{display:grid;grid-template-columns:auto auto;gap:5px;border-left:1px solid #e1e9e5;padding-left:12px}.sketch-actions button{font-size:11px;padding:8px 10px;border:1px solid #cce4db;background:#ecf6f1;color:#087f79;border-radius:5px}.sketch-actions #cancel-floor{background:#fff;color:#ab6961;border-color:#eddcd7}.sketch-actions span{grid-column:1/-1;font-size:9px;color:#80958d}.navigation-hint{max-width:calc(100% - 50px);white-space:normal;text-align:center;width:max-content}.navigation-hint.drawing-instructions{max-width:calc(100% - 270px)}
@media(max-width:1000px){.properties-panel{width:265px;flex-basis:265px}.architecture-row{gap:7px;padding-inline:12px}.modify-palette{gap:0;padding-left:4px}.modify-palette button{padding-inline:6px}.wall-modes{grid-template-columns:repeat(2,auto)}.navigation-hint.drawing-instructions{bottom:84px;max-width:calc(100% - 30px)}}
@media(max-width:700px){.workspace-body{position:relative}.properties-panel{position:absolute;right:0;top:0;bottom:0;width:min(270px,75vw);box-shadow:-4px 0 18px #224f4d16}.wall-modes{order:2;width:auto;grid-template-columns:repeat(4,auto);padding-bottom:20px;flex:1}.floor-modes{grid-template-columns:repeat(3,auto)}.sketch-actions{order:2}.mode-button{flex-direction:column;font-size:8px}.modify-palette{order:3}.properties-panel .selection-card{margin:10px 12px}.properties-panel #properties-content{padding-inline:12px}.architecture-row{gap:6px}.history-tools{margin-left:auto}.properties-panel>header{padding:10px 12px}}
.properties-panel .form-field{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:8px;margin-top:7px;line-height:1.35}.properties-panel .form-field input,.properties-panel .form-field select{margin-top:0;height:30px;min-width:0;padding-inline:7px}.properties-panel .form-columns{display:block}.properties-panel .property-section{margin-top:12px;padding-block:7px}.properties-panel .model-note{margin:10px 0;font-size:10px}.properties-panel .property-model{margin-block:10px;padding-block:8px}
/* Single horizontal ribbon; element settings belong to the properties panel. */
.architecture-row{min-height:58px;padding:8px 25px;gap:12px;flex-wrap:nowrap}.wall-modes,.floor-modes{display:flex;flex-direction:row;align-items:center;gap:3px;order:0;width:auto;flex:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.wall-modes:after,.floor-modes:after{display:none}.wall-modes .mode-caption{display:none}.mode-button{flex-direction:row;justify-content:center;font-size:11px;padding:0 10px;min-height:34px;white-space:nowrap;gap:7px}.modify-palette{display:flex;flex-direction:row;align-items:center;gap:3px;width:auto;order:0;border:0;padding:0}.modify-palette button{font-size:11px;min-height:34px;padding:0 9px;white-space:nowrap}.floor-tool-wrap{position:relative;flex-shrink:0}.history-tools{margin-left:auto;flex-shrink:0}.floor-tool-wrap #floor-model-cards{max-height:260px;overflow:auto}.properties-panel>#levels-tool{margin:10px 16px;width:calc(100% - 32px);justify-content:center;font-size:10px;min-height:30px;background:#f8fbfa}.properties-panel .sketch-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0;margin-top:10px;border-left:0;border-top:1px solid #e1e9e5}.properties-panel .sketch-actions span{flex-basis:100%;font-size:10px}.properties-panel .sketch-actions button{flex:1;min-height:34px}.properties-panel .form-field input[readonly]{background:#f5f8f7;color:#637c74}.properties-panel .form-actions:has(button[hidden]){display:none}
@media(max-width:1150px){.architecture-row{flex-wrap:wrap;padding-inline:12px;gap:6px}.mode-button{font-size:10px;padding-inline:7px}.modify-palette button{font-size:10px;padding-inline:7px}.wall-modes,.floor-modes{flex:none;width:auto}.modify-palette{width:auto}.history-tools{margin-left:auto}}

/* The 3D canvas shares the editor shell and its property inspector. */
#three-overlay{position:absolute;inset:0;z-index:1;pointer-events:none}.three-toolbar,.three-message{z-index:2}.in-3d .drawing-message{z-index:12}.in-3d .project-launcher{z-index:10}.in-3d #drawing,.in-3d .scale,.in-3d .orientation,.in-3d #navigation-hint{visibility:hidden}#undo-3d{display:none}
.modify-palette{gap:5px}.modify-palette .modify-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:8px;border-radius:7px;flex:none;color:#496771}.modify-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-tooltip{position:fixed;z-index:1000;max-width:280px;padding:11px 14px;background:#263f45;color:#fff;border-radius:8px;box-shadow:0 5px 20px #1233;font-size:12px;line-height:1.5;pointer-events:none}.geometry-actions{padding:12px 16px;border-block:1px solid #e4d3e1;background:#fdf7fc}.geometry-actions p{font-size:11px;line-height:1.6;color:#905482;margin:0 0 8px}.geometry-actions>div{display:flex;gap:8px}.apply-edit,.cancel-edit{min-width:46px;min-height:38px;border:1px solid #bdd8c9;border-radius:6px;background:#e4f4ea;color:#21894d;font-size:24px;font-weight:600}.cancel-edit{background:#fff4f4;border-color:#edcfce;color:#b64e4b}.properties-panel .sketch-actions button{font-size:24px;color:#21894d}.properties-panel .sketch-actions #cancel-floor{color:#b64e4b}#join-status{font-size:11px;color:#087f79}.geometry-actions[hidden]{display:none}

.properties-panel.editing-geometry .form-actions{display:none}.properties-panel.editing-geometry .sketch-actions{display:none}
.properties-panel .element-confirmation{justify-content:flex-start}.properties-panel .element-confirmation button{width:46px;font-size:24px;padding:2px 8px}.properties-panel .element-confirmation .apply-edit{background:#e4f4ea;border-color:#bdd8c9;color:#21894d}.properties-panel .element-confirmation .cancel-edit{background:#fff4f4;border-color:#edcfce;color:#b64e4b}
.properties-panel.creating-floor #floor-form .element-confirmation{display:none}
canvas.selecting-elements:not(.editing-wall):not(.space-pan):not(.dragging){cursor:default}
.view-cube{position:absolute;top:16px;right:18px;z-index:3;width:168px;height:177px;user-select:none;color:#6e898b;filter:drop-shadow(0 4px 5px #254b4512)}
.view-cube .cube-scene{position:absolute;top:16px;left:0;width:168px;height:150px;overflow:visible;touch-action:none;cursor:grab;stroke-linejoin:round}
.view-cube.dragging .cube-scene{cursor:grabbing}
.cube-face{outline:none;cursor:pointer}.cube-face polygon{fill:#f9fbfc;stroke:#829b9c;stroke-width:1;transition:fill .12s}.cube-face:nth-child(odd) polygon{fill:#e7eef0}.cube-face text{fill:#536d72;stroke:none;font:600 7px 'Segoe UI',sans-serif;text-anchor:middle;dominant-baseline:middle;pointer-events:none;letter-spacing:.2px}
.cube-face:hover polygon,.cube-face:focus-visible polygon{fill:#c7e5df;stroke:#087f79;stroke-width:1.6}.cube-face:focus-visible{outline:none}
.cube-edge{stroke:transparent;stroke-width:9;cursor:pointer;outline:none}.cube-corner{fill:transparent;stroke:none;cursor:pointer;outline:none}.cube-edge:hover,.cube-edge:focus-visible{stroke:#37a398a0}.cube-corner:hover,.cube-corner:focus-visible{fill:#087f79;stroke:white;stroke-width:1.5}
.cube-compass{fill:none;stroke:#bdcbcf;stroke-width:1;pointer-events:none}.cube-compass text{stroke:none;fill:#8aa0a3;font:9px 'Segoe UI',sans-serif;text-anchor:middle;dominant-baseline:middle}
.view-cube button{position:absolute;z-index:1;display:grid;place-items:center;width:28px;height:28px;padding:5px;border:1px solid transparent;border-radius:6px;background:transparent;color:#718f90}.view-cube button:hover,.view-cube button:focus-visible{background:#fff;border-color:#c9ddda;color:#087f79}.view-cube button svg{width:17px;height:17px}.cube-home{top:0;left:4px}.cube-turn{top:0}.cube-turn-left{right:32px}.cube-turn-right{right:0}.cube-hint{position:absolute;bottom:0;width:100%;text-align:center;font-size:9px;color:#809796;pointer-events:none}
@media(max-width:700px){.view-cube{top:10px;right:9px;transform:scale(.8);transform-origin:top right}.three-toolbar{right:154px}.three-toolbar span{display:none}}
.dimension-labels{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.three-panel>.dimension-labels{z-index:2}.in-3d #viewport>.dimension-labels{display:none}
.dimension-value{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;white-space:nowrap;border:1px solid #d6e3e8;background:#f8fbfcf5;border-radius:5px;padding:4px 7px;color:#587e92;font:11px var(--mono);box-shadow:0 1px 3px #274e4c0a}.dimension-value.editable{color:#087f79;border-color:#a7cfc7;background:#f3fbf8;cursor:text}.dimension-value:hover,.dimension-value:focus-visible{border-color:#087f79;background:white;outline:1px solid #087f79}
.dimension-input{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;pointer-events:auto;background:#fff;border:1px solid #087f79;border-radius:5px;padding:3px 6px;box-shadow:0 3px 12px #24574920;color:#087f79;font:11px var(--mono)}.dimension-input input{width:86px;min-width:0;border:0;outline:0;font:12px var(--mono);color:#214d50;background:transparent;padding:3px;text-align:center}.dimension-input:has([aria-invalid=true]){border-color:#b64e4b;outline:1px solid #b64e4b}
.display-modes{display:flex;align-items:center;gap:2px;flex-shrink:0;padding-left:10px;border-left:1px solid #dce6e4;margin-left:-15px}.display-modes button{display:flex;align-items:center;gap:5px;height:25px;padding:0 7px;background:transparent;border:1px solid transparent;border-radius:4px;white-space:nowrap;font-size:10px;color:#73868d}.display-modes svg{width:15px;height:15px}.display-modes button:hover{background:#f0f6f4;color:#087f79}.display-modes button[aria-pressed=true]{background:#e7f4ef;border-color:#cae1d9;color:#087f79}.statusbar>.status-left,.statusbar>.status-grid{flex-shrink:0}
@media(max-width:1050px){.statusbar{gap:14px}.display-modes{margin-left:0;padding-left:7px}.display-modes button{padding:0 5px}}
@media(max-width:800px){.display-modes button span{display:none}.display-modes button{width:27px;justify-content:center;padding:0}.statusbar .wall-count{display:none}.statusbar .coordinates{gap:7px}.statusbar .coordinates output{min-width:35px}}

.floor-opening-tool{margin-left:5px;border-left:1px solid #dce6e4}.floor-opening-row{display:flex;align-items:center;gap:3px;border-bottom:1px solid #e7edeb;padding:5px 0;font-size:11px}.floor-opening-row span{flex:1}.floor-opening-row .icon-button{width:29px;height:29px}.floor-opening-row .icon-button:last-child{color:#b64e4b;font-size:21px}.floor-opening-row svg{width:16px;height:16px}

.component-library{width:340px;max-width:calc(100vw - 32px)}
.component-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:12px;border:1px solid #d3e2df;border-radius:8px;background:#f7faf9;color:#344d55;cursor:pointer}.component-card:hover{background:#eaf5f2;border-color:#83b6ac}.component-card span{display:grid;gap:6px}.component-card strong{font-size:13px}.component-card small{color:#6c858c;font-size:11px}.hatch-thumbnail{width:80px;height:74px;flex:none}.component-library-note{font-size:11px;color:#788e95;line-height:1.5;padding:0 8px}.component-dimensions{font-size:11px;line-height:1.5;margin:12px 0}.component-dimensions div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #edf1f2}.component-dimensions dt{color:#6f848d}.component-dimensions dd{margin:0;text-align:right;color:#365660}
#component-form{padding:20px;display:flex;flex-direction:column;gap:8px}#component-form[hidden]{display:none}#component-form h1{font-size:16px}#component-form .form-field{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;align-items:center;font-size:12px}#component-form input,#component-form select{min-width:0;width:100%;padding:9px;border:1px solid #d6e3e7;border-radius:7px;background:white;color:#365660}#component-form input:disabled,#component-form select:disabled{background:#f3f6f6;color:#8a999e}#component-form input[type=color]{height:36px;padding:6px}

#rotate-component{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:8px;border:0;background:transparent;border-radius:7px;flex:none;color:#496771;cursor:pointer}#rotate-component:hover{background:#e7f3f0}#rotate-component[hidden]{display:none}#component-form{padding:16px 20px;gap:8px}#component-form h1{margin:0 0 4px}#component-form .property-section-title{font-size:11px;color:#487c7b;background:#eef5f3;padding:8px 10px;margin:4px -20px 0}#component-form .model-note{margin:2px 0;font-size:11px;line-height:1.5}.component-specs{font-size:12px;margin-top:10px}.component-specs summary{cursor:pointer;color:#467775;padding:10px 0}.component-specs strong{font-size:12px}
/* Face finishes: compact property fields and lightweight catalogue samples. */
.surface-fields{margin-top:10px;border-top:1px solid #e4ece9;padding-top:2px}.surface-fields select{display:block;width:100%;height:37px;margin-top:7px;border:1px solid #dce5e6;border-radius:6px;background:#fff;padding:0 8px;color:#3a555e;font:inherit}.model-card-swatch{width:34px;height:38px}.model-card-swatch[data-pattern=hijau],#model-swatch[data-pattern=hijau]{background-image:linear-gradient(90deg,#153e3330 1px,transparent 1px),linear-gradient(#153e3330 1px,transparent 1px),linear-gradient(35deg,#0b645544,transparent,#b7d2ba44)!important;background-size:11px 11px,11px 11px,23px 23px!important}.model-card-swatch[data-pattern=mosaic],#model-swatch[data-pattern=mosaic]{background-image:linear-gradient(90deg,#d8edf280 1px,transparent 1px),linear-gradient(#d8edf280 1px,transparent 1px)!important;background-size:6px 6px!important}.model-card-swatch[data-pattern=wood]{background-image:repeating-linear-gradient(0deg,transparent 0 7px,#52341d88 7px 8px),repeating-linear-gradient(2deg,#ffffff0e 0 1px,#36220b11 2px 3px)!important}.model-card-swatch[data-pattern=ceramic],.model-card-swatch[data-pattern=stone]{background-image:linear-gradient(90deg,#91877944 1px,transparent 1px),linear-gradient(#91877944 1px,transparent 1px)!important;background-size:18px 18px!important}.model-card-swatch[data-pattern=vinyl],#model-swatch[data-pattern=vinyl]{background-image:repeating-radial-gradient(ellipse at 20% 20%,#ffffff0d 0 2px,transparent 3px 6px)!important}

.surface-title{font-size:11px;font-weight:600;color:#52767a;margin:14px 0 10px}.surface-tabs{display:flex;gap:4px;border-bottom:1px solid #dbe7e5;padding-bottom:7px}.surface-tabs button{flex:1;padding:9px 4px;border:1px solid transparent;background:transparent;border-radius:6px;color:#59737a;font:inherit;font-size:11px;white-space:nowrap}.surface-tabs button[aria-pressed=true]{background:#e8f5f1;color:#087f79;border-color:#c4e2db}.surface-tabs button:hover{background:#f0f7f5}.surface-hint{font-size:10px;color:#6d8589;line-height:1.5;margin:9px 0 2px}.surface-panel{display:grid;grid-template-columns:1fr 64px;gap:0 12px}.surface-panel .form-field:last-child{grid-column:1/-1}.surface-panel .form-field{margin-top:9px}#properties-content .surface-panel .form-field{display:block}.surface-panel select{margin-top:5px}.flip-interior{width:100%;border:1px solid #d7e6e2;background:#f8fbfa;color:#267c74;border-radius:6px;padding:8px;font:inherit;font-size:11px;margin-top:12px}.flip-interior:hover{background:#eaf5f1}

/* Mixed selection values never imply an overwrite until explicitly changed. */
#bulk-properties[hidden]{display:none}#bulk-properties .bulk-surface-panel[hidden]{display:none}#bulk-properties .form-field[hidden]{display:none}#bulk-properties .has-mixed-value input:not([type=color]),#bulk-properties .has-mixed-value select{color:#7b8f94}#bulk-properties .bulk-mixed{grid-column:2;font-size:9px;color:#7b8f94}#bulk-properties .bulk-mixed[hidden]{display:none}#bulk-properties .has-mixed-value input[type=color]{opacity:.5}#bulk-properties .flip-interior[aria-pressed=true]{background:#e8f5f1;border-color:#98c7bc}#bulk-properties .form-error:empty{display:none}

.component-library{width:350px}.component-library #component-search{width:100%;height:36px;border:1px solid #c9dfda;border-radius:7px;padding:0 10px;margin:2px 0 10px;font:inherit;font-size:12px;color:#37575b;background:#fff}.component-library #component-search:focus{outline:2px solid #91c5ba;outline-offset:1px}#component-cards{display:grid;gap:6px;max-height:min(430px,60vh);overflow:auto;overscroll-behavior:contain;padding-right:3px}.component-card[hidden]{display:none}.component-thumbnail{position:static;inset:auto;width:72px;height:66px;flex:none;cursor:pointer;pointer-events:none}.component-card{padding:8px;gap:10px}.component-card strong{font-size:12px}.component-card small{font-size:10px}.component-card span{gap:4px}#component-form .form-field[hidden],#component-form .model-note[hidden]{display:none}

/* Contextual right dock: catalogues and compact properties share one place. */
.properties-panel{width:300px;flex-basis:300px;border-right:0;border-left:1px solid #dce7e7;order:1;background:#fff}
.properties-panel>header{padding:10px 12px;min-height:45px;gap:8px}
.properties-panel>header .panel-eyebrow{display:none}
.properties-panel>header h2{font-size:14px;margin:0}
.properties-panel>header .icon-button{width:28px;height:28px}
.properties-panel #properties-content{padding:0 12px 12px}
.properties-panel .wall-library{position:static;width:auto;max-width:none;box-shadow:none;border:0;border-radius:0;margin:0;padding:12px}
.properties-panel .wall-library>.panel-eyebrow{display:none}
.properties-panel #component-cards{max-height:none;padding:0;overflow:visible}
.properties-panel .model-card{padding:8px;gap:8px;margin-bottom:5px}
.properties-panel .library-config{min-height:30px;margin-top:8px;padding:7px 8px;font-size:11px}
.properties-panel .selection-card{margin:8px 12px;padding:8px;border-radius:5px;gap:5px;background:#f7faf9}
.properties-panel #selection-detail{font-size:10px;line-height:1.4;margin-top:2px}
.properties-panel #selection-name{font-size:12px}
.properties-panel .selection-action,.properties-panel .delete-wall{padding:5px 7px;min-height:28px;font-size:10px}
.properties-panel #join-status{font-size:10px;line-height:1.4}
#element-properties>#levels-tool{margin:6px 12px 0;width:calc(100% - 24px);min-height:27px;justify-content:center;font-size:10px;background:#f8fbfa}
.properties-panel .dialog-header{padding:0;margin:8px 0 5px;gap:3px}
.properties-panel .dialog-header h1,.properties-panel #component-form h1{font-size:12px;margin:0}
.properties-panel .dialog-header .model-note,.properties-panel #wall-level-scope{display:none}
.properties-panel .form-field,.properties-panel #component-form .form-field{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;font-size:11px;gap:7px;margin-top:5px;line-height:1.3}
.properties-panel .form-field input,.properties-panel .form-field select,.properties-panel #component-form input,.properties-panel #component-form select{height:29px;min-width:0;padding:3px 6px;font-size:11px;border-radius:4px;margin-top:0}
.properties-panel .surface-fields{margin-top:8px;padding-top:0;border:0}
.properties-panel .surface-title{margin:8px 0 5px;font-size:11px}
.properties-panel .surface-tabs{gap:2px;padding-bottom:4px}
.properties-panel .surface-tabs button{padding:6px 3px;font-size:10px}
.properties-panel .surface-hint{margin:4px 0;font-size:10px}
.properties-panel .surface-panel{display:block}
#properties-content .surface-panel .form-field{display:grid}
.properties-panel .flip-interior{padding:6px;margin-top:7px;font-size:10px}
.properties-panel .model-note{font-size:10px;margin:6px 0;line-height:1.45}
.properties-panel .form-error:empty{display:none}
.properties-panel .form-actions{position:sticky;bottom:0;margin:8px 0 0;padding:8px 0;gap:6px;border-top:1px solid #e4ece9;background:#fff;z-index:2}
.properties-panel .apply-edit,.properties-panel .cancel-edit,.properties-panel .element-confirmation button{min-height:30px;min-width:36px;width:36px;font-size:21px;padding:1px 5px}
.properties-panel #component-form{padding:0;gap:2px}
.properties-panel #component-form .property-section-title{padding:5px 8px;margin:6px 0 0;font-size:10px}
.properties-panel .component-specs{margin-top:5px;font-size:11px}
.properties-panel .component-specs summary{padding:5px 0}
.property-tabs{display:flex;gap:4px;padding:5px 0;border-bottom:1px solid #dae6e4;margin-bottom:6px}
.property-tabs button{flex:1;background:transparent;color:#687f83;border:0;border-radius:4px;font:inherit;font-size:11px;padding:7px 3px;cursor:pointer}
.property-tabs button[aria-selected=true]{background:#e7f4f0;color:#087f79;font-weight:600}
.properties-panel .property-tab-panel[hidden]{display:none}
#sections-panel{padding:0 12px 12px}
#sections-panel .library-config{width:100%;justify-content:center;background:#e9f5f1;color:#087f79;border:1px solid #c5e1da;border-radius:5px;cursor:pointer}
#section-list{display:grid;gap:4px;margin:10px 0}
.section-list-item{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;background:#fff;border:1px solid #e1e9e8;border-radius:5px;padding:8px;color:#466269;cursor:pointer}
.section-list-item strong{font-size:11px}.section-list-item small{font-size:10px;color:#799095}
.section-list-item[aria-pressed=true]{border-color:#8ebfb5;background:#edf7f3}
.section-position{font-size:11px;color:#547477;margin-top:12px}.section-position summary{cursor:pointer;padding:5px 0}
.section-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.section-coordinates label{font-size:10px}.section-coordinates input{display:block;width:100%;min-width:0;border:1px solid #dce6e6;border-radius:4px;padding:6px;font:inherit;color:#34575b}
.section-view-actions{display:grid;gap:5px;margin-top:12px}.section-view-actions button{min-height:30px;font:inherit;font-size:11px;border:1px solid #d5e4e0;border-radius:5px;padding:7px;background:#f8fbfa;color:#23786e;cursor:pointer}.section-view-actions button.primary-button{background:#087f79;color:#fff}.section-view-actions button:disabled{opacity:.45;cursor:default}
.section-view .view-cube{display:none!important}
.properties-panel [hidden]{display:none!important}
@media(max-width:1000px){.properties-panel{width:280px;flex-basis:280px}}
@media(max-width:700px){.properties-panel{left:auto;right:0;width:min(300px,82vw);box-shadow:-4px 0 18px #224f4d16}}

.properties-panel{overflow-x:hidden}.properties-panel .property-section{margin-inline:-12px;padding-inline:12px}
.section-view-actions{grid-template-columns:1fr 1fr}.section-view-actions .primary-button{grid-column:1/-1}
#sections-panel:has(#section-form:not([hidden]))>#section-help{display:none}
#section-form .section-edit-hint{font-size:10px;margin:6px 0;line-height:1.4}

/* Name, material and dimensions already have editable fields below. */
.properties-panel .selection-card>div{display:none}
.properties-panel .selection-card{margin-block:6px;padding:5px 7px}

.property-tab-panel:has(#floor-openings:not([hidden])) .empty-openings{display:none}

canvas.drawing-section:not(.space-pan):not(.dragging){cursor:url('./cursors/section.svg') 4 3,crosshair}
#section-tool[aria-pressed=true]{background:#e7f3f0;color:#087f79}

.component-category{display:grid;gap:5px}.component-category h3{font-size:11px;font-weight:600;color:#457970;margin:10px 0 3px;padding-bottom:6px;border-bottom:1px solid #e2ebe8}
.properties-panel .component-card{gap:7px;padding:6px}.properties-panel .component-thumbnail{width:58px;height:56px}.properties-panel .component-card strong{font-size:11px}.properties-panel .component-card small{font-size:10px;line-height:1.3}
.device-installation{border-block:1px solid #e1ebe7;padding:7px 0;margin:7px 0}.device-installation .model-note{color:#467970}
.device-connection-list{display:grid;gap:5px;margin:8px 0}.device-connection{font-size:10px;line-height:1.5;padding:6px 8px;border-left:3px solid #6daec6;background:#f3f8fa}.device-connection[data-medium=air]{border-color:#b38bd1}.device-connection[data-medium=electrical]{border-color:#d6b264}
.device-connections{display:grid;gap:4px;margin-top:8px}.device-connections p{margin:0;font-size:10px;padding:5px 7px;background:#f3f8fa;border-left:3px solid #2488ad}.device-connections [data-medium=air]{border-color:#bd8a32}.device-connections [data-medium=electrical]{border-color:#a162bd}

/* Keep the workspace clear. Tool descriptions remain in hover tips/properties. */
#navigation-hint,#three-message:not(.essential-message),#drawing-message:not(.essential-message){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;pointer-events:none!important}
.visibility-toggle,.visibility-restore{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:27px;padding:4px;border:1px solid transparent;border-radius:4px;background:transparent;color:#68848b}.visibility-toggle:hover,.visibility-restore:hover{background:#edf4f2}.visibility-toggle.has-hidden:after{content:'';position:absolute;right:3px;top:3px;width:5px;height:5px;background:#cc4557;border-radius:50%}.visibility-toggle[aria-pressed=true]{color:#bc2940;background:#fff0f2;border-color:#eac0c6}.visibility-restore{color:#147d71}.visibility-restore:disabled{opacity:.35}.revealing-hidden:after{content:'';position:absolute;inset:0;z-index:15;box-shadow:inset 0 0 0 2px #dc5265;pointer-events:none}.element-context-menu{position:fixed;z-index:1000;padding:5px;background:#fff;border:1px solid #d8e3e1;border-radius:7px;box-shadow:0 7px 25px #183d482b;min-width:265px}.element-context-menu button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:9px 11px;background:transparent;border:0;border-radius:4px;text-align:left;font-size:12px}.element-context-menu button:hover,.element-context-menu button:focus-visible{background:#eaf4f1;outline:none}.element-context-menu button:disabled{opacity:.4}.element-context-menu kbd{font:10px var(--mono);color:#718782}.element-context-menu button:nth-child(3){border-top:1px solid #e5edeb;border-radius:0;margin-top:3px;padding-top:12px}

/* Alignment controls stay in the ribbon; canvas references use symbols only. */
.align-options{display:inline-flex;align-items:center;gap:5px}.modify-options .align-options button{display:grid;place-items:center;width:30px;height:28px;margin:0;border:1px solid transparent;border-radius:4px}.align-options svg,.alignment-unlock svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.modify-options .align-options button[aria-pressed=true]{background:#dceee9;border-color:#8fbdb3}.align-tab-hint{font-size:10px;color:#6c8584;margin-left:4px}.alignment-unlock{float:right;border:1px solid #c8deda;border-radius:4px;background:#fff;color:#087f79;padding:5px;cursor:pointer}

.component-entry[hidden]{display:none}.component-entry .component-card{width:100%}.component-variant{display:block;width:calc(100% - 16px);margin:-1px 8px 9px;padding:6px 8px;border:1px solid #c9dfda;border-radius:0 0 6px 6px;color:#365660;background:#fff;font:inherit;font-size:11px}

.dimension-center{font:600 11px var(--mono);position:absolute;transform:translateY(-50%);pointer-events:auto;width:28px;height:28px;display:grid;place-items:center;padding:3px;border:1px solid #afd4cc;border-radius:5px;background:#f5fcfa;color:#087f79}.dimension-center:hover{background:#d8eee8}.dimension-center[hidden]{display:none}
.dimension-value.selected{outline:2px solid #087f79;background:#e7f5ef}
/* Hydraulic controls share the compact right dock. */
#hydraulic-panel{padding:12px 15px}#hydraulic-panel[hidden]{display:none}#hydraulic-panel input,#hydraulic-panel select{min-width:0;width:100%}#hydraulic-panel .model-note{font-size:11px;line-height:1.45;margin:8px 0}#hydraulic-panel .form-field{margin:8px 0}#hydraulic-panel .form-actions{justify-content:flex-start}.hydraulic-tabs{display:flex;gap:4px;margin-bottom:12px}.hydraulic-tabs button{flex:1;padding:8px 4px;border:0;border-bottom:2px solid transparent;background:none}.hydraulic-tabs .is-active{color:#087f79;border-color:#087f79;background:#eaf5f2}.hydraulic-material{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #e0e8e9;font-size:12px}.hydraulic-material small{display:block;color:#718690;font-size:10px;margin-top:4px}.hydraulic-material strong{white-space:nowrap;font-size:11px}.hydraulic-point{display:grid;grid-template-columns:15px 1fr 1fr 1fr;gap:3px;margin:5px 0;align-items:center}.hydraulic-point input{padding:5px!important;font-size:11px}.hydraulic-inline{display:flex;gap:5px}.hydraulic-inline button{padding:8px;font-size:11px}#hyd-mismatch{padding:10px;border:1px solid #d1a16c;border-radius:6px;background:#fff8ed;font-size:12px}#hyd-mismatch button{margin:4px 2px;padding:7px}#hyd-inline-list>div{display:flex;justify-content:space-between;font-size:11px;padding:5px}#hyd-inline-list button{border:0;background:none}#hyd-cap{width:auto!important}.device-connections .form-field{font-size:11px}.device-connections select{font-size:11px;width:100%}#hyd-search{padding:9px}
#hydraulic-ribbon{display:none;align-items:center;gap:6px}.app-shell[data-workspace=hydraulic] #hydraulic-ribbon{display:flex}.app-shell[data-workspace=hydraulic] .architecture-row>.wall-tool-wrap,.app-shell[data-workspace=hydraulic] .architecture-row>.floor-tool-wrap,.app-shell[data-workspace=hydraulic] #wall-modes,.app-shell[data-workspace=hydraulic] #floor-modes,.app-shell[data-workspace=hydraulic] #sketch-actions,.app-shell[data-workspace=hydraulic] #rotate-component{display:none!important}#hydraulic-tab{margin-left:0}
#hydraulic-ribbon>.modify-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#496771;flex:none}#hydraulic-ribbon>.modify-icon:hover{background:#edf5f3;color:#087f79}#hydraulic-ribbon>.modify-icon:focus-visible{outline:2px solid #91c8bd;outline-offset:1px}#hydraulic-ribbon #hydraulic-tool{margin-right:6px}
#hyd-context{margin-bottom:12px}#hydraulic-panel .form-field{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:6px;font-size:11px}#hydraulic-panel .form-field input,#hydraulic-panel .form-field select{margin:0;height:32px}#hydraulic-panel .hyd-system-select{display:flex;align-items:center;gap:7px;min-width:0}.hyd-system-swatch{display:inline-block;width:10px;height:10px;flex:none;border-radius:50%;box-shadow:0 0 0 1px #00000012}.hyd-system-select select{flex:1}.hyd-color-legend{font-size:10px;color:#657e85;margin-top:10px}.hyd-color-legend summary{cursor:pointer}.hyd-color-legend>span{display:flex;align-items:center;gap:7px;margin-top:9px}.hyd-color-legend>small{display:block;margin-block:10px;line-height:1.4}.hydraulic-photo{width:56px;height:56px;object-fit:contain;flex:0 0 56px;background:#fff;border-radius:5px;padding:3px}.hydraulic-material>span,.hyd-family-row>span:first-of-type,.hyd-current>span{flex:1;min-width:0;overflow-wrap:anywhere}.hydraulic-material{font-size:11px}.hydraulic-material strong{font-size:10px}.hyd-current{display:flex;align-items:center;gap:10px;font-size:13px;margin:12px 0}.hyd-current small{display:block;margin-top:4px;color:#778d93;font-size:10px}.hyd-elevation{display:flex;gap:4px;min-width:0}.hyd-elevation button{border:1px solid #d3e5e1;background:#edf6f3;color:#087f79;border-radius:5px;width:32px;flex:none;font-size:18px}.hyd-catalog-group h3{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#607b83;margin:19px 0 6px}.hyd-family-row{display:flex;align-items:center;text-align:left;gap:9px;padding:7px 0;width:100%;background:none;border:0;border-bottom:1px solid #e5ecec;font-size:12px}.hyd-family-row:hover{background:#f0f7f5}.hyd-family-row small{display:block;font-size:10px;color:#788c94;margin-top:5px}.hyd-family-row>span:last-child{color:#6b8e8b;font-size:20px;padding-right:4px}.hyd-back{border:0;background:none;padding:12px 0;font-size:11px;color:#087f79}.hyd-family-hero{display:flex;align-items:center;gap:12px;margin-block:8px 16px}.hyd-family-hero .hydraulic-photo{width:96px;height:96px;flex-basis:96px}.hyd-family-hero h3{font-size:15px;font-weight:500}.hyd-source{display:inline-block;color:#4b7b83;font-size:10px;margin-top:18px}.hyd-photo-note{font-size:10px!important}#hyd-inline-list>div{align-items:center;gap:8px}#hyd-inline-list .hydraulic-photo{width:38px;height:38px;flex-basis:38px}#hyd-inline-list>div>span{flex:1}#hyd-inline-list button{flex:none}#hydraulic-panel .hydraulic-tabs{font-size:11px;gap:0}.app-shell[data-workspace=hydraulic] .component-tool-wrap{display:none}

.hyd-device-photo{flex:0 0 56px!important;width:56px;height:56px}.hyd-device-thumb{position:static!important;inset:auto;width:56px;height:56px;object-fit:contain;display:block;pointer-events:none}

/* Systems: a left parts library and a compact right property inspector. */
.app-header{height:52px;padding-block:8px}:is(.category-tab,.file-menu-button){align-self:stretch;display:flex;align-items:center}
.hydraulic-library{width:270px;flex:0 0 270px;min-height:0;overflow:auto;background:#fff;border-right:1px solid #dce6e4;scrollbar-width:thin;order:-1;z-index:4}
.hydraulic-library[hidden],.app-shell:not([data-workspace=hydraulic]) .hydraulic-library{display:none}
.hyd-options{border-top:1px solid #e0eae7;padding:10px 0;margin-top:10px;font-size:11px;color:#496771}.hyd-options>summary{cursor:pointer;user-select:none}.hyd-piece-orientation{display:flex;gap:6px;margin:8px 0}.hyd-piece-orientation button{width:34px;height:32px;background:#f0f7f5;border:1px solid #cfe3dd;border-radius:5px;color:#087f79;font-size:20px}#hydraulic-panel [hidden]{display:none!important}#hydraulic-panel .hyd-current{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e1ebe7}#hydraulic-panel #hyd-context{margin-bottom:10px}#hydraulic-panel .hydraulic-tabs{margin-bottom:14px}#hydraulic-panel #hyd-error:empty,#hydraulic-panel #hyd-status:empty{display:none}#hydraulic-library #hyd-search{margin:0 0 10px}#hydraulic-library .hyd-pipe-choice{padding:6px 8px}#hyd-inline-list:empty{display:none}
.hydraulic-library>header{display:flex;align-items:center;justify-content:space-between;padding:9px 13px;min-height:45px;border-bottom:1px solid #e5edea;background:#f8fbfa;position:sticky;top:0;z-index:2}
.hydraulic-library h2{font-size:14px;margin:0;font-weight:600}.hyd-library-body{padding:12px}.hydraulic-library input,.hydraulic-library select{width:100%;min-width:0;padding:8px;border:1px solid #d3e3e0;border-radius:5px;font:inherit;font-size:11px;color:inherit;background:#fff}
.hydraulic-library .form-field{font-size:11px}.hydraulic-library .model-note{font-size:11px;line-height:1.5;color:#71858a}.hydraulic-library #hyd-search{margin:15px 0 0}
.hyd-pipe-choice{border:1px solid #d7e9e3;border-radius:8px;padding:8px;background:#f8fbfa}.hyd-pipe-card{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:none;padding:0;font-size:13px}.hyd-pipe-card small{display:block;font-size:10px;color:#71858a;margin-top:5px}.hyd-pipe-card .hydraulic-photo{width:45px;height:45px;flex-basis:45px}
.hyd-size-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}.hyd-size-grid button{padding:6px 3px;border:1px solid #dce8e4;border-radius:5px;background:#fff;font-size:12px}.hyd-size-grid small{font-size:8px;margin-left:3px;color:#7c9396}.hyd-size-grid .is-active{color:#087f79;background:#e2f2ed;border-color:#9bcfc1}
#hyd-system-tool[aria-expanded=true]{background:#eaf5f2;border-color:#b6ddd1;color:#087f79}#hyd-inline-list>div>span{font-size:10px}#hyd-error:empty{display:none}#hyd-error:not(:empty){padding:9px;border:1px solid #edc5be;border-radius:5px;background:#fff5f2;line-height:1.4}
@media(max-width:1100px){.hydraulic-library{width:230px;flex-basis:230px}.hydraulic-library .hydraulic-photo{width:45px;height:45px;flex-basis:45px}}
@media(max-width:800px){.workspace-body{position:relative}.hydraulic-library{position:absolute;left:0;top:0;bottom:0;width:min(280px,78vw);box-shadow:4px 0 18px #224f4d16;z-index:6}.app-header{height:50px}}
.project-file-dialog,.material-export-dialog{border:1px solid #cbdedc;border-radius:14px;color:#29434c;padding:24px;box-shadow:0 20px 90px #16393235;max-height:90vh;overflow:auto;background:white}.project-file-dialog{width:min(540px,92vw)}.material-export-dialog{width:min(1160px,94vw);max-width:94vw}.project-file-dialog::backdrop,.material-export-dialog::backdrop{background:#173d4855}.project-file-dialog header,.material-export-dialog header,.material-export-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-file-dialog h2,.material-export-dialog h2{font-size:20px;margin:0 0 12px}.project-file-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.project-file-dialog button,.material-export-dialog button{border:1px solid #cee0dd;border-radius:7px;background:#f5faf9;padding:10px 14px;color:#176d69;cursor:pointer}.project-file-dialog .primary,.material-export-dialog .primary{background:#087f79;color:white;border-color:#087f79}.material-export-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;margin:16px 0}.export-categories{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-categories label,.export-round{display:flex;align-items:center;gap:8px;font-size:13px}.export-round{margin:20px 0}.material-export-dialog input[type=checkbox]{width:16px;height:16px;accent-color:#087f79;flex:none}.material-export-dialog h3{font-size:14px;margin:18px 0 8px}.export-extra{display:grid;grid-template-columns:20px minmax(100px,1fr) 64px 66px 93px;gap:5px;align-items:center;padding:6px 0}.export-extra input,.export-extra select{min-width:0;width:100%;height:32px;border:1px solid #d4e2df;border-radius:5px;padding:5px;font-family:inherit;font-size:11px;background:white;color:#365861}.export-extra-check{display:flex;align-items:center}#export-txt-preview{resize:vertical;min-height:440px;height:52vh;width:100%;background:#f5f8f8;border:1px solid #d8e6e3;border-radius:8px;padding:14px;box-sizing:border-box;font:11px/1.7 Consolas,monospace;color:#33545c;white-space:pre-wrap}.material-export-dialog footer{border-top:1px solid #e0e9e7;padding-top:14px;font-size:12px}#export-feedback{max-width:70%}.material-export-dialog button:disabled{opacity:.45;cursor:default}.project-file-dialog .form-field{margin-top:12px}.equipment-data{font-size:12px;line-height:1.6}.equipment-port{padding:6px 0;border-bottom:1px solid #e5edeb}.equipment-source{color:#087f79}.hyd-equipment-model{margin:0 10px 12px;width:calc(100% - 20px);padding:7px;border:1px solid #d7e5e2;border-radius:5px;background:#fff;font-size:12px}
@media(max-width:850px){.material-export-layout{grid-template-columns:1fr}.export-extra{grid-template-columns:20px minmax(90px,1fr) 55px 58px 85px}#export-txt-preview{min-height:260px;height:35vh}.material-export-dialog{padding:15px}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.material-export-layout{grid-template-columns:1fr}.export-extra{grid-template-columns:20px minmax(90px,1fr) 65px 70px 100px}#export-txt-preview{height:280px;min-height:240px}}

#equipment-tab{margin-left:0}.app-shell[data-workspace=equipment] .architecture-row>.wall-tool-wrap:not(.component-tool-wrap),.app-shell[data-workspace=equipment] .floor-tool-wrap,.app-shell[data-workspace=equipment] #wall-modes,.app-shell[data-workspace=equipment] #floor-modes{display:none!important}
@media(max-width:700px){.app-header{flex-wrap:wrap;height:auto;min-height:60px;gap:4px}.app-header .category-tab{margin-left:0;padding:8px}.app-header .brand{margin-right:auto}}

.app-shell:not([data-workspace=equipment]) .component-tool-wrap{display:none}.component-category-filter{display:grid;gap:5px;font-size:11px;color:#55777b;margin:0 0 12px}.component-category-filter select{width:100%;min-width:0;height:36px;padding:0 8px;border:1px solid #c9dfda;border-radius:6px;background:#fff;color:#37575b;font:inherit}
.dimension-lock{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;display:grid;place-items:center;width:25px;height:25px;border:1px solid #c6dadf;border-radius:5px;background:#f8fbfc;color:#6b8790;padding:3px}
.dimension-lock svg{width:15px;height:15px}.dimension-lock:hover{background:#e6f3ef;border-color:#087f79}.dimension-lock[aria-pressed=true]{color:#087f79;border-color:#83bdb2;background:#def1e9}.dimension-lock[hidden]{display:none}.dimension-value.locked{border-color:#83bdb2}
.dimension-center{transform:translate(-50%,-50%);width:34px}
.saved-projects{border-top:1px solid #dce8e6;margin-top:18px;padding-top:16px}.saved-projects h3{font-size:15px;margin:0}.saved-projects header button{padding:7px 10px;font-size:12px}#project-search{width:100%;box-sizing:border-box;border:1px solid #cee0dd;border-radius:7px;padding:10px 12px;font:inherit;font-size:12px;margin:4px 0 10px;color:#29434c}#project-list{max-height:240px;overflow:auto}.saved-project{display:flex;align-items:center;gap:16px;padding:12px 10px;border-bottom:1px solid #e5edeb}.saved-project.current{background:#f0f8f6;border-radius:8px}.saved-project>div{min-width:0;flex:1;display:grid;gap:4px}.saved-project strong{font-size:13px;overflow-wrap:anywhere}.saved-project span{font-size:12px;overflow-wrap:anywhere}.saved-project small{font-size:11px;color:#70898e}.saved-project button{font-size:12px;padding:7px 10px}.project-secondary-actions{margin-bottom:0}.project-secondary-actions button{font-size:12px}#project-file-status{min-height:17px}#project-files-dialog{width:min(620px,92vw)}
.view-navigation{display:flex;align-items:stretch;flex-shrink:0;gap:4px;padding:0 25px;min-height:39px;background:#fff;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:thin}.view-navigation>span{display:contents}.view-navigation button{flex:none;white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;padding:10px 15px;color:#637b83;font-size:12px}.view-navigation button:hover{background:#f3f8f7;color:#087f79}.view-navigation button[aria-current=page]{border-bottom-color:#008c85;color:#087f79;background:#eaf5f2;font-weight:600}.in-sheets>.view-navigation{display:none}.motion-limit{position:absolute;z-index:15;left:50%;bottom:28px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:12px 16px;border:1px solid #e4c38c;border-radius:8px;background:#fff8eb;color:#79501c;box-shadow:0 3px 14px #49311214;font-size:13px;line-height:1.5;pointer-events:none}@media(max-width:700px){.view-navigation{padding:0 10px}.view-navigation button{padding:9px 12px}.motion-limit{bottom:80px;font-size:12px}}
.hydraulic-drawing-error{width:560px;max-height:40%;overflow:auto;border-color:#dfb9b4;background:#fff8f6;color:#923d35;pointer-events:auto}
.viewport.temporarily-hidden:before{content:'';position:absolute;inset:0;z-index:16;box-shadow:inset 0 0 0 3px #2489ed;pointer-events:none}.viewport.temporarily-hidden.revealing-hidden:after{inset:4px}

.modify-options .align-options :is(#align-multiple,#join-multiple){display:inline-flex;gap:6px;width:auto;min-height:32px;padding:4px 9px;white-space:nowrap;font-size:12px}

.floor-sketch-dimensions{z-index:5}.floor-sketch-dimensions .dimension-value{min-height:30px;padding:5px 10px}.floor-sketch-dimensions .dimension-input input{font-size:16px}.floor-sketch-dimensions [hidden]{display:none}@media(pointer:coarse){.floor-sketch-dimensions .dimension-value{min-height:40px;min-width:64px}}
/* Names stay visible on mouse and touch toolbars. */
.modify-palette .modify-icon,#hydraulic-ribbon>.modify-icon{flex-direction:column;width:auto;min-width:58px;height:54px;padding:5px 8px;gap:4px}
.modify-icon .tool-name{display:block;font-size:10px;line-height:1.15;font-weight:500;white-space:nowrap;color:inherit}
.modify-palette .modify-icon svg,#hydraulic-ribbon>.modify-icon svg{width:23px;height:23px;flex:none}
@media(max-width:1150px){.modify-palette .modify-icon,#hydraulic-ribbon>.modify-icon{min-width:56px;min-height:52px;padding-inline:7px}.modify-icon .tool-name{font-size:10px}}
.architecture-row .history-tools .icon-button,#rotate-component{display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-width:54px;height:54px;padding:5px 7px;gap:4px}.architecture-row .history-tools .tool-name{font-size:10px;line-height:1.15;white-space:nowrap}.architecture-row .history-tools svg{width:22px;height:22px;flex:none}


#create-similar.selection-action{font:inherit;color:#087f79;background:#f2f8f7;border:1px solid #cddfd9;border-radius:4px;padding:5px 9px}
.rotate-options{display:flex;align-items:center;gap:8px}.rotate-options label{display:flex;align-items:center;gap:7px;white-space:nowrap}.rotate-options input{width:86px;min-height:34px;border:1px solid #c8deda;border-radius:4px;padding:5px 8px;font:inherit;color:#284e58}@media(max-width:700px){.rotate-options input{min-height:44px}}
.model-card-swatch[data-pattern=grass],#model-swatch[data-pattern=grass]{background-image:repeating-linear-gradient(72deg,#36572d22 0 1px,transparent 1px 4px),repeating-linear-gradient(110deg,transparent 0 3px,#bbd48c33 3px 4px)!important}
.model-card-swatch[data-pattern=porcelain-80],#model-swatch[data-pattern=porcelain-80]{background-image:linear-gradient(90deg,#56615e66 1px,transparent 1px),linear-gradient(#56615e66 1px,transparent 1px)!important;background-size:24px 24px!important}
.model-card-swatch[data-pattern=foliage],#model-swatch[data-pattern=foliage]{background-image:radial-gradient(ellipse at 25% 25%,#b1cc7755 0 25%,transparent 45%),radial-gradient(ellipse at 70% 65%,#183f2766 0 25%,transparent 50%)!important;background-size:13px 17px,19px 15px!important}
/* Compact, consistent colour controls in grid and sheet property panels. */
.color-sample-hint{position:fixed;z-index:40;left:50%;bottom:42px;transform:translateX(-50%);display:flex;align-items:center;gap:16px;max-width:90vw;background:#f3faf7;border:1px solid #9dc7be;box-shadow:0 4px 18px #18383b24;border-radius:8px;padding:10px 14px;font-size:12px;color:#285961}.color-sample-hint button{flex:none;border:0;background:none;color:#087f79;padding:6px}.sampling-color{cursor:crosshair!important}
