:root{--ink:#263744;--muted:#5d7182;--primary:#284f70;--dark:#203f59;--line:#dce3eb;--bg:#f5f6fb;--white:#fff;--accent:#e3eef7;--danger:#a73932;--on-primary:#fff;--link:#315b78;--focus:#315b78;--table-header:#e7eff7;--late:#ab5638;--font-body:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--radius-control:8px;--radius-card:12px;--radius-dialog:20px}.catalog-actions{flex-wrap:wrap;gap:10px;display:flex}.catalog-link{color:var(--primary);text-underline-offset:3px;overflow-wrap:anywhere;text-decoration:underline}.catalog-trades{border:1px solid var(--line);border-radius:9px;margin:22px 0 0;padding:18px}.catalog-trades legend{font-size:12px;font-weight:600}.catalog-checks{flex-wrap:wrap;gap:14px 24px;display:flex}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:var(--font-body);margin:0;font-size:14px;line-height:1.6}h1,h2,h3,.wordmark{font-family:var(--font-body)}h1{letter-spacing:-1.1px;margin:8px 0 12px;font-size:24px;font-weight:700;line-height:1.2}h2{letter-spacing:-.45px;margin:0 0 12px;font-size:17px;font-weight:650}h3{margin:0 0 8px;font-size:16px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.button{border:1px solid var(--line);border-radius:var(--radius-control);white-space:nowrap;background:#fff;justify-content:center;align-items:center;gap:8px;padding:10px 17px;font-weight:600;display:inline-flex}.button:hover{background:var(--accent)}.primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.primary:hover{background:var(--dark)}.small{font-size:12px}.muted,.intro{color:var(--muted)}.intro{margin:0 0 28px;font-size:15px}.eyebrow{letter-spacing:1.8px;color:var(--primary);margin:0;font-size:10px;font-weight:700}.wordmark{letter-spacing:-2.5px;font-size:34px;font-weight:600;line-height:1}.wordmark span{letter-spacing:-1.5px;color:#777;margin-left:4px;font-weight:400}.app-shell{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#eef3f9;flex-direction:column;height:100vh;padding:31px 20px 20px;display:flex;position:sticky;top:0;overflow:hidden}.collapse-button{color:var(--muted);background:0 0;border:0;padding:3px;position:absolute;top:83px;right:14px}.workspace-label{white-space:nowrap;color:var(--muted);align-items:center;gap:8px;margin:44px 0 26px;font-size:11px;display:flex}nav{gap:6px;display:grid}nav a{color:#60758d;border-radius:9px;align-items:center;gap:13px;padding:12px 15px;font-weight:500;display:flex}nav a.active{color:#234f7c;background:#dceafa}nav a:hover{background:#e7eff8}.sidebar-bottom{border-top:1px solid #dce4ee;margin-top:auto;padding:16px 12px}.sidebar-bottom .small{letter-spacing:1.5px;color:var(--muted);font-size:9px}.user-email{text-overflow:ellipsis;font-size:11px;overflow:hidden}.sidebar-bottom button{color:var(--primary);background:0 0;border:0;align-items:center;gap:10px;padding:10px 0;display:flex}.topbar{border-bottom:1px solid var(--line);height:76px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 42px;font-size:12px;display:flex}.separator{color:#a6b5c8;margin:0 13px}.local-badge{border:1px solid var(--line);border-radius:20px;padding:4px 10px;font-size:10px}.main-content{max-width:1600px;margin:auto;padding:36px 42px 60px}.collapsed .wordmark{font-size:27px}.collapsed .wordmark span,.collapsed nav span,.collapsed .workspace-label span,.collapsed .sidebar-bottom p,.collapsed .sidebar-bottom span{display:none}.collapsed nav a{padding:14px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-heading .intro{margin:0}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:26px 0 20px;display:flex}.search-input{flex:1;min-width:230px}.toolbar select{width:auto;min-width:140px}.table-wrap{border-top:1px solid var(--line);overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th{text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);padding:15px;font-size:10px;font-weight:600}td{border-top:1px solid var(--line);vertical-align:middle;padding:19px 15px;font-size:13px}tbody tr:hover{background:#f0f5fb}.cell-title{font-size:14px;font-weight:700}.cell-sub{color:var(--muted);margin-top:3px;font-size:12px}.text-link{color:var(--primary);font-weight:600}.text-link:hover{text-decoration:underline}.badge{color:#315b85;background:#e3eefb;border-radius:20px;padding:3px 10px;font-size:11px;display:inline-block}.badge.neutral{color:#60738a;background:#edf1f6}.count-line{align-items:center;gap:10px;margin:26px 0 8px;display:flex}.count-line h2{margin:0;font-size:16px}.count{color:var(--muted);font-size:12px}.empty-state{text-align:center;border-top:1px solid var(--line);padding:60px 20px}.empty-state h2{margin:10px 0}.empty-state p{color:var(--muted)}label{flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;padding:10px 12px;font-weight:400}input:focus,select:focus,textarea:focus{outline:2px solid var(--focus);border-color:#0000}textarea{resize:vertical;min-height:90px}input[type=radio],input[type=checkbox]{width:auto;accent-color:var(--primary)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.full{grid-column:1/-1}.edit-form{max-width:1000px}.form-section,.detail-section{border-top:1px solid var(--line);margin-top:12px;padding:25px 0}.form-section summary{cursor:pointer;margin-bottom:20px;font-size:19px;font-weight:700}.person-row,.property-row,.room-row{border:1px solid var(--line);background:#fff;border-radius:10px;margin:14px 0;padding:19px 22px}.row-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.radio-label{flex-direction:row;align-items:center;font-weight:400}.plain-button{color:var(--primary);background:0 0;border:0;padding:5px;font-size:12px}.danger{color:var(--danger)}.form-actions{border-top:1px solid var(--line);gap:12px;margin-top:25px;padding-top:24px;display:flex}.alert{color:#933d34;background:#fcece8;border:1px solid #f0cdc4;border-radius:8px;padding:12px 15px}.success{color:#295783;background:#e6f0fc;border-radius:8px;padding:10px 15px}.back-link{color:var(--muted);margin-bottom:22px;font-size:12px;display:inline-block}.detail-grid{grid-template-columns:1.5fr 1fr;gap:44px;display:grid}.facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0;display:grid}.facts dt{color:var(--muted);margin-bottom:4px;font-size:11px}.facts dd{margin:0;font-size:14px}.contact p{margin:3px 0}.pre-wrap{white-space:pre-wrap}.inline-form{align-items:end;gap:12px;display:flex}.narrow{max-width:650px;margin:80px auto;padding:24px}.login-page{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.login-intro{background:var(--dark);color:#eef4fc;padding:65px 12%;position:relative;overflow:hidden}.login-intro .wordmark{margin-bottom:120px;font-size:44px}.login-intro .eyebrow{color:#bed7f2}.login-intro h1{margin:20px 0;font-size:45px;line-height:1.25}.login-intro p:not(.eyebrow){color:#b7cbe2;max-width:370px}.login-lines{border:1px solid #607d9e;width:360px;height:360px;position:absolute;bottom:-200px;right:80px;transform:rotate(35deg);box-shadow:0 0 0 35px #284b70,0 0 0 36px #607d9e,0 0 0 72px #284b70,0 0 0 73px #607d9e}.login-panel{place-items:center;padding:50px;display:grid}.login-form{gap:20px;width:100%;max-width:340px;display:grid}.login-form h2{margin:0;font-size:30px}.login-form p{margin:0}.login-form .button{margin-top:5px}.login-form .small{text-align:center;margin-top:12px}@media (max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.main-content{padding:28px 25px}.topbar{padding:0 25px}.detail-grid{grid-template-columns:1fr;gap:0}.collapsed{grid-template-columns:82px minmax(0,1fr)}.login-intro{padding:50px 10%}.login-intro h1{font-size:35px}}@media (max-width:700px){.app-shell{grid-template-columns:70px minmax(0,1fr)}.sidebar{padding:25px 10px}.wordmark{font-size:25px}.sidebar .wordmark span,nav span,.workspace-label span,.sidebar-bottom p,.sidebar-bottom span,.collapse-button{display:none}nav a{padding:13px}.sidebar-bottom{padding:12px}.main-content{padding:24px 18px}.topbar{padding:0 18px}.local-badge{display:none}.form-grid,.form-grid.three{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:flex-start}h1{font-size:28px}.login-page{grid-template-columns:1fr}.login-intro{display:none}.login-panel{padding:30px}}.detail-section>summary{cursor:pointer;font-size:19px;font-weight:700}.detail-section[open]>summary{margin-bottom:20px}.view-switch{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin:-12px 0 26px;display:flex}.view-switch>div{flex-wrap:wrap;gap:5px;display:flex}.view-switch .button{padding:6px 10px;font-size:11px}.record-overview{align-items:flex-start;gap:26px;display:flex}.record-overview .facts{flex:1}.product-primary{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:10px;width:140px;height:140px;margin-top:20px}.media-thumb{object-fit:contain;background:#fff;border-radius:8px;width:120px;height:110px}.media-gallery{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;display:grid}.media-card{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:9px;padding:18px}.media-item{border-bottom:1px solid var(--line);gap:20px;padding:18px 0;display:flex}.media-item>div{flex:1;min-width:0}.media-upload{padding-top:22px}.filter-more summary{cursor:pointer;padding:10px 0}.filter-more[open]{flex-basis:100%}.catalog-toolbar>.search-input{min-width:260px}@media (max-width:700px){.record-overview,.media-item{flex-direction:column}.record-overview .facts{width:100%}.view-switch{justify-content:flex-start;margin-top:0}}.assembly-component-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 110px auto;align-items:end;gap:16px;padding:10px 0;display:grid}.assembly-component-row>label{min-width:0}.assembly-component-row>button{margin-bottom:10px}.assembly-component-row:last-of-type{margin-bottom:16px}@media (max-width:700px){.assembly-component-row{grid-template-columns:minmax(0,1fr) 85px auto;gap:8px}}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:1rem 0;display:grid}.stat{align-content:start;gap:.3rem;display:grid}.stat strong{font-size:1.25rem}.stat small{line-height:1.4}.main-content{background:#fff}.estimate-worksheet{max-width:none;color:var(--ink);background:#fff}.estimate-worksheet [hidden]{display:none!important}.estimate-worksheet .detail-section,.estimate-worksheet .form-section{margin:0;padding:10px 0}.estimate-worksheet .detail-section>summary{font-size:14px}.estimate-worksheet details[open]>summary{margin-bottom:8px}.estimate-worksheet summary{cursor:pointer}.estimate-worksheet .row-heading{flex-wrap:wrap;gap:12px;margin:12px 0}.estimate-worksheet h2{margin:0;font-size:18px}.estimate-worksheet .button{border-radius:5px;padding:6px 12px}.estimate-worksheet input,.estimate-worksheet select{border-radius:4px;padding:5px 7px}.estimate-worksheet .form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,260px));gap:10px 16px}.worksheet-summary{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px 24px;padding:12px 0;display:flex}.worksheet-summary>div{gap:0;font-size:12px;display:grid}.worksheet-summary strong{color:var(--primary);font-size:20px}.worksheet-summary>.primary{margin-left:auto}.worksheet-tabs{border-bottom:1px solid var(--line);gap:4px;margin:12px 0;display:flex;overflow-x:auto}.worksheet-tabs button{white-space:nowrap;color:var(--muted);background:#fff;border:0;border-bottom:3px solid #0000;padding:9px 16px}.worksheet-tabs button[aria-selected=true]{color:var(--primary);border-color:var(--primary);font-weight:700}.project-info-grid{flex-wrap:wrap;align-items:end;gap:16px 24px;padding:12px 0;display:flex}.worksheet-field{width:max-content;max-width:100%}.worksheet-field input{width:100px}.worksheet-field.field-text input{width:240px}.worksheet-field.field-date input{width:155px}.worksheet-field select{width:auto;min-width:75px;max-width:220px}.worksheet-field.field-quantity input{width:75px}.currency-control,.feet-input>div{align-items:center;gap:6px;display:flex}.money-input input{text-align:right;width:125px}.feet-input{border:0;margin:0;padding:0}.feet-input legend{margin-bottom:6px;padding:0;font-size:12px;font-weight:600}.feet-input input{width:60px}.room-grid{overflow-x:auto}.room-grid table{width:max-content;min-width:100%}.room-grid th,.room-grid td{white-space:nowrap;border-bottom:1px solid var(--line);padding:5px 7px}.room-grid th{text-transform:none;letter-spacing:normal;background:#f7f9fc;font-size:12px}.room-grid .room-name{width:180px}.room-grid .worksheet-field input{width:85px}.room-grid tr.excluded-room>td{color:#687381;background:#f5f5f5}.room-options{white-space:normal;padding:10px 8px}.room-options>details{margin-top:10px}.room-options h3{font-size:14px}.room-options .form-grid{flex-wrap:wrap;display:flex}.room-options select{max-width:180px}.worksheet-section{border-bottom:1px solid var(--line);padding:10px 0}.worksheet-section>summary{justify-content:space-between;gap:16px;font-weight:700;display:flex}.worksheet-section>summary:before{content:"▸"}.worksheet-section[open]>summary:before{content:"▾"}.worksheet-section>summary>span{flex:1}.worksheet-item{border-bottom:1px solid #edf1f6;padding:7px 0}.worksheet-item>summary,.work-column-head{grid-template-columns:minmax(150px,1fr) 140px 135px;align-items:center;gap:12px;display:grid}.worksheet-item>summary>span:first-child:before{content:"▸ "}.worksheet-item[open]>summary>span:first-child:before{content:"▾ "}.worksheet-item>summary>strong,.work-column-head>span:last-child{text-align:right}.work-column-head{color:var(--muted);padding:5px 0;font-size:11px}.item-detail{border-left:2px solid var(--line);margin:8px 0 8px 16px;padding-left:14px}.item-detail .room-row{margin:8px 0;padding:10px}.item-source pre{white-space:pre-wrap;font-size:12px}.section-adjustments{padding-top:8px;font-size:12px}.review-links{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:700px){.worksheet-item>summary,.work-column-head{grid-template-columns:minmax(110px,1fr) 90px 100px;gap:6px}.worksheet-summary{gap:8px 16px}}.workspace{background:#fff;min-width:0}.main-content{width:100%;padding:24px 30px 40px}h1{letter-spacing:-.6px;overflow-wrap:anywhere;margin:4px 0 8px;font-size:24px}h2{margin-bottom:10px;font-size:17px}h3{font-size:14px}.page-heading{flex-wrap:wrap;gap:12px;margin-bottom:16px}.page-heading>div{min-width:0}.intro{margin-bottom:16px;font-size:13px}.button{border-radius:var(--radius-control);min-height:36px;padding:6px 11px}.app-action,.icon-button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.app-icon,.tabler-icon{vertical-align:middle;stroke-width:1.75px;flex-shrink:0}.icon-button{width:36px;height:36px;padding:7px}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.back-link{align-items:center;gap:5px;min-height:36px;margin-bottom:8px;display:inline-flex}.section-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.section-header h2{margin:0}.detail-section,.form-section{margin-top:4px;padding:14px 0}.detail-section>summary,.form-section>summary{cursor:pointer;align-content:center;min-height:32px;margin-bottom:0;font-size:15px;font-weight:600}.detail-section[open]>summary,.form-section[open]>summary{margin-bottom:12px}.person-row,.property-row,.room-row{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:6px 0;padding:12px 0}.contact{border-bottom:1px solid var(--line);padding:10px 0}.contact p{overflow-wrap:anywhere;margin:3px 0}.record-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;display:flex}.record-row>span:first-child{flex:1;min-width:0}.record-row small{color:var(--muted);display:block}.record-row:hover{background:#f3f7fc}.status-badge,.badge{color:#3e5875;white-space:nowrap;background:#eaf0f7;border-radius:4px;padding:2px 7px;font-size:11px;line-height:1.6}.toolbar{gap:8px;margin:16px 0 12px}.search-input{min-width:min(230px,100%);max-width:420px}th{letter-spacing:.5px;color:var(--ink);background:var(--table-header);padding:9px 12px}td{padding:10px 12px}td .cell-title,td>.catalog-link{align-items:center;min-height:32px;display:inline-flex}.form-grid{grid-template-columns:repeat(2,minmax(0,360px));gap:12px 20px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,260px))}input,select,textarea{border-radius:var(--radius-control);min-height:36px;padding:7px 9px}input[type=checkbox],input[type=radio]{min-height:auto}.edit-form input[type=number],.toolbar input[type=number]{width:125px;max-width:100%}.edit-form input[type=date]{max-width:180px}.edit-form input[type=datetime-local]{max-width:260px}.edit-form>details>label,.edit-form>section>label{max-width:480px}textarea{min-height:72px}.catalog-trades{border:0;margin-top:14px;padding:0}.catalog-checks{gap:8px 20px}.facts>div{padding:7px 0}.record-overview{gap:20px}.view-switch{gap:8px;margin:0 0 18px}.topbar{height:52px;padding:0 30px}.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{background:#f2f6fb;padding:22px 16px 16px}.workspace-label{margin:32px 0 16px}.sidebar nav a{border-radius:5px;gap:10px;min-height:40px;padding:8px 10px}.sidebar nav a.active{color:#234f7c;background:#e0ecfa}.collapse-button{min-width:32px;min-height:32px;top:67px;right:14px}.collapsed nav span,.collapsed .workspace-label span,.collapsed .sidebar-bottom span{display:inline}.login-page{background:#f6f9fd;grid-template-columns:1fr;align-content:center;gap:20px}.login-intro{text-align:center;color:var(--ink);background:0 0;padding:0;display:block}.login-intro .wordmark{margin:0;font-size:34px}.login-intro p{color:var(--muted);margin:8px 0 0}.login-lines{display:none}.login-panel{padding:0 20px 30px}.login-form{gap:16px;width:360px;max-width:100%}.login-form h1{font-size:23px}@media (max-width:1000px){.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.main-content{padding:20px}}@media (max-width:700px){.app-shell,.app-shell.collapsed{display:block}.sidebar,.collapsed .sidebar{border-bottom:1px solid var(--line);height:auto;padding:12px 16px;position:static}.sidebar .wordmark{font-size:24px;display:block}.sidebar .wordmark span,.sidebar nav span{display:inline}.sidebar nav{gap:4px;margin-top:10px;display:flex;overflow-x:auto}.sidebar nav a{white-space:nowrap;flex:none;min-height:44px}.workspace-label,.sidebar-bottom,.collapse-button{display:none}.topbar{height:44px;padding:0 16px}.main-content{padding:16px}.form-grid,.form-grid.three{grid-template-columns:minmax(0,1fr)}.page-heading{flex-direction:row;align-items:center}.inline-form{flex-wrap:wrap}.inline-form>*{min-width:0;max-width:100%}.view-switch{justify-content:flex-start}.button,.icon-button{min-height:44px}.icon-button{min-width:44px}input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea{min-height:44px;font-size:16px}.table-wrap{max-width:100%}.table-wrap table{min-width:560px}.search-input{flex-basis:100%}.login-page{min-height:100dvh}.sidebar-bottom,.collapsed .sidebar-bottom{border:0;justify-content:flex-end;margin-top:6px;padding:0;display:flex}.sidebar-bottom span{display:inline}.sidebar-bottom button{min-height:36px;padding:3px 0}}.bid-sheet-workspace{max-width:1400px}.bid-sheet-controls{grid-template-columns:minmax(240px,1fr) minmax(220px,320px) auto;align-items:end;gap:12px;margin-bottom:16px;display:grid}.bid-sheet-panes{grid-template-columns:minmax(0,1fr) minmax(320px,1fr);align-items:start;gap:24px;display:grid}.bid-sheet-source{border:1px solid var(--line);background:#fff;border-radius:6px;overflow:hidden}.tiptap-toolbar{border-bottom:1px solid var(--line);background:#f7f9fc;flex-wrap:wrap;gap:4px;padding:7px;display:flex}.tiptap-tool{min-height:36px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;padding:5px 10px}.tiptap-tool:hover,.tiptap-tool.active{color:var(--primary);background:#e5f0ff;border-color:#a9bfd9}.tiptap-merge-picker{margin-left:auto}.tiptap-merge-picker select{max-width:210px;min-height:36px}.tiptap-document{outline:none;min-height:510px;padding:28px;line-height:1.55}.tiptap-document.preview{min-height:490px;padding:0}.tiptap-document h1{margin:0 0 18px;font-size:26px}.tiptap-document h2{color:var(--text);margin:20px 0 8px;font-size:19px}.tiptap-document h3{margin:16px 0 6px;font-size:16px}.tiptap-document p{margin:0 0 10px}.tiptap-document ul,.tiptap-document ol{margin:8px 0 12px;padding-left:24px}.tiptap-document blockquote{color:var(--muted);border-left:3px solid #a9bfd9;margin:12px 0;padding-left:14px}.bid-sheet-preview h2{color:var(--muted);margin-bottom:6px;font-size:13px}.document-paper{border:1px solid var(--line);color:#1f2937;background:#fff;min-height:560px;padding:32px;box-shadow:0 2px 10px #23364d14}.document-finalize{justify-content:flex-end;margin:-8px 0 12px;display:flex}.final-document{max-width:900px}.final-document .toolbar{justify-content:space-between;align-items:center;margin-bottom:10px}.portal-management-create{max-width:900px}.portal-management-create .toolbar{align-items:end}.portal-invite-result{background:#eef5ff;border:1px solid #bfd4ee;border-radius:5px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;padding:12px;display:grid}.portal-management-row{grid-template-columns:minmax(180px,1fr) auto minmax(260px,auto);align-items:center;gap:12px;display:grid}.portal-state-form{align-items:center;gap:6px;display:flex}.portal-state-form select{min-width:120px}.proposal-authoring,.proposal-gate{max-width:1000px}.proposal-revision-picker{align-items:end;margin-bottom:12px}.proposal-authoring textarea{min-height:110px}.proposal-signers{gap:6px;display:grid}.proposal-signers label{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:9px;display:flex}.proposal-signers label>span{flex-direction:column;display:flex}.proposal-signers small{color:var(--muted)}.proposal-source-preview{border:1px solid var(--line);background:#f8fafc;margin:14px 0;padding:16px}.proposal-total{border-bottom:2px solid var(--primary);justify-content:space-between;padding:12px 0;font-size:18px;display:flex}.proposal-source-preview article{border-bottom:1px solid var(--line);padding:12px 0}.proposal-option{grid-template-columns:minmax(0,1fr) auto;gap:18px;display:grid}.proposal-row{grid-template-columns:minmax(0,2fr) minmax(120px,1fr) auto;align-items:end;gap:10px;margin:8px 0;display:grid}.portal-proposal{gap:14px;max-width:900px;display:grid}.proposal-financial-summary{margin:0}.proposal-financial-summary>div,.proposal-line{border-bottom:1px solid var(--line);justify-content:space-between;gap:18px;padding:10px 0;display:flex}.proposal-financial-summary dt,.proposal-financial-summary dd{margin:0}.proposal-financial-summary .total{border-top:2px solid var(--primary);border-bottom:0;margin-top:8px;font-size:18px}.portal-option-choice{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}.segmented-choice{gap:0;display:flex}.segmented-choice button{border:1px solid var(--line);color:var(--text);background:#fff;padding:9px 12px}.segmented-choice button+button{border-left:0}.segmented-choice button.selected{background:var(--primary);color:#fff;border-color:var(--primary)}.signature-form{gap:12px;margin-top:18px;display:grid}.signature-pad{border:1px solid var(--line);touch-action:none;background:#fff;width:100%;max-width:600px;height:180px}.typed-signature{border-bottom:2px solid var(--text);min-height:82px;padding:20px;font-family:cursive;font-size:30px}.acceptance-statement{border-left:4px solid var(--primary);background:#f8fafc;padding:12px}.text-danger{color:var(--danger)}@media (max-width:700px){.proposal-row,.portal-option-choice{grid-template-columns:1fr}}.initial-review-list{gap:14px;max-width:900px;display:grid}.review-item h2{margin-bottom:4px}.review-response-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.review-response-grid label{border:1px solid var(--line);border-radius:4px;align-items:center;gap:8px;padding:10px;display:flex}@media (max-width:700px){.review-response-grid{grid-template-columns:1fr}}.selection-source-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:10px 0;display:flex}.selection-source-row>div{gap:3px;display:grid}.selection-source-row span{color:var(--muted)}.selection-editor{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px 0;display:grid}.selection-editor-form{gap:10px;display:grid}.selection-editor-form .checkbox-label{flex-direction:row;align-items:center;font-weight:500}.currency-input{background:#fff;border:1px solid #d5dfeb;border-radius:5px;align-items:center;display:flex}.currency-input>span{color:var(--muted);padding-left:9px}.currency-input input{border:0;min-width:0}.currency-input input:focus{outline-offset:1px;outline:2px solid #8db4df}.selection-field-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:10px;display:grid}.selection-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.selection-heading h2,.selection-heading h3{margin:0}.selection-facts{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 16px;margin:12px 0;display:grid}.selection-facts div{gap:2px;display:grid}.selection-facts dt{color:var(--muted);font-size:12px}.selection-facts dd{margin:0;font-weight:600}.selection-activity{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.selection-activity h4,.selection-activity p{margin:4px 0}.selection-staff-actions{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:14px;display:grid}.selection-staff-actions form,.selection-customer-actions form{gap:8px;display:grid}.selection-customer-actions{gap:10px;margin-top:14px;display:grid}.selection-customer-actions details,.selection-history{border-top:1px solid var(--line);padding:8px 0}.selection-customer-actions summary,.selection-history summary{cursor:pointer;font-weight:600}.selection-customer-actions details form{margin-top:10px}@media (max-width:700px){.selection-source-row,.selection-editor{grid-template-columns:1fr;display:grid}}@media (max-width:900px){.bid-sheet-panes{grid-template-columns:1fr}.document-paper{min-height:300px}}@media (max-width:700px){.bid-sheet-controls{grid-template-columns:1fr}.tiptap-document{min-height:420px;padding:18px}.tiptap-tool{min-height:44px}.tiptap-merge-picker{width:100%;margin-left:0}.tiptap-merge-picker select{max-width:none;min-height:44px}.document-paper{padding:20px}.portal-invite-result,.portal-management-row{grid-template-columns:1fr}.portal-state-form{align-items:stretch}}.app-action,.worksheet-field{position:relative}.sr-only{clip-path:inset(50%);top:0;left:0}.catalog-nav-heading{align-items:center;display:flex}.sidebar .catalog-nav-heading>a{flex:1}.catalog-nav-heading>button{color:inherit;cursor:pointer;background:0 0;border:0;min-width:36px;min-height:40px}.catalog-nav-heading>button[aria-expanded=true] svg{transform:rotate(90deg)}.catalog-submenu{border-left:1px solid var(--line);margin:2px 0 8px 18px;padding-left:6px}.sidebar .catalog-submenu a{min-height:36px;font-size:13px}.catalog-category{border-bottom:1px solid var(--line)}.catalog-category>summary{cursor:pointer;padding:12px 8px;font-weight:600}.catalog-category>summary>span{margin-left:12px;font-size:12px;font-weight:400}.catalog-items{table-layout:fixed;min-width:720px}.catalog-items th:first-child{width:40px;position:relative}.catalog-items th:nth-child(2){width:38%}.catalog-items th:nth-child(3){width:70px}.catalog-items th:nth-child(4){width:130px}.catalog-items td{white-space:nowrap;text-overflow:ellipsis;padding:5px 10px;overflow:hidden}.catalog-items td .catalog-link{min-height:30px;display:inline}.catalog-items .badge{margin-left:8px}.catalog-kind{vertical-align:middle;display:inline-flex}@media (max-width:700px){.sidebar nav{align-items:flex-start}.catalog-navigation{flex:none}.catalog-nav-heading>button{min-width:44px;min-height:44px}.sidebar .catalog-submenu a,.catalog-category>summary{min-height:44px}.catalog-items td{height:44px}}.catalog-detail{max-width:1200px}.catalog-detail h1{align-items:center;gap:9px;display:flex}.catalog-detail .page-heading{margin-bottom:8px}.catalog-detail .eyebrow{margin-bottom:2px}.catalog-detail .catalog-identity{border-bottom:1px solid var(--line);padding:10px 0 16px}.catalog-detail .facts{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px 24px;width:100%;display:grid}.catalog-detail .facts>div{border:0;min-width:0;padding:3px 0;display:block}.catalog-detail .facts dt{color:var(--muted);margin-bottom:4px;font-size:12px}.catalog-detail .facts dd{overflow-wrap:anywhere;margin:0;font-size:14px}.catalog-detail .product-primary{object-fit:contain;width:80px;height:80px}.catalog-detail .detail-section,.catalog-detail .form-section{margin-top:0;padding:10px 0}.catalog-detail summary .app-icon,.catalog-detail h2 .app-icon{margin-right:5px}.catalog-detail .catalog-source{border-bottom:1px solid var(--line);padding:0 8px}.catalog-source>summary{cursor:pointer;padding:10px 0}.catalog-source>summary>span:first-of-type{min-width:min(260px,50%);margin-right:12px;display:inline-block}.catalog-source>summary strong{margin-right:12px;font-weight:500}.catalog-source>summary .badge{margin-left:5px}.catalog-source>h3{margin:6px 0;font-size:13px}.catalog-source .pre-wrap{margin:6px 0 12px}.catalog-detail .toolbar{align-items:flex-end;margin:8px 0}.catalog-detail [data-testid=cost-summary]{background:#f3f7fc;border-radius:4px;padding:12px}.catalog-detail [data-testid=cost-summary] strong{color:var(--primary);font-size:18px}.catalog-detail td{white-space:nowrap;padding:7px 10px}.catalog-detail .media-card{border:0;border-bottom:1px solid var(--line);padding:8px 0}.catalog-detail .media-thumb{object-fit:contain;max-height:100px}@media (max-width:700px){.catalog-detail .facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.catalog-source>summary{min-height:44px}.catalog-detail .catalog-source{padding:0}}.project-filters{flex-wrap:wrap;align-items:flex-end}@media (min-width:701px){.sidebar nav{min-height:0;overflow-y:auto}.sidebar .wordmark,.sidebar .workspace-label,.sidebar-bottom{flex-shrink:0}}.project-filters>label{color:var(--muted);font-size:12px}.project-filters input[type=date]{width:155px;display:block}.project-filters select{max-width:230px}@media (max-width:700px){.project-filters input[type=date]{width:145px}}.mobile-menu-button{display:none}.collapsed{grid-template-columns:76px minmax(0,1fr)}.collapsed .sidebar{padding-left:12px;padding-right:12px}.collapsed .wordmark{letter-spacing:-2px;font-size:25px}.collapsed .wordmark span,.collapsed .workspace-label span,.collapsed .sidebar nav a>span,.collapsed .sidebar-bottom p,.collapsed .sidebar-bottom span{display:none}.collapsed .workspace-label,.collapsed .sidebar nav a,.collapsed .catalog-nav-heading>a,.collapsed .sidebar-bottom{justify-content:center}.collapsed .sidebar nav a{padding:10px}.collapsed .catalog-nav-heading>button,.collapsed .catalog-submenu{display:none}.collapsed .collapse-button{right:21px}.collapsed .sidebar-bottom{padding:8px 0}.collapsed .sidebar-bottom button{justify-content:center;width:100%}@media (max-width:700px){.app-shell,.app-shell.collapsed{display:block}.sidebar,.collapsed .sidebar{border-bottom:1px solid var(--line);height:auto;min-height:0;padding:10px 16px;position:static;overflow:visible}.sidebar-header{justify-content:space-between;align-items:center;display:flex}.sidebar .wordmark,.collapsed .sidebar .wordmark{font-size:24px;display:block}.sidebar .wordmark span,.collapsed .sidebar .wordmark span{display:inline}.mobile-menu-button{width:44px;height:44px;color:var(--primary);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.mobile-menu-button:hover{background:#e0ecfa}.sidebar nav,.collapsed .sidebar nav,.sidebar-bottom,.collapsed .sidebar-bottom{display:none}.sidebar.mobile-open nav,.collapsed .sidebar.mobile-open nav{gap:4px;width:100%;margin-top:10px;display:grid;overflow:visible}.sidebar.mobile-open .sidebar-bottom,.collapsed .sidebar.mobile-open .sidebar-bottom{border-top:1px solid var(--line);margin-top:8px;padding:10px;display:block}.sidebar nav a,.collapsed .sidebar nav a{white-space:normal;justify-content:flex-start;width:100%;min-height:44px;padding:10px}.sidebar nav a>span,.collapsed .sidebar nav a>span,.sidebar-bottom span,.collapsed .sidebar-bottom span{display:inline}.catalog-navigation{width:100%}.catalog-nav-heading>button,.collapsed .catalog-nav-heading>button{justify-content:center;align-items:center;display:inline-flex}.catalog-submenu,.collapsed .catalog-submenu{display:block}.workspace-label,.collapse-button{display:none}}.portal-shell{--portal-blue:#285e94;--portal-blue-dark:#1c436b;--portal-surface:#f5f8fc;--portal-line:#cbd8e6;min-height:100dvh;color:var(--ink);background:#fff}.portal-header{border-bottom:1px solid var(--portal-line);background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:7px max(20px,50% - 440px);display:flex}.portal-header .wordmark{color:var(--primary);letter-spacing:-2px;font-size:25px;font-weight:750;text-decoration:none}.portal-header .wordmark span{font-weight:400}.portal-header-identity{align-items:center;gap:12px;min-width:0;display:flex}.portal-header-identity>a{color:inherit;min-width:0;text-decoration:none}.portal-header-identity .tenant-logo{width:auto;max-width:min(190px,42vw);height:46px}.portal-header-identity .tenant-brand-logo-only{justify-content:flex-start;width:min(190px,42vw)}.portal-header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.portal-header-actions form{margin:0}.portal-powered-brand{color:#526b86;white-space:nowrap;font-size:11px}.portal-sign-out{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:8px 10px;display:inline-flex}.portal-main{background:#fff;width:min(880px,100%);margin:0 auto;padding:28px 20px 60px}.portal-welcome{margin-bottom:20px}.portal-welcome h1{margin-top:3px}.portal-projects{gap:14px;display:grid}.portal-project-card,.portal-empty{background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:8px;padding:20px}.portal-account-form{margin-top:18px}.portal-existing-account{margin:18px 0 0}.portal-project-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.portal-project-heading h2{margin:2px 0 0;font-size:20px}.portal-project-facts{grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0 0;display:grid}.portal-project-facts dt{color:var(--muted);font-size:12px}.portal-project-facts dd{margin:4px 0 0}.portal-notice{color:var(--muted);background:#eef4fb;border-radius:5px;margin:16px 0 0;padding:10px 12px}@media (max-width:700px){.portal-header{min-height:58px;padding:6px 16px}.portal-header-identity{gap:8px}.portal-header-identity .tenant-logo{max-width:min(140px,40vw);height:40px}.portal-header-identity .tenant-brand-logo-only{width:min(140px,40vw)}.portal-header{gap:10px}.portal-header-actions{gap:5px}.portal-powered-brand{font-size:9px}.portal-sign-out{padding-inline:6px}.portal-main{padding:20px 16px 44px}.portal-project-card,.portal-empty{padding:16px}.portal-project-facts{grid-template-columns:1fr;gap:12px}}.project-file-upload{gap:.75rem;display:grid}.project-file-upload label{gap:.3rem;display:grid}.project-file-upload input[type=file]{min-height:44px;padding:.45rem}.project-file-row,.project-activity-row{border-top:1px solid var(--border,#dbe5f0);align-items:center;gap:.75rem;padding:.75rem 0;display:flex}.project-file-row>span:first-child,.project-activity-row>span:first-child{flex:18rem;gap:.15rem;min-width:0;display:grid}.project-file-row small,.project-activity-row small{color:var(--muted,#64748b);display:block}.project-file-status{flex-wrap:wrap;gap:.35rem;display:flex}.digest-preview{background:#f4f8fc;border:1px solid #dbe5f0;border-radius:.5rem;gap:.4rem;padding:.85rem;display:grid}.digest-preview p{margin:0}.digest-preview code{overflow-wrap:anywhere}.project-workflow-nav{border-bottom:1px solid var(--portal-line,var(--line));scrollbar-width:thin;gap:.25rem;margin:0 0 14px;padding:0 0 7px;display:flex;overflow-x:auto}.project-workflow-nav a{min-height:36px;color:var(--muted);white-space:nowrap;border-radius:5px;flex:none;align-items:center;padding:6px 9px;display:inline-flex}.project-workflow-nav a:hover{color:var(--ink);background:#f3f7fc}.portal-shell .project-workflow-nav a:hover{color:var(--portal-blue-dark);background:#e9f0f8}.portal-shell .project-workflow-nav a.active{box-shadow:inset 0 -3px 0 var(--portal-blue);color:var(--portal-blue-dark);background:#f7fafe;font-weight:700}.topbar{grid-template-columns:1fr auto 1fr;display:grid}.topbar-context{justify-self:start}.topbar .local-badge{justify-self:end}.tenant-brand{min-width:0;color:var(--ink);justify-content:center;align-items:center;gap:9px;display:inline-flex}.tenant-brand>span:last-child{line-height:1.15;display:grid}.tenant-brand strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tenant-brand small{color:var(--muted);font-size:10px;font-weight:500}.tenant-logo{object-fit:contain;width:34px;height:34px;display:block}.tenant-logo-fallback{background:var(--tenant-accent,#245a8d);color:#fff;letter-spacing:.4px;border-radius:8px;place-items:center;width:34px;height:34px;font-size:11px;font-weight:750;display:inline-grid}.topbar{height:60px;position:relative}.topbar .tenant-logo{width:auto;min-width:48px;max-width:min(180px,30vw);height:48px}.topbar .tenant-logo-fallback{width:42px;height:42px;font-size:12px}.topbar .tenant-brand-logo-only{width:min(180px,30vw)}.business-profile-preview{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.business-profile-preview .facts{min-width:min(480px,60%);margin:0}.business-profile-preview .tenant-logo,.business-profile-preview .tenant-logo-fallback{width:48px;height:48px}.business-profile-address{grid-column:1/-1}.business-profile-address dd{white-space:pre-line}.brand-color-field>span{align-items:center;gap:.65rem;min-height:36px;display:flex}.brand-color-field input[type=color]{width:52px;min-height:36px;padding:2px}.brand-color-field output{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.business-address-fields{border:0;margin:0;padding:0}.business-address-fields legend{margin-bottom:8px;font-weight:650}.attention-section{max-width:980px}.attention-list{border-top:1px solid var(--line)}.attention-row{border-bottom:1px solid var(--line);min-height:58px;color:var(--ink);grid-template-columns:minmax(190px,.8fr) minmax(240px,1.4fr) auto;align-items:center;gap:18px;padding:10px 4px;display:grid}.attention-row:hover{background:#f7fafc}.attention-row:focus-visible{outline:2px solid var(--tenant-accent,var(--accent));outline-offset:2px;background:#f7fafc}.attention-row>.app-icon{color:var(--tenant-accent,var(--primary));transition:transform .15s}.portal-shell .form-section{border:1px solid var(--portal-line);background:var(--portal-surface);border-radius:8px;padding:16px}.portal-shell .attention-list,.portal-shell .attention-row{border-color:var(--portal-line)}.portal-shell .attention-row>.app-icon{color:var(--portal-blue-dark)}.portal-shell .attention-row:hover{background:#eaf1f8}.portal-shell .section-header .status-badge{background:var(--portal-blue-dark);color:#fff}.attention-row:hover>.app-icon{transform:translate(2px)}.attention-row span:first-child{gap:2px;display:grid}.attention-row small,.attention-reason{color:var(--muted)}.attention-reason{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.planning-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.planning-form{gap:.65rem;margin-bottom:.8rem;display:grid}.planning-form label{gap:.3rem;display:grid}.planning-row{border-top:1px solid var(--border,#dbe5f0);align-items:center;gap:.65rem;padding:.7rem 0;display:flex}.planning-row>span:first-child{flex:16rem;gap:.15rem;min-width:0;display:grid}.planning-row small,.planning-question small{color:var(--muted,#64748b);display:block}.planning-question{border-top:1px solid var(--border,#dbe5f0);padding:.8rem 0}.planning-question .section-header>span:first-child{gap:.15rem;display:grid}@media (max-width:700px){.topbar{grid-template-columns:1fr auto;height:58px}.topbar-context{display:none}.topbar .tenant-brand{justify-self:start}.tenant-logo{width:32px;height:32px}.topbar .tenant-logo{width:auto;min-width:42px;max-width:min(140px,42vw);height:42px}.topbar .tenant-logo-fallback{width:38px;height:38px}.topbar .tenant-brand-logo-only{width:min(140px,42vw);position:absolute;left:50%;transform:translate(-50%)}.business-profile-preview{display:grid}.business-profile-preview .facts{width:100%;min-width:0}.attention-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px 4px}.attention-reason{white-space:normal;grid-column:1/-1}.project-file-row,.project-activity-row{flex-direction:column;align-items:stretch}.project-file-row .button,.project-file-row form,.project-file-row form button{width:100%}.planning-grid{grid-template-columns:1fr}.planning-row{flex-direction:column;align-items:stretch}.planning-row form,.planning-row form button{width:100%}.project-workflow-nav a{min-height:44px}}.portal-project-brand{border:1px solid var(--portal-line,var(--border));border-radius:var(--radius);background:var(--portal-surface,var(--surface));justify-content:flex-start;align-items:center;gap:1rem;margin-bottom:.75rem;padding:.55rem .8rem;display:flex}.portal-project-brand .tenant-logo{width:auto;max-width:min(210px,48vw);height:48px}.portal-project-brand .tenant-brand-logo-only{justify-content:flex-start;width:min(210px,48vw)}.nav-attention-count{background:var(--portal-blue-dark,var(--primary));color:#fff;border-radius:999px;place-items:center;min-width:1.35rem;height:1.35rem;margin-left:.35rem;font-size:.72rem;font-weight:700;display:inline-grid}.portal-shell .project-workflow-nav a.active .nav-attention-count{background:var(--portal-blue-dark);color:#fff}.proposal-source-metadata{border-bottom:1px solid var(--line);gap:3px;margin:12px 0;padding:10px 0;display:grid}.proposal-source-metadata>span,.proposal-signature-row small{color:var(--muted);font-size:12px}.proposal-signature-evidence{border-top:1px solid var(--line);margin-top:16px}.proposal-signature-evidence h3{margin:14px 0 5px}.proposal-signature-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:18px;padding:8px 0;display:flex}.proposal-signature-row>span:first-child{gap:2px;display:grid}@media (max-width:700px){.proposal-signature-row{gap:4px;display:grid}}.quick-status-form{display:inline-block}.quick-status-form select{border-radius:999px;width:auto;min-width:8rem;padding:.28rem 1.8rem .28rem .65rem;font-weight:700}.compact-settings-row{border-top:1px solid var(--border);grid-template-columns:minmax(10rem,1fr) minmax(14rem,2fr) auto;align-items:center;gap:.75rem;padding:.55rem 0;display:grid}.template-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:900px;display:grid}.template-style-card{border:1px solid var(--line);background:var(--surface,white);min-height:112px;color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;gap:8px;padding:18px;display:grid}.template-style-card:hover,.template-style-card:focus-visible{border-color:var(--tenant-accent,var(--primary));background:#f7fafc}.template-style-card>span:first-child{justify-content:space-between;gap:12px;display:flex}.template-style-card small,.template-style-card>span:last-child{color:var(--muted)}.simple-template-form{max-width:900px}.simple-template-form fieldset{border:0;gap:16px;min-width:0;padding:0;display:grid}.template-category-search{max-width:420px}.template-category-picker{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 14px;padding:8px 0;display:grid}.template-category-picker label{align-items:center;gap:8px;min-height:44px;display:flex}.template-category-picker input{width:18px;min-height:18px}.template-category-rows{border-top:1px solid #cdd9e5;max-width:720px}.template-category-row{border-bottom:1px solid #cdd9e5;grid-template-columns:24px 18px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:4px 6px;display:grid}.template-category-row input{width:18px;min-height:18px}.drag-handle{color:var(--muted);cursor:grab;-webkit-user-select:none;user-select:none;font-size:18px}.drag-handle:active{cursor:grabbing}.category-order-actions{gap:2px;display:flex}.category-order-actions button{min-width:38px;min-height:36px}.inline-category-create{max-width:720px}.compact-category-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 18px;padding-left:20px;display:grid}.simple-category-estimate{gap:16px;margin-top:16px;display:grid}.simple-category-summary{position:static}.simple-category-summary>div{align-self:start}.simple-pricing-breakdown{max-width:220px;color:var(--muted)}.simple-pricing-breakdown>summary{color:var(--primary);cursor:pointer;font-size:12px;font-weight:600}.simple-pricing-breakdown>span{margin-top:4px;line-height:1.35;display:block}.simple-category-heading{justify-content:space-between;align-items:end;gap:18px;display:flex}.simple-category-heading h2,.simple-category-heading p{margin-bottom:4px}.simple-category-table{border-top:1px solid var(--line);max-width:760px}.simple-category-row{border-bottom:1px solid #cdd9e5;grid-template-columns:18px minmax(10rem,1fr) auto minmax(8rem,11rem) 68px;align-items:center;gap:8px;min-height:44px;padding:4px 8px;display:grid}.simple-category-columns{min-height:38px;color:var(--muted);font-size:12px}.simple-category-column-name{grid-column:1/4}.simple-category-column-cost{text-align:right;grid-column:4}.currency-input{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.currency-input input{text-align:right;min-width:0}.simple-category-preview-total>strong{text-align:right}.simple-category-row small{color:var(--muted);font-weight:400;display:block}.simple-category-name{min-width:0}.simple-category-row .category-order-actions{display:inline-flex}.simple-row-action{text-align:right;min-width:0}.simple-row-action .plain-button{font-size:11px}.simple-category-preview-total{border-top:2px solid var(--primary);grid-template-columns:minmax(10rem,1fr) minmax(8rem,11rem);gap:16px;padding:10px 8px;display:grid}.simple-category-summary small{color:var(--muted)}@media (max-width:700px){.template-style-grid,.template-category-picker,.compact-category-list{grid-template-columns:1fr}.simple-category-heading{align-items:start;display:grid}.simple-category-row{grid-template-columns:18px minmax(0,1fr) auto;gap:6px;padding:6px 4px}.simple-category-column-name{grid-column:1/4}.simple-category-column-cost,.simple-category-row>.currency-input,.simple-row-action{grid-column:2/4}.simple-category-row input{width:100%}.template-category-row{grid-template-columns:24px 18px minmax(0,1fr) auto}.simple-category-preview-total{grid-template-columns:minmax(0,1fr) minmax(8rem,11rem)}}.simple-category-estimate{gap:12px;max-width:760px}.simple-category-estimate .simple-category-heading{align-items:center}.simple-category-estimate .simple-category-heading h2{margin:0}.simple-category-estimate .simple-category-table{width:100%;overflow-x:auto}.simple-category-estimate .simple-category-row{grid-template-columns:18px minmax(10rem,1fr) 72px 112px 60px;gap:6px;min-width:510px;min-height:40px;padding:2px 6px}.simple-category-estimate .simple-category-row input{min-height:36px;padding:5px 8px}.simple-category-estimate .simple-category-row .currency-input{grid-column:4}.simple-category-estimate .simple-row-action{grid-column:5}.simple-category-estimate .simple-category-column-name{grid-column:1/4}.simple-category-estimate .simple-category-column-cost{grid-column:4}.simple-category-estimate .category-order-actions button{min-width:36px;min-height:36px}.simple-insertion{align-items:center;gap:8px;min-height:12px;display:flex;position:relative}.simple-insert-button{z-index:1;width:36px;height:36px;min-height:36px;color:var(--primary);justify-content:center;align-items:center;margin-block:-12px;display:inline-flex}.simple-insert-button .app-icon{background:#fff;border-radius:50%}.simple-insert-button:hover .app-icon,.simple-insert-button:focus-visible .app-icon{background:#e4effb}.simple-insert-editor{flex-wrap:wrap;flex:1;align-items:center;gap:8px;padding:8px 4px;display:flex}.simple-insert-editor input{width:240px;max-width:100%;min-height:36px}.simple-cost-footer{border-top:2px solid var(--primary);padding:12px 8px}.simple-cost-total{justify-content:space-between;align-items:baseline;gap:16px;font-weight:600;display:flex}.simple-cost-total strong{color:var(--primary);font-variant-numeric:tabular-nums;font-size:20px}.simple-cost-footer .simple-pricing-breakdown{max-width:none;margin-top:8px}.simple-cost-footer dl{grid-template-columns:1fr auto;gap:6px 16px;margin-bottom:6px;display:grid}.simple-cost-footer dd{text-align:right;margin:0}.simple-save{justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;display:flex}@media (max-width:700px){.simple-category-estimate .simple-category-heading{display:grid}.simple-category-estimate .simple-category-row{grid-template-columns:18px minmax(0,1fr) 112px;min-width:0;min-height:48px}.simple-category-estimate .simple-category-row .drag-handle{grid-area:1/1}.simple-category-estimate .simple-category-row .simple-row-label{grid-area:1/2}.simple-category-estimate .simple-category-row .currency-input{grid-area:1/3}.simple-category-estimate .simple-category-row .category-order-actions{grid-area:2/2}.simple-category-estimate .simple-row-action{grid-area:2/3}.simple-category-estimate .simple-row-action:empty{display:none}.simple-category-estimate .simple-category-column-name{grid-column:1/3}.simple-category-estimate .simple-category-column-cost{grid-column:3}.simple-category-estimate .simple-section-heading>input{grid-area:1/2/auto/4;min-width:0}.simple-category-estimate .simple-section-heading>button{grid-area:2/3}.simple-category-estimate .simple-section-heading>span:not(.category-order-actions){display:none}.simple-category-estimate .simple-category-row input,.simple-category-estimate .category-order-actions button{min-height:44px}.simple-category-estimate .category-order-actions button{min-width:44px}.simple-insertion{min-height:20px}.simple-insert-button{width:44px;height:44px;min-height:44px}}.simple-category-estimate .simple-row-label{flex-direction:row;align-items:center;gap:6px;margin:0;display:flex}.simple-category-estimate .simple-row-label input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0}.simple-row-label input:not([type=checkbox]){background:0 0;border-color:#0000;width:100%;min-width:0}.worksheet-template-save label.simple-row-label{flex-direction:row;align-items:center;gap:8px;min-height:36px;display:flex}.catalog-row-dialog{width:min(640px,100vw - 32px)}.catalog-row-dialog fieldset{border:0;min-width:0;padding:0}.worksheet-template-save label.simple-row-label input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0}@media (max-width:600px){.worksheet-template-save label.simple-row-label{min-height:44px}}.simple-row-label input:not([type=checkbox]):hover,.simple-row-label input:not([type=checkbox]):focus{border-color:var(--line);background:#fff}.simple-excluded .simple-row-label,.simple-excluded .currency-input{opacity:.6}.estimate-page-heading{align-items:baseline;margin-bottom:8px}.estimate-page-heading h1{margin:0;font-size:clamp(20px,1.8vw,24px);line-height:1.25}.estimate-page-heading+.text-link{font-size:12px}.estimate-worksheet .worksheet-show-unused{white-space:nowrap;flex-direction:row;align-items:center;gap:6px;margin:0 0 0 6px;font-size:12px;display:inline-flex}.estimate-worksheet .worksheet-show-unused input{width:16px;height:16px;margin:0}.estimate-worksheet .worksheet-tab-compact{display:none}@media (max-width:700px){.estimate-worksheet .worksheet-tab-full{display:none}.estimate-worksheet .worksheet-tab-compact{display:inline}.estimate-worksheet .worksheet-tabs{gap:0}.estimate-worksheet .worksheet-tabs button{flex:1 0 auto;min-width:0;padding-inline:9px;font-size:12px}}.simple-category-estimate{margin-inline:auto}.simple-category-tools{flex-wrap:wrap;align-items:center;gap:18px;font-size:13px;display:flex}.simple-category-estimate .simple-hide-unused{white-space:nowrap;flex-direction:row;align-items:center;gap:6px;margin:0;display:inline-flex}.simple-category-estimate .simple-hide-unused input{width:16px;height:16px;margin:0}@media (min-width:701px){.simple-category-estimate .simple-category-table{overflow:visible}.simple-category-estimate .simple-category-row{grid-template-columns:18px minmax(8rem,1fr) 72px 112px 112px}.simple-category-estimate .simple-insertion{height:8px;min-height:8px}.simple-category-estimate .simple-insert-button{opacity:.55;width:32px;height:36px;margin:0;position:absolute;top:-14px;left:-32px}.simple-category-estimate .simple-insertion:has(.simple-insert-editor){height:auto;min-height:50px;display:flex}.simple-category-estimate .simple-insertion:has(.simple-insert-editor) .simple-insert-button{display:none}.simple-category-estimate .simple-insertion:hover .simple-insert-button,.simple-category-estimate .simple-insert-button:focus-visible{opacity:1}.simple-category-estimate .simple-category-row:not([data-included])+.simple-quantity-details{margin:0;position:relative}.simple-category-estimate .simple-category-row:not([data-included])+.simple-quantity-details>button{min-height:36px;font-size:12px;position:absolute;top:-41px;right:7px}}@media (max-width:700px){.simple-category-estimate .simple-category-tools{gap:8px 16px}}.simple-section-heading{background:#eef4fa;font-weight:600}.simple-section-heading>input{background:0 0;border-color:#0000;font-weight:600}.simple-quantity-details{color:var(--muted);margin:0 0 4px 30px;font-size:12px}.simple-quantity-details>summary{cursor:pointer;padding:3px 0}.simple-quantity-fields{flex-wrap:wrap;gap:10px;padding:8px 0;display:flex}.simple-quantity-fields label{width:100px}.simple-quantity-fields input{width:100%;min-height:36px}.worksheet-presentation-heading{background:#eef4fa;margin:16px 0 6px;padding:8px;font-size:15px}.breakdown-editor{border:1px solid var(--line);color:var(--ink);background:#f8fbff;gap:8px;padding:10px;display:grid}.breakdown-child{grid-template-columns:minmax(120px,1fr) 70px 70px 90px;align-items:end;gap:8px;display:grid}.breakdown-child .breakdown-child-name,.breakdown-source label{flex-direction:row;align-items:center;gap:6px;display:flex}.breakdown-child-name input[type=checkbox],.breakdown-source input{flex:0 0 18px;width:18px}.breakdown-child input{min-width:0;min-height:36px;padding:5px}.breakdown-editor>label{max-width:180px}.breakdown-source{flex-wrap:wrap;gap:16px;display:flex}@media (max-width:700px){.breakdown-child{grid-template-columns:repeat(3,minmax(0,1fr))}.breakdown-child-name{grid-column:1/-1}.breakdown-child input{min-height:44px}}.catalog-save-trigger{min-height:36px}@media (max-width:600px){.catalog-save-trigger{min-height:44px}}.schedule-shell,.schedule-shell.collapsed{display:block}.schedule-shell .workspace{min-height:100vh}.schedule-shell .sidebar,.schedule-shell.collapsed .sidebar{z-index:42;width:min(300px,85vw);height:100vh;padding:20px 16px;transition:transform .18s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-105%);box-shadow:0 15px 35px #15263b22}.schedule-shell .sidebar.mobile-open{transform:translate(0)}.schedule-shell .sidebar nav,.schedule-shell .sidebar-bottom{display:grid}.schedule-shell .sidebar .mobile-menu-button{background:0 0;border:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.schedule-shell .sidebar-header{justify-content:space-between;align-items:center;display:flex}.schedule-shell .sidebar .collapse-button{display:none}.schedule-shell .sidebar .workspace-label{margin:15px 0}.schedule-shell .topbar{display:none}.schedule-shell .main-content{max-width:none;padding:12px 14px 24px}.schedule-open-navigation{z-index:3;color:#34547b;background:#fff;border:1px solid #d7dfe8;border-radius:7px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-weight:700;display:inline-flex;position:absolute;top:10px;left:14px}.schedule-open-navigation span{display:none}.schedule-nav-backdrop{z-index:41;background:#182b43a0;border:0;position:fixed;inset:0}@media (max-width:700px){.schedule-shell .main-content{padding:5px 12px 20px}.schedule-open-navigation{width:44px;height:44px;top:5px;left:12px}}
