@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.p.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.p.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.p.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans Fallback;src:local(Arial);ascent-override:101.32%;descent-override:27.18%;line-gap-override:0.0%;size-adjust:101.17%}.hhvPjq_className{font-family:IBM Plex Sans,IBM Plex Sans Fallback;font-style:normal}.hhvPjq_variable{--font-plex-sans:"IBM Plex Sans", "IBM Plex Sans Fallback"}
@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/e390973e931a41c5-s.3zhtymus0wdqb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/59b15b4bcd7b1eb5-s.3nkuoiize4urq.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/e532fa1b9921e1cd-s.1da667lu-u79a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/2fe89d53234c61d4-s.p.1i05ju5aeyhye.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/99e609270109b47d-s.p.1dgcou5jor5q_.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5e05ae5b48faa55e-s.31-2bzhq1gx_9.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/a7afbb44bec2bb18-s.3xauquyg2sixn.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/02263ebadd758ea4-s.2taws-qdxmzlf.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/68757d6cddeff913-s.p.0htwiiqufp3l9.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/effe91970fc4db64-s.p.28xcb7557rbh2.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono Fallback;src:local(Arial);ascent-override:76.16%;descent-override:20.43%;line-gap-override:0.0%;size-adjust:134.59%}._2QZEPG_className{font-family:IBM Plex Mono,IBM Plex Mono Fallback;font-style:normal}._2QZEPG_variable{--font-plex-mono:"IBM Plex Mono", "IBM Plex Mono Fallback"}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7f8;--surface:#fff;--surface-2:#eef1f3;--text:#14202b;--text-muted:#5a6773;--border:#dce2e6;--primary:#1f5bd8;--basement:#1f5bd8;--note:#c2185b;--on-primary:#fff;--wall-external:#14202b;--wall-unheated:#3e7bfa;--wall-internal:#9aa6b0;--wall-neighbor:#5a6773;--selection:#e5484d;--mat-ceramic:#d0763f;--mat-silicate:#9c7bb5;--mat-brick:sienna;--mat-stone:#6f8a52;--mat-adobe:#c9a14f;--mat-other:#3f9a94;--insulation:#e8c547;--frame-wood:#b0753a;--frame-plastic:#3f9ad6;--frame-metal:#8f8fa3;--radius:12px;--tap:48px;--font-sans:var(--font-plex-sans), system-ui, sans-serif;--font-mono:var(--font-plex-mono), ui-monospace, monospace}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e151b;--surface:#16212a;--surface-2:#1e2b36;--text:#e6ecf0;--text-muted:#93a1ad;--border:#2a3844;--primary:#2f66e8;--basement:#7fa6ff;--note:#f06292;--wall-external:#8296a8;--wall-unheated:#6e9bff;--wall-internal:#46535f;--wall-neighbor:#5f6f7d;--selection:#ff6369}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e151b;--surface:#16212a;--surface-2:#1e2b36;--text:#e6ecf0;--text-muted:#93a1ad;--border:#2a3844;--primary:#2f66e8;--basement:#7fa6ff;--note:#f06292;--wall-external:#8296a8;--wall-unheated:#6e9bff;--wall-internal:#46535f;--wall-neighbor:#5f6f7d;--selection:#ff6369}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;line-height:1.45}button,input,textarea{font:inherit;color:inherit}a{color:var(--primary)}:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.page{max-width:960px;margin:0 auto;padding:16px 16px 48px}.topbar{z-index:10;background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:12px;min-height:64px;padding:8px 16px;display:flex;position:sticky;top:0}.topbar__title{flex-direction:column;flex:1;min-width:0;display:flex}.topbar__title strong{text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:600;overflow:hidden}.topbar__title span{color:var(--text-muted);font-size:13px}.brand{flex:1;align-items:center;gap:10px;font-size:20px;font-weight:600;display:flex}.section{margin-top:24px}.section__title{font-family:var(--font-mono);letter-spacing:2px;text-transform:uppercase;color:var(--text-muted);margin:0 0 12px;font-size:13px;font-weight:500}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.muted{color:var(--text-muted)}.mono{font-family:var(--font-mono)}.btn{min-height:var(--tap);min-width:var(--tap);border-radius:var(--radius);background:var(--surface-2);color:var(--text);cursor:pointer;touch-action:manipulation;border:0;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:16px;font-weight:500;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.45;cursor:default}.btn--primary{background:var(--primary);color:var(--on-primary);font-weight:600}.btn--danger{color:var(--selection);border:1px solid var(--selection);background:0 0}.btn--icon{width:var(--tap);padding:0}.btn--block{width:100%}.choices{background:var(--surface-2);border-radius:var(--radius);flex-wrap:wrap;gap:4px;padding:4px;display:flex}.choices button{min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:auto;padding:0 16px;font-size:16px}.choices button[aria-pressed=true]{background:var(--text);color:var(--bg);font-weight:600}.field{flex-direction:column;gap:6px;display:flex}.field label,.field__label{color:var(--text-muted);font-size:14px}.input{width:100%;min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:10px 14px}textarea.input{resize:vertical;min-height:96px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.spacer{flex:1}.toolbar{flex-direction:column;gap:12px;display:flex}.project-list{flex-direction:column;gap:8px;margin:16px 0 0;padding:0;list-style:none;display:flex}.project-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:72px;color:inherit;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;display:flex}.project-item__main{flex-direction:column;flex:1;min-width:0;display:flex}.project-item__main strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.badge{border:1px solid var(--border);white-space:nowrap;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:13px;display:inline-flex}.badge--new{border-color:var(--primary);color:var(--primary)}.badge--done{background:var(--text);border-color:var(--text);color:var(--bg)}.empty{text-align:center;color:var(--text-muted);padding:32px 16px}.level-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.level{flex-direction:column;gap:12px;display:flex}.level__head{align-items:center;gap:8px;display:flex}.level__head .input{flex:1;font-weight:600}.height-btn{font-family:var(--font-mono);font-weight:500}.dialog{border:1px solid var(--border);background:var(--surface);width:min(420px,100vw - 32px);color:var(--text);border-radius:16px;padding:20px}.dialog::backdrop{background:#0a10168c}.dialog h2{margin:0 0 12px;font-size:18px}.dialog__actions{gap:8px;margin-top:16px;display:flex}.dialog__actions .btn{flex:1}.numpad__display{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);min-height:64px;font-family:var(--font-mono);justify-content:flex-end;align-items:baseline;gap:8px;padding:8px 16px;font-size:32px;font-weight:500;display:flex}.numpad__display[data-invalid=true]{border-color:var(--selection)}.numpad__unit{color:var(--text-muted);font-size:18px}.numpad__hint{color:var(--text-muted);text-align:right;margin:6px 0 12px;font-size:13px}.numpad__keys{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.numpad__keys .btn{min-height:64px;font-family:var(--font-mono);font-size:24px}.numpad__keys .btn--text{font-family:var(--font-sans);font-size:16px}.stack{flex-direction:column;gap:16px;display:flex}.choices--grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));display:grid}.choices--grid button{text-align:left;min-height:48px;padding:8px 12px}.subsection__title{margin:0;font-size:16px;font-weight:600}.section .card+.card{margin-top:12px}.project-data>summary{min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;align-items:center;gap:12px;padding:0 12px;list-style:none;display:flex}.project-data>summary::-webkit-details-marker{display:none}.project-data>summary .section__title{margin:0}.project-data>summary:after{content:"+";font-family:var(--font-mono);margin-left:auto;font-size:20px}.project-data[open]>summary:after{content:"–"}.optional>summary{min-height:var(--tap);cursor:pointer;align-items:center;gap:12px;list-style:none;display:flex}.optional>summary::-webkit-details-marker{display:none}.optional>summary:before{content:"+";background:var(--surface-2);width:28px;height:28px;font-family:var(--font-mono);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.optional[open]>summary:before{content:"–"}.optional[open]>summary{margin-bottom:12px}.entry{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:12px;padding:12px;display:flex}.draw{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.draw .topbar{position:static}.editor{flex:1;grid-template-columns:96px minmax(0,1fr) 280px;min-height:0;display:grid}.editor__tools{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;align-items:center;gap:6px;padding:12px 0;display:flex;overflow-y:auto}.tool{border-radius:var(--radius);width:76px;min-height:68px;color:var(--text);cursor:pointer;touch-action:manipulation;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.tool[aria-pressed=true]{background:var(--text);color:var(--bg)}.tool__label{text-align:center;font-size:12px;line-height:1.1}.tool__state{font-family:var(--font-mono);font-size:12px;font-weight:600}.tool--toggle[aria-pressed=true]{background:var(--primary);color:var(--on-primary)}.editor__main{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.editor__ctx{background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;height:64px;padding:8px 12px;display:flex}.editor__ctx .choices button{min-width:48px;font-family:var(--font-mono);padding:0 10px}.editor__ctx .btn[aria-pressed=true]{background:var(--text);color:var(--bg)}.editor__hint{z-index:2;border-radius:var(--radius);background:var(--text);max-width:min(560px,90%);color:var(--bg);pointer-events:none;margin:0;padding:10px 14px;font-size:14px;position:absolute;top:76px;left:50%;transform:translate(-50%)}.editor__canvas{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;min-height:0;position:relative;overflow:hidden}.editor__canvas>svg{display:block;position:absolute;inset:0}.editor__canvas[data-tool=pan]{cursor:grab}.editor__canvas[data-tool=wall]{cursor:crosshair}.editor__unheated-room{fill:color-mix(in srgb, var(--text-muted) 16%, transparent);pointer-events:none}.editor__room-sel{fill:color-mix(in srgb, var(--selection) 10%, transparent);stroke:var(--selection);stroke-dasharray:10 6;pointer-events:none}.editor__room-name{font-family:var(--font-sans,inherit);font-weight:600}.editor__north{z-index:3;cursor:pointer;background:0 0;border:0;border-radius:50%;width:60px;height:60px;padding:2px;position:absolute;top:12px;right:12px}.editor:not(.editor--ctx-in-header) .editor__north{top:72px}.editor__north-ring{fill:var(--surface);stroke:var(--border,#c9d1d9);stroke-width:1.5px}.editor__north-arrow{fill:var(--text)}.editor__north-letter{fill:var(--text);font-size:11px;font-weight:700}.editor__north--missing .editor__north-ring{stroke:var(--selection);stroke-dasharray:4 3}.editor__north--missing .editor__north-arrow,.editor__north--missing .editor__north-letter{fill:var(--text-muted)}.editor__gable{fill:#e07b1a59;stroke:#e07b1a;pointer-events:none}.editor__gable--active{fill:#e07b1a99}.roof-section{width:100%;height:120px}.roof-section polygon{fill:color-mix(in srgb, var(--primary) 12%, transparent);stroke:var(--primary);stroke-width:3px;vector-effect:non-scaling-stroke}.editor__notes polyline{fill:none;stroke:var(--note);stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.editor__room-height{fill:var(--primary)}.editor__dim{font-family:var(--font-mono);fill:var(--text);stroke:var(--surface);paint-order:stroke;pointer-events:none}.editor__dim--live{fill:var(--primary);font-weight:600}.editor__badge{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);pointer-events:none;align-items:baseline;gap:8px;padding:10px 14px;display:flex;position:absolute;bottom:12px;left:12px}.editor__panel{background:var(--surface);border-left:1px solid var(--border);padding:16px;overflow-y:auto}.stats{flex-direction:column;gap:8px;margin:0;display:flex}.stats__row{justify-content:space-between;gap:8px;display:flex}.stats__row dt{color:var(--text-muted)}.stats__row dd{white-space:nowrap;margin:0;font-weight:500}.warnings__show{min-height:40px;margin-top:6px;font-size:14px;display:flex}.editor__open-end{fill:none;stroke:var(--selection);pointer-events:none;animation:1.2s ease-in-out infinite open-end-pulse}@keyframes open-end-pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.editor__open-end{animation:none}}.warnings{border:1px solid var(--selection);border-radius:var(--radius);color:var(--selection);margin:0;padding:10px 12px 10px 28px;font-size:14px}.legend{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.legend li{align-items:center;gap:10px;display:flex}.legend__sw{border-radius:2px;width:28px;height:8px}.legend__sw--unheated-room{background:color-mix(in srgb, var(--text-muted) 16%, transparent);border:1px solid var(--border);height:12px}.legend__sw--ghost{background:var(--text-muted,#8a94a0);opacity:.35}.editor__ghost polygon{fill:var(--text);fill-opacity:.06;stroke:var(--text-muted);stroke-opacity:.8;pointer-events:none}.legend__sw--basement{border:2px dashed var(--basement);background:color-mix(in srgb, var(--basement) 14%, transparent);height:12px}.editor__basement{fill:color-mix(in srgb, var(--basement) 12%, transparent);stroke:var(--basement);pointer-events:none}.small{font-size:13px}@media (max-width:1000px){.editor{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:84px minmax(0,1fr)}.editor__tools{grid-row:1/span 2}.tool{width:68px}.editor__panel{border-left:0;border-top:1px solid var(--border);max-height:34vh}}.editor__main,.editor__panel{grid-column:auto}@media (max-width:1000px){.editor__main,.editor__panel{grid-column:2}}.numpad__zero{grid-column:1/-1}.numpad__selected{background:color-mix(in srgb, var(--primary) 25%, transparent);border-radius:4px}.editor__guide line,line.editor__guide{stroke:var(--primary);stroke-opacity:.35}.editor__guide--active{stroke-opacity:.8}.editor__marquee{fill:var(--primary);fill-opacity:.08;stroke:var(--primary)}.editor__canvas[data-tool=rect]{cursor:crosshair}.legend__sw--thin{height:3px}.editor__ctx>*{flex-shrink:0}.editor__ctx .choices{flex-wrap:nowrap}.editor__ctx-scroll{white-space:nowrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex;overflow-x:auto}.editor__ctx-scroll>*{flex-shrink:0}.editor__select{appearance:none;font-variant-numeric:tabular-nums;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px),calc(100% - 14px);background-repeat:no-repeat;background-size:6px 6px;padding:0 32px 0 12px}.editor__ctx-fixed{flex-shrink:0;gap:6px;display:flex}.editor__tools .tool--toggle{min-height:56px}.editor__arc-handle{fill:var(--surface);stroke:var(--selection)}.editor{position:relative}.editor__insulation{fill:var(--insulation);fill-opacity:.55;stroke:var(--insulation)}.editor__marquee--erase{fill:color-mix(in srgb, var(--selection) 10%, transparent);stroke:var(--selection)}.editor__hint{align-items:flex-start;gap:8px;max-width:min(440px,80%);padding:8px 8px 8px 12px;font-size:13px;display:flex;top:72px}.editor__hint button{pointer-events:auto;width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;font-size:18px;line-height:1}.editor--panel-closed{grid-template-rows:minmax(0,1fr);grid-template-columns:96px minmax(0,1fr)}.editor--panel-closed .editor__panel{display:none}.editor--panel-closed .editor__panel--floating{z-index:3;border:1px solid var(--border);border-radius:var(--radius);width:min(320px,100% - 120px);max-height:calc(100% - 100px);display:block;position:absolute;top:76px;right:12px;box-shadow:0 8px 24px #0000002e}@media (max-width:1000px){.editor--panel-closed{grid-template-columns:84px minmax(0,1fr)}}.editor__badge--stats{left:auto;right:12px}.editor__opening-gap{fill:var(--surface)}.editor__opening line,.editor__opening polyline{fill:none;stroke-linecap:round}.draw .topbar{box-sizing:border-box;gap:10px;height:64px;min-height:64px;padding:6px 12px}.draw .topbar__title{flex:0 auto;min-width:0;max-width:220px}.draw .topbar__title strong,.draw .topbar__title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar__level{flex:none;max-width:160px}.topbar__tools{flex:1;min-width:0;display:flex}.topbar__tools .editor__ctx{background:0 0;border:0;flex:1;min-width:0;height:auto;padding:0}.editor--ctx-in-header .editor__hint{top:12px}.editor--ctx-in-header.editor--panel-closed .editor__panel--floating{max-height:calc(100% - 24px);top:12px}.summary{max-width:1100px}.summary__section{margin-top:20px}.summary__scroll{overflow-x:auto}.summary__table{border-collapse:collapse;width:100%;font-size:15px}.summary__table th,.summary__table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:6px 8px}.summary__table th{color:var(--text-muted);font-size:13px;font-weight:600}.summary__table td.num{text-align:right;font-variant-numeric:tabular-nums}.summary__cell{border:1px solid var(--border);background:var(--surface);min-width:64px;min-height:40px;color:var(--text);font:inherit;text-align:right;cursor:pointer;border-radius:8px;padding:4px 8px}.summary__cell--override{border:2px solid #e07b1a}.summary__drawn{color:var(--text-muted);font-size:12px;display:block}.summary__manual{flex-wrap:wrap;margin-top:8px}@media print{.no-print,.topbar{display:none!important}.summary__cell{border:0;min-height:0;padding:0}.summary__cell--override{border:0;font-weight:700}body{background:#fff}}.plan-page{max-width:1200px}.plan-page__bar{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.plan-page__title{flex:auto;margin:0;font-size:22px}.plan-page__field{min-width:120px}.plan-page__sheets{flex-direction:column;gap:24px;margin-top:16px;display:flex}.plan-sheet{border:1px solid var(--border);width:100%;height:auto;display:block;box-shadow:0 2px 10px #0000001f}@media print{.plan-page{max-width:none;margin:0;padding:0}.plan-page__sheets{margin:0;display:block}.plan-sheet{width:var(--sheet-w);height:var(--sheet-h);box-shadow:none;border:0}.plan-page__sheet{break-after:page}.plan-page__sheet:last-child{break-after:auto}}.account{max-width:560px}.account__logo{object-fit:contain;border:1px solid var(--border);background:#fff;max-width:200px;max-height:48px;padding:4px}.account__newkey{border:2px solid var(--primary);border-radius:8px;padding:12px}.account__key{font-family:var(--font-mono,monospace);word-break:break-all;-webkit-user-select:all;user-select:all}.account__keys{margin:0;padding:0;list-style:none}.account__keyrow{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.account__keyrow[data-revoked=true]{opacity:.6}.account__keyform{align-items:flex-end}.account__section{border-top:1px solid var(--border);padding-top:16px}.account__status{border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px}.account-chip{gap:8px;font-size:15px}.account-chip__dot{background:var(--text-muted);border-radius:50%;width:10px;height:10px}.account-chip__dot--ok{background:#2e9e5b}.account-chip__dot--syncing{background:var(--primary)}.account-chip__dot--error{background:var(--selection)}.account-chip__dot--offline{background:#e07b1a}.login-gate{margin-top:8vh}.link-button{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;min-height:44px;padding:0;font-weight:600;text-decoration:underline}.choices button{min-height:var(--tap);background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}.choices button[aria-pressed=true]{box-shadow:none}.height-btn{background:var(--surface);border:1px solid var(--border);justify-content:space-between;min-width:120px}.picker{font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.picker__sheet{width:min(520px,100vw - 32px)}.picker__grid{gap:8px;display:grid}.picker__grid button{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-height:64px;color:var(--text);font-family:var(--font-mono);cursor:pointer;padding:0 8px;font-size:17px}.picker__grid button[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}.picker__grid .picker__other{font-family:var(--font-sans,inherit);font-size:15px}.tool{min-height:58px;position:relative}.tool[data-changed=true]:after{content:"";background:var(--primary);border-radius:50%;width:8px;height:8px;position:absolute;top:8px;right:12px}.settings__row{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings__row .choices{flex-shrink:0}.settings__row .choices button{min-width:64px}.editor__ctx-hint{font-size:14px}.editor__hint button{width:var(--tap);height:var(--tap);margin:-8px -8px -8px 0}.editor__zoom{z-index:2;flex-direction:column;gap:6px;display:flex;position:absolute;bottom:12px;right:12px}.editor__zoom .btn{background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 8px #0000001f}.quick-select{flex-wrap:wrap;gap:6px;display:flex}.quick-select .btn{flex:auto}.panel-more{border-top:1px solid var(--border);padding:4px 0 0}.editor__dim{font-weight:500}.editor{grid-template-columns:96px minmax(0,1fr) 320px}.editor--panel-closed{grid-template-columns:96px minmax(0,1fr)}.summary__cell,.warnings__show{min-height:var(--tap)}@media (orientation:portrait) and (max-width:1000px){.editor,.editor--panel-closed{grid-template-rows:minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr)}.editor__main{grid-area:1/1}.editor__panel{border-left:0;border-top:1px solid var(--border);grid-area:2/1;height:36vh}.editor__tools{padding:4px 4px calc(4px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--border);flex-direction:row;grid-area:3/1;justify-content:space-around;gap:2px;overflow:auto hidden}.editor__tools .spacer{display:none}.tool{flex:1 1 0;width:auto;min-width:64px;min-height:60px;padding:0 2px}.editor--panel-closed .editor__panel--floating{width:auto;max-height:45vh;inset:auto 12px 12px}}.draw__level{max-width:240px}.draw__level-btn{background:0 0;border:0;justify-content:flex-start;min-height:36px;margin-left:-8px;padding:0 8px;font-family:inherit;font-size:18px;font-weight:600}@media (orientation:portrait) and (max-width:1000px){.draw .topbar{flex-wrap:wrap;row-gap:4px;height:auto}.draw .topbar__tools{flex-basis:100%;order:3}.draw__level{flex:1;max-width:none}}.summary__table th,.summary__table td{white-space:nowrap;width:1%}.summary__table th.fill,.summary__table td.fill{white-space:normal;width:auto}.summary__table th.num{text-align:right}.summary__table th{vertical-align:bottom}.summary__ok{color:var(--ok,#2f855a);margin:0;font-weight:600}.summary__warnings .warnings li{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.plan-page__bar,.summary__bar,.account__bar{flex-wrap:nowrap;align-items:center}.summary__bar h1,.account__bar h1{margin:0}.plan-page__options{flex-wrap:wrap;gap:12px;margin:12px 0}@media (orientation:portrait) and (max-width:1000px){.draw .topbar{align-content:center;height:124px}}.summary__meta{margin:4px 0 0;font-weight:500}.summary__keys{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:16px 0 0;display:grid}.summary__key{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column-reverse;gap:2px;padding:10px 12px;display:flex}.summary__key dt{color:var(--text-muted);font-size:12px}.summary__key dd{margin:0;font-size:18px;font-weight:600}.summary__building{grid-template-columns:max-content 1fr;gap:4px 16px;margin:0;display:grid}.summary__building>div{display:contents}.summary__building dt{color:var(--text-muted)}.summary__building dd{margin:0}.summary__subtitle{margin:2px 0 0}.summary__row--group td{background:var(--surface-2);padding-top:12px;font-weight:600}.summary__row--subtotal td{color:var(--text-muted);font-weight:600}.summary__row--total td{border-top:2px solid var(--text);font-weight:700}.section-editor{z-index:4;background:var(--bg);flex-direction:column;display:flex;position:absolute;inset:0}.section-editor__bar{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:8px 12px;display:flex}.section-editor__hint{margin:6px 12px 0;font-size:14px}.section-editor__svg{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;width:100%;min-height:0}.section-editor__floor{stroke:var(--text)}.section-editor__edge{stroke:var(--text-muted)}.section-editor__fill{fill:color-mix(in srgb, var(--primary) 12%, transparent)}.section-editor__line{stroke:var(--primary);stroke-linejoin:round}.section-editor__rubber line{stroke:var(--primary);stroke-opacity:.6}.section-editor__node{fill:var(--surface);stroke:var(--primary);stroke-width:2px;vector-effect:non-scaling-stroke}.section-editor__text{fill:var(--text-muted);font-family:var(--font-sans);paint-order:stroke;stroke:var(--bg);stroke-width:4px;vector-effect:non-scaling-stroke}.section-editor__text--len{fill:var(--text);font-family:var(--font-mono);font-weight:600}.section-editor__text--live{fill:var(--primary);font-family:var(--font-mono);font-weight:600}.section-editor__label--editable{cursor:pointer}
