:root{font-family:Instrument Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2a24;background:#f6f3eb;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f6f3eb;--surface: #ffffff;--surface-alt: #faf8f2;--surface-dashed: #fcfbf7;--hover: #f1eee4;--hover-input: #f4f0e5;--border: #ece7da;--border-soft: #f0ebdf;--border-row: #f5f1e8;--border-strong: #e4dfd2;--border-dashed: #d8d2c2;--border-hover-green: #8fb8a2;--text: #1f2a24;--text-secondary: #4b564f;--text-muted: #6b7570;--text-soft: #8a928c;--text-faint: #9aa39d;--text-placeholder: #b9b29e;--primary: #006634;--primary-hover: #00552c;--primary-dark: #004d27;--primary-tint: #eaf3ee;--primary-tint-hover: #dcebe2;--primary-border: #c9dcd1;--primary-tint-bg: #f7faf7;--label-a: #006634;--label-b: #018d37;--label-c: #92c01f;--label-d: #ffeb00;--label-e: #f7b231;--label-f: #e95a0c;--label-g: #bc1622;--accent-amber-text: #b07f1d;--accent-orange-text: #a05a10;--accent-orange-tint: #fbf0e2;--accent-orange-tint-hover: #f6e5ce;--accent-lime-text: #5d7a14;--accent-lime-tint: #f3f6e3;--accent-lime-tint-hover: #eaf0ce;--accent-red-tint: #fbeff0;--accent-red-border: #e8c8cb;--room-living-bg: #d6e4f7;--room-wet-bg: #fdecea;--room-neutral-bg: #f5f5f5;--shadow-card: 0 1px 3px rgba(31, 42, 36, .05);--shadow-sm: 0 1px 2px rgba(31, 42, 36, .04);--shadow-card-hover: 0 4px 14px rgba(31, 42, 36, .09);--shadow-primary: 0 1px 2px rgba(0, 44, 22, .18);--focus-ring: rgba(0, 102, 52, .35)}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17201b;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility}html{background:var(--bg)}body{font-family:Instrument Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font-family:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}button{border-color:var(--border-strong);color:var(--text);background:var(--surface)}.app-shell{grid-template-columns:220px minmax(0,1fr);background:var(--bg)}.app-shell.editor-shell{grid-template-columns:64px minmax(0,1fr)}.topbar{z-index:20;width:220px;padding:20px 12px;align-items:stretch;gap:4px;border-right:1px solid var(--border);color:var(--text);background:var(--surface)}.brand{width:auto;height:auto;justify-content:flex-start;gap:10px;padding:6px 10px 22px;color:var(--text)}.brand-mark{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;border-radius:8px;color:var(--surface);background:var(--primary);font-size:15px;font-weight:700}.brand-name{font-size:15px;font-weight:600;letter-spacing:-.01em}.tabs{align-items:stretch;gap:4px}.tabs button{position:relative;width:100%;min-height:40px;height:auto;justify-content:flex-start;gap:11px;padding:10px 12px;border-radius:9px;color:var(--text-secondary)}.tabs button span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;color:inherit;font-size:13.5px;font-weight:500;white-space:nowrap}.tabs button.active{color:var(--primary);background:var(--primary-tint);box-shadow:none}.tabs button.active span{font-weight:600}.tabs button:not(:disabled):hover{color:var(--text);background:var(--hover)}.sidebar-version{margin-top:auto;padding:12px 12px 4px;color:var(--text-faint);font-size:11.5px;white-space:nowrap}.editor-shell .topbar{width:64px;padding:20px 0;align-items:center;gap:6px}.editor-shell .brand{padding:0 0 16px}.editor-shell .brand-mark{width:34px;height:34px;border-radius:9px}.editor-shell .brand-name,.editor-shell .tabs button span,.editor-shell .sidebar-version{display:none}.editor-shell .tabs{align-items:center}.editor-shell .tabs button{width:42px;min-height:42px;justify-content:center;padding:0;border-radius:10px}.primary-button,.upload-action{border-color:var(--primary);color:var(--surface);background:var(--primary);box-shadow:var(--shadow-primary)}.primary-button:not(:disabled):hover,.upload-action:not(:disabled):hover{border-color:var(--primary-hover);background:var(--primary-hover)}.secondary-button{border-color:var(--border-strong);color:var(--text-secondary);background:var(--surface)}.secondary-button:not(:disabled):hover{background:var(--bg)}.text-button{color:var(--text-muted)}.text-button.back-button,.text-button.back-button:hover,.text-button.back-button:active{border-color:transparent;background:transparent;box-shadow:none}.muted{color:var(--text-muted)}.project-menu{min-height:100vh;padding:36px 44px 56px;color:var(--text);background:var(--bg)}.project-menu-head{align-items:flex-start;margin-bottom:0}.project-menu-head h1{margin:0;font-size:26px;font-weight:700;letter-spacing:-.02em}.project-menu-head .muted{margin:6px 0 0;font-size:13.5px}.upload-action{min-height:40px;padding:0 18px;border:0;border-radius:10px;font-size:13.5px;font-weight:600}.project-menu>.status-strip{width:min(100%,780px);margin-top:20px}.project-filters{display:flex;align-items:center;gap:12px;margin:26px 0 24px;flex-wrap:wrap}.project-search{width:min(100%,420px);min-width:240px;display:flex;flex:1 1 280px;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--border);border-radius:10px;color:var(--text-faint);background:var(--surface);box-shadow:var(--shadow-sm)}.project-search input{min-width:0;flex:1;padding:11px 0;border:0;outline:0;color:var(--text);background:transparent;font-size:13.5px}.project-search input::placeholder{color:var(--text-faint)}.project-sort{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12.5px}.project-sort select{min-height:38px;padding:0 34px 0 14px;appearance:none;border:1px solid var(--border);border-radius:10px;color:var(--text);background-color:var(--surface);background-image:linear-gradient(45deg,transparent 50%,var(--text-muted) 50%),linear-gradient(135deg,var(--text-muted) 50%,transparent 50%);background-position:calc(100% - 16px) 16px,calc(100% - 11px) 16px;background-repeat:no-repeat;background-size:5px 5px;box-shadow:var(--shadow-sm);cursor:pointer;font-size:13px}.project-count{margin-left:auto;color:var(--text-faint);font-size:12.5px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-auto-rows:1fr;align-items:stretch;gap:18px;margin-top:0}.project-card{position:relative;min-height:390px;height:100%;aspect-ratio:3 / 4;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card);transition:border-color .15s,box-shadow .15s,transform .15s}.project-card:hover{box-shadow:var(--shadow-card-hover)}.project-card.active{border-color:var(--primary-border);box-shadow:var(--shadow-card-hover)}.project-status-accent{width:100%;height:4px;flex:0 0 4px}.project-status-accent.missing{background:var(--label-g)}.project-status-accent.partial{background:var(--label-d)}.project-status-accent.complete{background:var(--label-a)}.project-delete-button{position:absolute;top:14px;right:12px;z-index:3;width:34px;min-height:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--accent-red-border);border-radius:9px;color:var(--label-g);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:var(--shadow-card);opacity:0;transform:translateY(-3px);transition:opacity .15s,transform .15s,background .15s}.project-card:hover .project-delete-button,.project-card:focus-within .project-delete-button{opacity:1;transform:translateY(0)}.project-delete-button:not(:disabled):hover{background:var(--accent-red-tint)}.project-card-media{height:220px;display:grid;place-items:center;padding:20px;overflow:hidden;border-bottom:1px solid var(--border-soft);background:var(--surface-alt)}.project-card-media>img{width:100%;height:100%;object-fit:contain;border-radius:8px;background:var(--surface)}.project-card-empty{width:100%;min-height:180px;border:0;color:var(--text-placeholder);background:transparent}.project-card-body{min-height:0;flex:1;display:flex;flex-direction:column;gap:12px;padding:14px 16px 0}.project-card-body h2{min-height:0;margin:0;display:block;overflow:hidden;color:var(--text);font-size:14px;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.project-generation-status{display:flex;flex-direction:column;gap:6px;color:var(--text-muted);font-size:12.5px}.project-generation-status>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-generation-status strong{display:inline-flex;align-items:center;gap:5px;color:var(--text);font-weight:600}.project-generation-status strong.ready svg{color:var(--label-b)}.project-generation-status strong.pending{color:var(--text-faint)}.project-card-actions{width:calc(100% + 32px);grid-template-columns:52px minmax(0,1fr);gap:0;margin-top:auto;margin-inline:-16px;padding-top:10px}.project-card-actions .primary-button,.project-card-actions .secondary-button{min-height:44px;border-radius:0;font-size:13px;font-weight:600}.project-card-actions .icon-only-button{width:52px;padding:0;border-right:0}.new-project-card{align-items:center;justify-content:center;gap:14px;padding:28px 20px;border:1.5px dashed var(--border-dashed);text-align:center;box-shadow:none}.new-project-card .project-delete-button{display:none}.new-project-card:hover{border-color:var(--border-hover-green)}.new-project-card .project-card-empty{width:auto;min-height:44px}.new-project-card .project-card-body{flex:0 0 auto;align-items:center;gap:14px;padding:0}.new-project-card .project-card-body h2{font-size:14.5px}.new-project-button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 16px;border:0;border-radius:9px;color:var(--primary);background:var(--primary-tint);font-size:13px;font-weight:600}.new-project-button:hover{background:var(--primary-tint-hover)}.project-no-results{margin:28px 0 0;color:var(--text-soft);font-size:13.5px}@media(max-width:780px){.app-shell{grid-template-columns:64px minmax(0,1fr)}.topbar{width:64px;padding:20px 0;align-items:center}.brand{padding:0 0 16px}.brand-name,.tabs button span,.sidebar-version{display:none}.tabs{align-items:center}.tabs button{width:42px;min-height:42px;justify-content:center;padding:0}.project-menu{padding:24px 20px 40px}.project-count{width:100%;margin-left:0}}@media(max-width:560px){.project-menu-head{flex-direction:column}.project-head-actions,.project-head-actions .upload-action{width:100%}.project-sort{width:100%;justify-content:space-between}}.project-builder{min-height:100vh;height:100vh;padding:22px 44px 26px;display:flex;justify-content:center;overflow:auto;background:var(--bg)}.project-builder-inner{width:100%;max-width:980px;display:flex;flex-direction:column}.project-builder .back-button{width:max-content;min-height:24px;padding:0;color:var(--text-muted);font-size:13px;font-weight:500}.project-builder .back-button:hover{color:var(--primary)}.house-name-field{margin-top:14px}.house-name-field label,.floor-section-title>span{display:block;color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.house-name-field label{margin-bottom:8px}.house-name-field input{width:100%;padding:0 0 8px;border:0;border-bottom:2px solid var(--border-strong);outline:0;color:var(--text);background:transparent;font-size:24px;font-weight:700;letter-spacing:-.02em;transition:border-color .15s}.house-name-field input:focus{border-color:var(--primary)}.house-name-field input::placeholder{color:var(--text-placeholder)}.project-builder .status-strip{min-height:40px;margin-top:12px;border:1px solid var(--border);border-left:3px solid var(--label-a);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.project-builder .status-strip.error{border-left-color:var(--label-g)}.project-builder .status-strip.loading{border-left-color:var(--label-e)}.floor-section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px;color:var(--text-faint);font-size:12.5px}.floor-section-title{display:flex;align-items:center;gap:8px}.project-builder .upload-guidance{position:relative;width:auto;border:0;border-radius:0;background:transparent}.project-builder .upload-guidance summary{width:26px;min-height:26px;height:26px;display:grid;place-items:center;padding:0;border:1px solid var(--primary-border);border-radius:50%;color:var(--primary);background:var(--primary-tint)}.project-builder .upload-guidance[open] summary{border-bottom:1px solid var(--primary-border)}.project-builder .upload-guidance-content{position:absolute;top:34px;left:0;z-index:30;width:min(520px,calc(100vw - 300px));padding:14px 16px;border:1px solid var(--border);border-radius:11px;color:var(--text-secondary);background:var(--surface);box-shadow:var(--shadow-card-hover)}.project-builder .floor-slot-section{min-height:0;margin:0;display:block}.project-builder .floor-slot-grid{width:100%;display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(126px,auto);gap:12px;margin:0}.project-builder .floor-slot-card{min-height:126px;display:flex;align-items:stretch;gap:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card);cursor:default}.project-builder .floor-slot-card.active,.project-builder .floor-slot-card.active .floorplan-card{border-color:var(--border);box-shadow:var(--shadow-card)}.project-builder .floor-slot-card.dragging{opacity:.72}.project-builder .floor-slot-label{width:210px;flex:0 0 210px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:14px 18px;border:0;border-right:1px solid var(--border-soft);border-radius:0;background:var(--surface)}.project-builder .floor-slot-label h2{margin:0;color:var(--text);font-size:14.5px;font-weight:600}.floor-number{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;color:var(--text-soft);background:var(--hover);font-size:12.5px;font-weight:700}.floor-slot-card.filled .floor-number{color:var(--primary);background:var(--primary-tint)}.project-builder .floor-uploaded{display:inline-flex;align-items:center;gap:5px;color:var(--label-b);font-size:12px;font-weight:600}.project-builder .floorplan-card{min-width:0;min-height:0;flex:1;display:flex;padding:12px 16px;border:0;border-radius:0;background:var(--surface);cursor:default}.uploaded-floorplan{min-width:0;flex:1;display:flex;align-items:center;gap:16px;padding:10px 16px;border:1px solid var(--border-soft);border-radius:11px;background:var(--surface-alt);cursor:grab}.uploaded-floorplan:active{cursor:grabbing}.project-builder .floor-slot-media{width:64px;height:64px;min-height:0;flex:0 0 64px;display:grid;place-items:center;padding:5px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.project-builder .floor-slot-media img{width:100%;min-height:0;height:100%;object-fit:contain}.uploaded-floorplan-meta{min-width:0;flex:1;display:flex;flex-direction:column}.uploaded-floorplan-meta strong{overflow:hidden;color:var(--text);font-size:13.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.uploaded-floorplan-meta span{margin-top:3px;color:var(--text-faint);font-size:12px}.project-builder .floor-slot-actions{display:flex;flex:0 0 auto;gap:8px}.project-builder .slot-upload-button,.project-builder .remove-floor-button{min-height:34px;height:34px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);font-size:12.5px;font-weight:600}.project-builder .slot-upload-button{padding:0 13px;color:var(--text-secondary)}.project-builder .remove-floor-button{width:34px;display:grid;place-items:center;padding:0;color:var(--label-g)}.project-builder .remove-floor-button:hover{border-color:var(--accent-red-border);background:var(--accent-red-tint)}.floor-upload-dropzone{min-width:0;min-height:100px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 20px;border:1.5px dashed var(--border-dashed);border-radius:11px;color:var(--text-faint);background:var(--surface-dashed);cursor:pointer;text-align:center;transition:border-color .15s,background .15s}.floor-upload-dropzone:hover{border-color:var(--border-hover-green);background:var(--primary-tint-bg)}.floor-upload-dropzone span{color:var(--text-muted);font-size:13px}.floor-upload-dropzone strong{color:var(--primary);font-weight:600}.floor-upload-dropzone small{color:var(--text-placeholder);font-size:11.5px}.floor-upload-dropzone input,.project-builder .slot-upload-button input{display:none}.project-generation-actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.project-generation-actions .primary-button,.project-generation-actions .secondary-button{min-width:220px;min-height:46px;flex:1;margin:0;border-radius:10px;font-size:14px;font-weight:600}.project-generation-actions .secondary-button{border-color:var(--primary-border);color:var(--primary)}.project-generation-actions .secondary-button:hover{background:var(--primary-tint)}@media(max-width:820px){.project-builder{height:auto;padding:22px 24px 36px}.project-builder .floor-slot-label{width:170px;flex-basis:170px}.uploaded-floorplan{align-items:flex-start;flex-wrap:wrap}.uploaded-floorplan-meta{min-width:180px}}@media(max-width:620px){.project-builder{padding-inline:16px}.project-builder .floor-slot-card{flex-direction:column}.project-builder .floor-slot-label{width:100%;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;border-right:0;border-bottom:1px solid var(--border-soft)}.project-builder .floor-uploaded{margin-left:auto}.project-builder .upload-guidance-content{width:calc(100vw - 112px)}.uploaded-floorplan{display:grid;grid-template-columns:64px minmax(0,1fr)}.project-builder .floor-slot-actions{grid-column:1 / -1}}.table-page{min-height:100vh;display:block;padding:22px 36px 32px;color:var(--text);background:var(--bg)}.table-workspace{min-width:0;display:block}.table-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.table-page-header .back-button{min-height:24px;padding:0;color:var(--text-muted);font-size:13px;font-weight:500}.table-page-header h1{margin:8px 0 0;color:var(--text);font-size:22px;font-weight:700;letter-spacing:-.02em}.table-page-header h1>span{margin:0 8px;color:var(--text-faint);font-weight:500}.table-page-header h1 small{color:var(--text-muted);font-size:18px;font-weight:500}.table-page-actions{display:flex;align-items:center;gap:10px}.table-page-actions .primary-button,.table-page-actions .secondary-button{width:auto;min-height:40px;margin:0;padding:0 18px;border-radius:10px;font-size:13.5px;font-weight:600}.approval-progress{min-height:40px;display:inline-flex;align-items:center;padding:0 18px;border-radius:10px;color:var(--text-soft);background:var(--hover);font-size:13.5px;font-weight:600;white-space:nowrap}.table-floor-tabs{display:flex;gap:10px;margin:18px 0 16px;flex-wrap:wrap}.table-floor-tabs>button{min-width:0;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 9px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow-sm);text-align:left}.table-floor-tabs>button:hover{border-color:var(--border-hover-green)}.table-floor-tabs>button.active{border-color:var(--primary)}.table-floor-tabs img,.table-floor-tabs .rail-empty-thumb{width:36px;height:36px;flex:0 0 36px;border-radius:6px;object-fit:contain;background:var(--surface-alt)}.table-floor-tab-copy{min-width:0}.table-floor-tab-copy strong{display:block;color:var(--text);font-size:12.5px;font-weight:600;white-space:nowrap}.table-floor-tabs>button.active .table-floor-tab-copy strong{color:var(--primary);font-weight:700}.table-floor-tab-copy small{display:flex;align-items:center;gap:4px;margin-top:2px;color:var(--accent-amber-text);font-size:11px}.table-floor-tab-copy small.approved{color:var(--label-b)}.approval-dot{width:6px;height:6px;border-radius:50%;background:var(--label-e)}.status-message-stack{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.status-message-stack:empty{display:none}.status-message-stack .status-strip,.status-message-stack .generation-warnings{min-height:38px;margin:0;padding:9px 16px;border:1px solid var(--border);border-left:3px solid var(--label-a);border-radius:10px;color:var(--text-secondary);background:var(--surface);box-shadow:var(--shadow-sm);font-size:13px}.status-message-stack .status-strip.loading{border-left-color:var(--label-e)}.status-message-stack .status-strip.error,.status-message-stack .generation-warnings{border-left-color:var(--label-g)}.generation-warnings-slot:empty{display:none}.status-message-stack .generation-warnings h2{font-size:13px}.table-layout{min-width:0;min-height:0;display:flex;align-items:flex-start;gap:20px;padding:0;overflow:visible}.table-preview{width:200px;min-width:200px;flex:0 0 200px;align-self:flex-start;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-card)}.table-preview-title{margin-bottom:8px;overflow:hidden;color:var(--text-muted);font-size:11.5px;font-weight:600;letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.table-preview img,.table-preview-empty{width:100%;max-height:none;aspect-ratio:9 / 16;border:1px solid var(--border-soft);border-radius:10px;background:var(--surface-alt);object-fit:contain}.table-preview-zoom-trigger{position:relative;width:100%;display:block;padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--surface-alt);cursor:zoom-in}.table-preview-zoom-trigger img{display:block;transition:filter .16s ease}.table-preview-zoom-icon{position:absolute;inset:50% auto auto 50%;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.72);border-radius:50%;color:var(--surface);background:#1f2a24c7;box-shadow:0 8px 24px #1f2a243d;opacity:0;pointer-events:none;transform:translate(-50%,-42%) scale(.9);transition:opacity .16s ease,transform .16s ease}.table-preview-zoom-trigger:hover img,.table-preview-zoom-trigger:focus-visible img{filter:brightness(.88)}.table-preview-zoom-trigger:hover .table-preview-zoom-icon,.table-preview-zoom-trigger:focus-visible .table-preview-zoom-icon{opacity:1;transform:translate(-50%,-50%) scale(1)}.table-preview-lightbox{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:clamp(20px,4vw,56px);background:#151d19b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:zoom-out}.table-preview-lightbox-frame{max-width:92vw;max-height:90vh;display:grid;place-items:center;padding:14px;border:1px solid rgba(255,255,255,.6);border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #0f181366;cursor:default}.table-preview-lightbox-frame img{width:auto;max-width:calc(92vw - 28px);height:auto;max-height:calc(90vh - 28px);display:block;border-radius:8px;object-fit:contain}.table-preview-empty{min-height:0}.table-editor-panel{min-width:420px;max-width:none;flex:1;align-self:flex-start;padding:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card)}.table-heading{min-height:54px;align-items:center;padding:10px 18px;border-bottom:1px solid var(--border-soft)}.table-heading>div{display:flex;align-items:baseline;gap:14px}.table-heading h2{margin:0;color:var(--text);font-size:14px;font-weight:600}.table-heading>div>span{color:var(--text-faint);font-size:12px}.approve-table-button,.table-approved-badge{min-height:32px;display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:0 14px;border-radius:8px;font-size:12.5px;font-weight:600}.approve-table-button{border:0;color:var(--surface);background:var(--primary)}.approve-table-button:hover{background:var(--primary-hover)}.table-approved-badge{color:var(--primary);background:var(--primary-tint)}.table-editor-stack{gap:14px;padding:0 0 14px}.table-page .compact-ventilation-table{gap:0}.table-page .compact-ventilation-table h3{display:none}.table-page .presentation-table-scroll{border:0;border-bottom:1px solid var(--border-soft)}.table-page .compact-ventilation-table th{padding:10px 12px;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-alt);font-size:11.5px;font-weight:600;white-space:nowrap}.table-page .compact-ventilation-table td{padding:10px 12px;border:0;border-bottom:1px solid var(--border-row);color:var(--text-secondary);background:var(--surface);font-size:11.5px}.table-page .compact-ventilation-table th:nth-child(2),.table-page .compact-ventilation-table td:nth-child(2){width:19%}.table-page .compact-ventilation-table th:nth-child(11),.table-page .compact-ventilation-table td:nth-child(11){width:9%;white-space:nowrap;overflow-wrap:normal}.table-page .compact-ventilation-table .row-living td{background:var(--room-living-bg)}.table-page .compact-ventilation-table .row-wet td{background:var(--room-wet-bg)}.table-page .compact-ventilation-table .row-neutral td{background:var(--room-neutral-bg)}.table-page .compact-ventilation-table tfoot td{background:var(--surface)}.table-page .compact-ventilation-table td.overstroom-value{color:var(--label-b)}.table-page .compact-ventilation-table td.natuurlijke-toevoer-value{color:var(--primary)}.table-page .source-table-editor{margin:0 14px;border-color:var(--border);border-radius:10px}.table-page .source-table-editor summary{color:var(--text-secondary);font-size:12.5px;font-weight:600}.table-empty-state{min-height:340px;color:var(--text-placeholder)}@media(max-width:1050px){.table-page{padding:22px 24px 32px}.table-layout{flex-direction:column}.table-preview{width:100%;flex:none}.table-preview img,.table-preview-empty{height:280px;aspect-ratio:auto}.table-editor-panel{width:100%;min-width:0}}@media(max-width:680px){.table-page{padding-inline:16px}.table-page-header,.table-page-actions{align-items:stretch;flex-direction:column}.table-page-actions .primary-button,.table-page-actions .secondary-button,.approval-progress{width:100%;justify-content:center}.table-floor-tabs{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.table-floor-tabs>button{flex:0 0 auto}.table-heading{align-items:flex-start;flex-direction:column}.table-heading>div{align-items:flex-start;flex-direction:column;gap:3px}.approve-table-button,.table-approved-badge{margin-left:0}}.editor-workspace{min-height:100vh;height:100vh;display:grid;grid-template-columns:280px minmax(440px,1fr) 250px;grid-template-rows:auto minmax(0,1fr);gap:16px;padding:22px 28px 26px;overflow:auto;color:var(--text);background:var(--bg)}.editor-page-header{grid-column:1 / -1;min-width:0}.editor-page-header .back-button{min-height:22px;padding:0;color:var(--text-muted);font-size:13px;font-weight:500}.editor-page-header h1{margin:6px 0 0;overflow:hidden;color:var(--text);font-size:20px;font-weight:700;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.editor-page-header h1>span{margin:0 7px;color:var(--text-faint);font-weight:500}.editor-page-header h1 small{color:var(--text-muted);font-size:16px;font-weight:500}.editor-table-panel{min-width:0;min-height:0;display:flex;flex-direction:column;gap:14px;padding:0;border:0;background:transparent;overflow:auto}.editor-side-card{min-width:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card)}.editor-side-card:first-child{padding:10px}.editor-side-title{padding:2px 6px 8px;overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.editor-debit-card .editor-side-title{padding:12px 14px 8px}.floor-switcher{display:flex;flex-direction:column;gap:4px;margin:0}.floor-switcher button{min-height:35px;padding:9px 10px;border:0;border-radius:8px;background:transparent}.floor-switcher button:not(:disabled):hover{background:var(--hover)}.floor-switcher button.active{border:0;color:var(--primary);background:var(--primary-tint)}.floor-switcher button.ready:not(.active){border:0}.floor-switcher-name{color:var(--text-secondary);font-size:13px;font-weight:500}.floor-switcher button.active .floor-switcher-name{color:var(--primary);font-weight:700}.editor-debit-card .compact-ventilation-table{display:block}.editor-debit-card .compact-ventilation-table h3,.editor-debit-card .overall-balance,.editor-debit-card .symbol-balance{display:none}.editor-debit-card .presentation-table-scroll{border:0;overflow-x:hidden}.editor-debit-card .compact-ventilation-table table{width:100%;min-width:0;table-layout:fixed;font-size:11.5px}.editor-debit-card .compact-ventilation-table th{padding:6px 4px;border-bottom:1px solid var(--border);color:var(--text-muted);background:var(--surface-alt);font-weight:600;white-space:nowrap;overflow-wrap:normal}.editor-debit-card .compact-ventilation-table th:nth-child(2){color:var(--label-b)}.editor-debit-card .compact-ventilation-table th:nth-child(3){color:var(--label-b)}.editor-debit-card .compact-ventilation-table th:nth-child(4){color:var(--label-g)}.editor-debit-card .compact-ventilation-table td{padding:8px 4px;border:0;border-bottom:1px solid var(--border-row);color:var(--text-secondary);background:var(--surface)}.editor-debit-card .editor-ventilation-table th:nth-child(1),.editor-debit-card .editor-ventilation-table td:nth-child(1){width:31%}.editor-debit-card .editor-ventilation-table th:nth-child(n+2),.editor-debit-card .editor-ventilation-table td:nth-child(n+2){width:23%;padding-right:2px;padding-left:6px;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}.editor-debit-card .editor-ventilation-table tbody td:nth-child(1){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-debit-card .editor-ventilation-table .flow-cell span{display:inline;white-space:nowrap}.editor-debit-card .editor-ventilation-table .flow-cell span+span:before{content:", "}.editor-debit-card .compact-ventilation-table .row-living td,.editor-debit-card .compact-ventilation-table .row-wet td,.editor-debit-card .compact-ventilation-table .row-neutral td,.editor-debit-card .compact-ventilation-table tfoot td{background:var(--surface)}.editor-debit-card .compact-ventilation-table td.overstroom-value{color:var(--label-b)}.editor-area{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px;background:transparent}.toolbar{min-height:52px;display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-card)}.toolbar button{min-height:34px;margin:0;border-radius:8px;font-size:12.5px;font-weight:600}.toolbar .toolbar-icon-button{width:34px;padding:0;border:0;color:var(--text-secondary);background:transparent}.toolbar .toolbar-icon-button:not(:disabled):hover{background:var(--hover)}.toolbar-separator{width:1px;height:22px;flex:0 0 1px;margin:0 4px;background:var(--border)}.toolbar .toolbar-add{padding:0 13px;border:0}.toolbar .toolbar-add.toevoer{color:var(--primary);background:var(--primary-tint)}.toolbar .toolbar-add.toevoer:hover,.toolbar .toolbar-add.toevoer.active{color:var(--primary);background:var(--primary-tint-hover)}.toolbar .toolbar-add.afvoer{color:var(--accent-orange-text);background:var(--accent-orange-tint)}.toolbar .toolbar-add.afvoer:hover,.toolbar .toolbar-add.afvoer.active{color:var(--accent-orange-text);background:var(--accent-orange-tint-hover)}.toolbar .toolbar-add.overstroom{color:var(--accent-lime-text);background:var(--accent-lime-tint)}.toolbar .toolbar-add.overstroom:hover,.toolbar .toolbar-add.overstroom.active{color:var(--accent-lime-text);background:var(--accent-lime-tint-hover)}.toolbar .toolbar-add.active{box-shadow:inset 0 0 0 1px currentColor}.toolbar .toolbar-delete{padding:0 13px;border-color:var(--accent-red-border);color:var(--label-g);background:transparent}.toolbar .toolbar-delete:not(:disabled):hover{background:var(--accent-red-tint)}.toolbar .toolbar-export{min-width:116px;margin-left:auto;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:var(--primary-border);color:var(--primary);background:var(--surface)}.toolbar .toolbar-export:not(:disabled):hover{border-color:var(--primary);background:var(--primary-tint)}.feedback-dialog-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#18221c8f;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.feedback-dialog{width:min(100%,470px);max-height:min(760px,calc(100vh - 48px));display:flex;flex-direction:column;border:1px solid var(--border-strong);border-radius:18px;overflow:hidden;color:var(--text);background:var(--surface);box-shadow:0 24px 70px #121e173d}.feedback-dialog-header{min-height:72px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border-soft)}.feedback-dialog-header>div{min-width:0;display:grid;gap:2px}.feedback-dialog-header span,.feedback-dialog-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feedback-dialog-header span{color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.feedback-dialog-header strong{font-size:15px}.feedback-close-button{width:34px;min-width:34px;height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:8px;color:var(--text-muted);background:transparent}.feedback-close-button:not(:disabled):hover{color:var(--text);background:var(--hover)}.feedback-progress{min-height:58px;padding:14px 24px 8px;display:flex;align-items:center;justify-content:center}.feedback-progress>div{width:28px;height:28px;display:grid;flex:0 0 28px;place-items:center;border:1px solid var(--border-strong);border-radius:50%;color:var(--text-faint);background:var(--surface);font-size:12px;font-weight:800}.feedback-progress>div.active,.feedback-progress>div.complete{border-color:var(--primary);color:var(--surface);background:var(--primary)}.feedback-progress>span{width:74px;height:1px;flex:0 1 74px;background:var(--border-strong)}.feedback-progress>span.complete{background:var(--primary)}.feedback-dialog-body{min-height:0;padding:14px 28px 22px;display:grid;gap:13px;overflow-y:auto}.feedback-step-label{margin:0 0 5px;color:var(--primary);font-size:12px;font-weight:700}.feedback-dialog-body h2{margin:0;font-size:21px;line-height:1.25;letter-spacing:-.02em}.feedback-rating-label{margin:17px 0 0;color:var(--text-secondary);font-size:13px;font-weight:600}.feedback-rating-label span,.feedback-comment strong{color:var(--label-g)}.feedback-rating{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.feedback-rating button{min-width:0;height:55px;padding:0;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;color:#b9beb9;background:var(--surface-alt)}.feedback-rating button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.feedback-rating button:not(:disabled):hover,.feedback-rating button.selected{border-color:var(--primary-border);color:var(--primary);background:var(--primary-tint)}.feedback-rating button[aria-checked=true]{box-shadow:0 0 0 2px #00663421}.feedback-rating-scale{margin-top:-8px;display:flex;justify-content:space-between;color:var(--text-faint);font-size:11px}.feedback-comment{display:grid;gap:7px}.feedback-comment>span{color:var(--text-secondary);font-size:13px;font-weight:700}.feedback-comment small{color:var(--text-muted);font-size:inherit;font-weight:500}.feedback-comment textarea{width:100%;min-height:114px;resize:vertical;padding:11px 12px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text);background:var(--surface);font-size:13.5px;line-height:1.45}.feedback-comment textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #0066341a}.feedback-required-message,.feedback-submit-error{margin:-5px 0 0;font-size:12px}.feedback-required-message{color:var(--label-g)}.feedback-submit-error{padding:9px 10px;border-radius:8px;color:#8a1d1d;background:var(--accent-red-tint)}.feedback-dialog-actions{min-height:72px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border-soft);background:var(--surface-alt)}.feedback-dialog-actions button{min-height:40px;margin:0;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:13px;font-weight:700}.feedback-dialog-actions .primary-button{min-width:174px}@media(max-width:560px){.feedback-dialog-backdrop{align-items:end;padding:0}.feedback-dialog{width:100%;max-height:calc(100vh - 16px);border-radius:18px 18px 0 0}.feedback-dialog-body{padding-inline:20px}.feedback-dialog-actions .primary-button{min-width:0}}.editor-area>.status-strip{min-height:38px;flex:0 0 auto;padding:8px 12px;border:1px solid var(--border);border-left:3px solid var(--label-a);border-radius:10px;color:var(--text-secondary);background:var(--surface);box-shadow:var(--shadow-sm);font-size:12.5px}.editor-area>.status-strip.loading{border-left-color:var(--label-e)}.editor-area>.status-strip.error{border-left-color:var(--label-g)}.canvas-wrap{min-width:0;min-height:340px;flex:1 1 auto;padding:18px;border:1px solid var(--border);border-radius:14px;overflow:auto;background:var(--surface);box-shadow:var(--shadow-card)}.view-controls{top:0;border-color:var(--border);border-radius:8px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:var(--shadow-card-hover)}.view-controls button{border-color:var(--border-strong);color:var(--text-secondary)}.view-controls span{color:var(--text-muted)}.floorplan-svg{max-height:calc(100vh - 235px);border-color:var(--border-strong);border-radius:10px;box-shadow:var(--shadow-card)}.editor-workspace>.inspector{min-width:0;min-height:0;align-self:start;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-card);overflow:auto}.editor-workspace .panel-block h2{margin:0;color:var(--text);font-size:13.5px;font-weight:600}.inspector-head{margin-bottom:14px}.annotation-type-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700;text-transform:uppercase}.annotation-type-badge.toevoer{color:var(--primary);background:var(--primary-tint)}.annotation-type-badge.afvoer{color:var(--accent-orange-text);background:var(--accent-orange-tint)}.annotation-type-badge.overstroom{color:var(--accent-lime-text);background:var(--accent-lime-tint)}.editor-workspace .field-label{margin:16px 0 6px;color:var(--text-muted);font-size:11.5px;font-weight:600}.editor-workspace .select-input,.editor-workspace .affix-input{min-height:36px;border-color:var(--border);border-radius:8px;color:var(--text);background-color:var(--surface-alt);font-size:12.5px}.editor-workspace .affix-input{overflow:hidden}.editor-workspace .affix-input input{min-height:36px;color:var(--text);background:transparent;font-size:12.5px}.editor-workspace .affix-input span{align-self:stretch;display:grid;place-items:center;border-color:var(--border);color:var(--text-faint);background:var(--hover-input);font-size:11.5px}.direction-grid{gap:6px;margin-bottom:8px}.direction-grid button{min-height:34px;border-color:var(--border-strong);border-radius:8px;color:var(--text-muted);background:var(--surface)}.direction-grid button:hover{border-color:var(--border-hover-green)}.direction-grid button.active{border-color:var(--primary);color:var(--primary);background:var(--primary-tint)}.editor-workspace input[type=range]{width:100%;accent-color:var(--primary)}.range-labels{display:flex;justify-content:space-between;color:var(--text-placeholder);font-size:10.5px}.small-actions{gap:8px;margin-top:8px}.small-actions button{min-height:34px;border-color:var(--border-strong);border-radius:8px;color:var(--text-secondary);background:var(--surface);font-size:12.5px;font-weight:600}.small-actions button:hover{background:var(--bg)}.summary-list{color:var(--text);font-size:12px}.summary-list dt{color:var(--text-muted)}@media(max-width:1220px){.editor-workspace{height:auto;grid-template-columns:280px minmax(440px,1fr)}.editor-workspace>.inspector{grid-column:1 / -1;width:100%}}@media(max-width:850px){.editor-workspace{grid-template-columns:minmax(0,1fr);padding:20px 18px 30px}.editor-page-header,.editor-workspace>.inspector{grid-column:1}.editor-table-panel{overflow:visible}.floor-switcher{flex-direction:row;overflow-x:auto}.floor-switcher button{flex:0 0 auto}.toolbar{overflow-x:auto;flex-wrap:nowrap}.toolbar button{flex:0 0 auto}}@layer legacy{*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}button{border:1px solid #cbd3cc;background:#fff;color:#17201b;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.app-shell{min-height:100vh;display:grid;grid-template-columns:56px minmax(0,1fr)}.topbar{position:sticky;top:0;z-index:10;width:56px;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:18px;padding:14px 6px;border-right:1px solid #201a54;background:#211b57;color:#fff}.app-content{min-width:0;min-height:100vh}.brand{width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:900;letter-spacing:0}.tabs{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px}.tabs button{width:44px;height:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:#fff}.tabs button span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.tabs button.active{background:#635bff;box-shadow:inset 0 0 0 1px #ffffff1f;color:#fff}.tabs button:not(:disabled):hover{background:#ffffff1f}.workspace{min-height:100vh;display:grid;grid-template-columns:minmax(380px,520px) minmax(0,1fr) minmax(250px,300px)}.input-panel,.inspector{padding:18px;background:#fff;border-right:1px solid #d9ded8}.inspector{border-right:none;border-left:1px solid #d9ded8}.field-label{display:block;margin:14px 0 7px;font-size:13px;font-weight:700;color:#4f5c53}.table-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.text-button{min-height:28px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:0;background:transparent;color:#26614a;font-size:13px;font-weight:700}.text-input,.select-input,.table-input,.prompt-view textarea{width:100%;border:1px solid #cbd3cc;border-radius:7px;background:#fff;color:#17201b;outline:none}.text-input,.select-input{min-height:38px;height:auto;padding:9px 10px}.select-input{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#4f5c53 50%),linear-gradient(135deg,#4f5c53 50%,transparent 50%);background-position:calc(100% - 17px) 16px,calc(100% - 12px) 16px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.table-input{min-height:250px;padding:10px;resize:vertical}.upload-box{min-height:86px;margin:16px 0 10px;padding:14px;border:1px dashed #a8b3aa;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:10px;background:#f4f7f5;cursor:pointer;text-align:center}.upload-box input{display:none}.compact-upload{min-height:42px;padding:0 12px;border:1px dashed #a8b3aa;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f8faf8;cursor:pointer;color:#49574e}.compact-upload input{display:none}.primary-button,.secondary-button,.toolbar button,.small-actions button,.saved-card button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:0 12px}.primary-button{width:100%;margin-top:14px;background:#26614a;border-color:#26614a;color:#fff;font-weight:700}.secondary-button{width:100%;margin-top:14px;background:#fff;border-color:#8ca795;color:#25583e;font-weight:700}.all-button{margin-top:10px;background:#1f2e26;border-color:#1f2e26}.project-menu{min-height:100vh;padding:24px;background:#eef2ef}.project-builder{position:relative;min-height:100vh;height:auto;padding:14px 18px;display:grid;grid-template-rows:auto auto auto auto auto;gap:8px;overflow:visible}.project-builder .project-menu-head{margin-bottom:0}.project-builder .project-menu-head h1{margin:0;font-size:21px}.project-builder .project-menu-head .muted{display:none}.project-builder .field-label{margin:0}.project-builder .project-name-input{min-height:34px;height:auto;margin-bottom:0}.project-builder .status-strip{position:relative;right:auto;bottom:auto;z-index:5;width:min(520px,100%);box-shadow:0 12px 30px #17201b21}.upload-guidance{width:min(100%,880px);border:1px solid #c9d8ce;border-radius:8px;background:#fff}.upload-guidance summary{min-height:42px;display:flex;align-items:center;gap:8px;padding:9px 12px;color:#25583e;font-size:13px;font-weight:800;cursor:pointer;list-style:none}.upload-guidance summary::-webkit-details-marker{display:none}.upload-guidance summary:focus-visible{outline:2px solid #26614a;outline-offset:2px}.upload-guidance[open] summary{border-bottom:1px solid #dce5df}.upload-guidance-content{padding:10px 14px 12px 38px;color:#4f5c53;font-size:13px;line-height:1.45}.upload-guidance-content p{margin:0}.upload-guidance-content ul{margin:8px 0;padding-left:18px}.upload-guidance-content li+li{margin-top:4px}.project-menu-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.project-menu-head h1{margin:0 0 4px;font-size:24px}.upload-action{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid #26614a;border-radius:7px;background:#26614a;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.upload-action input{display:none}.project-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.save-action{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:7px;border-color:#8ca795;background:#fff;color:#25583e;font-weight:800}.project-name-input{max-width:520px;margin-bottom:16px}.floor-slot-grid{display:grid;grid-template-columns:minmax(20rem,55rem);align-items:start;gap:10px;margin-top:8px}.floor-slot-section{margin-top:18px}.project-builder .floor-slot-section{min-height:0;margin-top:0;display:grid;grid-template-rows:auto auto}.floor-slot-headings{width:min(100%,880px);display:grid;grid-template-columns:minmax(9.875rem,.35fr) minmax(0,1fr);gap:10px;color:#4f5c53;font-size:13px;font-weight:800}.project-builder .floor-slot-headings{padding-bottom:2px;font-size:12px}.floor-slot-card{min-width:0;display:grid;grid-template-columns:minmax(9.875rem,.35fr) minmax(0,1fr);align-items:stretch;gap:10px;min-height:8.25rem;height:auto;border:0;background:transparent;overflow:visible;cursor:pointer}.project-builder .floor-slot-grid{min-height:0;height:auto;gap:8px;grid-auto-rows:auto}.project-builder .floor-slot-card{min-height:8.25rem;height:auto}.floor-slot-card.active{box-shadow:none}.floor-slot-card.active .floorplan-card{border-color:#26614a;box-shadow:0 0 0 2px #26614a1f}.floor-slot-card.dragging{opacity:1;transform:none}.floor-slot-card.dragging .floorplan-card{border-style:dashed;background:#f8faf8;opacity:1;transform:none}.floor-slot-card.empty .floorplan-card{border-style:dashed}.floor-slot-label{min-width:0;padding:14px;display:grid;align-content:center;gap:4px;border:1px solid #d4dbd6;border-radius:8px;background:#fff;overflow:visible}.project-builder .floor-slot-label{padding:8px 12px}.floor-slot-label span{color:#667268;font-size:12px;font-weight:800}.floor-slot-label h2{margin:0;color:#17201b;font-size:18px}.project-builder .floor-slot-label h2{font-size:16px}.floorplan-card{min-width:0;display:grid;grid-template-columns:minmax(8.25rem,.28fr) minmax(0,1fr);min-height:8.25rem;height:auto;border:1px solid #d4dbd6;border-radius:8px;background:#fff;overflow:visible;cursor:grab}.project-builder .floorplan-card{height:auto;min-height:8.25rem;grid-template-columns:minmax(7rem,.24fr) minmax(0,1fr)}.floorplan-card:active{cursor:grabbing}.drag-preview-card{position:fixed;top:-10000px;left:-10000px;z-index:9999;pointer-events:none;opacity:1;transform:none;box-shadow:0 14px 34px #17201b2e}.floor-slot-media{min-width:0;min-height:8.25rem;background:#f8faf8;border-right:1px solid #e0e5e1;overflow:visible}.floor-slot-media img{width:100%;min-height:8.25rem;height:100%;object-fit:contain;display:block}.project-builder .floor-slot-media img{height:100%}.floor-slot-placeholder,.table-preview-empty,.saved-card-empty{width:100%;height:auto;min-height:8.25rem;display:grid;place-items:center;color:#667268;background:#f8faf8}.project-builder .floor-slot-placeholder{min-height:8.25rem}.table-preview-empty{min-height:220px;align-content:center;gap:8px;border:1px dashed #d4dbd6;border-radius:7px}.saved-card-empty{min-height:92px;border-radius:6px}.floor-slot-body{min-width:0;padding:12px}.project-builder .floor-slot-body{padding:8px;display:grid;grid-template-rows:auto auto auto auto}.floor-slot-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.floor-slot-title h3{margin:0;font-size:16px}.project-builder .floor-slot-title h3{font-size:14px}.floor-slot-title span{padding:3px 7px;border-radius:999px;background:#eef3ee;color:#536158;font-size:11px;font-weight:800}.floor-slot-body p{min-height:20px;margin:7px 0 10px;overflow:visible;color:#667268;font-size:13px;overflow-wrap:anywhere;white-space:normal}.project-builder .floor-slot-body p{min-height:16px;margin:3px 0 5px;font-size:12px}.floor-slot-body dl,.floor-meta-list{display:grid;grid-template-columns:1fr auto;gap:5px 10px;margin:0 0 12px;font-size:13px}.project-builder .floor-slot-body dl{gap:2px 8px;margin-bottom:6px;font-size:12px}.floor-slot-body dt,.floor-meta-list dt{color:#667268}.floor-slot-body dd,.floor-meta-list dd{min-width:0;margin:0;overflow:visible;font-weight:800;overflow-wrap:anywhere;white-space:normal}.floor-slot-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.project-builder .floor-slot-actions{gap:6px}.slot-upload-button,.floor-slot-actions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cbd3cc;border-radius:7px;background:#fff;color:#17201b;font-weight:700;cursor:pointer}.project-builder .slot-upload-button,.project-builder .floor-slot-actions button{min-height:30px}.slot-upload-button input{display:none}.project-summary-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:12px;margin-top:16px;padding:14px;border:1px solid #d4dbd6;border-radius:8px;background:#fff;overflow:visible}.project-builder .project-summary-bar{grid-template-columns:minmax(0,1fr) repeat(3,auto);gap:8px;margin-top:0;padding:8px 10px}.project-builder .project-summary-bar .primary-button,.project-builder .project-summary-bar .secondary-button{width:auto;min-height:34px}.project-summary-bar div{display:grid;gap:3px}.project-summary-bar span{color:#667268;font-size:13px}.project-summary-bar .primary-button,.project-summary-bar .secondary-button,.table-actions-wide .primary-button,.table-actions-wide .secondary-button{width:auto;margin-top:0;white-space:nowrap}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(286px,1fr));align-items:start;gap:14px;margin-top:18px}.project-empty{grid-column:1 / -1;min-height:280px;border:1px dashed #a8b3aa;border-radius:8px;background:#fff}.project-card{display:grid;grid-template-rows:minmax(11.25rem,auto) auto;min-height:21.625rem;height:auto;border:1px solid #d4dbd6;border-radius:8px;background:#fff;overflow:visible}.project-card.active{border-color:#26614a;box-shadow:0 0 0 2px #26614a1f}.new-project-card{cursor:pointer}.project-card>img{width:100%;min-height:11.25rem;height:auto;aspect-ratio:16 / 10;object-fit:contain;background:#f8faf8;border-bottom:1px solid #e0e5e1}.project-card-empty{min-height:180px;display:grid;place-items:center;color:#667268;background:#f8faf8;border-bottom:1px solid #e0e5e1}.project-card-body{min-height:0;padding:12px;display:grid;grid-template-rows:auto auto auto;gap:8px}.project-card-body h2{min-height:42px;margin:0;overflow:hidden;font-size:17px;line-height:1.22;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.project-card-body p{margin:0;color:#667268;font-size:13px;overflow-wrap:anywhere}.project-card-body input{width:100%;min-height:34px;height:auto;border:1px solid transparent;border-radius:6px;background:transparent;color:#17201b;font-weight:800}.project-card-body input:focus{border-color:#8ca795;background:#fff;outline:none}.project-card dl{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-self:start;margin:0;font-size:13px}.project-card dt{color:#667268}.project-card dd{margin:0;font-weight:800}.project-card .primary-button{margin-top:0}.project-card-actions{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-self:end}.project-card-actions .primary-button,.project-card-actions .secondary-button{margin-top:0}.icon-only-button{width:44px;padding:0}.project-actions,.table-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.project-actions .process-project-button,.project-actions .open-project-button{grid-column:1 / -1;background:#26614a;border-color:#26614a;color:#fff;font-weight:800}.project-actions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px}.table-page{min-height:100vh;display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);background:#eef2ef}.project-rail{min-width:0;padding:14px;display:grid;align-content:start;gap:8px;border-right:1px solid #d9ded8;background:#fff}.project-rail>button:not(.text-button){min-width:0;min-height:54px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;padding:6px;border-radius:7px;text-align:left}.project-rail>button.active{border-color:#26614a;background:#eff8f2}.project-rail img{width:44px;height:42px;object-fit:contain;background:#f4f7f5;border-radius:5px}.project-rail span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.rail-empty-thumb{width:44px;height:42px;display:grid;place-items:center;border-radius:5px;background:#f4f7f5;color:#667268;font-size:12px;font-weight:800}.table-workspace{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr)}.table-layout{min-height:0;min-width:0;display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;padding:18px;overflow:hidden}.table-preview,.table-editor-panel{min-width:0;max-width:100%;align-self:start;padding:16px;border:1px solid #d4dbd6;border-radius:8px;background:#fff}.table-editor-panel{overflow:hidden}.table-preview img{width:100%;max-height:320px;object-fit:contain;background:#f8faf8;border:1px solid #e0e5e1;border-radius:7px}.table-heading h2{margin:2px 0 0;font-size:20px}.table-editor-stack{min-width:0;display:grid;gap:12px}.source-table-editor{border:1px solid #d4dbd6;border-radius:8px;background:#fff}.source-table-editor summary{min-height:40px;padding:0 12px;display:flex;align-items:center;cursor:pointer;color:#314239;font-weight:800}.source-table-editor .dynamic-table{max-height:calc(100vh - 360px);padding:0 10px 10px}.table-empty-state{min-height:320px}.table-empty-state .secondary-button{width:auto}.table-actions-wide{grid-template-columns:repeat(4,auto);justify-content:end}.editor-workspace{grid-template-columns:minmax(290px,360px) minmax(0,1fr) minmax(250px,300px)}.editor-table-panel{min-width:0;padding:16px;background:#fff;border-right:1px solid #d9ded8;overflow:auto}.editor-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.editor-table-head h2{margin:0;font-size:18px}.editor-table-head button{min-height:32px;display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:0 9px}.floor-switcher{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:12px}.floor-switcher button{min-height:46px;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:3px;border-radius:7px;padding:7px 9px;text-align:left}.floor-switcher button.active{border-color:#26614a;background:#eff8f2;color:#1f5c42;font-weight:800}.floor-switcher button.ready:not(.active){border-color:#b9d6c5}.floor-switcher-name,.floor-switcher-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floor-switcher-name{color:#17201b;font-size:13px;font-weight:900}.floor-switcher-meta{color:#667268;font-size:11.5px;font-weight:700}.editor-table-panel pre{margin:0;white-space:pre-wrap;font-size:12px;line-height:1.35;color:#3f4c43}.compact-ventilation-table{min-width:0;display:grid;gap:16px}.compact-ventilation-table section{min-width:0}.compact-ventilation-table h3{margin:0;padding:8px 10px;background:#e4ecf7;color:#1f3864;font-size:13px;font-weight:900}.compact-ventilation-table table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:11.5px}.presentation-table-scroll{min-width:0;max-width:100%;overflow-x:auto;border:1px solid #d4dbd6;border-top:0;background:#fff}.compact-ventilation-table th{padding:7px 6px;background:#2e5fa3;color:#fff;text-align:left;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.compact-ventilation-table td{padding:7px 6px;border:1px solid #dbe2df;line-height:1.25;vertical-align:top;overflow-wrap:anywhere}.compact-ventilation-table th:nth-child(1),.compact-ventilation-table td:nth-child(1){width:4%}.compact-ventilation-table th:nth-child(2),.compact-ventilation-table td:nth-child(2){width:23%}.compact-ventilation-table th:nth-child(3),.compact-ventilation-table td:nth-child(3){width:11%}.compact-ventilation-table th:nth-child(4),.compact-ventilation-table td:nth-child(4){width:8%}.compact-ventilation-table th:nth-child(5),.compact-ventilation-table td:nth-child(5){width:8%}.compact-ventilation-table th:nth-child(6),.compact-ventilation-table td:nth-child(6){width:8%}.compact-ventilation-table th:nth-child(7),.compact-ventilation-table td:nth-child(7){width:8%}.compact-ventilation-table th:nth-child(8),.compact-ventilation-table td:nth-child(8){width:8%}.compact-ventilation-table th:nth-child(9),.compact-ventilation-table td:nth-child(9){width:12%}.compact-ventilation-table th:nth-child(10),.compact-ventilation-table td:nth-child(10){width:5%}.compact-ventilation-table th:nth-child(11),.compact-ventilation-table td:nth-child(11){width:5%}.editor-ventilation-table table{font-size:11.5px}.editor-ventilation-table th:nth-child(1),.editor-ventilation-table td:nth-child(1){width:13%}.editor-ventilation-table th:nth-child(2),.editor-ventilation-table td:nth-child(2){width:39%}.editor-ventilation-table th:nth-child(3),.editor-ventilation-table td:nth-child(3),.editor-ventilation-table th:nth-child(4),.editor-ventilation-table td:nth-child(4),.editor-ventilation-table th:nth-child(5),.editor-ventilation-table td:nth-child(5){width:16%}.compact-ventilation-table tfoot td{padding:8px 6px;border-top:2px solid #cfd8d1;background:#fff;font-weight:800}.compact-ventilation-table .row-living td{background:#d6e4f7}.compact-ventilation-table .row-wet td{background:#fdecea}.compact-ventilation-table .row-neutral td{background:#f5f5f5}.compact-ventilation-table td:nth-child(6){color:#1a56a0;font-weight:800}.compact-ventilation-table td:nth-child(8){color:#666;font-weight:800}.compact-ventilation-table td:nth-child(10){color:#b03020;font-weight:800}.compact-ventilation-table td.overstroom-value{color:#1f9d57;font-weight:800}.compact-ventilation-table td.natuurlijke-toevoer-value{color:#1a56a0;font-weight:800}.compact-ventilation-table .flow-cell span{display:block;white-space:normal}.compact-ventilation-table td em{display:block;margin-top:3px;color:#9a4a12;font-size:11px;font-style:normal;font-weight:700}.compact-ventilation-table .total-row td{font-weight:800}.compact-ventilation-table .balance-row td{padding-top:5px;border-top:0;font-size:11px}.balance-ok{color:#12623d}.balance-error{color:#b42318}.overall-balance{padding:9px 10px;border:1px solid currentColor;border-radius:7px;font-size:12px;font-weight:800;background:#fff}.symbol-balance{display:grid;gap:4px;padding:9px 10px;border:1px solid currentColor;border-radius:7px;background:#fff;font-size:12px;font-weight:800}.symbol-balance span{font-weight:700}.dynamic-table{display:grid;gap:12px;max-height:520px;overflow:auto;padding-right:2px}.floor-table{border:1px solid #d4dbd6;border-radius:8px;background:#fff;overflow:visible}.floor-table-head{min-height:40px;padding:6px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e0e5e1;background:#f8faf8}.floor-table-head input{min-width:0;width:100%;min-height:30px;height:auto;border:1px solid transparent;border-radius:6px;background:transparent;font-weight:800;color:#17201b}.floor-table-head input:focus{border-color:#8ca795;background:#fff;outline:none}.floor-table-head strong{min-width:0;overflow:hidden;color:#17201b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.floor-table-head button,.add-floor-button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:6px;padding:0 8px;white-space:nowrap}.table-scroll{overflow-x:auto}.dynamic-table table{width:100%;min-width:920px;border-collapse:collapse}.dynamic-table th{padding:7px 6px;background:#f0f4f1;color:#4f5c53;font-size:12px;text-align:left;white-space:nowrap}.dynamic-table td{border-top:1px solid #e7ebe8;padding:4px}.dynamic-table td input{width:100%;min-width:74px;min-height:30px;height:auto;border:1px solid transparent;border-radius:5px;background:transparent;color:#17201b;font-size:13px}.dynamic-table td input:focus{border-color:#8ca795;background:#fff;outline:none}.dynamic-table .total-row td input{font-weight:800}.mini-icon-button{width:30px;min-height:30px;height:auto;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:0}.add-floor-button{width:100%;background:#fff}.editor-area{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);background:#eef2ef}.status-strip{min-height:46px;padding:10px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #d9ded8;color:#49574e;background:#f8faf8}.status-strip.loading{color:#25583e;background:#edf8f1}.status-strip.error{color:#8a1d1d;background:#fff0f0}.status-strip.done{color:#1f5c42;background:#eff8f2}.generation-warnings{margin:10px 18px 0;padding:10px 12px;border:1px solid #e3b66c;border-radius:8px;background:#fff8e8;color:#5a3b09}.generation-warnings h2{margin:0 0 7px;font-size:14px}.generation-warnings ul{margin:0;padding-left:18px}.generation-warnings li{margin:4px 0;line-height:1.35;overflow-wrap:anywhere}.toolbar{min-height:52px;padding:8px 12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d9ded8;background:#fff}.toolbar button.active{background:#1f2e26;border-color:#1f2e26;color:#fff}.toolbar .toolbar-priority{background:#26614a;border-color:#26614a;color:#fff;font-weight:800}.toolbar .toolbar-export{border-color:#26614a;background:#fff;color:#25583e;font-weight:800}.canvas-wrap{position:relative;min-height:0;padding:30px 34px 38px;overflow:auto}.view-controls{position:sticky;top:10px;z-index:2;width:max-content;margin:0 0 10px auto;display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #d5dcd7;border-radius:8px;background:#fffffff0;box-shadow:0 8px 20px #19231c14}.view-controls button{min-width:34px;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;padding:0 9px}.view-controls span{min-width:48px;text-align:center;font-size:13px;font-weight:800;color:#4f5c53}.floorplan-svg{display:block;width:100%;max-height:calc(100vh - 196px);background:#fff;border:1px solid #cfd6d1;border-radius:8px;box-shadow:0 16px 34px #19231c14;touch-action:none;cursor:grab}.floorplan-svg.drawing{cursor:crosshair}.floorplan-svg.panning{cursor:grabbing}@media(min-width:1051px){.editor-workspace{height:100vh;min-height:0;max-height:100vh;overflow:hidden}.editor-table-panel,.editor-workspace>.inspector,.editor-area{min-height:0;max-height:100vh}.editor-table-panel,.editor-workspace>.inspector{overflow:auto}.editor-area{height:100vh;overflow:hidden}.canvas-wrap{height:100%;padding:20px 24px 24px;overflow:hidden}.view-controls{position:absolute;top:14px;right:18px;margin:0}.floorplan-svg{width:100%;height:100%;max-height:none}}.empty-state{display:grid;place-items:center;align-content:center;gap:10px;min-height:360px;color:#667268}.annotation-node{cursor:grab}.annotation-node.selected{filter:drop-shadow(0 2px 4px rgba(0,0,0,.24))}.toevoer-line{stroke:#0b5fff;stroke-width:7;stroke-linecap:butt}.toevoer-head{fill:#0b5fff;stroke:#0b5fff;stroke-width:1;stroke-linejoin:round}.afvoer-ring{fill:#fff;stroke:#d91e18;stroke-width:5}.afvoer-line{stroke:#d91e18;stroke-width:6;stroke-linecap:butt}.afvoer-head{fill:#d91e18;stroke:#d91e18;stroke-width:1;stroke-linejoin:round}.overstroom-line{stroke:#1f9d57;stroke-width:7;stroke-linecap:butt}.overstroom-head{fill:#1f9d57;stroke:#1f9d57;stroke-width:1;stroke-linejoin:round}.overstroom-chevron{fill:none;stroke:#1f9d57;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.annotation-label{pointer-events:all}.annotation-label rect{fill:#ffffffeb;stroke-width:1.5}.annotation-label text{font-size:18px;font-weight:800;stroke:none}.toevoer-label rect{stroke:#0b5fff6b}.toevoer-label text{fill:#0b45b8}.afvoer-label rect{stroke:#d91e186b}.afvoer-label text{fill:#ad1713}.overstroom-label rect{stroke:#1f9d576b}.overstroom-label text{fill:#14663a}.hitbox{fill:transparent;stroke:transparent;pointer-events:all}.resize-handle{fill:#fff;stroke:#1f2e26;stroke-width:3;cursor:nwse-resize}.panel-block{min-width:0}.panel-block h2{margin:0 0 12px;font-size:18px}.inspector-head{display:flex;align-items:center;justify-content:space-between}.icon-button{width:34px;min-height:34px;height:auto;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.summary-list{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:0}.summary-list dt{color:#667268}.summary-list dd{margin:0;font-weight:700}.warnings{margin-top:18px;padding-top:14px;border-top:1px solid #e0e5e1}.warnings h3{margin:0 0 8px;font-size:14px}.warnings p,.muted{color:#667268}.small-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.affix-input{width:100%;min-height:38px;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #cbd3cc;border-radius:7px;background:#fff;overflow:visible}.affix-input input{min-width:0;min-height:38px;height:auto;border:0;padding:0 10px;color:#17201b;outline:none}.affix-input span{padding:0 10px;color:#667268;font-size:13px;font-weight:700;border-left:1px solid #e0e5e1}.direction-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.direction-grid button{min-width:0;min-height:38px;height:auto;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:0}.saved-view,.prompt-view{padding:24px}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.section-heading h1{margin:0;font-size:22px}.saved-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.saved-card{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:12px;border:1px solid #d9ded8;border-radius:8px;background:#fff}.saved-card img{width:92px;height:92px;object-fit:contain;background:#eef2ef;border-radius:6px}.saved-card h2{margin:0 0 4px;font-size:16px}.saved-card p{margin:0 0 10px;color:#667268}.prompt-view textarea{min-height:calc(100vh - 140px);padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.45}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.prompt-grid label{display:grid;gap:8px;min-width:0}.prompt-grid span{font-size:13px;font-weight:700;color:#4f5c53}.prompt-grid textarea{min-height:calc(100vh - 170px)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.floor-slot-grid{grid-template-columns:minmax(320px,880px)}.project-summary-bar,.table-actions-wide{grid-template-columns:1fr}.project-summary-bar .primary-button,.project-summary-bar .secondary-button,.table-actions-wide .primary-button,.table-actions-wide .secondary-button{width:100%}.project-builder .project-summary-bar{grid-template-columns:minmax(0,1fr) repeat(3,auto)}.project-builder .project-summary-bar .primary-button,.project-builder .project-summary-bar .secondary-button{width:auto}.workspace{grid-template-columns:minmax(340px,420px) minmax(0,1fr)}.editor-workspace{grid-template-columns:minmax(0,1fr)}.editor-table-panel{grid-column:1 / -1;border-right:0;border-bottom:1px solid #d9ded8;max-height:260px}.table-page,.table-layout{grid-template-columns:1fr}.inspector{grid-column:1 / -1;border-left:none;border-top:1px solid #d9ded8}}@media(max-width:780px){.topbar{width:56px;height:100vh;min-height:100vh;align-items:center;flex-direction:column;padding:14px 6px}.tabs{width:100%;flex-direction:column;align-items:center}.tabs button{width:44px;flex:none}.project-menu{padding:14px}.project-builder{padding:10px;gap:6px}.project-menu-head{align-items:stretch;flex-direction:column}.project-builder .project-menu-head{align-items:center;flex-direction:row}.project-head-actions{align-items:stretch;flex-direction:column}.project-builder .project-head-actions{align-items:center;flex-direction:row}.upload-action{width:100%}.project-builder .upload-action{width:auto}.save-action{width:100%}.project-builder .save-action{width:auto}.floor-slot-grid{grid-template-columns:1fr}.floor-slot-headings,.floor-slot-card{grid-template-columns:112px minmax(0,1fr)}.floor-slot-label{padding:10px}.floorplan-card{grid-template-columns:104px minmax(0,1fr)}.floor-slot-media img{height:128px}.floor-slot-actions{grid-template-columns:1fr}.project-builder .floor-slot-actions{grid-template-columns:1fr 1fr}.project-builder .floor-slot-media img{height:100%}.workspace{display:block}.project-rail{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid #d9ded8}.project-rail>button:not(.text-button){min-width:190px}.table-layout{padding:12px}.prompt-grid{grid-template-columns:1fr}.input-panel,.inspector{border:0;border-bottom:1px solid #d9ded8}.floorplan-svg{max-height:62vh}}@media(max-width:640px){.app-shell{grid-template-columns:52px minmax(0,1fr)}.topbar{width:52px;padding-inline:4px}.project-builder{padding:10px}.project-builder .project-menu-head{align-items:stretch;flex-direction:column}.project-builder .project-head-actions,.project-builder .project-summary-bar{grid-template-columns:1fr}.project-builder .project-head-actions{display:grid}.project-builder .upload-action,.project-builder .save-action,.project-builder .project-summary-bar .primary-button,.project-builder .project-summary-bar .secondary-button{width:100%}.project-builder .floor-slot-headings{display:none}.project-builder .floor-slot-card,.project-builder .floorplan-card{grid-template-columns:1fr}.project-builder .floor-slot-label{min-height:auto}.project-builder .floor-slot-media{border-right:0;border-bottom:1px solid #e0e5e1}.project-builder .floor-slot-media img{min-height:8rem;max-height:14rem;height:auto}.project-builder .floor-slot-actions,.project-card-actions{grid-template-columns:1fr}.icon-only-button{width:100%}}}
