:root{font-family:IBM Plex Sans,Arial,sans-serif;color:#203746;background:#e8edf0;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #2d78ac;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{height:100vh;min-height:620px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:72px;flex:none;display:flex;align-items:center;gap:15px;padding:0 24px;background:#fff;border-bottom:1px solid #dce4e8;box-shadow:0 2px 12px #193f5210;z-index:5}.brand-mark{width:39px;height:39px;position:relative;border:1.5px solid #1d526f;border-radius:8px;display:flex;align-items:flex-end;justify-content:space-evenly;padding:8px 6px 7px;overflow:hidden}.brand-mark:before{content:"";position:absolute;top:10px;left:8px;width:22px;height:13px;border-top:2px solid #1d526f;transform:skewY(-26deg)}.brand-mark span{height:20px;width:2px;background:#1d526f}.brand-mark span:nth-child(2){height:25px}.brand-copy{display:flex;flex-direction:column;line-height:1.2;white-space:nowrap}.brand-copy strong{font-size:14px;letter-spacing:.045em;color:#163e55}.brand-copy small{font-size:11px;color:#82939b;margin-top:3px}.topbar-divider{width:1px;height:27px;background:#dde5e9;margin:0 6px 0 14px}.project-name{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#3b5360;white-space:nowrap}.project-name svg{color:#91a1a9}.project-dot,.live-dot{width:7px;height:7px;background:#58a785;border-radius:50%;box-shadow:0 0 0 3px #d8eee4}.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.topbar-actions button{height:36px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap}.text-button{border:1px solid transparent;background:transparent;color:#4f6877;padding:0 10px}.text-button:hover{background:#f0f5f6}.primary-button{background:#215b7a;border:1px solid #215b7a;color:#fff;padding:0 15px;box-shadow:0 2px 5px #225d792a}.primary-button:hover{background:#174866}.workspace{display:grid;grid-template-columns:304px minmax(0,1fr) 322px;min-height:0;flex:1}.sidebar{background:#fff;min-height:0;display:flex;flex-direction:column}.controls-panel{border-right:1px solid #dce4e8}.takeoff-panel{border-left:1px solid #dce4e8}.panel-heading{height:94px;flex:none;padding:22px 21px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7edef}.panel-heading svg{color:#8fa3af}.panel-heading h2{font-size:17px;letter-spacing:-.025em;margin:5px 0 0;color:#1c394b}.panel-kicker{font-size:10px;color:#8298a3;letter-spacing:.06em;margin:0;font-weight:600;text-transform:uppercase}.controls-scroll,.takeoff-scroll{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#cbd9df transparent}.controls-scroll{padding:0 21px 24px}.form-section{padding:23px 0 21px;border-bottom:1px solid #e9eef0}.section-heading{display:flex;align-items:center;gap:9px;color:#2e6b8b;margin-bottom:17px}.section-heading h3{margin:0;font-size:13px;font-weight:700;color:#27485c}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.number-field>span,.select-field>span{display:block;font-size:11px;color:#637987;font-weight:600;margin-bottom:6px}.input-wrap{height:38px;border:1px solid #d4e0e4;border-radius:5px;background:#fbfdfe;display:flex;align-items:center;overflow:hidden}.input-wrap:focus-within{border-color:#4388ad;box-shadow:0 0 0 2px #4388ad1d}.input-wrap input{border:0;background:transparent;outline:0;width:100%;min-width:0;padding:0 9px;color:#203f51;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.input-wrap input::-webkit-inner-spin-button{-webkit-appearance:none}.input-wrap em{font-style:normal;font-size:10px;color:#96a6ad;white-space:nowrap;margin-right:9px}.derived-strip{margin-top:16px;display:flex;justify-content:space-between;align-items:center;background:#eef4f6;border-left:2px solid #6999b2;padding:9px 11px;font-size:11px;color:#66808d}.derived-strip strong{font-size:12px;color:#235673}.select-field{display:block;margin-bottom:13px}.select-field select{width:100%;height:38px;border:1px solid #d4e0e4;border-radius:5px;background:#fbfdfe;padding:0 10px;color:#224459;font-size:12px;font-weight:600}.field-note{margin:5px 0 0;color:#92a2a9;font-size:10px;line-height:1.55}.toggle-row{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:36px;color:#4c6572;font-size:12px;font-weight:500;cursor:pointer}.toggle-row input{position:absolute;opacity:0;right:0}.toggle-ui{width:31px;height:18px;background:#cbd7dc;border-radius:20px;position:relative;transition:background .15s}.toggle-ui:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 3px #1d465333}.toggle-row input:checked+.toggle-ui{background:#31779c}.toggle-row input:checked+.toggle-ui:after{transform:translate(13px)}.toggle-row input:focus-visible+.toggle-ui{outline:2px solid #2d78ac;outline-offset:2px}.reset-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#6d8794;font-size:11px;padding:18px 0}.reset-button:hover{color:#245d7c}.error-box{background:#fff0eb;border:1px solid #efc5ba;border-radius:5px;padding:8px 10px;margin-top:15px;color:#a04c34;font-size:11px}.error-box p{margin:4px 0}.model-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#e8eff2}.model-toolbar{height:59px;flex:none;background:#f8fbfc;border-bottom:1px solid #d9e3e7;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:14px}.model-title{display:flex;align-items:center;gap:10px;white-space:nowrap}.model-title strong{font-size:13px;color:#2e5063}.model-count{font-size:11px;color:#94a8b0;margin-left:5px}.view-switch{display:flex;background:#eaf1f3;border-radius:5px;padding:3px;gap:2px}.view-switch button{border:0;border-radius:3px;padding:6px 9px;background:transparent;color:#718a97;font-size:11px;white-space:nowrap}.view-switch button.active{color:#2e607c;background:#fff;box-shadow:0 1px 4px #2c5b7220;font-weight:700}.viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#e8eff2}.viewer-canvas,.viewer-canvas canvas{width:100%;height:100%;display:block}.viewer-canvas canvas{touch-action:none}.viewport-invalid{height:100%;display:grid;place-items:center;color:#6e8895;font-size:14px}.viewport-label{position:absolute;left:23px;top:23px;display:flex;align-items:center;gap:10px;pointer-events:none;color:#6f8a99;font-family:IBM Plex Mono,monospace;font-size:9px;line-height:1.55;letter-spacing:.075em}.viewport-label strong{font-weight:600;color:#496879}.viewport-label-icon{font-size:36px;line-height:1;color:#6c9db4;font-family:serif}.dimension-card{position:absolute;bottom:54px;left:21px;background:#fffffff0;border:1px solid #d9e5e9;box-shadow:0 5px 18px #244e621b;border-radius:5px;display:flex;align-items:center;gap:14px;padding:10px 13px;color:#8da0aa;font-family:IBM Plex Mono,monospace;font-size:9px;letter-spacing:.05em}.dimension-card span{display:flex;flex-direction:column;gap:2px}.dimension-card strong{font-size:12px;color:#2c566d;letter-spacing:0}.dimension-card i{height:23px;width:1px;background:#dae4e8}.viewport-help{position:absolute;bottom:18px;left:22px;font-size:10px;color:#7d98a5;text-shadow:0 1px 1px #fff}.model-footer{min-height:58px;flex:none;background:#fbfdfe;border-top:1px solid #d9e3e7;display:flex;align-items:center;gap:10px;padding:9px 16px}.visibility-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.footer-label{font-size:10px;color:#8da2ad;margin-right:7px}.visibility-chip{border:1px solid #dce7eb;border-radius:4px;padding:5px 7px;background:#fff;color:#587384;font-size:10px;display:flex;align-items:center;gap:4px;white-space:nowrap}.visibility-chip:hover,.visibility-chip.focused{border-color:#6f9bb0;background:#eef6f9;color:#286181}.visibility-chip.hidden{opacity:.5;background:#f0f3f4}.clear-focus{border:0;background:transparent;color:#2c7194;display:flex;align-items:center;gap:4px;font-size:10px;margin-left:auto;white-space:nowrap}.takeoff-scroll{padding:20px 17px 24px;flex:1}.summary-card{padding:18px 17px 14px;border-radius:6px;color:#fff;background:linear-gradient(135deg,#164967,#276989);box-shadow:0 6px 18px #1b587b24}.summary-card>div:first-child{display:flex;flex-direction:column;gap:4px}.summary-card span{font-size:11px;color:#c4d9e5}.summary-card strong{font-size:27px;letter-spacing:-.04em;font-weight:600;font-variant-numeric:tabular-nums}.summary-card strong small{font-size:13px;font-weight:500;letter-spacing:0}.summary-baseline{border-top:1px solid #ffffff30;margin-top:12px;padding-top:11px;display:flex;flex-direction:column;gap:4px}.summary-baseline span{font-size:10px;color:#d7e7ee}.takeoff-heading{margin:24px 2px 10px;display:flex;justify-content:space-between;align-items:center}.takeoff-heading h3{margin:0;font-size:13px;color:#2d4e61}.takeoff-heading span{font-size:10px;color:#9cabb2}.takeoff-list{border-top:1px solid #e7edef}.takeoff-row{width:100%;min-height:64px;text-align:left;border:0;border-bottom:1px solid #e8eef0;background:transparent;padding:9px 2px;display:flex;align-items:center;gap:9px}.takeoff-row:hover,.takeoff-row.active{background:#f1f7f9}.category-marker{width:6px;height:29px;flex:none;border-radius:1px;background:#3b718d}.marker-purlins,.marker-girts{background:#89aebd}.marker-bracing{background:#d9903c}.marker-roof,.marker-walls{background:#a4c6d1}.takeoff-row-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.takeoff-row-main strong{font-size:11px;color:#2e4c5c}.takeoff-row-main small{font-size:10px;color:#9cadb4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.takeoff-row-values{display:flex;align-items:flex-end;flex-direction:column;gap:4px;white-space:nowrap}.takeoff-row-values strong{font-size:12px;color:#244d65;font-variant-numeric:tabular-nums}.takeoff-row-values small{font-size:10px;color:#95a7af}.selection-card{margin-top:18px;padding:13px;background:#f0f6f8;border:1px solid #d8e7ec;border-radius:5px}.selection-heading{display:flex;justify-content:space-between;color:#7e9aa7;font-size:10px;margin-bottom:6px}.selection-heading button{border:0;background:none;font-size:18px;line-height:12px;color:#6b8897}.selection-card>strong{font-size:12px;color:#275874}.selection-card p{font-size:10px;color:#64808e;margin:5px 0 0}.estimate-note{display:flex;gap:8px;margin-top:22px;padding:11px 10px;border:1px solid #e6e6d9;border-radius:4px;background:#fcfcf6;color:#8d875f}.estimate-note svg{flex:none;margin-top:1px}.estimate-note p{font-size:10px;line-height:1.55;margin:0}.empty-note{font-size:11px;color:#91a3aa;line-height:1.5}.takeoff-bottom{padding:14px 17px;border-top:1px solid #e7edef;flex:none}.takeoff-bottom button{width:100%;height:36px;background:#eef5f8;border:1px solid #d7e6ec;border-radius:5px;color:#286586;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.takeoff-bottom button svg:last-child{margin-left:auto;margin-right:11px}.takeoff-bottom button svg:first-child{margin-left:auto}.takeoff-bottom button:hover{background:#e0eef4}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:8px;background:#1c536d;color:#fff;border-radius:5px;box-shadow:0 8px 24px #17455d40;padding:10px 15px;font-size:12px;white-space:nowrap}.mobile-tabs{display:none}@media(max-width:1250px){.workspace{grid-template-columns:270px minmax(0,1fr) 290px}.topbar{padding:0 16px}.project-name{font-size:11px}.topbar-actions{gap:2px}.topbar-actions button{font-size:11px;padding-left:8px;padding-right:8px}.controls-scroll,.panel-heading{padding-left:16px;padding-right:16px}.view-switch button{padding:6px}}@media(max-width:1050px){.project-name,.topbar-divider{display:none}.workspace{grid-template-columns:250px minmax(0,1fr)}.takeoff-panel{position:absolute;right:0;top:72px;bottom:0;width:300px;z-index:4;box-shadow:-8px 0 25px #24485b1a;transform:translate(100%);transition:transform .2s}.takeoff-panel.mobile-active{transform:translate(0)}.mobile-tabs{display:flex;height:44px;flex:none;background:#f8fbfc;border-bottom:1px solid #dce5e9;padding:5px 12px;gap:5px}.mobile-tabs button{border:0;border-radius:4px;background:transparent;color:#6a8491;font-size:11px;padding:0 12px}.mobile-tabs button.active{background:#dbeaf0;color:#245b79;font-weight:700}.takeoff-panel{top:116px}.topbar-actions .text-button span{display:none}}@media(max-width:720px){.app-shell{min-height:0}.topbar{height:62px;padding:0 12px;gap:9px}.brand-mark{width:34px;height:34px}.brand-copy strong{font-size:12px}.brand-copy small{font-size:9px}.topbar-actions{gap:2px}.topbar-actions button{height:32px;padding:0 6px}.topbar-actions .primary-button{font-size:0;width:34px}.topbar-actions .primary-button svg{width:17px}.workspace{display:block;position:relative}.sidebar,.model-panel{position:absolute;top:0;right:0;bottom:0;left:0;display:none}.sidebar.mobile-active,.model-panel.mobile-active{display:flex}.takeoff-panel{width:auto;box-shadow:none;transform:none;border:0}.controls-panel{border:0}.model-toolbar{height:auto;min-height:58px;padding:8px 12px;flex-wrap:wrap}.model-title strong{font-size:12px}.model-count,.view-switch button{font-size:10px}.viewport-label{left:13px;top:13px}.dimension-card{left:12px;bottom:47px;gap:9px;padding:8px}.viewport-help{left:12px;bottom:13px;font-size:9px}.model-footer{padding:7px 10px;max-height:94px;overflow:auto}.footer-label{display:none}.visibility-chip{font-size:9px}.panel-heading{height:73px;padding-top:15px;padding-bottom:12px}.controls-scroll,.takeoff-scroll{padding-bottom:50px}.takeoff-bottom{padding:10px 17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.language-switch{height:30px;display:flex;align-items:center;gap:2px;padding:2px 4px;border:1px solid #dbe6ea;border-radius:5px;background:#f6f9fa;color:#7f9aa8;margin-right:4px}.language-switch svg{margin:0 4px}.topbar-actions .language-switch button{height:24px;min-width:24px;padding:0 3px;border:0;border-radius:3px;background:transparent;color:#79919d;font-family:IBM Plex Mono,monospace;font-size:10px}.topbar-actions .language-switch button.active{background:#fff;color:#285e7b;box-shadow:0 1px 3px #24576e26}.door-fields{margin-top:14px;padding:13px 0 1px;border-top:1px dashed #dfe9ed}.toggle-row input:disabled+.toggle-ui{opacity:.4}.toolbar-actions{display:flex;align-items:center;gap:8px}.appearance-switch{display:flex;align-items:center;border:1px solid #dce7eb;border-radius:5px;padding:3px;background:#fff}.appearance-switch button{border:0;border-radius:3px;padding:6px 9px;background:transparent;color:#78909b;font-size:11px;white-space:nowrap}.appearance-switch button.active{background:#dfeef3;color:#245d7b;font-weight:700}.panel-tabs{height:44px;flex:none;display:flex;align-items:stretch;padding:0 17px;border-bottom:1px solid #e4ebee;gap:20px}.panel-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#8ca0a9;font-size:11px;font-weight:600;padding:1px 1px 0}.panel-tabs button.active{border-bottom-color:#327e9f;color:#245c7b}.marker-doors{background:#355d72}.marker-accessories{background:#95aeb9}.pricing-scroll{padding-top:16px}.pricing-intro{margin:0 0 15px;font-size:11px;line-height:1.5;color:#778f9b}.price-total{display:flex;flex-direction:column;gap:4px;padding:16px;background:#205d79;border-radius:6px;color:#fff}.price-total span{font-size:10px;color:#c4dbe6}.price-total strong{font-size:22px;letter-spacing:-.03em;overflow-wrap:anywhere}.price-total small{font-size:10px;color:#d3e5ed}.price-total.incomplete{background:#e9f1f4;color:#50788c}.price-total.incomplete span{color:#7192a2}.pricing-actions{display:flex;gap:7px;margin:12px 0 19px}.pricing-actions button{flex:1;min-height:29px;padding:4px 6px;border:1px solid #d4e3e9;border-radius:4px;background:#f8fbfc;color:#356b86;font-size:10px;font-weight:600}.pricing-actions button:hover{background:#e9f3f7}.pricing-heading{font-size:11px;color:#31566a;margin:19px 0 10px;padding-bottom:8px;border-bottom:1px solid #e5edef}.price-field{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;color:#607988;font-size:10px}.price-field>span{max-width:47%;line-height:1.3}.price-field>div{width:52%;height:30px;display:flex;align-items:center;border:1px solid #d9e5e9;border-radius:4px;background:#fbfdfe}.price-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:0 7px;font-size:11px;color:#275369;font-weight:600}.price-field input::-webkit-inner-spin-button{-webkit-appearance:none}.price-field em{font-style:normal;white-space:nowrap;font-size:9px;color:#9caeb6;padding-right:6px}.price-field>div:focus-within{border-color:#4388ad;box-shadow:0 0 0 2px #4388ad1d}.estimate-breakdown{border-top:1px solid #e5edef;margin-top:23px;padding-top:11px}.estimate-breakdown>div{display:flex;justify-content:space-between;gap:8px;margin:8px 0;font-size:10px;color:#7b929d}.estimate-breakdown strong{color:#315f77;font-weight:600;white-space:nowrap}.pricing-error{font-size:10px;color:#a6543d;line-height:1.45;margin:12px 0}@media(max-width:1300px){.model-toolbar{flex-wrap:wrap;height:auto;min-height:59px;padding-top:8px;padding-bottom:8px}.toolbar-actions{margin-left:auto}.model-title{margin-right:auto}}@media(max-width:1050px){.topbar-actions .language-switch{margin-right:1px}.toolbar-actions{gap:5px}.appearance-switch button{padding:6px}}@media(max-width:720px){.topbar-actions .language-switch svg{display:none}.topbar-actions .language-switch{margin:0}.topbar-actions .language-switch button{font-size:9px;min-width:20px;padding:0 2px}.topbar-actions .primary-button span{display:none}.toolbar-actions{width:100%;justify-content:space-between}.model-toolbar{padding-top:7px;padding-bottom:7px}.appearance-switch button,.view-switch button{font-size:10px}.panel-tabs{height:40px}}
