.manual-payment-workspace>p{color:var(--muted)}.manual-payment-workspace .employee-kpi-toolbar>label{flex-basis:10rem}.manual-payment-fields{display:grid;grid-gap:.75rem;gap:.75rem}.manual-payment-row{min-width:0;margin:0;border:1px solid var(--border);border-radius:var(--app-card-radius,8px);padding:.75rem}.manual-payment-row legend{font-weight:600;font-size:.8125rem;padding:0 .25rem}.manual-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;grid-gap:.5rem;gap:.5rem}.manual-payment-wide{grid-column:span 2}.manual-payment-grid--reports{grid-template-columns:10rem minmax(0,1fr)}.manual-payment-row p{margin-top:.5rem;color:var(--muted);font-size:.75rem}.manual-payment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:.75rem;border-top:1px solid var(--border);padding-top:.75rem}.manual-payment-money{white-space:nowrap;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:640px){.manual-payment-grid,.manual-payment-grid--reports{grid-template-columns:minmax(0,1fr)}.manual-payment-wide{grid-column:auto}}.manual-payment-summary{display:grid;grid-gap:.5rem;gap:.5rem;padding:.75rem}.manual-payment-history{margin-top:.75rem}.manual-payment-history li{margin-bottom:.5rem}.manual-payment-history time{display:block;color:var(--muted)}.finance-history-import{display:grid;grid-gap:.75rem;gap:.75rem}.finance-history-import td{overflow-wrap:anywhere;max-width:24rem}.finance-history-import .manual-payment-grid label{min-width:0;overflow-wrap:anywhere}.finance-planning-views .ui-tabs{margin-bottom:.75rem}.finance-boundary-shell .ui-tabs,.finance-planning-views .ui-tabs{flex-wrap:wrap}.finance-planning-views .ui-tabs button[aria-pressed=true]{border-bottom-color:var(--company-accent);background:color-mix(in srgb,var(--company-accent) 8%,var(--company-surface))}.finance-planning-views .crm-kanban-column{background:var(--surface-muted,var(--company-surface));border-color:var(--border);border-radius:var(--ui-radius)}.finance-planning-views .crm-kanban-column>header{display:flex;justify-content:space-between;gap:.5rem}.finance-planning-views .finance-planning-card{margin:.5rem 0;background:var(--company-surface);border-color:var(--border);border-radius:var(--ui-radius);overflow-wrap:anywhere}.finance-planning-card>button{max-width:100%;cursor:pointer}.finance-planning-card p{margin:.5rem 0}.finance-planning-calendar td{min-width:12rem;vertical-align:top}.finance-planning-timeline-row{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(12rem,2fr);grid-gap:1rem;gap:1rem;align-items:center;padding-right:.5rem}.finance-planning-date-track{position:relative;height:2px;background:var(--border)}.finance-planning-date-track>span{position:absolute;top:-.2rem;width:.5rem;height:.5rem;border-radius:50%;transform:translateX(-50%);background:var(--company-accent)}.finance-planning-details{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,2fr);grid-gap:.75rem;gap:.75rem}.finance-planning-details dd{margin:0;overflow-wrap:anywhere}@media (max-width:640px){.finance-planning-timeline-row{grid-template-columns:minmax(0,1fr);padding-bottom:1rem}}.payroll-workspace{display:grid;grid-gap:1rem;gap:1rem;min-width:0}.payroll-workspace>button{justify-self:start}.payroll-workspace>.ui-tabs>button[aria-pressed=true]{border-bottom-color:var(--company-accent);color:var(--foreground);background:color-mix(in srgb,var(--company-accent) 8%,transparent);font-weight:600}.payroll-actions,.payroll-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}.payroll-heading h2,.payroll-heading h3{margin:0}.payroll-note{line-height:1.6}.payroll-note,.payroll-source{color:var(--text-secondary,#526173)}.payroll-source{display:block;margin-top:.4rem}.payroll-statement{border:1px solid var(--border-color,#dce3ea);border-radius:12px;padding:1rem;display:grid;grid-gap:1rem;gap:1rem}.payroll-modal-backdrop{position:fixed;inset:0;z-index:90;padding:1.5rem;background:rgb(20 29 43/48%);display:grid;place-items:center}.app-root>.app-layout:has(.payroll-modal-backdrop){z-index:31}.payroll-modal{width:min(640px,100%);max-height:calc(90dvh / var(--company-interface-scale, 1));overflow:auto;padding:1.5rem;background:var(--surface,#fff);border-radius:16px;box-shadow:0 20px 60px rgb(0 0 0/20%)}.payroll-form{border:0;padding:0;margin:0 0 1rem;min-width:0;display:grid;grid-gap:1rem;gap:1rem}.payroll-form legend{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.payroll-form label{display:grid;grid-gap:.4rem;gap:.4rem}.payroll-form input:not([type=checkbox]),.payroll-form select,.payroll-form textarea{width:100%;box-sizing:border-box;padding:.7rem;border:1px solid var(--border-color,#c9d4df);border-radius:8px;font:inherit}.payroll-form textarea{min-height:5rem;resize:vertical}.payroll-checks{display:grid;grid-gap:.7rem;gap:.7rem}.payroll-checks label,.payroll-form .payroll-checkbox{display:flex;gap:.7rem;align-items:flex-start}.payroll-workspace button:disabled{cursor:not-allowed;opacity:.55}@media(max-width:600px){.payroll-modal-backdrop{padding:.5rem}.payroll-modal{padding:1rem;max-height:calc(95dvh / var(--company-interface-scale, 1))}.payroll-actions{align-items:stretch}.payroll-actions button{flex:1 1}}.company-template-editor{min-width:0}.company-template-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:24px;gap:24px;align-items:start}.company-template-form,.company-template-form label,.company-template-toolbar label{display:grid;grid-gap:8px;gap:8px;min-width:0}.company-template-form{gap:16px}.company-template-form :is(input,textarea,select){width:100%;box-sizing:border-box}.company-template-form input[type=checkbox]{width:auto}.company-template-fields,.company-template-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-block:12px}.company-template-toolbar{align-items:flex-end}.company-template-editor button{font:inherit;border:1px solid var(--border);border-radius:6px;padding:8px 12px;background:var(--panel);color:var(--foreground);cursor:pointer}.company-template-editor button:disabled{opacity:.5;cursor:not-allowed}.company-template-fields button{font-size:.8rem}.company-document-paper{box-sizing:border-box;max-width:210mm;min-height:180mm;background:#fff;color:#17202c;border:1px solid #d5d9df;margin:16px auto;overflow-wrap:anywhere}.company-document-paper header{display:flex;gap:16px;align-items:center;padding-bottom:12px;border-bottom:2px solid var(--document-accent);white-space:pre-wrap}.company-document-paper header img{width:42mm;max-height:20mm;object-fit:contain}html body .company-document-paper h2{color:var(--document-title,var(--document-accent));font-family:inherit;font-size:1.4em}.company-document-text{white-space:pre-wrap;line-height:1.6}.company-document-paper footer{margin-top:24px;padding-top:12px;border-top:1px solid #d5d9df;font-size:.8em;white-space:pre-wrap}.company-document-list{list-style:none;padding:0;display:grid;grid-gap:8px;gap:8px}@media(max-width:1000px){.company-template-columns{grid-template-columns:1fr}}@media(max-width:480px){.company-template-columns .company-document-paper{padding:16px!important}}@media print{body:has(.company-document-print){background:white}body:has(.company-document-print) .app-root{zoom:1}body:has(.company-document-print) .app-root:before{display:none}body:has(.company-document-print) :is(.app-topbar,.app-sidebar,.app-sidebar-toggle,.messenger-entry,.company-document-controls){display:none!important}body:has(.company-document-print) :is(.app-layout,.page-shell,.app-content){display:block;margin:0;padding:0;width:auto}.company-document-print{margin:0;padding:0!important;width:100%;max-width:none;min-height:0;border:0}.company-document-print h2{page-break-after:avoid;break-after:avoid}}.messenger-launcher{position:fixed;z-index:20;right:clamp(8px,var(--messenger-right,24px),calc(100% - var(--launcher-width, 56px) - 8px));bottom:clamp(8px,var(--messenger-bottom,24px),calc(100% - 64px));display:flex;align-items:center;gap:8px;width:var(--launcher-width,56px);height:56px}.messenger-launcher:has(.workstation-lock-button){--launcher-width:120px}.messenger-launcher-link,.workstation-lock-button{display:inline-flex;justify-content:center;align-items:center;flex:0 0 56px;width:56px;height:56px;padding:0;cursor:pointer;border:1px solid var(--border,#cbd5e1);border-radius:50%;background:var(--surface,#fff);color:var(--foreground,#172033);box-shadow:0 4px 16px #0002;box-sizing:border-box}.messenger-launcher-link{gap:8px;text-decoration:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:inherit}.messenger-launcher-link:hover,.workstation-lock-button:not(:disabled):hover{border-color:var(--muted)}.workstation-lock-button:disabled{opacity:.65;cursor:wait}.messenger-launcher-link:focus-visible,.workstation-lock-button:focus-visible{outline:3px solid currentColor;outline-offset:3px}.messenger-launcher-text{display:none}@media (max-width:900px){.messenger-entry,.messenger-launcher{height:calc(64px + env(safe-area-inset-bottom, 0px))}.messenger-launcher{inset:auto 0 0!important;width:100%;padding:4px 12px calc(4px + env(safe-area-inset-bottom, 0px));box-sizing:border-box;justify-content:center;background:var(--surface,#fff);border-top:1px solid var(--border,#cbd5e1)}.messenger-launcher-link{touch-action:auto;width:auto;flex:0 1 auto;padding-inline:16px}.messenger-launcher .workstation-lock-button,.messenger-launcher-link{height:48px;box-shadow:none;border-radius:8px}.messenger-launcher .workstation-lock-button{width:48px;flex-basis:48px}.messenger-launcher-text{display:inline}}@media print{.messenger-entry{display:none}}.messenger-window{--messenger-window-width:min(var(--messenger-preferred-width,780px),calc(100% - 32px));--messenger-window-height:min(var(--messenger-preferred-height,640px),calc(100% - 32px));position:fixed;right:clamp(calc(160px - var(--messenger-window-width)),var(--messenger-window-right,24px),calc(100% - 160px));bottom:clamp(calc(44px - var(--messenger-window-height)),var(--messenger-window-bottom,92px),calc(100% - var(--messenger-window-height) - 8px));width:var(--messenger-window-width);height:var(--messenger-window-height);z-index:90;display:flex;flex-direction:column;border:1px solid var(--border,#dce3e9);border-radius:14px;overflow:hidden;background:var(--panel,white);box-shadow:0 16px 64px #0003}.messenger-window[data-expanded=true]{inset:8px;width:auto;height:auto}.messenger-window[hidden]{display:none!important}.app-root>.app-layout:has(.messenger-window:not([hidden])){z-index:31}.messenger-window-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0 6px 0 34px;background:var(--panel,white);border-bottom:1px solid var(--border);color:var(--muted);font-size:12px}.messenger-window-toolbar>div{display:flex;gap:2px}.messenger-window-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:var(--foreground);cursor:pointer}.messenger-window-toolbar button:hover{background:var(--brand-soft)}.messenger-window-toolbar button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.messenger-window-toolbar .messenger-window-drag{flex:1 1;width:auto;justify-content:flex-start;font:inherit;color:inherit;cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.messenger-window-drag:active{cursor:-webkit-grabbing;cursor:grabbing}.messenger-window[data-expanded=true] .messenger-window-drag{cursor:default}.messenger-route-content,.messenger-window-content{container:messenger/inline-size;flex:1 1;min-height:0}.messenger-route{display:flex;flex-direction:column;height:calc((100dvh - var(--app-topbar-height, 71px)) / var(--company-interface-scale, 1) - 8px);min-height:300px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--panel,white)}@media (max-width:900px){.messenger-window{--messenger-window-width:min(var(--messenger-preferred-width,780px),calc(100% - 16px));--messenger-window-height:min(var(--messenger-preferred-height,640px),calc(100% - 96px - env(safe-area-inset-bottom, 0px)));right:clamp(calc(160px - var(--messenger-window-width)),var(--messenger-window-right,8px),calc(100% - 160px));bottom:clamp(calc(44px - var(--messenger-window-height)),var(--messenger-window-bottom,calc(76px + env(safe-area-inset-bottom, 0px))),calc(100% - var(--messenger-window-height) - 8px))}.messenger-window-toolbar button{width:44px;height:44px}}@media (max-width:560px){.messenger-window{--messenger-window-width:calc(100% - 16px);right:8px;bottom:calc(76px + env(safe-area-inset-bottom, 0px))}.messenger-window[data-expanded=true]{inset:0;border-radius:0}}@media print{.messenger-route{height:auto}}.messenger-entry:has(.messenger-window:not([hidden])) .messenger-launcher{z-index:95}.messenger-window-resize{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:12px 0 0 0;background:transparent;color:var(--muted);cursor:nwse-resize;touch-action:none}.messenger-window-resize:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}@media (max-width:560px){.messenger-window-resize{display:none}}.messenger-window-toolbar .workstation-lock-button{width:36px;height:36px;flex:none;border-radius:8px;box-shadow:none}@media (max-width:900px){.messenger-window-toolbar .workstation-lock-button{width:44px;height:44px}}.room-editor{scroll-margin-top:calc(var(--app-topbar-height, 64px) + 16px);--room-panel:var(--panel,#fff);--room-page:var(--background,#f7f8fa);--room-text:var(--foreground,#111827);--room-muted:var(--muted,#4b5563);--room-border:var(--border,#d1d5db);--room-accent:var(--accent,#64748b);--room-soft:var(--brand-soft,color-mix(in srgb,var(--room-accent) 10%,var(--room-panel)));--room-gutter:12px;--room-gap:8px;--room-section-gap:12px;font-family:inherit;font-size:calc(13px * var(--company-font-scale, 1));line-height:1.4;color:var(--room-text);background:var(--room-panel);border:1px solid var(--room-border);border-radius:8px;min-width:0;overflow:hidden}.room-editor *{box-sizing:border-box}.app-root>.app-layout:has(.room-editor-expanded){z-index:40}.room-curve-actions,.room-curve-controls{grid-column:1/-1;min-width:0}.room-curve-controls{display:grid;grid-gap:var(--room-gap);gap:var(--room-gap);border:1px solid var(--room-accent);border-radius:8px}.room-curve-controls p{margin:0;overflow-wrap:anywhere}.room-curve-actions{display:flex;gap:var(--room-gap);flex-wrap:wrap}.room-curve-handle{cursor:-webkit-grab;cursor:grab}.room-curve-handle circle:last-child{fill:var(--room-panel);stroke:var(--room-accent);stroke-width:2;pointer-events:none}.room-editor-shortcuts{max-width:100%}.room-editor-shortcuts summary{cursor:pointer;padding:8px}.room-editor-shortcuts p{max-width:60ch;white-space:normal}.room-editor :focus-visible{outline:2px solid var(--room-accent);outline-offset:3px}@media (max-width:600px),(pointer:coarse){.room-editor button,.room-editor input,.room-editor select,.room-editor summary{min-height:48px}.room-editor input{font-size:16px}.room-editor .room-wall-hit{stroke-width:32px}.room-editor .room-vertex-hit{r:24px}.room-curve-controls .room-opening-actions>button{flex:1 1 120px}}.room-editor [hidden]{display:none!important}.room-editor-toolbar{display:flex;align-items:center;gap:var(--room-gap);flex-wrap:wrap;padding:var(--room-gutter);border-bottom:1px solid var(--room-border);background:var(--room-panel)}.room-editor-escape-hint{margin-left:auto;color:var(--room-muted);font-size:.75em;white-space:nowrap}.room-editor:focus,.room-editor:focus-visible{outline:none}.room-editor-toolbar strong{flex:0 1 132px;min-width:0;overflow-wrap:anywhere}.room-editor button{font:inherit;font-size:.85em;border:1px solid var(--room-border);background:var(--room-panel);color:var(--room-text);border-radius:6px;padding:6px 10px;min-height:34px;max-width:100%;white-space:normal;cursor:pointer}.room-editor button:hover:not(:disabled),.room-editor button[aria-pressed=true]{background:var(--room-soft);border-color:var(--room-accent)}.room-editor button[aria-pressed=true]{color:var(--room-accent);font-weight:650}.room-editor button.room-editor-primary{font-weight:700}.room-editor button.room-editor-primary,.room-editor button.room-editor-primary:hover:not(:disabled){background:var(--accent,var(--room-accent));border-color:var(--accent,var(--room-accent));color:var(--accent-foreground,#fff)}.room-editor button.room-plan-next-action:not(:disabled){background:var(--room-accent);border-color:var(--room-accent);color:var(--accent-foreground,#fff);font-weight:700;box-shadow:0 0 0 2px var(--room-panel),0 0 0 4px var(--room-accent)}.room-save-next{outline:2px solid var(--room-accent,var(--accent,#da2c2f));outline-offset:3px}.room-editor button.room-editor-quiet{color:var(--room-muted);background:transparent;border-color:transparent;font-weight:450;opacity:.62}.room-editor button.room-editor-quiet:hover:not(:disabled),.room-editor button.room-editor-quiet[aria-pressed=true]{color:var(--room-text);background:var(--room-soft);border-color:var(--room-border);opacity:1;font-weight:500}.room-editor button:disabled{opacity:.48;cursor:not-allowed}.room-editor-toolbar select{font:inherit;color:var(--room-text);background:var(--room-panel);border:1px solid var(--room-border);border-radius:6px;padding-inline:8px;min-height:34px;max-width:min(140px,100%)}.room-opening-actions{display:flex;flex-wrap:wrap;gap:var(--room-gap)}.room-editor{--room-construction:var(--accent,#64748b)}.room-element-axis,.room-element-draw-preview line{stroke:var(--room-construction);stroke-width:3;stroke-dasharray:7 4;pointer-events:none;vector-effect:non-scaling-stroke}.room-element-plan{cursor:-webkit-grab;cursor:grab}.room-element-selected .room-element-axis{stroke-width:6.5}.room-element-draft .room-element-axis,.room-element-draft .room-element-coverage-visible{stroke-dasharray:3 2}.room-element-hit{stroke:transparent;stroke-width:24;pointer-events:stroke}.room-editor .room-element-inactive,.room-editor .room-element-inactive *{pointer-events:none}.room-element-draw-preview{pointer-events:none;fill:var(--room-construction)}.room-element-hatch-line{stroke:var(--room-construction);stroke-width:1}.room-element-coverage-visible{stroke:var(--room-construction);stroke-width:1.5;pointer-events:none}.room-element-selected .room-element-coverage-visible{stroke-width:4}.room-element-coverage-hit{fill:transparent;stroke:transparent;stroke-width:44;pointer-events:all}.room-editor-properties .room-element-check{flex-direction:row;align-items:center}.room-editor-properties .room-element-check input{width:18px;min-height:18px;height:18px;padding:0;flex-shrink:0}.room-element-profile,.room-zone-totals{color:var(--room-muted)}.room-zone-totals{grid-column:1/-1}.room-zone-arrow,.room-zone-hatch-line,.room-zone-plan-mark{stroke:var(--room-accent);stroke-width:1;fill:none}.room-zone-arrow,.room-zone-draw-preview,.room-zone-label,.room-zone-plan-marks{pointer-events:none}.room-zone-plan-target{pointer-events:auto;cursor:-webkit-grab;cursor:grab}.room-zone-plan-hit{stroke:transparent;stroke-width:16;pointer-events:stroke}.room-zone-draft .room-zone-rectangle,.room-zone-plan-draft .room-zone-plan-mark{stroke-dasharray:4 3}.room-zone-selected .room-zone-plan-mark,.room-zone-selected .room-zone-rectangle{stroke-width:3}.room-zone-rectangle{stroke:var(--room-accent);stroke-width:1}.room-zone-draw-preview,.room-zone-proposal .room-zone-rectangle{stroke:var(--room-accent);stroke-dasharray:4 3;fill:transparent}.room-zone-hit{fill:transparent}.room-zone-label{fill:var(--room-text);font-size:10px}.room-editor .room-zone-inactive,.room-editor .room-zone-inactive *{pointer-events:none}@media (pointer:coarse){.room-zone-hit{r:22px}}.room-editor-fields,.room-element-coordinates,.room-element-dimensions,.room-opening-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));grid-gap:var(--room-gap);gap:var(--room-gap);align-items:end;min-width:0}.room-element-coordinates{padding-top:var(--room-gap)}.room-replacement{grid-column:1/-1;border:1px solid var(--room-accent);border-radius:6px;padding:8px}.room-replacement button{margin:3px}.room-opening-mark{stroke:var(--room-accent);stroke-width:5;vector-effect:non-scaling-stroke;pointer-events:none}.room-opening-window .room-opening-mark{stroke-dasharray:4 3}.room-opening-hit{stroke:transparent;stroke-width:24;pointer-events:stroke}.room-editor-canvas g.room-opening-plan{cursor:-webkit-grab;cursor:grab}.room-editor-canvas g.room-opening-plan:active{cursor:-webkit-grabbing;cursor:grabbing}.room-opening-selected .room-opening-mark{stroke-width:9}.room-opening-draft .room-opening-mark{stroke-dasharray:6 3}.room-opening-draft.room-opening-window .room-opening-mark{stroke-dasharray:2 2}.room-elevation-wall{fill:var(--room-panel);stroke:var(--room-border)}.room-opening-elevation-visible{fill:var(--room-soft);stroke:var(--room-accent);stroke-width:1.5;pointer-events:none}.room-opening-elevation-hit{fill:transparent;stroke:transparent;stroke-width:44;pointer-events:all}.room-opening-elevation text{fill:var(--room-text);font-size:11px;pointer-events:none}.room-opening-selected .room-opening-elevation-visible{stroke-width:4}.room-opening-draft .room-opening-elevation-visible{stroke-dasharray:5 3}.room-editor [role=button]:focus-visible,.room-editor button:focus-visible,.room-editor input:focus-visible,.room-editor select:focus-visible{outline:2px solid var(--room-accent);outline-offset:2px}.room-editor button.room-plan-next-action:focus-visible{outline-color:var(--room-text);outline-offset:5px}.room-editor-body{position:relative;display:grid;grid-template-columns:minmax(0,420px) minmax(310px,1fr);min-width:0}.room-editor-inspector{align-self:stretch;scroll-margin-top:calc(var(--app-topbar-height, 64px) + 16px);border-left:1px solid var(--room-border);min-width:0;max-height:500px;overflow:auto;background:var(--room-panel)}.room-editor-inspector-header{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:var(--room-gap);padding:var(--room-gutter);background:var(--room-panel);border-bottom:1px solid var(--room-border)}.room-editor-section-nav{display:flex;flex:1 0 100%;flex-wrap:wrap;gap:var(--room-gap)}.room-editor-section-nav button{padding:5px 8px;font-size:12px}.room-editor-section-empty{margin:0;color:var(--room-muted);font-size:13px}.room-editor .room-editor-panel-close{display:none;margin-left:auto}.room-editor-inspector .room-editor-properties{border:0;max-height:none;overflow:visible}.room-plan-tool-menu{padding:var(--room-gutter);display:grid;grid-gap:var(--room-section-gap);gap:var(--room-section-gap)}.room-plan-tool-menu label{display:grid;grid-gap:5px;gap:5px}.room-tool-picker-hint{margin:0;padding:var(--room-gap);-webkit-border-start:2px solid var(--room-accent);border-inline-start:2px solid var(--room-accent);background:var(--room-soft);color:var(--room-text)}.room-plan-tool-menu input{width:100%;min-width:0;min-height:34px;font:inherit;color:var(--room-text);background:var(--room-panel);border:1px solid var(--room-border);border-radius:6px;padding:6px 8px}.room-plan-tool-group h3{margin:0 0 6px;font-size:1em}.room-plan-tool-group>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));grid-gap:var(--room-gap);gap:var(--room-gap)}.room-plan-tool-group button{width:100%;text-align:left;white-space:normal}.room-plan-tool-group small{display:block;font-size:.85em;color:var(--room-muted)}.room-editor-footer{display:grid;grid-gap:var(--room-gap);gap:var(--room-gap);flex:0 0 auto;padding:var(--room-gutter);border-top:1px solid var(--room-border)}.room-editor .room-editor-footer .calculator-room-plan-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--room-gap);min-width:0;margin:0}.room-editor .room-editor-footer .calculator-room-plan-actions small{flex-basis:100%;min-width:0;color:var(--room-muted);line-height:1.45}.room-editor-footer p{margin:0;overflow-wrap:anywhere}.calculator-room-plan{container:calculator-plan/inline-size;min-width:0}.calculator-room-plan:has(.room-editor-expanded){container-type:normal}@container calculator-plan (max-width: 650px){.room-editor:not(.room-editor-expanded) .room-editor-body{grid-template-columns:minmax(0,1fr)}.room-editor:not(.room-editor-expanded) .room-editor-canvas-wrap{width:min(100%,420px);justify-self:center}.room-editor:not(.room-editor-expanded) .room-editor-properties{border-left:0;border-top:1px solid var(--room-border);max-height:none}.room-editor:not(.room-editor-expanded) .room-editor-inspector{display:none;position:absolute;z-index:3;inset:0 0 0 auto;width:min(310px,100%);max-height:100%;box-shadow:-6px 0 16px #12243718}.room-editor:not(.room-editor-expanded) .room-editor-inspector[data-panel-open=true]{display:block}.room-editor:not(.room-editor-expanded) .room-editor-panel-close{display:inline-flex}}.room-editor-canvas-wrap{display:flex;flex-direction:column;align-self:stretch;min-width:0;position:relative;background:var(--room-page)}.room-editor-canvas{display:block;width:100%;height:310px;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-editor-canvas-movable{cursor:-webkit-grab;cursor:grab}.room-editor-canvas-movable:active{cursor:-webkit-grabbing;cursor:grabbing}.room-editor .room-editor-canvas-placement{cursor:crosshair;outline:2px solid var(--room-accent);outline-offset:-2px}.room-editor-canvas>rect:first-child{fill:var(--room-page)}.room-editor-hint{padding:var(--room-gap) var(--room-gutter);color:var(--room-muted);font-size:.85em;min-height:33px;border-top:1px solid var(--room-border)}.room-editor-hint:last-child{margin-top:auto}.room-editor .room-editor-canvas-wrap>.room-editor-hint.room-editor-placement-hint{display:block;flex:0 0 auto;min-height:0;border-top:2px solid var(--room-accent);background:var(--room-soft);color:var(--room-text);font-size:.92em;font-weight:650}.room-engineering-layers{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:var(--room-gap);padding:var(--room-gap) var(--room-gutter);border-bottom:1px solid var(--room-border)}.room-engineering-layers button[aria-pressed=false]{color:var(--room-muted);text-decoration:line-through}.room-engineering-actions{display:flex;flex-wrap:wrap;gap:var(--room-gap)}.room-engineering-marker{color:#315c93;cursor:-webkit-grab;cursor:grab}.room-engineering-marker[data-layer=lighting]{color:#76540e}.room-engineering-marker[data-layer=plumbing]{color:#176474}.room-engineering-marker[data-layer=heating]{color:#954a26}.room-engineering-marker[data-layer=climate]{color:#4b5f92}.room-engineering-marker[data-layer=engineering]{color:var(--room-muted)}.room-engineering-marker .room-engineering-hit{fill:transparent}.room-engineering-marker .room-engineering-icon{fill:#fff;stroke:currentColor;stroke-width:1.5}.room-engineering-marker .room-engineering-icon-line{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.room-engineering-marker:focus-visible .room-engineering-icon,.room-engineering-marker[data-selected=true] .room-engineering-icon{stroke-width:3}.room-engineering-marker text{fill:currentColor;font:700 8px sans-serif;pointer-events:none}.room-engineering-marker .room-engineering-quantity{font-size:11px;paint-order:stroke;stroke:#fff;stroke-width:3;stroke-linejoin:round}.room-editor .room-wall-visible{stroke:var(--room-text);stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}.room-editor .room-wall-selected{stroke-width:3.5}.room-editor .room-wall-hit{stroke:transparent;stroke-width:24;pointer-events:stroke;cursor:pointer}.room-editor .room-vertex-visible{fill:var(--room-panel);stroke:var(--room-accent);stroke-width:1.5;pointer-events:none}.room-editor .room-vertex-selected .room-vertex-visible{stroke-width:2.5}.room-editor .room-vertex-hit{fill:transparent;stroke:transparent;cursor:-webkit-grab;cursor:grab}.room-editor .room-vertex-hit:active{cursor:-webkit-grabbing;cursor:grabbing}.room-editor .room-dimension-bg{fill:var(--room-panel);stroke:var(--room-border)}.room-editor .room-dimension{fill:var(--room-muted);font-size:11px;pointer-events:none}.room-editor-canvas g[role=button]{cursor:pointer}.room-editor .room-pivot{stroke:var(--room-accent);stroke-width:1.5;pointer-events:none}.room-editor-properties{border-left:1px solid var(--room-border);padding:var(--room-gutter);grid-template-columns:minmax(0,1fr);align-content:start;align-items:stretch;max-height:500px;overflow:auto}.room-editor-properties,.room-editor-properties>div{display:grid;grid-gap:var(--room-section-gap);gap:var(--room-section-gap);min-width:0}.room-editor-properties>div:empty{display:none}.room-editor-properties label{display:flex;flex-direction:column;gap:5px;font-size:.9em;color:var(--room-muted);min-width:0;overflow-wrap:anywhere}.room-editor .room-inline-dimension,.room-editor-properties input,.room-editor-properties select{font:inherit;font-size:1em;color:var(--room-text);background:var(--room-panel);border:1px solid var(--room-border);border-radius:6px;min-height:34px;padding:6px 8px;width:100%;min-width:0}.room-editor-properties fieldset{border:1px solid var(--room-border);border-radius:7px;display:flex;flex-direction:column;gap:var(--room-gap);margin:0;padding:var(--room-gutter);min-width:0}.room-editor-properties legend{max-width:100%;padding-inline:5px;color:var(--room-text);font-size:1.1em;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.room-editor-properties details{border:1px solid var(--room-border);border-radius:7px;padding:var(--room-gap) var(--room-gutter);min-width:0}.room-editor-properties summary{cursor:pointer;font-weight:650}.room-editor-properties>.room-name-field{grid-column:1/-1}.room-editor-properties>fieldset:not(.room-opening-form):not(.room-element-form):not(.room-zone-form){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.room-editor-properties>.room-wall-properties>button{align-self:end}.room-editor-properties>fieldset>.room-opening-actions,.room-editor-properties>fieldset>small{grid-column:1/-1}.room-editor-properties>fieldset>label:has(select){grid-column:1/-1}.room-scenario-assignment .calculator-checkbox-field,.room-scenario-assignment label:has(input[type=checkbox]){flex-direction:row;align-items:center;min-height:32px}.room-scenario-assignment input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;flex-shrink:0}.room-scenario-assignment small{display:block;margin:4px 0}.room-scenario-assignment p{margin:7px 0}.room-editor-properties details>.room-editor-fields{padding-top:var(--room-gap)}.room-editor .room-editor-wide-field{grid-column:1/-1}.room-editor-fields>button{grid-column:1/-1;justify-self:start}.room-editor-metrics{font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.room-editor-metrics small{display:block;font-weight:400;color:var(--room-muted)}.room-editor [role=alert]{color:#a53d2e}.room-editor-expanded{position:fixed;inset:12px;z-index:1000;box-shadow:0 0 0 9999px #12243799;display:flex;flex-direction:column}.room-editor-expanded .room-editor-body{flex:1 1;min-height:0;grid-template-columns:minmax(0,1fr) 310px}.room-editor-expanded .room-editor-canvas-wrap{display:flex;flex-direction:column;min-height:0}.room-editor-expanded .room-editor-canvas{flex:1 1;height:0;min-height:300px}.room-editor-expanded .room-editor-hint{flex-shrink:0}.room-editor-expanded .room-editor-properties{max-height:none;display:flex;flex-direction:column;align-items:stretch}.room-editor-expanded .room-editor-inspector{max-height:none;min-height:0}@media (max-width:900px){.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-inspector{border-left:0;border-top:1px solid var(--room-border)}}@media (max-width:700px){.room-editor-body,.room-editor-expanded .room-editor-body{grid-template-columns:minmax(0,1fr)}.room-editor-expanded .room-editor-body{grid-template-rows:minmax(0,1fr)}.room-editor-expanded .room-editor-canvas{min-height:0}.room-editor-canvas{height:270px}.room-editor-properties{border-left:0;border-top:1px solid var(--room-border);max-height:none}.room-editor .room-editor-inspector{display:none;position:absolute;z-index:3;inset:0 0 0 auto;width:min(310px,100%);max-height:100%;box-shadow:-6px 0 16px #12243718}.room-editor .room-editor-inspector[data-panel-open=true]{display:block}.room-editor .room-editor-panel-close{display:inline-flex}.room-editor-toolbar strong{flex-basis:100%}.room-editor.room-editor-expanded .room-editor-body>.room-editor-canvas-wrap{flex:1 1 55%}.room-editor.room-editor-expanded .room-editor-body>.room-editor-inspector{flex:1 1 45%;max-height:45%}.room-editor-expanded .room-editor-inspector-header{position:static}.room-engineering-layers{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.room-engineering-layers>button{flex:0 0 auto;white-space:nowrap}}@media (max-width:480px){.room-editor{--room-gutter:10px}.project-office-calculator-shell .calculator-room-plan .room-editor:not(.room-editor-expanded) .room-editor-canvas{height:clamp(240px,72vw,320px);min-height:0}.room-editor-section-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,105px),1fr))}.room-editor .room-editor-section-nav button{overflow-wrap:normal}.room-editor .room-editor-footer .calculator-room-plan-actions>button{flex:1 1 140px;min-width:0}.room-editor :is(.room-engineering-actions,.room-opening-actions)>button{flex:1 1 110px;min-width:0}.room-editor button{overflow-wrap:anywhere}}@media (max-width:600px){.room-editor :is(button,select,input,summary){min-height:44px}}@media (pointer:coarse){.room-editor .room-wall-hit{stroke-width:30}.room-editor .room-vertex-hit{stroke-width:22}.room-editor .room-inline-dimension,.room-editor button,.room-editor-properties input,.room-editor-properties select,.room-editor-toolbar select{min-height:44px}.room-element-hit,.room-opening-hit{stroke-width:44}.room-element-midpoint-hit{r:22px}.room-editor-properties .room-element-check{min-height:44px}.room-editor-properties summary{display:flex;align-items:center;min-height:44px}}.project-office-calculator-shell .ui-tabs{flex-wrap:wrap;align-items:stretch}.project-office-calculator-shell .ui-tabs>button{min-width:0;min-height:max(44px,var(--ui-control-height));cursor:pointer}.project-office-calculator-shell .ui-tabs>button:where(:enabled):hover{background:var(--surface-muted,var(--background));color:var(--foreground)}.project-office-calculator-shell .ui-tabs>button[aria-pressed=true],.project-office-calculator-shell .ui-tabs>button[aria-selected=true]{border-bottom-color:var(--accent);background:var(--brand-soft);color:var(--foreground);font-weight:650}.project-office-calculator-shell :is(.calculator-source-panel,.calculator-panel,.calculator-balance,.calculator-estimate,.calculator-known-form,.calculator-finish-form,.calculator-pricing-panel){border-radius:var(--ui-radius)}.project-office-calculator-shell .calculator-finish-form>fieldset{min-width:0;margin:0;padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--panel)}.project-office-calculator-shell .calculator-finish-form>fieldset>legend{padding-inline:.25rem;color:var(--foreground);font-weight:600}.project-office-calculator-shell input:is([type=checkbox],[type=radio]){accent-color:var(--accent)}.project-office-calculator-shell :is(.calculator-finish-card-actions,.calculator-known-room-actions)>button,.project-office-calculator-shell :is(.calculator-primary-button,.calculator-secondary-button){padding:var(--company-control-padding,.375rem .75rem);border-radius:var(--ui-control-radius,var(--ui-radius));font:inherit;font-weight:600;white-space:normal}.project-office-calculator-shell .calculator-secondary-button,.project-office-calculator-shell :is(.calculator-finish-card-actions,.calculator-known-room-actions)>button{min-height:max(44px,var(--ui-control-height));border:1px solid var(--border);background:var(--panel)}.project-office-calculator-shell .geometry-actions>button:not(.calculator-primary-button),.project-office-calculator-shell .geometry-edit-card button,.project-office-calculator-shell .geometry-room-elements>button{border-color:var(--border);background:var(--panel);color:var(--foreground)}.project-office-calculator-shell :is(.calculator-secondary-button,.calculator-finish-card-actions>button,.calculator-known-room-actions>button):hover:enabled{border-color:currentColor}.project-office-calculator-shell :is(.ui-tabs>button,.calculator-primary-button,.calculator-secondary-button):disabled{opacity:.6;cursor:not-allowed}.project-office-calculator-shell .calculator-geometry-work-editor{display:grid;min-width:0;grid-gap:1rem;gap:1rem}.project-office-calculator-shell .calculator-layout-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;grid-gap:16px;gap:16px}.app-root>.app-layout:has(.calculator-modal-backdrop){z-index:40}.project-office-calculator-shell .calculator-layout-estimate,.project-office-calculator-shell .calculator-layout-finishing,.project-office-calculator-shell .calculator-layout-geometry{min-width:0}.project-office-calculator-shell .calculator-layout-geometry>.calculator-source-panel{margin-bottom:12px}.project-office-calculator-shell .calculator-layout-geometry .calculator-mode-grid:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.project-office-calculator-shell .calculator-layout-geometry .calculator-geometry-workspace{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px}.project-office-calculator-shell .calculator-layout-geometry .calculator-room-sidebar{position:static;overflow:visible}.project-office-calculator-shell .calculator-layout-geometry .calculator-room-sidebar-list{display:flex;gap:8px;max-height:none;overflow-x:auto;overflow-y:visible;padding:8px}.project-office-calculator-shell .calculator-layout-geometry .calculator-room-nav-card{flex:0 0 min(210px,75%);margin:0}.project-office-calculator-shell .calculator-layout-geometry .calculator-room-workarea{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:10px;gap:10px;padding:12px}.project-office-calculator-shell .calculator-layout-geometry .calculator-room-workarea>*{grid-column:1}.project-office-calculator-shell .calculator-layout-geometry .calculator-element-ledger{grid-template-columns:minmax(0,1fr)}.project-office-calculator-shell .calculator-layout-add-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.project-office-calculator-shell .calculator-layout-add-actions button,.project-office-calculator-shell .calculator-layout-mobile-tabs button{min-height:44px;white-space:normal}.project-office-calculator-shell .geometry-room-elements .geometry-fields{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:8px;gap:8px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.project-office-calculator-shell .geometry-room-elements .geometry-fields :is(input,select){width:100%;min-width:0;font:inherit}.project-office-calculator-shell .calculator-layout-mobile-tabs{display:none}.project-office-calculator-shell .calculator-layout-balance{min-width:0;margin-bottom:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.project-office-calculator-shell .calculator-layout-balance>p{margin:0 0 8px;padding:8px 10px;border-radius:8px;background:color-mix(in srgb,#d1841d 12%,var(--panel));color:var(--foreground);line-height:1.4}.project-office-calculator-shell .calculator-layout-balance>p[role=alert]{background:color-mix(in srgb,#bd3030 12%,var(--panel))}.project-office-calculator-shell .calculator-layout-balance summary{min-height:44px;align-content:center;font-weight:700;line-height:1.4;cursor:pointer}.project-office-calculator-shell .calculator-layout-balance .calculator-balance{margin:8px 0 0;box-shadow:none}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-electrical-room-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;grid-gap:12px;gap:12px}.project-office-calculator-shell .calculator-electrical-confirm-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;margin:8px 0;cursor:pointer}.project-office-calculator-shell .calculator-electrical-confirm-row input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:0}.project-office-calculator-shell .calculator-electrical-room-editor :is(.calculator-primary-button,.calculator-secondary-button){min-height:44px;margin:0;padding:0 18px;border-radius:11px;font:inherit;font-weight:800;white-space:normal}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-primary-button{border:1px solid var(--accent);background:var(--accent);color:var(--accent-foreground)}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-secondary-button{border:1px solid var(--border);background:var(--panel);color:var(--foreground)}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-entity-modal__footer{padding:10px 22px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--panel)}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-entity-modal__header>button{width:44px;height:44px;min-height:44px}@media (max-width:900px){.project-office-calculator-shell .calculator-electrical-room-editor .calculator-electrical-room-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1050px){.project-office-calculator-shell .calculator-layout-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:900px){.project-office-calculator-shell .calculator-layout-mobile-tabs{display:flex;gap:6px;margin-bottom:12px}.project-office-calculator-shell .calculator-layout-mobile-tabs button{flex:1 1 auto;padding-inline:5px}.project-office-calculator-shell[data-mobile-view=estimate] :is(.calculator-layout-geometry,.calculator-layout-finishing),.project-office-calculator-shell[data-mobile-view=finishing] :is(.calculator-layout-geometry,.calculator-layout-estimate),.project-office-calculator-shell[data-mobile-view=geometry] :is(.calculator-layout-finishing,.calculator-layout-estimate){display:none}}@media (max-width:560px){.project-office-calculator-shell .calculator-electrical-room-editor .calculator-electrical-room-counts{grid-template-columns:minmax(0,1fr)}.project-office-calculator-shell .calculator-electrical-room-editor .calculator-modal-actions>button{flex:1 1 100%}.project-office-calculator-shell .calculator-modal-backdrop{padding:0;place-items:stretch}.project-office-calculator-shell .calculator-entity-modal{width:100%;max-height:100dvh;border-radius:0}.project-office-calculator-shell .calculator-entity-modal__body{max-height:calc(100dvh - 110px);overscroll-behavior-y:auto}}.project-office-calculator-shell .calculator-geometry-panel{padding:12px;gap:10px}.project-office-calculator-shell .calculator-geometry-panel .calculator-panel-heading{margin:0;padding:0}.crm-card-workspace .project-office-calculator-shell .calculator-geometry-panel>.calculator-panel-heading{position:static}.project-office-calculator-shell .calculator-geometry-panel .calculator-panel-heading h2{font-size:16px}.project-office-calculator-shell .calculator-geometry-panel .calculator-geometry-workspace{grid-template-columns:minmax(0,1fr);gap:12px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-sidebar{min-width:0;position:static;overflow:visible}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-sidebar-list{display:flex;flex-wrap:wrap;gap:8px;max-height:none;overflow:visible;padding:8px}.project-office-calculator-shell .calculator-geometry-panel .calculator-empty-state{min-height:0;margin:8px;padding:12px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-open-button{min-height:48px;padding:8px;font-size:13px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-open-button small{font-size:12px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-sidebar-heading{padding:8px;font-size:13px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-workarea{padding:12px;min-width:0}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-nav-card{flex:0 0 200px;min-width:180px}.project-office-calculator-shell .calculator-geometry-panel :is(.calculator-primary-button,.calculator-secondary-button,.calculator-element-actions button,.calculator-room-compact-actions button,.calculator-recycle-bin button){min-height:34px;padding:6px 10px;font-size:13px;font-weight:550;border-radius:6px}.project-office-calculator-shell .calculator-room-extra-actions fieldset,.project-office-calculator-shell .calculator-room-legacy-controls{border:0;padding:0;margin:0;min-width:0}.project-office-calculator-shell .calculator-room-legacy-controls{display:grid;grid-gap:10px;gap:10px}.project-office-calculator-shell .calculator-room-nav-card{display:flex;flex-direction:column;position:relative}.project-office-calculator-shell .calculator-room-extra-actions{position:relative;z-index:1}.project-office-calculator-shell .calculator-room-compact-actions{display:flex;flex-direction:column;align-items:stretch}.project-office-calculator-shell .calculator-room-compact-actions button:disabled{opacity:.45;cursor:default}.project-office-calculator-shell .calculator-room-action-confirm{display:grid;grid-gap:6px;gap:6px;padding:0 8px 8px}.project-office-calculator-shell .calculator-room-action-confirm small{font-size:12px;line-height:1.35}.project-office-calculator-shell .calculator-room-metric-details summary{font-size:13px;padding:7px 0;cursor:pointer}.project-office-calculator-shell .calculator-layout-add-actions,.project-office-calculator-shell .calculator-room-plan-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.project-office-calculator-shell .calculator-room-plan-actions{margin-top:8px}.project-office-calculator-shell .calculator-room-plan-actions small{font-size:12px}.project-office-calculator-shell .calculator-element-picker{display:grid;grid-gap:10px;gap:10px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--panel);min-width:0}.project-office-calculator-shell .calculator-element-picker label{display:grid;grid-gap:4px;gap:4px;font-size:13px}.project-office-calculator-shell .calculator-element-picker input{width:100%;min-width:0;font:inherit}.project-office-calculator-shell .calculator-element-picker-group h4{margin:0 0 6px;font-size:13px}.project-office-calculator-shell .calculator-element-picker-list{display:flex;flex-wrap:wrap;gap:6px}.project-office-calculator-shell .calculator-element-picker-list button{min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--foreground);font:inherit;font-size:13px;white-space:normal;cursor:pointer}@media (max-width:767px){.project-office-calculator-shell .calculator-geometry-panel .calculator-geometry-workspace{grid-template-columns:minmax(0,1fr);gap:8px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-sidebar-list{display:flex;flex-wrap:wrap;overflow:visible}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-nav-card{flex:0 0 180px}.project-office-calculator-shell .calculator-geometry-panel .calculator-room-workarea{padding:10px}}.project-office-calculator-shell [data-calculator-block-heading]{position:static;z-index:auto}.project-office-calculator-shell .room-editor:not(.room-editor-expanded){overflow:visible}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-body{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-canvas{height:min(460px,56vh);min-height:280px}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-inspector{display:flex;flex-direction:column;position:static;inset:auto;width:auto;max-height:none;box-shadow:none;overflow:visible}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-opening-form{scroll-margin-top:12px}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-toolbar{position:static;z-index:auto;background:var(--room-panel,#fff)}@media (max-width:900px){.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-body{grid-template-columns:minmax(0,1fr)}}@media (pointer:coarse){.project-office-calculator-shell .calculator-geometry-panel :is(button,input,select,summary){min-height:44px}}@media (max-width:700px),(pointer:coarse){.project-office-calculator-shell .calculator-geometry-panel .room-editor :is(button,input,select,summary){min-height:48px}.project-office-calculator-shell .room-editor input{font-size:16px}.project-office-calculator-shell .room-editor .room-wall-hit{stroke-width:48px}.project-office-calculator-shell .room-editor .room-vertex-hit{r:24px;stroke-width:0}}@media (max-width:700px){.project-office-calculator-shell .room-editor-expanded{inset:0;height:var(--room-viewport-height,100dvh);top:var(--room-viewport-top,0);border-radius:0}.project-office-calculator-shell .room-editor-expanded .room-editor-toolbar{max-height:27%;overflow:auto;flex:0 0 auto}.project-office-calculator-shell .room-editor-expanded .room-editor-body{display:flex;flex-direction:column;overflow:hidden}.project-office-calculator-shell .room-editor-expanded .room-editor-canvas-wrap{flex:1 1 40%;min-height:100px}.project-office-calculator-shell .room-editor-expanded .room-editor-hint{display:none}.project-office-calculator-shell .room-editor-expanded .room-editor-inspector{position:relative;inset:auto;width:100%;flex:1 1 60%;max-height:60%;overflow:auto;box-shadow:none;border-top:1px solid var(--room-border)}.project-office-calculator-shell .room-editor-expanded .room-editor-inspector[data-panel-open=true]{display:block}.project-office-calculator-shell .room-editor-expanded .room-editor-footer{max-height:22%;overflow:auto;padding-bottom:max(8px,env(safe-area-inset-bottom))}}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-inspector[data-panel-open=false]{display:none}.project-office-calculator-shell .room-editor:not(.room-editor-expanded) .room-editor-body:has(>.room-editor-inspector[data-panel-open=false]){grid-template-columns:minmax(0,1fr)}.project-estimate-panel{container:saved-estimate/inline-size;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:.875rem;gap:.875rem;min-width:0;padding:1rem;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--panel);color:var(--foreground);font-size:var(--ui-body-size);overflow-wrap:anywhere;scroll-margin-top:var(--ui-shell-height,3.5rem)}.project-estimate-panel :is(h2,h3,p){margin:0}.project-estimate-panel :is(h2,h3){font-size:1rem;line-height:1.35}.project-estimate-panel p{color:var(--muted);line-height:1.5}.project-estimate-approval,.project-estimate-header,.project-estimate-toolbar,.project-estimate-versionHeading,.project-estimate-versionMeta{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem}.project-estimate-header{justify-content:space-between}.project-estimate-toolbar>p{flex-basis:100%}.project-estimate-panel button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;justify-self:start;box-sizing:border-box;min-height:var(--ui-control-height);max-width:100%;padding:var(--company-control-padding,.375rem .75rem);border:1px solid var(--border);border-radius:var(--ui-control-radius,var(--ui-radius));background:var(--panel);color:var(--foreground);font:inherit;font-weight:600;line-height:1.35;cursor:pointer}.project-estimate-panel button:hover:enabled{border-color:var(--accent-text,var(--accent));background:color-mix(in srgb,var(--accent) 8%,var(--panel))}.project-estimate-panel .ui-primary,.project-estimate-panel .ui-primary:hover:enabled{border-color:var(--accent);background:var(--accent);color:var(--accent-foreground,white)}.project-estimate-panel button:disabled{opacity:.6;cursor:not-allowed}.project-estimate-panel :is(button,a,summary,[tabindex]):focus-visible{outline:2px solid var(--foreground);outline-offset:2px}.project-estimate-notice{display:grid;grid-gap:.5rem;gap:.5rem;padding:.625rem .875rem;-webkit-border-start:2px solid var(--border);border-inline-start:2px solid var(--border);background:var(--surface-muted,color-mix(in srgb,var(--foreground) 4%,var(--panel)))}.project-estimate-technical{color:var(--muted)}.project-estimate-technical summary{padding-block:.375rem;cursor:pointer}.project-estimate-technical>div,.project-estimate-technical>div>div{display:grid;grid-gap:.5rem;gap:.5rem}.project-estimate-version{min-width:0;border-top:1px solid var(--border)}.project-estimate-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem 1.25rem;padding-block:1rem}.project-estimate-versionMeta{gap:.25rem .875rem;margin-top:.375rem}.project-estimate-technical,.project-estimate-toolbar p,.project-estimate-total span,.project-estimate-versionMeta{font-size:var(--ui-small-size,.8125rem)}.project-estimate-versionMeta a{color:var(--accent-text,var(--foreground));text-underline-offset:.15em}.project-estimate-badge{padding:.15rem .5rem;border:1px solid var(--border);border-radius:var(--ui-control-radius,var(--ui-radius));background:var(--surface-muted,var(--panel));font-size:var(--ui-small-size,.8125rem);font-weight:600}.project-estimate-badge[data-status=approved]{background:var(--brand-soft);color:var(--accent-text,var(--foreground))}.project-estimate-total{display:grid;grid-gap:.125rem;gap:.125rem;text-align:end}.project-estimate-total span{color:var(--muted)}.project-estimate-total strong{font-size:1.25rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.project-estimate-tableScroll{max-height:min(60dvh,36rem);overflow:auto;border:1px solid var(--border);border-radius:var(--ui-radius)}.project-estimate-version-table{width:100%;min-width:33rem;border-collapse:separate;border-spacing:0;font:inherit}.project-estimate-version-table :is(th,td){padding:.55rem .75rem;text-align:end;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.project-estimate-version-table :is(th,td):first-child{text-align:start}.project-estimate-version-table td:first-child{width:48%}.project-estimate-version-table td:not(:first-child,:nth-child(3)){white-space:nowrap}.project-estimate-version-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:1;border-bottom:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:var(--ui-small-size,.8125rem);white-space:nowrap}.project-estimate-version-table tbody :is(th,td){border-bottom:1px solid var(--border);vertical-align:top}.project-estimate-sectionRow{background:var(--surface-muted,color-mix(in srgb,var(--foreground) 4%,var(--panel)));font-weight:600}.project-estimate-version-table tfoot{font-weight:700}.project-estimate-approval{justify-content:space-between;gap:.75rem 1rem;margin-top:1rem}.project-estimate-approval p{flex:1 1 17rem;font-size:var(--ui-small-size,.8125rem)}.project-estimate-approval strong{display:block;color:var(--foreground);font-size:var(--ui-body-size)}.project-estimate-srOnly{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}@container saved-estimate (max-width: 34rem){.project-estimate-approval,.project-estimate-toolbar{flex-direction:column;align-items:stretch}.project-estimate-approval p,.project-estimate-toolbar>p{flex-basis:auto}.project-estimate-summary{align-items:flex-start;flex-direction:column}.project-estimate-total{text-align:start}}@container saved-estimate (max-width: 23rem){.project-estimate-header button{min-width:max(44px,var(--ui-control-height))}.project-estimate-header button>span{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}}@media (pointer:coarse){.project-estimate-panel :is(button,summary){min-height:max(44px,var(--ui-control-height))}.project-estimate-versionMeta a{display:inline-flex;align-items:center;min-height:44px}}