:root{--background:#f5f7fb;--foreground:#202938;--card:#fff;--card-foreground:#202938;--primary:#2863db;--primary-foreground:#fff;--secondary:#edf2fa;--secondary-foreground:#30405a;--muted:#f1f4f9;--muted-foreground:#647188;--accent:#edf3ff;--accent-foreground:#2258c1;--border:#e2e7ef;--input:#d9e0eb;--ring:#2863db;--sidebar:#fff;--sidebar-foreground:#526076;--sidebar-primary:#2863db;--sidebar-primary-foreground:#fff;--sidebar-accent:#edf3ff;--sidebar-accent-foreground:#2258c1;--sidebar-border:#e2e7ef;--sidebar-ring:#2863db;--radius:.7rem}body{font-family:Arial,Segoe UI,sans-serif;color:var(--foreground);font-size:16px;line-height:1.5}button,label:has(button){touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #8db1ff;outline-offset:3px}.workspace-sidebar [data-slot=sidebar-inner]{background:#fff}.brand{height:98px;padding:28px 24px;display:flex;flex-direction:row;align-items:center;gap:12px;font-size:17px;line-height:1.2;color:#24334b}.brand .brand-wordmark{font-size:30px;font-weight:800;letter-spacing:-.045em;line-height:1;color:#1d2c40}.brand-mark{display:block;width:42px;height:42px;flex-shrink:0}.workspace-sidebar [data-slot=sidebar-group]{padding:8px 16px}.back-objects{font-size:14px!important;opacity:1!important;color:#536179;height:44px!important}.sidebar-caption{font-size:11px;font-weight:700;letter-spacing:.1em;margin:30px 12px 14px;color:#8290a4}.project-name{margin:0 12px 24px;font-size:15px;font-weight:600;color:#273650}.project-name span{display:block;font-size:13px;font-weight:400;color:#758096;margin-top:3px}.nav-item{height:46px!important;margin:3px 0;padding:0 14px!important;font-size:15px!important;gap:12px!important;border-radius:7px!important;opacity:1!important}.nav-item svg{width:18px!important;height:18px!important}.nav-item[data-active=true]{background:#eaf1ff!important;color:#225dcc!important;font-weight:600}.nav-item:disabled{color:#737f90;cursor:default}.profile{display:flex;align-items:center;gap:11px;padding:21px 16px;border-top:1px solid #edf0f5;font-size:14px;color:#33425c}.profile>span{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#edf2fa;color:#53668a;font-weight:600}.profile small{display:block;font-size:12px;color:#7c879a;margin-top:2px}.workspace-main{background:#f5f7fb!important;min-width:0}.topbar{height:69px;background:white;border-bottom:1px solid #e2e7ef;justify-content:space-between;padding:0 38px}.topbar,.topbar>div{display:flex;align-items:center}.topbar>div{gap:12px}.breadcrumb{font-size:14px;color:#68758a;display:flex;gap:10px;align-items:center}.breadcrumb svg{width:14px;height:14px;color:#9ba7b7}.prototype-tag{font-size:12px;color:#6c7687;padding:5px 9px;border:1px solid #e0e5ed;border-radius:5px}.mobile-menu{display:none!important}.workspace-content{max-width:1460px;padding:36px 38px 24px;width:100%;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.13em;color:#6e80a0}h1{font-size:28px;font-weight:600;letter-spacing:-.7px;line-height:1.3;margin:8px 0 9px}.page-heading p{font-size:15px;color:#748096}.step-label{font-size:30px;color:#b8c6dc;font-weight:400;white-space:nowrap;margin-left:20px}.step-label span{font-size:16px;color:#94a1b5}.room-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.room-tabs{height:45px!important;background:transparent!important;gap:5px;padding:0!important}.room-tabs [data-slot=tabs-trigger]{font-size:14px;padding:11px 19px;min-height:44px;color:#62728c;border:1px solid transparent}.room-tabs [data-state=active]{background:white!important;border-color:#dce3ee!important;box-shadow:0 2px 4px #21334f05!important;color:#215bcc!important}.room-count{font-size:13px;color:#7b879a}.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:stretch}.dimension-panel,.surface-panel{background:#fff;border:1px solid #e1e7f0;border-radius:12px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 12px;gap:10px}.panel-heading h2{font-size:18px;font-weight:600;letter-spacing:-.25px}.panel-heading p{font-size:13px;color:#7a879b;margin-top:4px}.selected-tag{font-size:12px;color:#2760c9;background:#eff4ff;border-radius:5px;padding:5px 9px;white-space:nowrap}.room-drawing{margin:7px 12px 5px;min-height:255px;display:grid;align-items:center}.room-drawing svg{width:100%;max-height:350px;font-family:Arial,sans-serif}.room-drawing text{font-size:15px;fill:#6b7b92}.room-drawing .wall-number{font-size:12px;fill:white}.room-drawing .diagram-title{font-size:14px;fill:#6b7b92}.room-drawing .diagram-value{font-size:25px;fill:#314d78;font-weight:600}.wall-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 24px 21px}.wall-choice{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e3e8f0;border-radius:7px;font-size:13px;cursor:pointer;min-height:47px}.wall-choice.chosen{border-color:#cbdcff;background:#f6f9ff}.wall-choice small{margin-left:auto;color:#8698b3;font-size:11px}.wall-choice [data-slot=checkbox]{width:18px;height:18px;border-radius:4px}.source-note{display:flex;gap:10px;padding:17px 24px;border-top:1px solid #edf0f5;color:#7c899d;align-items:flex-start;font-size:12px;line-height:1.7}.source-note svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.dimension-panel .panel-heading{padding:22px 22px 20px}.dimension-panel .panel-heading svg{color:#8c9cb3}.dimension-fields{padding:0 22px;display:grid;gap:15px}.field{display:flex!important;flex-direction:column;align-items:stretch!important;gap:7px!important;font-size:13px!important;font-weight:400!important;color:#607089}.field-input{position:relative;display:block}.field-input input{height:43px;background:#fff;border-color:#dfe5ee;border-radius:6px;box-shadow:none;font-size:15px;color:#26364f;padding:9px 34px 9px 12px}.field-input>span{position:absolute;right:13px;top:10px;color:#93a0b4;font-size:13px}.door-section{margin-top:23px;border-top:1px solid #edf0f5;padding:18px 22px}.door-section h3{font-size:14px;font-weight:600}.door-section p{font-size:12px;color:#7b889c;margin-top:3px}.door-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.door-fields .field{font-size:12px!important}.room-result{background:#f5f8ff;margin:3px 12px 12px;padding:18px 18px 15px;border-radius:8px}.room-result>span{font-size:13px;color:#667a99}.room-result>strong{display:block;font-size:35px;font-weight:600;letter-spacing:-1px;color:#225ccc;margin:2px 0 14px}.room-result strong small{font-size:17px;font-weight:400;letter-spacing:0}.room-result>div{display:flex;justify-content:space-between;font-size:12px;color:#71829a;margin-top:7px;gap:8px}.room-result b{font-weight:400;color:#4c6080;white-space:nowrap}.total-strip{justify-content:space-between;background:white;border:1px solid #dde5f1;border-radius:10px;margin-top:22px;padding:20px 25px;gap:20px}.total-strip,.total-strip>div{display:flex;align-items:center}.total-strip>div{gap:14px}.summary-icon{height:44px;width:44px;display:grid;place-items:center;background:#edf3ff;border-radius:8px;color:#326bd2;flex-shrink:0}.total-strip h2{font-size:15px;font-weight:600}.total-strip p{font-size:12px;color:#7b889b;margin-top:4px}.total-strip>strong{font-size:28px;color:#2b3f61;letter-spacing:-.7px;white-space:nowrap}.total-strip>strong span{font-size:16px;color:#7b8da9;font-weight:400}.bottom-note{display:flex;gap:8px;align-items:flex-start;color:#7f8b9e;font-size:12px;margin-top:18px}.bottom-note svg{flex-shrink:0;margin-top:1px}.error-note{margin:12px 20px;color:#aa3030;background:#fff2f2;padding:10px;font-size:13px;border-radius:6px}.form-field>.error-note{margin:0}@media(min-width:1600px){.room-drawing{min-height:340px}.room-drawing svg{max-height:380px}.workspace-content{padding-top:48px}.surface-panel{display:flex;flex-direction:column}.source-note{margin-top:auto}.room-grid{grid-template-columns:minmax(0,1fr) 345px}}@media(max-width:1180px){.workspace-content{padding:26px 24px}.topbar{padding:0 24px}.room-grid{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.wall-choices{grid-template-columns:1fr;padding:0 18px 18px}.room-drawing{min-height:230px}.panel-heading{padding:20px 18px 10px}.source-note{padding:14px 18px}.room-count{display:none}}@media(max-width:900px){.room-grid{grid-template-columns:1fr}.wall-choices{grid-template-columns:1fr 1fr}.dimension-fields{grid-template-columns:repeat(3,1fr)}.door-fields{max-width:340px}.room-result{margin:6px 20px 20px}.room-drawing{max-width:620px;margin:0 auto;width:100%;min-height:220px}.step-label{display:none}}@media(max-width:767px){.mobile-menu{display:inline-flex!important}.topbar{height:61px;padding:0 17px}.prototype-tag{display:none}.workspace-content{padding:25px 16px}.page-heading{margin-bottom:22px}h1{font-size:25px}.page-heading p{font-size:14px}.room-tabs [data-slot=tabs-trigger]{padding:10px 12px;font-size:13px}.room-tabs{gap:0}.panel-heading h2{font-size:17px}.wall-choice{font-size:12px;padding:12px 9px}.wall-choices{padding:0 15px 15px}.dimension-fields{grid-template-columns:1fr}.total-strip{padding:17px;align-items:flex-start}.summary-icon{display:none}.total-strip h2{font-size:14px}.total-strip>strong{font-size:25px}.breadcrumb,.source-note,.total-strip p{font-size:12px}.room-drawing text{font-size:17px}.room-drawing .diagram-title{font-size:16px}.room-drawing .wall-number{font-size:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.workspace-content button{cursor:pointer}.workspace-content button:disabled{cursor:default}.topbar [data-slot=button],.workspace-content [data-slot=button]{min-height:40px;border-radius:7px;font-size:14px}.role-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;color:#637188;font-size:13px}.save-controls{gap:12px!important}.save-state{color:#69768a;font-size:12px;white-space:nowrap}.topbar .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar>div:first-child{min-width:0}.save-controls{flex-shrink:0}.save-state[role=status]{min-width:74px}@media(max-width:600px){.topbar{height:auto;min-height:64px;flex-wrap:wrap}.topbar>div:first-child{flex:1}.topbar .breadcrumb{max-width:calc(100vw - 92px)}.topbar .save-controls{width:100%;justify-content:flex-end;gap:8px!important}.topbar .save-state{display:inline!important;margin-right:auto;font-size:11px}.topbar .save-controls>button{min-height:38px}}.form-card,.table-card{background:white;border:1px solid #e2e7ef;border-radius:12px;padding:26px;margin-bottom:22px}.form-card h2,.table-card h2{font-size:20px;font-weight:600;line-height:1.35;margin-bottom:8px}.form-card>div+div{margin-top:22px}.form-card p{margin-bottom:16px}.muted{color:#647188;font-size:14px;line-height:1.65}.form-field{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:20px 0;color:#34435c;font-size:14px;line-height:1.5}.form-field [data-slot=select-trigger],.form-field input,.form-field textarea{width:100%;font-size:16px;min-height:44px;background:white}.form-field textarea{padding:12px}.form-field [data-slot=select-trigger]{height:auto;min-height:44px;white-space:normal;text-align:left}.form-field [data-slot=select-value]{white-space:normal!important}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}.actions a{color:#245dcc;text-decoration:underline;text-underline-offset:4px;font-size:14px}.section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.section-top p{margin:0}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:26px}.metric{padding:24px;background:white;border:1px solid #e2e7ef;border-radius:10px;display:flex;flex-direction:column;gap:8px}.metric>small,.metric>span{font-size:14px;color:#637188}.metric strong{font-size:27px;font-weight:600;line-height:1.25}.table-card{padding:24px 0 0;overflow:hidden}.table-card>.section-top{padding:0 24px}.table-card table{font-size:14px;min-width:650px}.table-card th{color:#69768a;background:#f8fafc;font-weight:500;height:46px}.table-card td,.table-card th{padding:16px 20px}.table-card td{vertical-align:top}.table-card td:first-child{min-width:260px;max-width:530px}.table-card strong{font-weight:500}.table-card small,.version-row small{display:block;color:#6d788b;font-size:12px;line-height:1.5;margin-top:5px;white-space:normal}.table-card td small.blue-text{color:#245dcc}.amount-cell{font-weight:600;white-space:nowrap}.estimate-total{padding:24px;display:flex;justify-content:space-between;gap:24px;border-top:1px solid #e2e7ef;background:#f8faff}.estimate-total b{font-size:27px;white-space:nowrap}.estimate-total p{font-size:14px;color:#647188;margin:5px 0;max-width:550px}.excluded-row{opacity:.6}.empty-copy{padding:28px;color:#647188}.estimate-heading{margin:26px 0 18px}.estimate-heading h2{font-size:20px;font-weight:600}.estimate-room{padding-top:0}.estimate-room-heading{padding:20px 24px;border-bottom:1px solid var(--border);background:var(--accent)}.estimate-room-heading h3{font-size:20px;font-weight:600;color:var(--foreground);overflow-wrap:anywhere}.estimate-room .estimate-section-row th{background:var(--secondary);color:var(--secondary-foreground);font-size:14px;font-weight:600;height:auto;padding:11px 20px;text-align:left}.estimate-room .estimate-room-table{table-layout:fixed;min-width:780px}.estimate-room-table th:first-child{width:36%}.estimate-room-table th:nth-child(2){width:8%}.estimate-room-table th:nth-child(3){width:13%}.estimate-room-table th:nth-child(4){width:15%}.estimate-room-table th:nth-child(5){width:17%}.estimate-room-table th:last-child:not(:nth-child(5)){width:11%}.estimate-room-table td,.estimate-room-table th{padding:14px 12px}.estimate-room-table td:first-child{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;padding-left:20px}.estimate-room-table .estimate-section-row th{width:auto}.estimate-room-table td:not(:first-child),.estimate-room-table thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:normal}.estimate-room-table td:nth-child(2),.estimate-room-table thead th:nth-child(2){text-align:center}.estimate-room-table .estimate-row-action{padding-right:12px}.estimate-row-action button{min-height:44px}.estimate-room small{font-size:13px}.estimate-room .estimate-surface-label{color:var(--accent-foreground)}.estimate-room-total{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 24px;border-top:1px solid var(--border);background:#fbfcff}.estimate-room-total strong{font-size:15px;font-weight:600}.estimate-room-total b{font-size:21px;font-variant-numeric:tabular-nums;white-space:nowrap}.estimate-room-total p{font-size:14px;color:var(--muted-foreground);margin-top:5px}.estimate-object-total{border:1px solid var(--border);border-radius:12px;margin-bottom:22px}@media(max-width:900px){.estimate-room .estimate-room-table{min-width:0;table-layout:auto}.estimate-room-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.estimate-room-table,.estimate-room-table tbody{display:block;width:100%}.estimate-room-table .estimate-section-row{display:block}.estimate-room-table .estimate-section-row th{display:block;white-space:normal}.estimate-room-table .estimate-work-row{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;padding:16px 20px}.estimate-room-table .estimate-work-row td{display:block;padding:0!important;text-align:left!important;min-width:0;overflow-wrap:anywhere}.estimate-room-table .estimate-work-name{grid-column:1/-1}.estimate-room-table td[data-label]:before{content:attr(data-label);display:block;font-size:13px;font-weight:400;color:var(--muted-foreground);margin-bottom:4px}.estimate-room-table .estimate-row-action{grid-column:1/-1;text-align:right!important}.estimate-room-total{flex-wrap:wrap}.estimate-room-heading{padding:18px 20px}}.edit-dialog{max-width:620px!important;max-height:90vh;display:flex!important;flex-direction:column!important}.dialog-fields{overflow:auto;padding:0 4px;max-height:65vh}.dialog-fields>.form-field:first-child{margin-top:0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check-line{display:flex;align-items:center;gap:10px;font-size:14px;min-height:44px;line-height:1.4}.check-line [data-slot=checkbox]{flex-shrink:0}.source-box{padding:16px;border-radius:8px;background:#f2f6fc;color:#53657f;font-size:14px;line-height:1.6;margin-bottom:22px}.quiet-tag{color:#536b8e;background:#eff4fb;border-radius:5px;padding:5px 9px;font-size:12px;white-space:nowrap}.step-top{display:flex;align-items:center;gap:25px;font-size:14px;color:#53657f;margin-bottom:32px;white-space:nowrap}.step-top [data-slot=progress]{width:160px;height:6px}.details-list{display:grid;grid-template-columns:140px 1fr;gap:12px;font-size:16px;margin:24px 0}.details-list dt{color:#68768a}.object-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.object-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:1px solid #e2e7ef;border-radius:12px;padding:26px;gap:16px}.object-card h2{font-size:20px;font-weight:600}.object-card p{font-size:14px;color:#6a768b}.object-card>span:last-child{display:flex;align-items:center;color:#2863db;font-size:14px;gap:8px;margin-top:12px}.object-icon{padding:13px;border-radius:9px;background:#edf3ff;color:#2863db}.overview-steps button{width:100%;display:flex;align-items:center;gap:20px;text-align:left;padding:22px 0;border-bottom:1px solid #edf0f5}.overview-steps button:last-child{border:0}.overview-steps button>span{background:#edf3ff;color:#2863db;width:36px;height:36px;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.overview-steps strong{font-size:16px;font-weight:500}.overview-steps p{font-size:14px;color:#647188;margin:5px 0 0}.overview-steps button>svg{margin-left:auto;flex-shrink:0;color:#8b99ad}.version-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e8edf4;padding:20px 0}.version-row strong{font-weight:500;font-size:16px}.success-note{padding:14px 18px;background:#edf7f2;border:1px solid #d3e8dc;border-radius:8px;color:#365f48;display:flex;gap:10px}.error-banner,.success-note{font-size:14px;margin-bottom:24px}.error-banner{padding:18px;background:#fff5f4;border:1px solid #edccc8;border-radius:8px;color:#963b30}.error-banner .actions{margin:12px 0 0}.wall-number{font-size:12px!important}.sidebar-caption{font-size:12px}.field,.room-tabs [data-slot=tabs-trigger],.wall-choice{font-size:14px!important}.page-heading{gap:16px}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.room-bar,.room-tabs{flex-wrap:wrap}.room-tabs{height:auto!important}.room-drawing svg{min-height:200px}.room-grid{align-items:start}@media(max-width:1100px){.topbar{padding:16px 24px;height:auto;min-height:69px}.breadcrumb{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-grid{grid-template-columns:1fr}.wall-choices{grid-template-columns:1fr 1fr}.dimension-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dimension-panel .room-result{margin-top:18px}.form-card,.table-card>.section-top{padding-left:20px;padding-right:20px}}@media(max-width:767px){.topbar{padding:12px 16px;gap:8px}.save-state{display:none}.breadcrumb{max-width:150px;font-size:12px}.role-preview{flex-direction:column;align-items:flex-start;gap:8px}.page-heading{flex-direction:column;align-items:flex-start!important}.form-card{padding:20px 16px}.section-top{flex-wrap:wrap;gap:14px}.metric{padding:18px}.metric-grid{grid-template-columns:1fr 1fr;gap:12px}.metric strong{font-size:22px}.estimate-total{flex-direction:column}.dimension-fields{display:block}.wall-choices{grid-template-columns:1fr}.total-strip,.version-row{align-items:flex-start;flex-direction:column}.details-list{grid-template-columns:1fr;gap:5px}.details-list dd{margin-bottom:12px}.two-fields{gap:10px}.quiet-tag{white-space:normal}.room-result strong{font-size:32px}.room-bar .room-count{display:none}}.workspace-fields{min-width:0;border:0;padding:0;margin:0}.workspace-fields:disabled{opacity:.65}.door-actions{padding:0 24px 18px}.complexity-total{overflow:hidden;background:white}.complexity-base{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:20px 24px;font-size:16px}.complexity-base strong{font-size:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.complexity-control{display:grid;grid-template-columns:1fr minmax(100px,150px);gap:10px 24px;align-items:center;padding:0 24px 22px}.complexity-control label{font-size:16px}.complexity-control input{min-height:44px;font-size:18px;background:white}.complexity-control p{grid-column:1/-1;font-size:14px;margin:0}.complexity-result{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;background:var(--accent);border-top:1px solid var(--border)}.complexity-result strong{font-size:18px}.complexity-result p{font-size:14px;color:var(--muted-foreground);margin-top:5px}.complexity-result b{font-size:28px;color:var(--primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.complexity-notes{padding:14px 24px;font-size:14px;line-height:1.6;color:var(--muted-foreground)}.complexity-notes p+p{margin-top:5px}@media(max-width:767px){.complexity-base{flex-wrap:wrap;padding:18px 16px}.complexity-control{padding:0 16px 18px;gap:10px 16px;grid-template-columns:1fr 100px}.complexity-result{flex-wrap:wrap;padding:20px 16px}.complexity-result b{font-size:26px}.complexity-notes{padding:14px 16px}}.estimate-page .workspace-content{max-width:1080px}.estimate-page .page-heading .eyebrow,.estimate-page .page-heading p{display:none}.estimate-page .page-heading{margin-bottom:20px}.estimate-page .page-heading h1{font-size:32px;letter-spacing:-.8px;margin:0}.estimate-workspace{--estimate-dock-height:150px;--estimate-warning:#925916;--estimate-warning-bg:#fff5e6;--estimate-success:#247554;max-width:880px;margin:0 auto}.estimate-list-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:20px}.estimate-list-tools .estimate-room-picker{width:100%;min-width:0;min-height:48px;height:auto;background:var(--card);border-radius:12px;font-size:16px;padding:12px 14px}.estimate-room-picker [data-slot=select-value]{white-space:normal;overflow-wrap:anywhere}.estimate-list-tools .estimate-attention-filter{min-height:48px;height:auto;border-radius:12px;background:var(--card);gap:8px;font-size:14px;white-space:normal;padding:10px 12px}.estimate-attention-filter span{min-width:22px;border-radius:6px;padding:2px 5px;background:var(--estimate-warning-bg);color:var(--estimate-warning);font-variant-numeric:tabular-nums}.estimate-attention-filter[aria-pressed=true]{border-color:var(--estimate-warning);background:var(--estimate-warning-bg);color:var(--estimate-warning)}.estimate-list-surface{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:0 24px}.estimate-work-items{list-style:none;padding:0;margin:0}.estimate-work-items>li+li{border-top:1px solid var(--border)}.estimate-work-item{display:block;width:100%;border:0;border-radius:0;background:transparent;color:var(--foreground);text-align:left;padding:20px 0;min-height:88px;touch-action:manipulation;scroll-margin-block-end:calc(var(--estimate-dock-height) + 24px)}button.estimate-work-item:hover{background:color-mix(in srgb,var(--accent) 40%,transparent)}.estimate-item-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.estimate-item-name{font-size:16px;line-height:1.45;font-weight:600;min-width:0;overflow-wrap:anywhere}.estimate-item-amount{flex-shrink:0;font-size:17px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.estimate-item-formula{display:block;font-size:14px;line-height:1.5;color:var(--muted-foreground);margin-top:6px;font-variant-numeric:tabular-nums}.estimate-item-formula:empty{display:none}.estimate-item-context{display:block;font-size:12px;line-height:1.6;color:var(--muted-foreground);margin-top:5px;overflow-wrap:anywhere}.estimate-item-missing{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--estimate-warning);margin-top:7px}.estimate-item-included svg,.estimate-item-missing svg{flex-shrink:0}.estimate-item-included{display:flex;align-items:center;gap:5px;margin-top:5px;color:var(--estimate-success);font-size:13px}.estimate-item-unpriced .estimate-item-amount{color:var(--muted-foreground);font-weight:400}.estimate-item-excluded .estimate-item-name{text-decoration:line-through;color:var(--muted-foreground)}.estimate-item-excluded .estimate-item-amount{font-size:14px;font-weight:400;color:var(--muted-foreground)}.estimate-selected-total{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:19px 0 23px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:14px}.estimate-selected-total small{display:block;font-size:12px;margin-top:5px}.estimate-selected-total strong{font-size:18px;color:var(--foreground);white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.estimate-empty{padding:28px 0;color:var(--muted-foreground);font-size:16px}.estimate-empty p{margin-bottom:12px}.estimate-bottom-bar{position:sticky;bottom:16px;z-index:20;padding:17px 22px;margin-top:20px;border:1px solid var(--border);border-radius:16px;background:var(--card);box-shadow:0 6px 30px #22344b0d}.estimate-bottom-main{display:flex;justify-content:space-between;align-items:center;gap:16px}.estimate-total-trigger{display:block;min-height:58px;min-width:0;background:transparent;border:0;text-align:left;padding:0;color:var(--foreground)}.estimate-total-trigger>span{display:block;font-size:13px;color:var(--muted-foreground);margin-bottom:4px}.estimate-total-trigger strong{font-size:28px;font-weight:600;letter-spacing:-.6px;line-height:1.25;display:flex;gap:8px;align-items:center;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.estimate-total-trigger svg{flex-shrink:0;color:var(--muted-foreground)}.estimate-bottom-bar .estimate-add-work{height:auto;min-height:52px;min-width:54px;border-radius:14px;flex-shrink:0;gap:8px;font-size:14px;padding:12px 16px}.estimate-bottom-note{font-size:13px;line-height:1.5;color:var(--muted-foreground);margin:7px 0 0}.estimate-bottom-note.is-incomplete{color:var(--estimate-warning)}.estimate-bottom-bar .estimate-save-draft{width:100%;min-height:44px;margin-top:12px;border-radius:10px;font-size:14px}.estimate-sheet[data-slot=dialog-content]{max-width:620px;display:flex;flex-direction:column;max-height:92dvh;gap:16px;background:var(--card);color:var(--foreground)}.estimate-sheet [data-slot=dialog-header]{text-align:left;flex-shrink:0;padding-right:38px}.estimate-sheet [data-slot=dialog-title]{line-height:1.35;font-size:22px;overflow-wrap:anywhere}.estimate-sheet [data-slot=dialog-description]{font-size:13px;color:var(--muted-foreground)}.estimate-sheet .dialog-fields,.estimate-sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 4px 4px;max-height:none}.estimate-sheet [data-slot=dialog-footer]{flex-shrink:0;display:flex;flex-direction:row;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.estimate-sheet [data-slot=dialog-footer]>button{min-height:48px;font-size:16px;border-radius:12px}.estimate-sheet [data-slot=dialog-footer]>button:last-child{flex:1}.estimate-sheet>[data-slot=dialog-close]{min-height:44px;min-width:44px;top:12px;right:12px;display:grid;place-items:center;background:var(--muted);border-radius:50%}.estimate-sheet .estimate-quick-fields .form-field{margin:0}.estimate-sheet .estimate-quick-fields input{font-size:20px;min-height:56px;border-radius:12px}.estimate-sheet .estimate-quick-fields fieldset{min-width:0}.estimate-sheet .estimate-quick-fields fieldset:disabled input{background:var(--muted);opacity:1}.estimate-quick-hint{font-size:13px;color:var(--muted-foreground);margin:12px 0;line-height:1.6}.estimate-edit-result{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border);font-size:14px;color:var(--muted-foreground)}.estimate-edit-result strong{font-size:23px;color:var(--foreground);font-variant-numeric:tabular-nums;white-space:nowrap}.estimate-edit-options{border-top:1px solid var(--border);margin-top:18px;padding-top:5px}.estimate-edit-options>summary{min-height:48px;padding:13px 0;font-size:14px;cursor:pointer;color:var(--accent-foreground)}.estimate-edit-options .source-box{font-size:13px;padding:12px}.estimate-sheet .estimate-checks{display:grid;gap:8px;margin-top:12px}.estimate-sheet .error-note{margin:10px 0}.estimate-totals-sheet .estimate-object-total{margin:0;border:0;border-radius:0}.estimate-totals-sheet .complexity-base,.estimate-totals-sheet .complexity-control,.estimate-totals-sheet .complexity-notes{padding-left:0;padding-right:0}.estimate-totals-sheet .complexity-result{border-radius:12px}@media(max-width:767px){.estimate-page.workspace-main{background:var(--card)!important}.estimate-page .workspace-content{padding:18px 18px 0}.estimate-page .role-preview{margin-bottom:18px;align-items:flex-end}.estimate-page .role-preview>span{display:none}.estimate-page .role-preview>button{min-height:36px;font-size:12px}.estimate-page .page-heading h1{font-size:30px}.estimate-workspace{padding-bottom:calc(var(--estimate-dock-height) + 22px)}.estimate-list-tools{gap:8px;margin-bottom:8px}.estimate-list-tools .estimate-room-picker{background:var(--secondary);font-size:16px;padding:12px}.estimate-list-tools .estimate-attention-filter{padding:10px;font-size:14px;gap:6px}.estimate-list-surface{border:0;border-radius:0;padding:0}.estimate-work-item{padding:18px 0}.estimate-item-top{gap:12px}.estimate-item-amount,.estimate-item-name{font-size:16px}.estimate-selected-total{font-size:13px}.estimate-selected-total strong{font-size:17px}.estimate-bottom-bar{position:fixed;inset:auto 0 0;margin:0;border:0;border-top:1px solid var(--border);border-radius:0;padding:15px max(18px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:var(--card);box-shadow:0 -4px 24px #22344b08;z-index:30}.estimate-total-trigger strong{font-size:25px}.estimate-bottom-bar .estimate-add-work{padding:12px;width:54px}.estimate-add-work>span{display:none}.estimate-sheet[data-slot=dialog-content]{--tw-translate-x:0!important;--tw-translate-y:0!important;top:auto!important;bottom:var(--estimate-viewport-bottom,0)!important;left:0!important;right:0!important;transform:none!important;translate:none!important;width:100%!important;max-width:100%!important;max-height:min(92dvh,calc(var(--estimate-viewport-height,100dvh) - 12px));border-radius:24px 24px 0 0;padding:24px 18px calc(16px + env(safe-area-inset-bottom));animation:none!important;transition:none!important}.estimate-sheet .dialog-fields{max-height:none}.estimate-sheet [data-slot=dialog-header]{padding-right:42px}.estimate-sheet .form-field [data-slot=select-trigger],.estimate-sheet .form-field input{font-size:16px}.estimate-sheet .estimate-quick-fields input{font-size:20px}}@media(max-width:359px){.estimate-page .workspace-content{padding-left:14px;padding-right:14px}.estimate-list-tools{grid-template-columns:minmax(0,1fr) auto}.estimate-list-tools .estimate-attention-filter{padding:10px 8px;font-size:13px}.estimate-item-top{flex-wrap:wrap;gap:6px}.estimate-item-name{flex:1 1 160px}.estimate-item-amount{margin-left:auto}.estimate-total-trigger strong{font-size:23px}.estimate-selected-total{flex-wrap:wrap}.estimate-sheet .two-fields{grid-template-columns:1fr}}@media print{.estimate-bottom-bar{position:static;box-shadow:none}.estimate-workspace{padding-bottom:0}.estimate-add-work,.estimate-attention-filter,.estimate-save-draft{display:none!important}}.overview-page .workspace-content{max-width:1240px}.overview-page .page-heading{margin-bottom:24px}.overview-page .page-heading .eyebrow,.overview-page .page-heading p{display:none}.overview-page .page-heading h1{margin:0;font-size:1.875rem;letter-spacing:-.035em}.project-overview{display:grid;gap:20px;min-width:0;--overview-warning:#80541c;--overview-warning-bg:#fcf3e2;--overview-ready:#276247;--overview-ready-bg:#eaf4ee}.project-overview button{text-align:left}.project-overview button:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.project-overview button:disabled{cursor:default}.overview-finance,.overview-panel{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);min-width:0}.overview-metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr;padding:22px 0}.overview-metric{min-width:0;padding:0 24px;color:var(--foreground);background:transparent;border:0;border-right:1px solid var(--border)}.overview-metric:last-child{border-right:0}.overview-metric:focus-visible .overview-label,.overview-metric:hover .overview-label{color:var(--primary)}.overview-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.875rem;color:var(--muted-foreground)}.overview-label svg{flex-shrink:0}.overview-estimate-amount{font-size:clamp(1.4rem,2.3vw,2rem);font-weight:600;line-height:1.25;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.overview-estimate-amount,.overview-estimate-empty{display:block;margin:10px 0 7px;overflow-wrap:anywhere}.overview-estimate-empty{font-size:1.25rem;font-weight:500;line-height:1.4}.overview-money-note{display:block;font-size:.8125rem;line-height:1.55;color:var(--muted-foreground)}.overview-finance-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 24px;border-top:1px solid var(--border)}.overview-finance-footer>p{color:var(--muted-foreground);font-size:.8125rem;line-height:1.55}.overview-due{display:flex;align-items:center;gap:20px;min-height:44px;background:transparent;color:var(--foreground);font-size:.875rem}.overview-due small{display:block;color:var(--muted-foreground);font-size:.75rem;margin-top:2px}.overview-due strong{color:var(--primary);font-size:1.25rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.overview-finance-footer .overview-panel-link{margin:0;padding:0;border:0;width:auto}.overview-focus{display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:var(--radius);background:var(--secondary)}.overview-focus.has-action{background:var(--overview-warning-bg)}.overview-focus-icon{flex-shrink:0;color:var(--primary)}.overview-focus.has-action .overview-focus-icon,.overview-focus.has-action .overview-focus-label{color:var(--overview-warning)}.overview-focus-copy{flex:1;min-width:0}.overview-focus-label{display:block;font-size:.75rem;color:var(--muted-foreground);margin-bottom:4px}.overview-focus h2{font-size:1rem;font-weight:600;line-height:1.4;letter-spacing:-.01em;margin:0}.overview-focus p{font-size:.875rem;line-height:1.55;color:var(--muted-foreground);margin-top:5px;overflow-wrap:anywhere}.overview-focus [data-slot=button]{flex-shrink:0;min-height:44px;height:auto;max-width:230px;white-space:normal;padding:11px 16px;line-height:1.4;text-align:center}.overview-attention{padding:0 4px}.overview-section-label{display:flex;align-items:center;gap:8px;color:var(--muted-foreground);font-size:.8125rem;margin-bottom:2px}.overview-section-label>span{color:var(--foreground);font-variant-numeric:tabular-nums}.overview-action-row{display:flex;justify-content:space-between;align-items:center;gap:14px;background:transparent;width:100%;color:var(--foreground);padding:12px 0;border-bottom:1px solid var(--border);min-height:56px}.overview-action-row>span{min-width:0}.overview-action-row strong{display:block;font-size:.875rem;font-weight:500;line-height:1.5}.overview-action-row small{display:block;color:var(--muted-foreground);font-size:.8125rem;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}.overview-action-row>svg{flex-shrink:0;color:var(--muted-foreground)}.overview-expand{min-height:44px;height:auto;font-size:.875rem;color:var(--primary);padding:10px 0;gap:8px;white-space:normal}.overview-expand .is-open{transform:rotate(180deg)}.overview-panel{padding:22px 24px}.overview-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.overview-panel-heading h2{margin:0;font-size:1.125rem;font-weight:600;line-height:1.4;letter-spacing:-.02em}.overview-panel-heading h2>span{color:var(--muted-foreground);font-size:.875rem;font-weight:400;margin-left:6px}.overview-panel-heading>svg{color:var(--muted-foreground);flex-shrink:0;margin-top:3px}.overview-panel-caption{margin-top:5px;color:var(--muted-foreground);font-size:.8125rem;line-height:1.5}.overview-rooms{container:overview-rooms/inline-size}.overview-rooms .overview-panel-heading{margin-bottom:20px}.overview-panel-heading h2>.overview-room-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 8px;margin-left:7px;border-radius:8px;background:var(--muted);font-size:.8125rem;vertical-align:1px}.overview-room-cards{display:grid;gap:8px;list-style:none;padding:0;margin:0}.overview-room-cards li{min-width:0}.overview-room-row{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(190px,28%) 18px;align-items:center;gap:16px;width:100%;min-height:90px;padding:17px 18px;border:1px solid transparent;border-radius:12px;color:var(--foreground);background:color-mix(in srgb,var(--muted) 58%,var(--card));transition:background-color .15s,border-color .15s}.overview-room-row:hover{background:var(--accent);border-color:color-mix(in srgb,var(--primary) 16%,var(--card))}.overview-room-row:active{background:var(--secondary)}.overview-room-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--muted-foreground)}.overview-room-icon.warning{background:var(--overview-warning-bg);border-color:transparent;color:var(--overview-warning)}.overview-room-name{display:grid;min-width:0;gap:6px}.overview-room-name strong{font-size:1rem;line-height:1.4;font-weight:600;letter-spacing:-.015em;overflow-wrap:anywhere}.overview-room-status{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:.8125rem;line-height:1.45;font-weight:400}.overview-room-status svg{flex-shrink:0}.overview-room-status.ready svg{color:var(--overview-ready)}.overview-room-status.warning{color:var(--overview-warning)}.overview-room-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;min-width:0}.overview-room-area{display:grid;gap:4px;color:var(--muted-foreground);font-size:.75rem;line-height:1.4}.overview-room-area-value{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.overview-room-area-value b{color:var(--foreground);font-size:1.125rem;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.overview-room-area-value small{font-size:.75rem;font-weight:400}.overview-room-chevron{color:var(--muted-foreground);justify-self:end}.overview-room-row:hover .overview-room-chevron{color:var(--primary)}.overview-rooms>.overview-expand{margin-top:12px;padding:10px 12px}.overview-material-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:20px 0 8px}.overview-material-rows>div{min-width:0}.overview-material-rows dt{color:var(--muted-foreground);font-size:.875rem;line-height:1.5}.overview-material-rows dd{font-size:1.75rem;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.4;margin-top:7px}.overview-material-rows dd>span{font-size:.8125rem;font-weight:400;color:var(--muted-foreground)}.overview-panel-link{display:flex;align-items:center;min-height:44px;padding:10px 0 0;margin-top:14px;border-top:1px solid var(--border);width:100%;color:var(--primary);font-size:.875rem;font-weight:500;background:transparent}.overview-panel-link:hover{text-decoration:underline;text-underline-offset:4px}.overview-empty strong{font-size:1rem;font-weight:500;line-height:1.5}.overview-empty p,.overview-empty-copy{color:var(--muted-foreground);font-size:.875rem;line-height:1.6;margin-top:7px}.overview-empty [data-slot=button],.overview-take{margin-top:16px}.overview-take{padding-top:14px;border-top:1px solid var(--border);font-size:.875rem;line-height:1.5}.overview-take strong{display:block;font-weight:500}.overview-take span{display:block;color:var(--muted-foreground);font-size:.8125rem;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.overview-warning{color:var(--overview-warning);font-size:.875rem;line-height:1.5}p.overview-warning{margin-top:14px}.overview-context{display:grid;grid-template-columns:1fr 1fr;padding-block:4px}.overview-context-row{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 20px 16px 0;min-height:84px;background:transparent;color:var(--foreground)}.overview-context-row+button{padding-left:22px;padding-right:0;border-left:1px solid var(--border)}.overview-context-row>span{flex:1;min-width:0}.overview-context-row strong{display:block;font-weight:500;font-size:.875rem}.overview-context-row small{display:block;font-size:.8125rem;line-height:1.5;color:var(--muted-foreground);margin-top:4px;overflow-wrap:anywhere}.overview-context-row>svg{color:var(--muted-foreground);flex-shrink:0}@media(max-width:1050px){.overview-metric{padding-inline:18px}.overview-label svg{display:none}.overview-focus{flex-wrap:wrap}.overview-focus [data-slot=button]{margin-left:38px;max-width:none}}@media(max-width:767px){.overview-page .workspace-content{padding:22px 16px 28px}.overview-page .page-heading h1{font-size:1.625rem}.project-overview{gap:16px}.overview-metrics{grid-template-columns:1fr 1fr;padding:0}.overview-metric{padding:18px}.overview-metric:first-child{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--border)}.overview-label{font-size:.875rem}.overview-label svg{display:block}.overview-estimate-amount{font-size:1.5rem}.overview-metric:first-child .overview-estimate-amount{font-size:2rem}.overview-finance-footer{flex-direction:column;align-items:stretch;gap:8px;padding:12px 18px}.overview-due{justify-content:space-between;gap:12px}.overview-finance-footer .overview-panel-link{min-height:38px}.overview-focus{padding:18px;gap:10px;align-items:flex-start}.overview-focus-icon{margin-top:2px;width:19px}.overview-focus [data-slot=button]{width:100%;margin-left:0}.overview-panel{padding:18px}.overview-panel-heading{margin-bottom:14px}.overview-material-rows{grid-template-columns:1fr;gap:14px;margin:18px 0 6px}.overview-material-rows>div{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.overview-material-rows dd{font-size:1.375rem;white-space:nowrap;margin:0}.overview-context{grid-template-columns:1fr;padding-block:0}.overview-context-row{padding-right:0}.overview-context-row+button{padding-left:0;border-left:0;border-top:1px solid var(--border)}}@media(max-width:359px){.overview-page .workspace-content{padding-inline:12px}.overview-metric{padding-inline:14px}.overview-label svg{display:none}.overview-estimate-amount{font-size:1.375rem}}@container overview-rooms (max-width:600px){.overview-room-row{grid-template-columns:38px minmax(0,1fr) 18px;gap:12px;padding:16px 14px}.overview-room-icon{width:38px;height:38px;border-radius:10px}.overview-room-name{gap:5px}.overview-room-name strong{font-size:.9375rem}.overview-room-status{font-size:.75rem;gap:5px}.overview-room-areas{grid-column:2/4;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:3px}.overview-room-chevron{grid-column:3;grid-row:1}}@container overview-rooms (max-width:290px){.overview-room-row{padding:14px 12px;gap:10px}.overview-room-areas{grid-column:1/-1;padding-left:48px}}.surface-tabs{margin:0 0 20px}.surface-tabs [data-slot=tabs-list]{background:#e9eef7;padding:4px;height:46px}.surface-tabs [data-slot=tabs-trigger]{min-width:100px;height:38px;font-size:15px}.contour-room-grid{grid-template-columns:minmax(0,1fr) 310px}.measurement-mode{padding:0 24px 22px}.measurement-mode>label{display:flex;flex-direction:column;align-items:stretch;gap:9px;font-size:14px}.measurement-mode [data-slot=select-trigger]{width:100%;height:auto;min-height:44px;text-align:left;white-space:normal}.contour-canvas{border-block:1px solid #e9eef7}.contour-canvas svg{display:block;width:100%;height:auto;user-select:none}.contour-canvas .edge-length{font:14px Arial;fill:#2c466d;paint-order:stroke;stroke:#f8faff;stroke-width:5px;stroke-linejoin:round}.contour-canvas .axis-text{font:12px Arial;fill:#7586a0}.contour-canvas circle{cursor:grab}.contour-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 24px;background:#fbfcff}.contour-actions p{font-size:13px;color:#657894;line-height:1.6;flex-basis:100%;margin:0}.contour-actions p.error-note{color:#923d32}.contour-measurements{padding:0 24px 20px}.contour-measurements .two-fields{margin-top:20px}.contour-measurements .field{margin-bottom:18px}.contour-measurements .field input{font-size:16px;min-height:44px}.contour-measurements table{min-width:480px}.contour-measurements table .field{margin:0}.contour-measurements table .field>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.contour-measurements table .field-input{min-width:95px}.contour-measurements table td,.contour-measurements table th{padding:10px 8px}.contour-measurements table td:first-child{width:45px}.point-actions{display:flex;gap:2px}.floor-options{padding:0 24px 16px}.floor-options .form-field{margin:14px 0}.floor-source-card{padding:20px 24px;border-top:1px solid #e2e7ef}.floor-source-card h3{font-size:14px;font-weight:600;margin-bottom:12px}.floor-source-card p{font-size:14px;line-height:1.6;margin:8px 0;color:#4e637f}.floor-source-card small{font-size:12px;line-height:1.6;display:block;color:#748096;margin-top:14px}.dimension-note{padding:16px 24px;font-size:13px;line-height:1.6;color:#748096}.backsplash-fields{padding:0 24px 24px}.backsplash-fields .field{margin:20px 0}.floor-wall-totals{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}.floor-wall-totals .total-strip{margin:0}.wall-choice>span>small{display:block;font-size:13px;color:#687d99;margin-top:4px}.contour-room-grid .dimension-fields{display:block}.contour-room-grid .room-result{margin-top:0}.contour-room-grid .door-section{padding-top:20px}.contour-room-grid .wall-choices{grid-template-columns:1fr 1fr}.contour-room-grid .field-input{position:relative}.contour-room-grid .field-input>span{pointer-events:none}.contour-measurements>.field{margin-top:18px}@media(max-width:1200px){.contour-room-grid{grid-template-columns:1fr}.contour-room-grid .dimension-panel{display:block}.floor-wall-totals .total-strip{align-items:flex-start}.contour-room-grid .dimension-fields{display:block}}@media(max-width:767px){.contour-measurements,.measurement-mode{padding-left:16px;padding-right:16px}.contour-actions{padding:16px}.contour-measurements .two-fields,.contour-room-grid .wall-choices{grid-template-columns:1fr}.point-actions{flex-direction:column}.contour-room-grid .panel-heading{padding:20px 16px}.dimension-note,.floor-options,.floor-source-card{padding-left:16px;padding-right:16px}.contour-canvas .edge-length{font-size:16px}}.unified-room{border:1px solid #e2e8f1;border-radius:18px;background:white;overflow:hidden}.scheme-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px 0}.scheme-heading h2{font-size:20px;font-weight:650}.scheme-heading>span{font-size:14px;color:#748096}.room-scheme{max-width:1000px;margin:auto}.room-scheme svg{display:block;width:100%;height:auto;overflow:visible}.scheme-floor,.scheme-wall{cursor:pointer;outline:none}.scheme-wall rect{fill:white;stroke:#dce5f3;stroke-width:1.5}.scheme-wall:focus-visible rect,.scheme-wall:hover rect{stroke:#2863db;stroke-width:3;fill:#f4f8ff}.wall-hit{stroke:transparent;stroke-width:24}.wall-stroke{stroke:#2863db;stroke-width:7;pointer-events:none}.wall-leader{stroke:#c9d5e8;stroke-width:1.5}.scheme-label,.scheme-wall .wall-leader,.wall-leader{pointer-events:none}.scheme-label{font:16px Arial;fill:#5d6e87}.scheme-area{font:600 21px Arial;fill:#25354b;pointer-events:none}.scheme-floor rect{fill:#2863db;stroke:white;stroke-width:3}.scheme-floor .scheme-label,.scheme-floor-area{fill:white}.scheme-floor-area{font:600 27px Arial;pointer-events:none}.scheme-floor:focus-visible rect,.scheme-floor:hover rect{fill:#194eb8;stroke:#bcd0fa;stroke-width:5}.scheme-wall.surface-off .wall-stroke{stroke:#aab5c6;stroke-dasharray:8 5}.scheme-wall.surface-off .scheme-area{fill:#7c899b}.scheme-floor.surface-off rect{fill:#8391a6}.scheme-totals{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e4eaf3;background:#fbfcff}.scheme-totals>div{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;gap:15px}.scheme-totals>div+div{border-left:1px solid #e4eaf3}.scheme-totals span{font-size:15px;color:#64758d}.scheme-totals strong{font-size:26px;color:#202e43;white-space:nowrap}.scheme-totals small{font-size:16px;font-weight:400}.scheme-totals>div:last-child strong{color:#2863db}.scheme-status{margin:0 28px 24px;padding:12px 16px;background:#fff7e7;color:#835f2d;border-radius:10px;font-size:14px;line-height:1.5}.object-area-summary{display:flex;gap:24px;justify-content:flex-end;flex-wrap:wrap;margin:20px 0;font-size:14px;color:#748096}.object-area-summary b{color:#425570;font-weight:600;margin-left:6px}.object-area-summary>span:first-child{margin-right:auto}.surface-dialog{max-height:90dvh;overflow-y:auto}.surface-dialog .field{display:flex;flex-direction:column;gap:8px}.surface-dialog .field-input{position:relative;display:flex;align-items:center}.surface-dialog .field-input input{padding-right:40px;min-height:44px;font-size:16px}.surface-dialog .field-input>span{position:absolute;right:13px;font-size:14px;color:#748096;pointer-events:none}.surface-dialog .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.surface-dialog .muted{font-size:14px;line-height:1.5}.angle-edit{padding:16px 0;border-block:1px solid #e4eaf3}.angle-edit .muted{margin:8px 0}.angle-edit .field{margin-top:12px}.surface-details{border:1px solid #e4eaf3;border-radius:10px;padding:12px 16px}.surface-details summary{font-size:14px;cursor:pointer;color:#4e6584}.surface-details[open]>summary{margin-bottom:16px}.surface-details .two-fields{margin-top:14px}.surface-dialog .dialog-area{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px;background:#eef4ff;border-radius:10px;font-size:14px;color:#506686}.dialog-area strong{font-size:22px;color:#2863db;white-space:nowrap}.removal-note{background:#fff4e8;border:1px solid #f0d5b5;color:#875b27;padding:14px;border-radius:10px;font-size:14px;line-height:1.6}.backsplash-scheme{padding:65px 28px}.backsplash-scheme button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;min-height:150px;border:5px solid #2863db;border-radius:14px;background:#edf4ff;color:#2863db}.backsplash-scheme strong{font-size:30px}.backsplash-scheme small{font-size:14px}.floor-dialog .contour-actions{padding:12px}.floor-dialog .contour-actions p{font-size:14px}.floor-dialog .contour-canvas{margin-inline:-8px}@media(max-width:767px){.scheme-heading{padding:20px 16px 0;align-items:flex-start;flex-direction:column;gap:5px}.scheme-heading>span{font-size:14px}.scheme-label{font-size:26px}.scheme-area{font-size:29px}.scheme-floor-area{font-size:32px}.scheme-totals{grid-template-columns:1fr}.scheme-totals>div{padding:16px 20px}.scheme-totals>div+div{border-left:0;border-top:1px solid #e4eaf3}.scheme-totals strong{font-size:24px}.scheme-status{margin:0 16px 16px}.object-area-summary{justify-content:flex-start;gap:10px 18px}.object-area-summary>span:first-child{width:100%}.surface-dialog .two-fields{grid-template-columns:1fr}.surface-dialog .dialog-area{align-items:flex-start;flex-direction:column;gap:8px}}.custom-surface-works{display:grid;gap:14px;margin-top:18px}.custom-surface-work{border-top:1px solid #e4eaf3;padding-top:12px;min-width:0}.custom-work-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px}.custom-surface-work .muted{margin-top:12px}.custom-surface-work [data-slot=select-trigger]{width:100%;min-height:44px;height:auto;white-space:normal}.custom-surface-work [data-slot=select-value]{white-space:normal;text-align:left}.add-custom-work{width:100%;min-height:44px}.scheme-work-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.scheme-work-actions button{min-height:44px;white-space:normal}.room-work-sheet[data-slot=dialog-content]{max-width:800px}.room-work-sheet .bulk-work-scroll{padding:0 2px 8px}.bulk-work-picker{display:grid;gap:14px;margin-bottom:18px}.bulk-quick-works{display:flex;flex-wrap:wrap;gap:8px}.bulk-quick-works button{min-height:44px;font-size:14px;padding:10px 12px;white-space:normal;justify-content:flex-start}.bulk-search{display:flex;align-items:center;position:relative}.bulk-search>svg{position:absolute;left:14px;color:var(--muted-foreground);pointer-events:none}.bulk-search input{min-height:48px;padding-left:42px;font-size:16px;background:var(--card)}.bulk-frequent>span{font-size:13px;color:var(--muted-foreground)}.bulk-frequent>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.bulk-frequent button{min-height:44px;white-space:normal;text-align:left;height:auto;justify-content:flex-start;font-size:14px}.bulk-search-results{border:1px solid var(--border);border-radius:12px;overflow:hidden}.bulk-search-results button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;padding:12px 14px;min-height:54px;width:100%;background:var(--card);font-size:15px}.bulk-search-results button+button{border-top:1px solid var(--border)}.bulk-search-results button:hover{background:var(--muted)}.bulk-search-results small{display:block;margin-top:4px;color:var(--muted-foreground);font-size:12px}.bulk-search-results p{padding:16px;font-size:14px;line-height:1.5;color:var(--muted-foreground)}.bulk-empty{padding:24px 18px;border:1px dashed var(--border);border-radius:14px;background:var(--muted)}.bulk-empty strong{font-size:16px}.bulk-empty p{font-size:14px;color:var(--muted-foreground);line-height:1.6;margin-top:6px}.bulk-work-rows{display:grid;gap:12px}.bulk-work-row{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--card)}.bulk-work-heading{display:flex;align-items:center;gap:12px;padding:16px;width:100%;min-height:76px;text-align:left;background:var(--card)}.bulk-work-heading>span:first-child{min-width:0;flex:1}.bulk-work-heading strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.bulk-work-heading small{display:block;font-size:12px;line-height:1.5;margin-top:4px;color:var(--muted-foreground)}.bulk-work-heading>svg{flex-shrink:0;transition:transform .16s}.bulk-work-row.is-open .bulk-work-heading>svg{transform:rotate(180deg)}.bulk-work-total{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;flex-shrink:0;text-align:right}.bulk-work-total small{font-weight:400}.bulk-work-body{padding:0 16px 14px;border-top:1px solid var(--border)}.bulk-area-shortcuts{display:grid;gap:8px;padding:14px 0}.bulk-area-shortcuts>span{font-size:14px;font-weight:600}.bulk-area-shortcuts>div{display:flex;gap:8px;flex-wrap:wrap}.bulk-area-shortcuts button{min-height:44px;white-space:normal}.bulk-area-shortcuts>small,.bulk-work-hint{font-size:13px;line-height:1.6;color:var(--muted-foreground)}.bulk-work-hint{padding:12px 0 0}.bulk-surface{padding:14px 0}.bulk-surface+.bulk-surface{border-top:1px solid var(--border)}.bulk-surface-main{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:16px;align-items:center}.bulk-surface-name{min-width:0}.bulk-surface-name label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}.bulk-surface-name>strong{font-size:15px;font-weight:500}.bulk-surface-name>small{display:block;font-size:12px;color:var(--muted-foreground);line-height:1.6;margin-top:4px}.bulk-quantity-field{display:block;min-width:0}.bulk-quantity-field>div{position:relative;display:flex;align-items:center}.bulk-quantity-field input{min-height:48px;font-size:17px;padding-right:43px;font-variant-numeric:tabular-nums}.bulk-quantity-field input:disabled{opacity:1;background:var(--muted);color:var(--muted-foreground)}.bulk-quantity-field>div>span{position:absolute;right:12px;font-size:13px;color:var(--muted-foreground);pointer-events:none}.bulk-quantity-field>small{display:block;font-size:12px;line-height:1.5;color:var(--destructive);margin-top:5px}.bulk-area-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;color:var(--muted-foreground);cursor:pointer;margin-top:4px}.bulk-zone{display:grid;gap:6px;margin-top:8px;font-size:13px}.bulk-zone [data-slot=select-trigger]{width:100%;min-height:44px;height:auto;white-space:normal}.bulk-zone [data-slot=select-value]{white-space:normal}.bulk-work-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.bulk-work-bottom>span{font-size:13px;color:var(--muted-foreground)}.bulk-work-bottom strong{color:var(--foreground);font-weight:500}.bulk-work-bottom button{min-height:44px}.bulk-notice,.bulk-work-footnote{font-size:13px;line-height:1.6;color:var(--muted-foreground);margin-top:16px}.bulk-work-error{flex-shrink:0;max-height:100px;overflow:auto}.bulk-area-toggle,.bulk-surface-name label,.room-work-sheet button{touch-action:manipulation}.room-work-sheet button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@media(max-width:767px){.scheme-work-actions{width:100%;margin-top:10px}.scheme-work-actions>button:first-child{flex:1}.room-work-sheet .bulk-quick-works{display:grid;grid-template-columns:1fr 1fr}.room-work-sheet .bulk-work-heading{padding:14px 12px;gap:8px}.room-work-sheet .bulk-work-body{padding:0 12px 12px}.room-work-sheet .bulk-work-total{font-size:14px}.room-work-sheet .bulk-surface-main{grid-template-columns:minmax(0,1fr) 126px;gap:8px}.room-work-sheet .bulk-work-heading strong{font-size:15px}.room-work-sheet .bulk-work-heading small{font-size:12px}.room-work-sheet .bulk-frequent button{padding:8px;font-size:13px}.room-work-sheet .bulk-work-footnote{margin-bottom:2px}}@media(max-width:359px){.room-work-sheet .bulk-surface-main{grid-template-columns:minmax(0,1fr) 112px}.room-work-sheet .bulk-work-heading{flex-wrap:wrap}.room-work-sheet .bulk-work-heading>span:first-child{flex-basis:calc(100% - 28px)}.room-work-sheet .bulk-work-total{order:2;text-align:left}.room-work-sheet .bulk-work-heading>svg{margin-left:auto}.room-work-sheet .bulk-quick-works button{padding:9px;font-size:13px}.room-work-sheet .bulk-work-bottom{display:grid;gap:4px}}@media(prefers-reduced-motion:reduce){.bulk-work-heading>svg{transition:none}}.room-work-sheet .bulk-work-rows{gap:8px;margin-bottom:16px}.bulk-room-row{padding:12px 14px}.bulk-room-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,148px) 44px;gap:8px;align-items:center}.bulk-room-main>strong{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.bulk-room-main>.bulk-quantity-field:last-child{grid-column:2/4}.bulk-room-main .bulk-remove{width:44px;height:44px;min-width:44px;padding:0}.bulk-room-area{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.bulk-room-area button{min-height:44px;height:auto;white-space:normal;font-size:13px}.bulk-room-area button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.room-work-sheet .bulk-work-picker{margin-bottom:0;gap:8px}.room-work-sheet .bulk-zone{margin-top:12px}@media(max-width:767px){.room-work-sheet .bulk-room-row{padding:12px}.room-work-sheet .bulk-room-main{grid-template-columns:minmax(0,1fr) 106px 44px;gap:8px}.room-work-sheet .bulk-room-main>.bulk-quantity-field:last-child{grid-column:2/4}.room-work-sheet .bulk-room-main>strong{font-size:14px}.room-work-sheet .bulk-room-area>button{flex:1;font-size:13px;padding:8px}.room-work-sheet .bulk-quantity-field input{font-size:16px;padding-left:10px;padding-right:42px}.room-work-sheet .bulk-quantity-field>div>span{right:10px}.room-work-sheet .bulk-work-error{max-height:none}}@media(max-width:359px){.room-work-sheet .bulk-room-row{padding:10px}.room-work-sheet .bulk-room-main{grid-template-columns:minmax(0,1fr) 90px 44px;gap:6px}.room-work-sheet .bulk-room-main>.bulk-quantity-field:last-child{grid-column:2/4}.room-work-sheet .bulk-room-main>strong{font-size:14px}}.preparation-view{min-width:0}.preparation-utilities{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.preparation-utilities>div{display:flex;gap:8px;flex-wrap:wrap}.preparation-utilities [data-slot=button]{font-size:14px}.preparation-utilities>button{padding-left:0;color:var(--muted-foreground)}.preparation-compact .preparation-tabs{display:flex;justify-content:flex-start;gap:24px;height:auto;min-height:46px;background:transparent;border-radius:0;border-bottom:1px solid var(--border);padding:0;width:100%;margin-bottom:18px}.preparation-tabs [data-slot=tabs-trigger]{flex:none;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;min-height:46px!important;padding:8px 3px 12px;font-size:16px;color:var(--muted-foreground)}.preparation-tabs [data-slot=tabs-trigger][data-state=active]{color:var(--primary);border-bottom-color:var(--primary);background:transparent;box-shadow:none}.preparation-tab-count{font-size:12px;margin-left:7px;background:var(--accent);color:var(--primary);border-radius:5px;padding:2px 6px}.preparation-publish{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-radius:8px;background:var(--accent);margin-bottom:18px;font-size:14px}.preparation-publish [data-slot=button]{font-size:14px;height:auto;min-height:40px;white-space:normal}.preparation-attention{margin:0 0 14px;color:#876119!important;font-size:14px;white-space:normal;height:auto;min-height:44px;padding-left:0}.preparation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.preparation-filter{min-width:0;max-width:260px}.preparation-filter [data-slot=select-trigger]{width:100%;min-height:44px;border:0;background:transparent;box-shadow:none;padding-left:0;font-size:14px}.preparation-toolbar>[data-slot=button]{min-height:44px}.preparation-notice{font-size:14px;margin-bottom:14px}.material-list{display:block;border:1px solid var(--border);border-radius:10px;background:white;overflow:hidden;min-width:0}.material-list-head,.material-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(110px,.65fr) minmax(130px,.7fr) 16px;gap:16px;align-items:center;padding:17px 18px}.material-list-head{font-size:13px;color:var(--muted-foreground);padding-top:12px;padding-bottom:12px;background:#fbfcfe}.material-list-head>span:nth-child(3){text-align:right}.material-row{width:100%;border:0;border-top:1px solid var(--border);background:white;text-align:left;color:var(--foreground);cursor:pointer;font:inherit;transition:background .15s}.material-row:first-child{border-top:0}.material-row:hover{background:#f7faff}.material-row:focus-visible{outline:3px solid var(--ring);outline-offset:-3px}.material-row-product{display:flex;align-items:center;gap:12px;min-width:0}.material-row-identity{min-width:0;display:grid;gap:4px}.material-row-identity>strong{font-size:16px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.material-row-identity>small,.material-row-identity>span{font-size:12px;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}.material-row-rooms{font-size:14px;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere}.material-row-amount{display:grid;gap:5px;text-align:right;font-variant-numeric:tabular-nums;min-width:0}.material-row-amount strong{font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.material-row-amount small{font-size:12px;font-weight:400;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere}.material-row-amount.is-complete strong{color:#277153}.material-row-warning{color:#89601c!important}.material-row-chevron{width:16px;height:16px;color:#9ba7b7}.material-photo-slot{flex:0 0 52px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:52px;gap:3px;border:1px solid var(--border);border-radius:7px;background:#f8fafc;overflow:hidden;color:#8592a4}.material-photo-slot>svg{width:18px;height:18px}.material-photo-slot>span{font-size:12px;line-height:1.25}.material-photo-slot>.material-photo{display:block;width:100%;height:100%;border:0;border-radius:0;object-fit:contain;padding:3px;background:white}.material-photo{width:90px;height:90px;object-fit:contain;border:1px solid var(--border);border-radius:8px;flex-shrink:0;background:white}.photo-field>.material-photo{width:140px;height:140px}.photo-field input[type=file]{height:auto;padding:10px;max-width:100%}.preparation-list-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;color:var(--muted-foreground);font-size:12px;margin-top:14px}.material-dialog,.preparation-detail-dialog{max-width:660px!important}.material-dialog .dialog-fields,.preparation-detail-dialog .dialog-fields{padding:0 3px}.preparation-product-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-width:0}.preparation-product-heading>div{flex:1;min-width:0}.preparation-product-heading h3{font-size:17px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.preparation-product-heading p{font-size:13px;color:var(--muted-foreground);line-height:1.55;overflow-wrap:anywhere}.preparation-product-heading>[data-slot=button]{font-size:14px;flex-shrink:0}.preparation-disclosure{border-top:1px solid var(--border);padding:8px 0;margin-top:10px;min-width:0}.preparation-disclosure>summary{font-size:14px;font-weight:500;line-height:1.6;cursor:pointer;min-height:44px;align-content:center;color:#576b86;overflow-wrap:anywhere}.preparation-disclosure p{font-size:14px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere}.preparation-detail-lines{padding:8px 0}.material-calculation-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--accent);border-radius:8px;padding:15px 18px;margin:14px 0 0;flex-shrink:0}.material-calculation-total span{display:block;font-size:13px;color:var(--muted-foreground);line-height:1.6}.material-calculation-total strong{display:block;font-size:21px;line-height:1.5;font-weight:600;color:var(--primary);overflow-wrap:anywhere}.material-calculation-total>div:last-child{text-align:right}.material-calculation-total>svg{width:18px;flex-shrink:0;color:#8c9fb8}.material-calculation-total>div{min-width:0}.material-subheading{font-size:17px;font-weight:600;margin:20px 0 12px}.material-allocation{padding:0 14px 12px;border:1px solid var(--border);border-radius:8px;margin:12px 0}.material-allocation .form-field,.material-allocation [data-slot=button]{font-size:14px}.preparation-text-action{padding-left:0!important;font-size:14px!important;height:auto!important;min-height:44px;white-space:normal!important}.material-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}.material-actions [data-slot=button]{white-space:normal;height:auto;min-height:40px;font-size:14px}.material-link,.proposal-card a{color:var(--primary);font-size:14px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.material-warning{padding:12px;background:#fff8e8;border:1px solid #ecdbaf;border-radius:6px;font-size:14px;line-height:1.6;margin:14px 0;color:#715221}.material-source-tabs{width:100%;display:flex;min-height:44px;height:auto;flex-wrap:wrap;gap:3px}.material-source-tabs [data-slot=tabs-trigger]{font-size:14px;min-height:38px;flex:1}.material-empty-favorites{padding:22px 0;font-size:14px;line-height:1.65}.preparation-selection>.form-card{border:0;padding:0;margin:0 0 18px}.preparation-selection .section-top h2{font-size:18px}.preparation-history-summary p,.preparation-share p{font-size:14px;line-height:1.65;margin:10px 0}.preparation-history-summary h3{font-size:17px;font-weight:600}.proposal-card{display:block;background:white;border:1px solid var(--border);border-radius:9px;margin:12px 0;padding:16px}.proposal-card p{font-size:14px;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere;margin-top:8px}.proposal-card .preparation-product-heading{margin-bottom:10px}.proposal-card .quiet-tag{font-size:12px}.proposal-card h3{margin-top:7px}.material-history-list .material-row{grid-template-columns:minmax(0,1fr) minmax(110px,.5fr) 16px;gap:10px;padding:14px}.material-history-list .material-row-rooms{display:none}.client-preparation{max-width:1100px;margin:0 auto;padding:40px 24px}.client-preparation header{margin-bottom:28px}.client-preparation h1{font-size:32px;font-weight:600;margin:8px 0 16px;overflow-wrap:anywhere}.client-preparation [data-slot=button]{min-height:44px;cursor:pointer}@media(max-width:1000px){.material-list-head,.material-row{grid-template-columns:minmax(0,1.3fr) minmax(90px,.6fr) minmax(115px,.65fr) 14px;gap:12px;padding-left:14px;padding-right:14px}.material-photo-slot{width:44px;height:44px;flex-basis:44px}.material-row-product{gap:8px}}@media(max-width:767px){.preparation-utilities{align-items:flex-start;gap:8px;flex-wrap:wrap;margin-bottom:16px}.preparation-utilities>div{gap:4px}.preparation-utilities [data-slot=button]{font-size:13px;padding-left:8px;padding-right:8px}.preparation-utilities>button{padding-left:0}.preparation-toolbar{flex-wrap:wrap;gap:10px}.preparation-toolbar>[data-slot=button]{font-size:14px}.preparation-filter{max-width:100%}.preparation-publish{flex-direction:column;align-items:flex-start;gap:10px}.preparation-publish button{width:100%}.material-list-head{display:flex;justify-content:space-between;gap:12px;font-size:12px}.material-list-head>span:last-child,.material-list-head>span:nth-child(2){display:none}.material-history-list .material-row,.material-row{grid-template-columns:minmax(0,1fr) minmax(105px,.65fr);gap:9px 12px;padding:15px 13px}.material-row-product{grid-column:1/-1;grid-row:1}.material-row-rooms{grid-column:1;grid-row:2;margin-left:52px;font-size:12px}.material-row-amount{grid-column:2;grid-row:2}.material-row-amount strong{font-size:14px}.material-row-chevron{display:none}.material-row-identity>strong{font-size:15px}.material-row-identity>small,.material-row-identity>span{font-size:12px}.material-history-list .material-row-amount{grid-column:1/-1}.preparation-list-footer{font-size:12px}.material-dialog,.preparation-detail-dialog{padding:20px 15px!important;max-width:calc(100% - 20px)!important}.material-calculation-total{padding:12px;gap:8px}.material-calculation-total strong{font-size:18px}.material-calculation-total span{font-size:12px}.material-allocation{padding:0 10px 10px}.material-allocation .two-fields{grid-template-columns:1fr}.material-source-tabs [data-slot=tabs-trigger]{font-size:13px}.client-preparation{padding:24px 16px}.client-preparation h1{font-size:27px}.preparation-product-heading{flex-wrap:wrap}.preparation-product-heading>[data-slot=button]{margin-left:auto}.proposal-card{padding:12px}}@media(prefers-reduced-motion:reduce){.material-row{transition:none}}@media(max-width:767px){.workspace-main:has(.preparation-compact) .topbar{flex-wrap:wrap}.workspace-main:has(.preparation-compact) .topbar>div:first-child{min-width:0;flex:1 1 140px}.workspace-main:has(.preparation-compact) .save-controls{margin-left:auto;flex-shrink:0}}.material-row-item{border-top:1px solid var(--border)}.material-row-item:first-child,.material-row-item>.material-row{border-top:0}.material-row-item.has-remove{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;padding-right:8px}.material-list:has(.has-remove) .material-list-head{padding-right:70px}.material-row-item.has-remove>.material-row{padding-right:10px}.material-row-remove{width:44px!important;min-height:44px!important;color:#8791a0}.material-row-remove:hover{color:#a63a37;background:#fff1ef}.preparation-removal-dialog{max-width:480px!important}.preparation-removal-dialog p{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.preparation-removal-dialog [data-slot=dialog-footer] button{height:auto;min-height:44px;white-space:normal}@media(max-width:767px){.material-row-item.has-remove{display:block;position:relative;padding-right:0}.material-list:has(.has-remove) .material-list-head{padding-right:13px}.material-row-item.has-remove>.material-row{padding-right:13px}.material-row-item.has-remove .material-row-product{padding-right:42px}.material-row-remove{position:absolute;right:7px;top:13px}.preparation-removal-dialog{max-width:calc(100% - 20px)!important}}.catalog-visible-search>span{display:flex;align-items:center;gap:8px}.catalog-visible-search svg{width:16px;height:16px}.catalog-visible-search input{min-height:44px}.consumables-preparation-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.preparation-toolbar{flex-wrap:wrap}.material-duplicate-note{padding:14px;background:var(--accent);border:1px solid var(--border);border-radius:8px;margin:12px 0}.material-duplicate-note p{font-size:14px;line-height:1.6;margin:8px 0}.material-duplicate-note button{min-height:44px;height:auto;white-space:normal}.material-presets-dialog{max-width:700px!important}.material-preset-item{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.material-preset-open{flex:1;justify-content:flex-start!important;min-width:0;min-height:64px;height:auto!important;text-align:left;white-space:normal!important;padding:12px!important}.material-preset-open>span{min-width:0;display:grid;gap:4px}.material-preset-open strong{font-weight:600;overflow-wrap:anywhere}.material-preset-open small,.material-preset-preview>.check-line small,.material-preset-save-row small{display:block;font-size:12px;line-height:1.5;color:var(--muted-foreground);font-weight:400;overflow-wrap:anywhere}.material-preset-item>button:last-of-type{min-width:44px;min-height:44px}.material-preset-removal{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;font-size:14px;padding:10px;background:var(--accent);border-radius:6px}.material-preset-save-row{align-items:flex-start;min-height:44px;padding:10px 0;border-bottom:1px solid var(--border);line-height:1.6;white-space:normal}.material-preset-save-row>span{min-width:0;overflow-wrap:anywhere}.material-preset-mapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.material-preset-mapping [data-slot=select-trigger]{width:100%;min-height:44px}.material-preset-help{font-size:14px;line-height:1.6;color:var(--muted-foreground);margin:12px 0}.material-preset-preview{border:1px solid var(--border);border-radius:9px;padding:14px;margin:14px 0;background:var(--background);min-width:0}.material-preset-preview>.check-line{min-height:44px;white-space:normal;line-height:1.6}.material-preset-preview>.check-line>span{min-width:0;overflow-wrap:anywhere}.material-preset-preview.is-excluded{background:var(--muted)}.material-preset-preview .form-field{margin-top:12px}.material-preset-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:14px}.material-preset-result strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.material-presets-dialog [data-slot=dialog-footer] button{min-height:44px;height:auto;white-space:normal}.material-presets-dialog .error-note p{margin:8px 0}.material-dialog .preparation-disclosure .form-field{margin:10px 0}@media(max-width:767px){.material-presets-dialog{max-width:calc(100% - 20px)!important;padding:20px 14px!important}.consumables-preparation-actions{justify-content:flex-start;width:100%}.consumables-preparation-actions button{min-height:44px;height:auto;white-space:normal}.material-preset-preview{padding:10px}.material-preset-mapping,.material-preset-preview .two-fields{grid-template-columns:1fr}.material-presets-dialog input{font-size:16px}.material-preset-result{align-items:flex-start}}.my-consumables{min-width:0}.consumables-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.consumables-top p{color:var(--muted-foreground);font-size:15px;line-height:1.6;max-width:550px}.consumables-dialog [data-slot=button],.my-consumables [data-slot=button]{min-height:44px;white-space:normal;height:auto}.consumables-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,240px);gap:12px;margin-bottom:16px}.consumables-filters [data-slot=select-trigger]{width:100%;min-height:44px}.consumables-search{position:relative;display:block;min-width:0}.consumables-search>svg{position:absolute;left:12px;top:13px;width:18px;height:18px;color:var(--muted-foreground)}.consumables-search input{padding-left:39px;height:44px;font-size:14px}.consumable-select-all{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;font-size:14px;color:var(--muted-foreground)}.consumable-select-all label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.consumables-saved-list{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card)}.consumable-saved-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid var(--border)}.consumable-saved-row:last-child{border-bottom:0}.consumable-open{display:flex;align-items:center;gap:14px;flex:1;min-width:0;text-align:left;cursor:pointer;border:0;background:transparent}.consumable-identity{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.consumable-identity strong{font-size:16px;font-weight:600;line-height:1.45}.consumable-identity>span{font-size:14px;color:var(--muted-foreground);line-height:1.5}.consumable-identity small{font-size:13px;color:var(--primary);line-height:1.5}.consumable-row-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.consumable-row-actions a,.consumable-row-actions button{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;color:var(--muted-foreground);border-radius:6px}.consumable-row-actions svg{width:17px;height:17px}.consumable-row-actions a:hover{background:var(--accent);color:var(--primary)}.consumables-transfer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;background:var(--accent);border:1px solid var(--border);padding:20px;border-radius:10px;margin-top:20px}.consumables-transfer>.form-field{flex:1;max-width:380px;margin:0}.consumables-transfer [data-slot=select-trigger]{background:var(--card);width:100%;min-height:44px}.consumables-transfer>button{min-width:240px}.consumable-image{display:inline-flex;width:64px;height:64px;flex:0 0 64px;border-radius:8px;background:#fff;align-items:center;justify-content:center;overflow:hidden;border:1px solid #edf0f4;padding:5px}.consumable-sprite{display:block;width:100%;height:100%;background-image:url(/consumables/universal-sprite.png);background-size:600% 600%;background-repeat:no-repeat}.consumable-image>svg{width:28px;height:28px;color:#64748b}.consumables-empty{border:1px dashed var(--border);border-radius:12px;background:var(--card);padding:44px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}.consumables-empty h2,.consumables-empty h3{font-size:22px;font-weight:600}.consumables-empty p{max-width:470px;font-size:16px;line-height:1.65;color:var(--muted-foreground)}.consumables-empty-images{display:flex;gap:12px;margin-bottom:8px}.consumables-empty-images .consumable-image{width:76px;height:76px;flex-basis:76px}.consumables-dialog{width:calc(100vw - 32px)!important;max-width:880px!important;max-height:90dvh;display:flex!important;flex-direction:column;gap:20px}.consumables-dialog>.dialog-fields{overflow-y:auto;min-height:0}.consumables-dialog [data-slot=dialog-footer],.consumables-dialog [data-slot=dialog-header]{flex-shrink:0}.consumables-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:3px}.consumables-catalog-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:14px;border:1px solid var(--border);border-radius:9px;cursor:pointer;background:var(--card);min-width:0}.consumables-catalog-card:hover{border-color:var(--primary);background:var(--accent)}.consumables-catalog-card strong{font-size:14px;font-weight:600;line-height:1.5}.consumables-catalog-card>span:last-child{font-size:12px;color:var(--muted-foreground);line-height:1.5}.consumables-catalog-card .consumable-image{width:80px;height:80px;flex-basis:80px;align-self:center}.consumable-edit-dialog{max-width:640px!important}.consumable-editor-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}.consumable-editor-heading .consumable-image{width:90px;height:90px;flex-basis:90px}.consumable-editor-heading strong{font-size:18px;font-weight:600}.consumable-editor-heading p{margin-top:5px;font-size:14px;color:var(--muted-foreground);line-height:1.5}.consumable-editor-heading small{font-size:12px;color:var(--muted-foreground)}.consumable-parameter{margin:20px 0}.consumable-parameter .form-field{position:relative}.consumable-optional{font-size:12px;font-weight:400;color:var(--muted-foreground);margin-left:auto}.consumable-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.consumable-options button{font-size:14px;min-width:52px;min-height:40px!important}.consumable-options [aria-pressed=true],.consumable-purpose [aria-pressed=true]{border-color:var(--primary);background:var(--accent);color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.consumable-purpose{display:flex;gap:10px;margin:20px 0}.consumable-purpose button{flex:1}.consumable-editor-fields details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.consumable-editor-fields details>summary>svg{width:16px;height:16px}.consumable-editor-fields details[open]>summary>svg{transform:rotate(180deg)}.consumable-pick-list{display:flex;flex-direction:column;gap:0}.consumable-pick-row{display:flex;align-items:center;gap:12px;cursor:pointer;padding:14px 0;border-top:1px solid var(--border)}.consumable-pick-row .consumable-image{width:52px;height:52px;flex-basis:52px}.material-photo-slot:has(.consumable-image){padding:0;background:#fff}.material-photo-slot>.consumable-image{width:100%;height:100%;flex-basis:100%;border:0;border-radius:inherit}.preparation-toolbar .consumables-preparation-actions{display:flex;gap:8px;flex-wrap:wrap}.consumable-take-note{padding:14px 16px;background:var(--accent);border-radius:8px;color:var(--primary);font-size:15px;line-height:1.6}.consumable-open:focus-visible,.consumable-row-actions a:focus-visible,.consumables-catalog-card:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.consumables-dialog button,.my-consumables button{cursor:pointer}@media(max-width:1000px){.consumables-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.consumable-row-actions{flex-wrap:wrap;max-width:88px}.consumables-transfer{align-items:stretch;flex-direction:column}.consumables-transfer>.form-field{max-width:none}}@media(max-width:600px){.consumables-top{align-items:stretch;flex-direction:column;gap:12px}.consumables-filters{grid-template-columns:1fr}.consumable-saved-row{padding:12px;gap:10px;align-items:flex-start;flex-wrap:wrap}.consumable-saved-row>[data-slot=checkbox]{margin-top:22px}.consumable-open{gap:10px}.consumable-row-actions{width:100%;max-width:none;justify-content:flex-end;border-top:1px solid var(--border);padding-top:6px}.consumable-image{width:52px;height:52px;flex-basis:52px}.consumable-identity strong{font-size:15px}.consumable-identity>span{font-size:13px}.consumables-empty{padding:30px 16px}.consumables-empty-images{gap:6px}.consumables-empty-images .consumable-image{width:58px;height:58px;flex-basis:58px}.consumables-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.consumables-catalog-card{padding:12px}.consumables-dialog{padding:20px 16px!important;max-width:calc(100vw - 20px)!important;max-height:92dvh}.consumable-editor-fields .two-fields{grid-template-columns:1fr}.consumables-transfer{padding:16px}.consumables-transfer>button{min-width:0}.consumable-select-all{font-size:13px}.consumables-preparation-actions{width:100%}.consumables-preparation-actions>button{flex:1}.consumables-dialog input,.my-consumables input{font-size:16px}}.consumable-image>img{width:100%;height:100%;object-fit:contain}.consumable-editor-heading>div{min-width:0;overflow-wrap:anywhere}.consumable-editor-heading a{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-size:14px;margin-top:8px}.consumable-editor-heading a svg{width:14px;height:14px}.catalog-picker{padding:4px 0;margin-bottom:12px}.material-dialog fieldset.dialog-fields{min-width:0;border:0;padding:0}.catalog-search{margin:4px 0 12px}.catalog-search summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:40px;font-size:13px;color:var(--muted-foreground);width:fit-content}.catalog-search summary svg{width:15px;height:15px}.quantity-choice>p{font-size:14px;font-weight:500;margin:16px 0 6px}.quantity-choice .quantity-mode{margin-top:6px}.material-kind-field{margin-top:0!important}.material-mode-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted-foreground)}.material-dialog-footer{flex-wrap:wrap}.material-dialog-remove{margin-right:auto;color:var(--destructive)}.material-dialog .catalog-search .form-field{margin-top:4px}.material-dialog-footer [data-slot=button]{white-space:normal;min-height:40px;height:auto}.catalog-picker h3{font-size:18px;font-weight:600;margin-bottom:8px}.catalog-picker>.muted,.catalog-product-info{font-size:14px;line-height:1.6}.catalog-product-info p{margin-top:8px}.catalog-product-info strong{font-size:16px}.catalog-selected{display:grid;gap:5px;padding:12px 14px;border-radius:8px;background:var(--accent);font-size:14px;margin-top:16px}.catalog-selected span{color:var(--muted-foreground);font-size:13px}.catalog-conditions{padding:10px 12px;background:#f7f9fc;border-radius:7px;font-size:13px;line-height:1.65;margin:14px 0;color:#54637a}.catalog-sources{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px}.catalog-sources a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.catalog-picker [data-slot=select-trigger],.consumption-fields [data-slot=select-trigger]{white-space:normal;height:auto;min-height:44px;text-align:left}.catalog-picker [data-slot=select-value],.consumption-fields [data-slot=select-value]{text-align:left;line-height:1.45;padding:3px 0}.catalog-area,.catalog-result{background:#edf4ff;border-radius:6px}.catalog-area,.catalog-missing,.catalog-result{padding:12px;font-size:14px;line-height:1.6;margin:12px 0}.catalog-missing{border-left:3px solid #c29127;background:#fff8e7}.catalog-check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;line-height:1.5;margin:14px 0;min-height:44px}.catalog-check [data-slot=checkbox]{flex-shrink:0}.consumption-fields>.muted{font-size:14px;line-height:1.6}.catalog-source-card{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}.catalog-source-card p{font-size:14px;line-height:1.6}.consumption-override{margin:5px 0;padding:0}.consumption-override .catalog-check{margin:0 0 10px}.calculation-formula{margin-top:0;padding:0;border:0}.calculation-formula summary{font-size:13px;min-height:36px}.catalog-result{background:#f5f8fc;font-size:14px;margin-bottom:0}.material-dialog .catalog-check{font-size:14px}.material-dialog .catalog-area{padding:9px 12px;margin:8px 0}.catalog-area-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--accent);border-radius:7px;padding:10px 12px;margin:6px 0}.catalog-area-summary span{display:block;font-size:13px;color:var(--muted-foreground)}.catalog-area-summary strong{font-size:17px;font-weight:600}.catalog-area-summary [data-slot=button]{font-size:13px}.material-dialog .form-field,.preparation-detail-dialog .form-field{margin:12px 0}@media(max-width:767px){.catalog-picker{padding:0}.catalog-picker .two-fields{grid-template-columns:1fr}}.quantity-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.quantity-mode-option{position:relative;justify-content:center;min-height:44px;padding:8px;border:1px solid var(--border);border-radius:8px;cursor:pointer;text-align:center;line-height:1.4;background:var(--background)}.quantity-mode-option[data-active=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.quantity-mode-option[data-disabled=true]{opacity:.5;cursor:not-allowed}.quantity-mode-option input{position:absolute;width:1px;height:1px;opacity:0}.quantity-mode-option:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:3px}.consumption-heading{font-size:15px;font-weight:600;margin:16px 0 10px}.quantity-help{font-size:13px;line-height:1.6;margin:6px 0 12px}.manual-quantity-fields [data-slot=select-trigger]{width:100%}.consumption-fields .catalog-result{margin-top:14px}.consumption-fields .catalog-missing{margin-bottom:0}.catalog-selected-product{display:flex;align-items:center;gap:12px;padding:12px 0;min-width:0}.catalog-selected-product>div{min-width:0;flex:1;display:grid;gap:3px}.catalog-selected-product strong{font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.catalog-selected-product span{font-size:.875rem;color:var(--muted-foreground)}.catalog-favorite-action{min-height:44px;flex-shrink:0}.catalog-option{display:flex;align-items:center;gap:10px;min-width:0;line-height:1.45;white-space:normal}.catalog-option img{width:36px;height:42px;object-fit:contain;flex-shrink:0;background:#fff}.catalog-option small{display:block;font-size:.75rem;line-height:1.5;color:var(--muted-foreground)}.catalog-model-options{max-width:calc(100vw - 40px)}.catalog-model-options [data-slot=select-item]{min-height:48px;white-space:normal;font-size:.875rem}.material-dialog .catalog-picker [data-slot=select-value]{-webkit-line-clamp:unset;overflow:visible}.catalog-extended{font-size:.875rem!important;margin-bottom:0!important}.catalog-search summary{font-size:.875rem}.material-source-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.material-source-tabs [data-slot=tabs-trigger]{min-height:44px;font-size:.875rem;white-space:normal}@media(max-width:540px){.material-source-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-selected-product{flex-wrap:wrap}.catalog-selected-product .catalog-favorite-action{margin-left:auto}.catalog-model-options{max-width:calc(100vw - 32px)}}.catalog-picker{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;align-items:start}.catalog-picker>*{min-width:0}.catalog-picker>.catalog-extended,.catalog-picker>.catalog-model-field,.catalog-picker>.catalog-search,.catalog-picker>.muted{grid-column:1/-1}@media(max-width:540px){.catalog-picker{grid-template-columns:1fr}}.catalog-model-field [data-slot=native-select-wrapper]{width:100%;min-width:0}.catalog-model-field [data-slot=native-select]{min-height:44px;height:auto;font-size:16px;background:var(--card);color:var(--foreground)}.settlement-view{font-size:16px}.settlement-dialog button,.settlement-view button{min-height:44px;cursor:pointer}.settlement-dialog button:disabled,.settlement-view button:disabled{cursor:default}.settlement-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card);margin-bottom:14px}.settlement-summary>div{padding:24px;display:flex;flex-direction:column;gap:12px;min-width:0}.settlement-summary>div+div{border-left:1px solid var(--border)}.settlement-summary span{font-size:14px;color:var(--muted-foreground)}.settlement-summary strong{font-size:28px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.settlement-summary .settlement-balance{background:var(--accent)}.settlement-balance strong{color:var(--primary)}.settlement-estimate-note{margin-bottom:24px}.settlement-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin:32px 0 18px}.settlement-toolbar h2{font-size:20px;font-weight:600}.settlement-actions{display:flex;gap:10px;flex-wrap:wrap}.settlement-empty{text-align:center;background:var(--card);border:1px dashed var(--border);border-radius:12px;padding:48px 24px}.settlement-empty>svg{margin:0 auto 16px;width:30px;height:30px;color:var(--muted-foreground)}.settlement-empty h3{font-size:18px;font-weight:600;margin-bottom:8px}.settlement-empty p{color:var(--muted-foreground);line-height:1.6}.settlement-list{border:1px solid var(--border);border-radius:12px;background:var(--card);overflow:hidden}.settlement-row{display:flex;align-items:flex-start;gap:20px;padding:22px 24px}.settlement-row+.settlement-row{border-top:1px solid var(--border)}.settlement-row-main{flex:1;min-width:0}.settlement-row-type{display:block;font-size:14px;color:var(--muted-foreground);line-height:1.5}.settlement-row h3{font-weight:600;font-size:17px;margin:7px 0;overflow-wrap:anywhere}.settlement-row-amount{text-align:right;display:flex;flex-direction:column;gap:8px;max-width:40%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.settlement-row-amount strong{font-size:20px;font-weight:600;line-height:1.4}.settlement-row-amount>span{font-size:14px;color:var(--muted-foreground);line-height:1.5}.settlement-row-actions{display:flex;gap:4px}.settlement-row-actions button{width:44px;padding:0}.settlement-entry-note{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.settlement-breakdown,.settlement-entry-note{font-size:14px;color:var(--muted-foreground)}.settlement-breakdown summary,.settlement-note summary{cursor:pointer;min-height:44px;align-content:center}.settlement-breakdown ul{display:grid;gap:10px;margin:8px 0 14px}.settlement-breakdown li{display:flex;flex-direction:column;gap:3px;line-height:1.5;overflow-wrap:anywhere}.settlement-requested{font-size:14px;color:var(--muted-foreground);margin-top:16px;line-height:1.6}.settlement-share{border-top:1px solid var(--border);padding-top:14px;margin-top:32px}.settlement-share summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;color:var(--primary);font-size:14px;font-weight:500}.settlement-share>p{margin:6px 0 16px}.settlement-share .form-field{max-width:640px}.settlement-dialog{max-height:90dvh;overflow-y:auto;max-width:min(640px,calc(100% - 24px))!important}.settlement-dialog [data-slot=dialog-title]{font-size:22px;line-height:1.35}.settlement-dialog [data-slot=dialog-description]{line-height:1.6}.settlement-dialog .form-field{margin:16px 0}.settlement-fields{min-width:0}.settlement-method{display:flex;gap:10px;margin:20px 0}.settlement-price-picker{display:flex;align-items:flex-end;gap:12px;margin:16px 0}.settlement-price-picker>.form-field{flex:1;min-width:0;margin:0}.settlement-price-picker select{width:100%;min-width:0;min-height:44px;border:1px solid var(--input);border-radius:6px;padding:10px;background:var(--card);font-size:16px}.settlement-price-picker select:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settlement-item{padding:12px 16px;background:var(--accent);border:1px solid var(--border);border-radius:8px;margin:12px 0}.settlement-item-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.settlement-item-heading strong{font-size:15px;overflow-wrap:anywhere}.settlement-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settlement-form-grid .form-field{min-width:0;margin:8px 0}.settlement-form-total{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:16px 0;font-size:16px}.settlement-form-total strong{font-size:20px;white-space:nowrap}.settlement-paid-input{display:flex;gap:10px}.settlement-paid-input input{min-width:0}.settlement-note{font-size:14px;margin-bottom:20px}.client-settlement{max-width:1050px;margin:auto;padding:40px 24px}.client-settlement>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.client-settlement h1{font-size:30px;line-height:1.3;font-weight:600;margin-bottom:8px}.client-settlement header p{color:var(--muted-foreground);overflow-wrap:anywhere}.client-settlement>header button{min-height:44px}.settlement-loading{padding:32px 0;color:var(--muted-foreground)}@media(max-width:700px){.settlement-summary{grid-template-columns:1fr 1fr}.settlement-summary>div{padding:18px}.settlement-summary strong{font-size:23px}.settlement-summary .settlement-balance{grid-column:1/-1;border-left:0;border-top:1px solid var(--border)}.settlement-summary .settlement-balance strong{font-size:28px}.settlement-toolbar{align-items:flex-start;margin-top:26px}.settlement-toolbar .settlement-actions{width:100%}.settlement-toolbar .settlement-actions>button:last-child{flex:1}.settlement-row{flex-wrap:wrap;padding:18px;gap:12px}.settlement-row-main{flex-basis:55%}.settlement-row-amount{max-width:40%}.settlement-row-amount strong{font-size:18px}.settlement-row-actions{width:100%;justify-content:flex-end}.settlement-dialog{padding:20px}.settlement-form-grid{gap:10px}.settlement-price-picker{flex-wrap:wrap}.settlement-price-picker>.form-field{flex-basis:100%}.client-settlement{padding:24px 16px}.client-settlement>header{align-items:flex-start}.client-settlement h1{font-size:27px}}@media(prefers-reduced-motion:reduce){.settlement-dialog *,.settlement-view *{transition:none!important;animation:none!important}}@media(max-width:767px){.workspace-main:has(.settlement-view) .topbar{flex-wrap:wrap}.workspace-main:has(.settlement-view) .topbar>div:first-child{min-width:0;flex:1 1 140px}.workspace-main:has(.settlement-view) .save-controls{margin-left:auto;flex-shrink:0}}