@layer legacy,tokens,foundations,components;@layer legacy{:root{font-family:DM Sans,Noto Sans SC,sans-serif;color:#1d2939;background:#f6f7f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app{min-height:100vh;display:flex}aside{width:246px;background:#101828;color:#d0d5dd;position:fixed;inset:0 auto 0 0;padding:26px 18px 18px;display:flex;flex-direction:column}.brand{height:48px;display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;color:#fff;padding:0 8px}.brandmark{width:31px;height:31px;background:#5c6cff;border-radius:9px;display:grid;place-items:center;font-size:17px}.workspace{margin:24px 4px 22px}.workspace>span,.navlabel{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#667085}.workspace button{margin-top:8px;width:100%;background:#1d2939;border:1px solid #344054;border-radius:8px;color:#f2f4f7;padding:10px 11px;display:flex;justify-content:space-between;align-items:center;font-weight:500}nav{display:flex;flex-direction:column;gap:5px}nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:8px;color:#98a2b3;font-size:14px;font-weight:500}nav a svg{width:19px}nav a.active{background:#26328b;color:#fff;box-shadow:inset 3px 0 #7f8aff}.navlabel{margin:25px 12px 7px}.profile{margin-top:auto;border-top:1px solid #253044;padding:18px 5px 0;display:flex;align-items:center;gap:10px}.avatar,.mini-avatar{background:#f3d2b4;color:#694125;border-radius:50%;display:grid;place-items:center;font-weight:600}.avatar{width:36px;height:36px}.profile div:nth-child(2){display:flex;flex-direction:column;flex:1}.profile b{color:#f2f4f7;font-size:13px}.profile span{font-size:11px;color:#667085;margin-top:2px}.profile svg{color:#667085}main{margin-left:246px;width:calc(100% - 246px)}header{height:68px;background:#fff;border-bottom:1px solid #eaecf0;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.crumb{font-size:13px;color:#98a2b3}.crumb span{margin:0 9px;color:#d0d5dd}.header-actions{display:flex;align-items:center;gap:10px}.icon{border:0;background:transparent;width:34px;height:34px;display:grid;place-items:center;color:#667085;position:relative}.icon svg{width:18px}.icon i{position:absolute;width:6px;height:6px;background:#f04438;border-radius:50%;top:7px;right:7px;border:1px solid white}.mini-avatar{width:32px;height:32px;font-size:12px}.content{max-width:1120px;margin:0 auto;padding:38px 36px 60px}.title-row{display:flex;justify-content:space-between;align-items:flex-start}.title-row h1{font-size:27px;letter-spacing:-.4px;margin:0 0 8px}.title-row p,.card-head p{color:#667085;margin:0;font-size:14px}.ghost{background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:9px 13px;display:flex;align-items:center;gap:7px;color:#475467}.steps{display:flex;align-items:center;margin:34px 10px 30px}.step{display:flex;align-items:center;gap:11px;min-width:170px}.step b{width:29px;height:29px;border-radius:50%;background:#eaecf0;color:#98a2b3;display:grid;place-items:center;font-size:12px}.step.on b{background:#5264e8;color:#fff}.step span{font-size:13px;font-weight:600;color:#667085;display:flex;flex-direction:column}.step.on span{color:#344054}.step small{font-size:11px;font-weight:400;color:#98a2b3;margin-top:2px}.steps em{height:1px;background:#d0d5dd;flex:1;margin:0 22px}.card{background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 1px 3px #1018280a;margin-bottom:18px}.upload-card,.mapping-card{padding:25px}.card-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.card-head h2{font-size:18px;margin:4px 0 6px}.eyebrow{font-size:11px;color:#5264e8;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.safe,.ai{color:#039855;background:#ecfdf3;padding:6px 10px;border-radius:20px;font-size:11px;display:flex;align-items:center;gap:5px;font-weight:600}.ai{color:#5d5fef;background:#f0f1ff}.dropzone{border:1.5px dashed #b9c0cc;border-radius:10px;min-height:238px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:.2s;background:#fcfcfd}.dropzone:hover,.dropzone.dragging{border-color:#6878ed;background:#f8f8ff}.upload-icon{width:50px;height:50px;border-radius:12px;background:#edf0ff;color:#5365e8;display:grid;place-items:center;margin-bottom:13px}.upload-icon svg{width:24px}.dropzone h3{font-size:14px;margin:0 0 7px}.dropzone h3 span{color:#5365e8}.dropzone p{font-size:11px;color:#98a2b3;margin:0}.error{margin-top:12px;background:#fff4f2;color:#b42318;border-radius:7px;padding:10px 12px;display:flex;gap:8px;font-size:12px}.error svg{width:16px}.tips{display:flex;align-items:center;justify-content:space-between;background:#f8f9fb;border-radius:9px;padding:13px 15px;margin-top:18px}.tips>div{display:flex;align-items:center;gap:11px}.tips svg{width:19px;color:#667085}.tips span{display:flex;flex-direction:column}.tips b{font-size:12px}.tips small{font-size:11px;color:#98a2b3;margin-top:2px}.tips a{font-size:12px;color:#5365e8;display:flex;align-items:center;gap:5px}.tips a svg{width:14px;color:#5365e8}.filebar{background:#f0fdf4;border:1px solid #abefc6;border-radius:10px;padding:14px 16px;display:flex;align-items:center;margin-bottom:18px}.fileicon{width:38px;height:38px;border-radius:8px;background:#fff;color:#039855;display:grid;place-items:center;margin-right:12px}.filebar>div:nth-child(2){display:flex;flex-direction:column}.filebar b{font-size:13px}.filebar span{font-size:11px;color:#667085;margin-top:3px}.file-ok{margin-left:auto;color:#039855;font-size:12px;display:flex;gap:5px;align-items:center}.file-ok svg{width:15px}.filebar button{border:0;background:transparent;margin-left:15px;color:#667085}.filebar button svg{width:18px}.mapping-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.mapping-grid label>span{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.mapping-grid label i{color:#f04438;font-style:normal;margin-left:2px}.select{height:41px;border:1px solid #d0d5dd;border-radius:7px;position:relative;background:#fff}.select.mapped{border-color:#a7b0f6;box-shadow:0 0 0 2px #f0f1ff}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;width:100%;height:100%;padding:0 34px 0 11px;color:#475467;outline:0;font-size:12px}.select svg{position:absolute;right:10px;top:12px;width:16px;color:#98a2b3;pointer-events:none}.preview-card{overflow:hidden}.preview-card .card-head{padding:21px 24px 14px;margin:0}.count{font-size:11px;background:#f2f4f7;color:#475467;padding:5px 9px;border-radius:20px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:#f8f9fb;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.04em;padding:11px 14px;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;white-space:nowrap}td{padding:12px 14px;border-bottom:1px solid #f0f1f3;white-space:nowrap;max-width:190px;overflow:hidden;text-overflow:ellipsis}td:first-child{color:#98a2b3}.empty{color:#b4bbc5}.footer-actions{padding:16px 22px;display:flex;align-items:center;justify-content:space-between}.footer-actions>div{font-size:11px;color:#667085;display:flex;align-items:center;gap:6px}.footer-actions>div svg{width:14px}.primary{border:0;background:#5264e8;color:#fff;border-radius:8px;padding:11px 17px;font-weight:600;display:flex;align-items:center;gap:8px}.primary svg{width:16px}.primary:disabled{background:#b8c0d9;cursor:not-allowed}.privacy{text-align:center;color:#98a2b3;font-size:10px;margin-top:24px}.privacy svg{width:12px;vertical-align:-2px;margin-right:5px}@media(max-width:900px){aside{width:76px;padding:24px 12px}.brand span,.workspace,nav a:not(.active),.navlabel,.profile div:nth-child(2),.profile svg{display:none}.brand{padding:0;justify-content:center}nav{margin-top:30px}nav a.active{justify-content:center;padding:12px}nav a.active{font-size:0}.profile{justify-content:center}.app main{margin-left:76px;width:calc(100% - 76px)}.mapping-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){header{padding:0 16px}.content{padding:25px 15px}.steps{display:none}.mapping-grid{grid-template-columns:1fr}.card-head{gap:12px}.safe,.ai{display:none}.title-row p{max-width:270px}.tips a{display:none}}}@layer legacy{nav a{cursor:pointer}.import-result{margin:16px 22px 0;background:#ecfdf3;border:1px solid #abefc6;border-radius:9px;padding:13px 15px;display:flex;align-items:center;gap:11px;color:#067647}.import-result>svg{width:21px}.import-result>div{display:flex;flex-direction:column;flex:1}.import-result b{font-size:13px}.import-result span{font-size:11px;margin-top:2px}.import-result button{border:0;background:transparent;color:#067647;font-weight:600;font-size:12px;display:flex;gap:5px;align-items:center}.import-result button svg{width:14px}.inline-error{margin:14px 22px 0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0 18px}.stat{background:#fff;border:1px solid #e4e7ec;border-radius:11px;padding:18px 19px;display:flex;flex-direction:column}.stat span{font-size:12px;color:#667085}.stat b{font-size:27px;margin:8px 0 4px;letter-spacing:-.5px}.stat small{font-size:11px;color:#98a2b3}.stat.success b{color:#039855}.customer-card{overflow:hidden}.customer-tools{padding:16px 18px;display:flex;align-items:center;gap:10px}.searchbox{display:flex;align-items:center;border:1px solid #d0d5dd;border-radius:8px;flex:1;height:40px;overflow:hidden}.searchbox svg{width:16px;color:#98a2b3;margin-left:11px}.searchbox input{border:0;outline:0;padding:0 9px;width:100%;font-size:12px}.searchbox button,.assign-box button{height:100%;border:0;background:#f2f4f7;color:#475467;padding:0 14px;font-weight:600;font-size:11px}.filter-select{height:40px;border:1px solid #d0d5dd;border-radius:8px;display:flex;align-items:center;position:relative}.filter-select>svg:first-child{width:15px;color:#667085;margin-left:10px}.filter-select>svg:last-child{position:absolute;right:8px;width:14px;pointer-events:none;color:#98a2b3}.filter-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;outline:0;padding:0 29px 0 7px;font-size:11px;color:#475467;height:100%}.assign-box{height:40px;border:1px solid #a7b0f6;background:#f8f8ff;border-radius:8px;display:flex;align-items:center;overflow:hidden}.assign-box>svg{width:16px;color:#5365e8;margin-left:10px}.assign-box select{border:0;background:transparent;outline:0;padding:0 10px;font-size:11px;color:#475467;max-width:130px}.assign-box button{background:#5365e8;color:#fff}.notice{background:#ecfdf3;color:#067647;margin:0 18px 14px;border-radius:7px;padding:9px 11px;display:flex;align-items:center;gap:7px;font-size:11px}.notice>svg{width:15px}.notice button{margin-left:auto;border:0;background:transparent;color:#067647}.notice button svg{width:14px}.customer-table th:first-child,.customer-table td:first-child{width:40px}.customer-table th:nth-child(8),.customer-table td:nth-child(8){min-width:150px}.customer-table th:nth-child(4),.customer-table td:nth-child(4){min-width:105px}.customer-table input[type=checkbox]{accent-color:#df1f2d}.customer-name{display:flex;align-items:center;gap:9px}.customer-name>span{width:30px;height:30px;border-radius:50%;background:#eef0ff;color:#5264e8;display:grid;place-items:center;font-weight:700}.customer-name>div,.contact{display:flex;flex-direction:column}.customer-name b,.contact b{font-size:11px;font-weight:600;color:#344054}.customer-name small,.contact small{font-size:11px;color:#98a2b3;margin-top:3px}.status-tag{padding:5px 8px;border-radius:20px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:600}.status-待分配{background:#fff6ed;color:#c4320a}.status-新客资{background:#eef4ff;color:#3538cd}.status-已成交{background:#ecfdf3;color:#027a48}.status-无效{background:#fef3f2;color:#b42318}.lead-status-progress{width:126px;display:flex;flex-direction:column;gap:7px}.lead-status-title{display:flex;align-items:center;min-width:0}.lead-status-title>span{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#df1f2d;box-shadow:0 0 0 3px #ffeaec;margin-right:7px}.lead-status-title b{font-size:11px;color:#2f343b}.lead-status-title small{font-size:10px;color:#989ea7;margin-left:auto}.lead-status-track{height:5px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.lead-status-track i{display:block;border-radius:5px;background:#e7e9ec;transition:.2s}.lead-status-track i.reached{background:#ef8b93}.lead-status-track i.current{background:#c91927;transform:scaleY(1.3)}.lead-status-progress[aria-label*=已成交] .lead-status-title>span{background:#238762;box-shadow:0 0 0 3px #e1f3ec}.lead-status-progress[aria-label*=已成交] .lead-status-track i{background:#4fa583}.lead-status-progress.unassigned-stage .lead-status-title>span{background:#e89527;box-shadow:0 0 0 3px #fff1dd}.lead-status-progress.unassigned-stage .lead-status-title b{color:#a85b08}.lead-status-progress.unassigned-stage .lead-status-track i{background:#d7d9dc}.unassigned{color:#c4320a;font-size:10px}.empty-state{text-align:center;padding:62px 20px;color:#98a2b3}.empty-state svg{width:38px;height:38px;color:#cbd1da}.empty-state h3{font-size:14px;color:#475467;margin:10px 0 4px}.empty-state p{font-size:11px}.welcome-card{margin-top:30px;background:linear-gradient(120deg,#111b36,#253170);border-radius:15px;color:#fff;padding:34px 40px;display:flex;justify-content:space-between;overflow:hidden}.welcome-card span{font-size:11px;color:#aeb6eb;text-transform:uppercase;letter-spacing:.08em}.welcome-card h2{font-size:23px;max-width:530px;margin:10px 0}.welcome-card p{color:#c7cbea;font-size:13px}.welcome-card .primary{margin-top:19px}.welcome-art{width:190px;height:150px;border-radius:50%;background:#7e8dff29;display:grid;place-items:center;transform:translate(20px,8px)}.welcome-art svg{width:76px;height:76px;color:#8f9bff}.team-card{margin-top:28px;padding:25px}.team-card h2{font-size:18px;margin:0 0 6px}.team-card>p{font-size:12px;color:#667085}.team-list{margin-top:20px;border-top:1px solid #eaecf0}.team-list>div{display:flex;align-items:center;padding:14px 4px;border-bottom:1px solid #eaecf0}.team-list>div>span{width:35px;height:35px;border-radius:50%;background:#eef0ff;color:#5264e8;display:grid;place-items:center;font-weight:700;margin-right:11px}.team-list>div>div{display:flex;flex-direction:column}.team-list b{font-size:12px}.team-list small{font-size:11px;color:#98a2b3;margin-top:3px}.team-list em{margin-left:auto;font-style:normal;color:#039855;background:#ecfdf3;border-radius:20px;padding:4px 8px;font-size:11px}@media(max-width:1050px){.customer-tools{flex-wrap:wrap}.searchbox{min-width:100%}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.stat-grid{grid-template-columns:1fr 1fr}.assign-box{width:100%}.assign-box select{flex:1}.welcome-art{display:none}}.lead-status-progress.invalid-stage .lead-status-title>span{background:#8d939b;box-shadow:0 0 0 3px #eceef0}.lead-status-progress.invalid-stage .lead-status-title b{color:#717780}.lead-status-progress.invalid-stage .lead-status-track i{background:#d7d9dc}}@layer legacy{.view-button{border:1px solid #d0d5dd;background:#fff;color:#475467;border-radius:7px;padding:6px 9px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;cursor:pointer}.view-button:hover{border-color:#a7b0f6;color:#5264e8;background:#f8f8ff}.view-button svg{width:13px;height:13px}.drawer-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;background:#1018286b;display:flex;justify-content:flex-end;animation:fade-in .18s ease}.lead-drawer{position:relative;inset:auto;width:min(560px,92vw);height:100vh;background:#f8f9fb;color:#1d2939;padding:0;overflow-y:auto;box-shadow:-18px 0 50px #1018282e;animation:drawer-in .24s ease}.drawer-head{background:#fff;padding:25px 27px 20px;border-bottom:1px solid #eaecf0;display:flex;justify-content:space-between}.drawer-head h2{font-size:22px;margin:6px 0 4px}.drawer-head p{font-size:11px;color:#98a2b3;margin:0}.drawer-head button{width:34px;height:34px;border:1px solid #e4e7ec;background:#fff;border-radius:8px;color:#667085;display:grid;place-items:center;cursor:pointer}.drawer-head button svg{width:17px}.drawer-status{background:#fff;padding:14px 27px 18px;display:flex;align-items:center;gap:10px}.drawer-status small{font-size:11px;color:#667085}.detail-section{background:#fff;border:1px solid #eaecf0;border-radius:10px;margin:15px 18px;padding:18px}.detail-section h3{font-size:13px;margin:0 0 15px;color:#344054;display:flex;align-items:center;gap:7px}.detail-section h3 span{background:#eef0ff;color:#5264e8;font-size:9px;border-radius:20px;padding:3px 7px}.requirement-section{border-color:#d7dcff;background:#fbfbff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 22px}.detail-item{display:flex;flex-direction:column;min-width:0}.detail-item span{color:#98a2b3;font-size:10px;margin-bottom:5px;overflow-wrap:anywhere}.detail-item b{color:#344054;font-size:12px;font-weight:600;white-space:normal;overflow-wrap:anywhere}.custom-fields{display:grid;grid-template-columns:1fr;gap:0}.custom-fields .detail-item{padding:11px 0;border-top:1px solid #f0f1f3}.custom-fields .detail-item:first-child{border-top:0;padding-top:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-in{0%{transform:translate(40px);opacity:.7}to{transform:translate(0);opacity:1}}@media(max-width:600px){.lead-drawer{width:100vw}.detail-grid{grid-template-columns:1fr}.drawer-head{padding:22px}.detail-section{margin:12px}}}@layer legacy{.followup-card{background:#fff;margin:15px 18px;border:1px solid #cfd5ff;border-radius:11px;padding:18px;box-shadow:0 3px 12px #5264e812}.followup-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.followup-title h3{font-size:15px;margin:4px 0 0}.followup-title>small{font-size:11px;color:#98a2b3;margin-top:5px}.followup-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.followup-card label{display:flex;flex-direction:column}.followup-card label>span{font-size:11px;color:#667085;font-weight:600;margin-bottom:6px}.followup-card label>span i{font-style:normal;color:#f04438}.followup-card select,.followup-card input,.followup-card textarea{border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font-family:inherit;font-size:11px;outline:none}.followup-card select,.followup-card input{height:37px;padding:0 9px}.followup-card select:focus,.followup-card input:focus,.followup-card textarea:focus{border-color:#7f8cf1;box-shadow:0 0 0 2px #eef0ff}.followup-content{margin-top:12px}.followup-card textarea{padding:10px;resize:vertical;min-height:72px}.followup-bottom{display:flex;align-items:flex-end;gap:12px;margin-top:12px}.followup-bottom label{flex:1}.followup-bottom .primary{height:37px;padding:0 16px;font-size:11px}.form-message{margin-top:10px;padding:8px 10px;background:#fff4f2;color:#b42318;border-radius:6px;font-size:11px}.form-message.ok{background:#ecfdf3;color:#067647}.timeline-section{margin-bottom:30px}.timeline{position:relative}.timeline-item{position:relative;padding:0 0 20px 22px;border-left:1px solid #d9dfea;margin-left:5px}.timeline-item:last-child{border-left-color:transparent;padding-bottom:0}.timeline-item>i{position:absolute;left:-5px;top:2px;width:9px;height:9px;border-radius:50%;background:#6677eb;border:2px solid #e7eaff}.timeline-meta{display:flex;align-items:center;justify-content:space-between}.timeline-meta b{font-size:11px;color:#344054}.timeline-meta span{font-size:11px;color:#98a2b3}.timeline-item p{font-size:11px;line-height:1.6;color:#475467;margin:7px 0;white-space:normal}.timeline-item small{display:inline-block;font-size:9px;color:#5264e8;background:#eef0ff;padding:4px 7px;border-radius:5px}.no-followups{text-align:center;background:#f8f9fb;border-radius:7px;padding:18px;color:#98a2b3;font-size:10px}@media(max-width:600px){.followup-card{margin:12px}.followup-row{grid-template-columns:1fr}.followup-bottom{align-items:stretch;flex-direction:column}.followup-bottom .primary{justify-content:center}.timeline-meta{align-items:flex-start;flex-direction:column;gap:3px}}}@layer legacy{.profile svg{cursor:pointer}.duplicate-review{margin:16px 22px;border:1px solid #fedf89;border-radius:9px;overflow:hidden}.duplicate-head{background:#fffaeb;padding:12px 14px;display:flex;align-items:center;justify-content:space-between}.duplicate-head>div{display:flex;flex-direction:column}.duplicate-head b{font-size:12px;color:#93370d}.duplicate-head span{font-size:9px;color:#b54708;margin-top:3px}.duplicate-head em{font-style:normal;background:#fff;color:#b54708;padding:4px 7px;border-radius:20px;font-size:9px}.duplicate-row{display:grid;grid-template-columns:1fr 20px 1fr auto;align-items:center;gap:10px;padding:11px 14px;border-top:1px solid #f2f4f7}.duplicate-row>div:not(.duplicate-actions){display:flex;flex-direction:column}.duplicate-row span{font-size:11px;font-weight:600}.duplicate-row small{font-size:9px;color:#98a2b3;margin-top:2px}.duplicate-row>svg{width:14px;color:#f79009}.duplicate-actions{display:flex;gap:6px}.duplicate-actions button{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:6px 8px;font-size:9px}.duplicate-actions button:last-child{background:#5264e8;color:#fff;border-color:#5264e8}.merged{color:#039855;font-size:10px;display:flex;align-items:center;gap:4px}.merged svg{width:13px}.bulk-email{height:40px;border:1px solid #a7b0f6;background:#eef0ff;color:#4355cf;border-radius:8px;padding:0 12px;font-size:10px;font-weight:700}.profile-editor{background:#fff;margin:15px 18px;border:1px solid #eaecf0;border-radius:10px;padding:18px}.profile-editor-head{display:flex;align-items:flex-start;justify-content:space-between}.profile-editor-head h3{font-size:14px;margin:4px 0 13px}.profile-editor-head button{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:6px 8px;color:#475467;font-size:9px}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.profile-editor label{display:flex;flex-direction:column}.profile-editor label>span{font-size:9px;color:#667085;margin-bottom:5px}.profile-editor input,.profile-editor textarea,.user-form input,.user-form select{border:1px solid #d0d5dd;border-radius:7px;font:inherit;font-size:11px;padding:9px;outline:0}.profile-editor input:focus,.profile-editor textarea:focus{border-color:#7f8cf1}.notes-field{margin-top:11px}.tag-editor{margin:10px 0}.tag-editor>div,.profile-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.tag-editor>div>span,.profile-tags>span{display:flex;align-items:center;gap:3px;background:#eef0ff;color:#4355cf;border-radius:20px;padding:4px 8px;font-size:9px}.tag-editor button{border:0;background:transparent;color:#4355cf;padding:0;display:grid;place-items:center}.tag-editor button svg{width:10px}.tag-editor>input{width:100%}.profile-save{margin-left:auto;font-size:10px;padding:9px 12px}.profile-notes{background:#f8f9fb;color:#667085;border-radius:7px;padding:10px;font-size:10px;line-height:1.55;margin:0;white-space:pre-wrap}.profile-tags small{color:#98a2b3;font-size:9px}.email-history>div{display:flex;align-items:center;border-top:1px solid #f0f1f3;padding:9px 0}.email-history>div:first-child{border-top:0}.email-history>div>div{display:flex;flex-direction:column}.email-history b{font-size:10px}.email-history small{font-size:9px;color:#98a2b3;margin-top:3px}.email-history em{margin-left:auto;font-style:normal;background:#fff6ed;color:#c4320a;border-radius:20px;padding:4px 7px;font-size:9px}.email-history em.sent{background:#ecfdf3;color:#027a48}.modal-backdrop{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;background:#1018287a;display:grid;place-items:center;padding:20px}.email-modal{background:#fff;border-radius:13px;width:min(600px,95vw);max-height:92vh;overflow:auto;box-shadow:0 24px 70px #10182840}.modal-head{display:flex;justify-content:space-between;padding:23px 25px 17px;border-bottom:1px solid #eaecf0}.modal-head h2{font-size:19px;margin:5px 0 0}.modal-head>button{width:32px;height:32px;border:1px solid #e4e7ec;background:#fff;border-radius:7px}.modal-head>button svg{width:15px}.smtp-warning{margin:16px 24px 0;background:#fffaeb;border:1px solid #fedf89;color:#b54708;border-radius:8px;padding:10px 11px;display:flex;gap:8px}.smtp-warning svg{width:17px}.smtp-warning>div{display:flex;flex-direction:column}.smtp-warning b{font-size:10px}.smtp-warning span{font-size:9px;margin-top:2px}.email-form{padding:18px 24px}.email-form label{display:flex;flex-direction:column;margin-bottom:12px}.email-form label>span{font-size:10px;color:#475467;font-weight:600;margin-bottom:6px}.email-form input,.email-form select,.email-form textarea{border:1px solid #d0d5dd;border-radius:7px;padding:10px;font:inherit;font-size:11px;outline:0}.email-form textarea{line-height:1.6}.email-form label>small{font-size:9px;color:#98a2b3;margin-top:5px}.send-result{margin:0 24px 14px;background:#ecfdf3;color:#067647;border-radius:7px;padding:9px 11px;font-size:10px}.send-result.error-result{background:#fff4f2;color:#b42318}.modal-actions{border-top:1px solid #eaecf0;padding:14px 24px;display:flex;justify-content:flex-end;gap:8px}.modal-actions>button{border:1px solid #d0d5dd;background:#fff;border-radius:7px;padding:9px 13px;font-size:10px}.modal-actions .primary{background:#5264e8;border-color:#5264e8}.modal-actions .primary svg{width:14px}.dashboard-stats{margin-top:28px}.stat.warning b{color:#f79009}.reminder-card{overflow:hidden}.reminder-card .card-head{padding:21px 23px 14px;margin:0}.reminder-list>div{display:grid;grid-template-columns:38px 1fr 150px 90px 110px;align-items:center;gap:11px;padding:12px 20px;border-top:1px solid #eaecf0}.reminder-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#eef0ff;color:#5264e8}.reminder-icon svg{width:16px}.reminder-icon.overdue{background:#fef3f2;color:#d92d20}.reminder-icon.today{background:#fff6ed;color:#f79009}.reminder-customer,.reminder-time{display:flex;flex-direction:column}.reminder-customer b,.reminder-time b{font-size:11px}.reminder-customer span,.reminder-time span{font-size:9px;color:#98a2b3;margin-top:3px}.reminder-time b{color:#475467}.reminder-owner{font-size:10px;color:#667085}.reminder-list button{border:0;background:transparent;color:#5264e8;font-size:9px;font-weight:600;display:flex;align-items:center;gap:4px}.reminder-list button svg{width:12px}.user-form{margin-top:25px;padding:22px}.user-form h2{font-size:16px;margin:0 0 15px}.user-form>div{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.user-form label{display:flex;flex-direction:column}.user-form label span{font-size:9px;color:#667085;margin-bottom:5px}.user-form>.primary{margin-top:14px;font-size:10px}.team-notice{margin:17px 0}.team-list>div>em.disabled{background:#f2f4f7;color:#667085}.toggle-user{margin-left:12px;border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:5px 8px;font-size:9px;color:#475467}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-visual{background:linear-gradient(145deg,#101828,#1d2d69);color:#fff;padding:42px 8vw;display:flex;flex-direction:column;justify-content:space-between}.login-brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:700}.login-visual>div:nth-child(2){max-width:520px}.login-visual>div:nth-child(2)>span{color:#9ba8ff;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.login-visual h1{font-size:42px;line-height:1.2;margin:16px 0;letter-spacing:-1.3px}.login-visual p{font-size:14px;color:#c8ceeb}.login-visual>small{color:#7681ae}.login-card{align-self:center;width:min(390px,80%);margin:30px auto}.login-card h2{font-size:26px;margin:7px 0}.login-card>p{font-size:12px;color:#98a2b3;margin-bottom:26px}.login-card label{display:flex;flex-direction:column;margin-bottom:15px}.login-card label>span{font-size:11px;color:#475467;font-weight:600;margin-bottom:7px}.login-card input{height:43px;border:1px solid #d0d5dd;border-radius:8px;padding:0 12px;outline:0;font:inherit;font-size:12px}.login-card input:focus{border-color:#6677eb;box-shadow:0 0 0 3px #eef0ff}.login-card>.primary{height:44px;width:100%;justify-content:center;margin-top:5px}.login-error{background:#fff4f2;color:#b42318;padding:9px 10px;border-radius:7px;font-size:10px;display:flex;gap:6px;margin-bottom:10px}.login-error svg{width:14px}.demo-accounts{margin-top:24px;background:#f8f9fb;border-radius:8px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:9px;color:#667085}.demo-accounts b{grid-column:1/-1;color:#344054}.app-loading{min-height:100vh;display:grid;place-items:center;color:#667085;font-size:13px}@media(max-width:850px){.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-card{width:min(420px,88%)}.user-form>div{grid-template-columns:1fr 1fr}.reminder-list>div{grid-template-columns:38px 1fr 120px}.reminder-owner,.reminder-list button{display:none}}@media(max-width:600px){.duplicate-row{grid-template-columns:1fr 15px 1fr}.duplicate-actions,.merged{grid-column:1/-1;justify-content:flex-end}.profile-fields{grid-template-columns:1fr}.user-form>div{grid-template-columns:1fr}.reminder-list>div{grid-template-columns:36px 1fr}.reminder-time{display:none}}.bulk-status-box{height:40px;display:flex;align-items:center;border:1px solid #f4b4ba;background:#fff8f8;border-radius:8px;overflow:hidden}.bulk-status-box select{height:100%;border:0;background:transparent;padding:0 10px;outline:0;color:#475467;font-size:10px;max-width:135px}.bulk-status-box button{height:100%;border:0;border-left:1px solid #f4b4ba;background:#df1f2d;color:#fff;padding:0 11px;font-size:10px;font-weight:700;white-space:nowrap}.reset-user{margin-left:12px;border:1px solid #f1b3b8;background:#fff8f8;color:#c91927;border-radius:6px;padding:5px 8px;font-size:9px}.team-list>.reset-password-row{margin:0;padding:11px 12px;background:#fff8f8;border:1px solid #f5c7cb;border-top:0;border-radius:0 0 8px 8px;gap:10px}.reset-password-row>svg{width:18px;color:#c91927;flex:0 0 18px}.reset-password-row>div{margin-right:auto}.reset-password-row>div b{font-size:10px}.reset-password-row>div small{display:block;font-size:9px;color:#98a2b3;margin-top:2px}.reset-password-row input{height:34px;width:210px;border:1px solid #d0d5dd;border-radius:6px;padding:0 9px;font-size:10px;outline:0}.reset-password-row>button{height:34px;border:0;border-radius:6px;background:#df1f2d;color:#fff;padding:0 11px;font-size:9px;font-weight:700}.reset-password-row>.cancel-reset{background:#fff;color:#475467;border:1px solid #d0d5dd}.account-grid{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(430px,1.28fr);gap:18px;margin-top:28px;align-items:start}.account-summary{padding:25px;display:flex;align-items:center;position:relative}.account-avatar{width:54px;height:54px;border-radius:15px;background:#fff0f1;color:#c91927;display:grid;place-items:center;font-size:21px;font-weight:800;margin-right:14px}.account-summary span{font-size:9px;color:#98a2b3}.account-summary h2{font-size:18px;margin:4px 0}.account-summary p{font-size:10px;color:#667085;margin:0}.account-summary>svg{position:absolute;right:22px;top:22px;width:21px;color:#039855}.password-card{padding:25px}.password-card-head{display:flex;gap:12px;margin-bottom:19px}.password-card-head>svg{width:33px;height:33px;padding:8px;border-radius:9px;background:#fff0f1;color:#c91927}.password-card-head h2{font-size:17px;margin:0 0 4px}.password-card-head p{font-size:10px;color:#98a2b3;margin:0}.password-card label{display:flex;flex-direction:column;margin:12px 0}.password-card label>span{font-size:10px;color:#475467;font-weight:600;margin-bottom:6px}.password-card input{height:40px;border:1px solid #d0d5dd;border-radius:7px;padding:0 11px;font-size:11px;outline:0}.password-card input:focus{border-color:#df1f2d;box-shadow:0 0 0 3px #fff0f1}.password-card>.primary{margin-top:6px}.password-message{padding:9px 10px;border-radius:7px;background:#fff4f2;color:#b42318;font-size:10px;margin:10px 0}.password-message.success{background:#ecfdf3;color:#067647}.login-help{margin-top:22px;background:#f8f9fb;border:1px solid #eaecf0;border-radius:8px;padding:11px;display:flex;gap:9px}.login-help>svg{width:18px;color:#039855;flex:0 0 18px}.login-help>div{display:flex;flex-direction:column}.login-help b{font-size:10px;color:#344054}.login-help span{font-size:9px;color:#667085;margin-top:2px;line-height:1.5}@media(max-width:1050px){.bulk-status-box{order:3}.account-grid{grid-template-columns:1fr}.reset-password-row{flex-wrap:wrap}.reset-password-row input{margin-left:28px;flex:1}}@media(max-width:650px){.bulk-status-box{width:100%}.bulk-status-box select{flex:1;max-width:none}.reset-password-row input{margin-left:0;min-width:100%}.account-grid{grid-template-columns:1fr}}}@layer legacy{.report-date{background:#ecfdf3;color:#067647;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:600}.report-metrics{margin-top:28px}.reports-page .stat:nth-child(3) b{color:#5264e8}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:17px}.chart-card,.performance-card,.import-history,.activity-card{overflow:hidden}.report-card-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px 14px;border-bottom:1px solid #eaecf0}.report-card-head h2{font-size:15px;margin:0 0 4px}.report-card-head p{font-size:10px;color:#98a2b3;margin:0}.report-card-head>svg{width:18px;color:#6677eb}.bar-chart{padding:18px 22px 22px}.bar-chart>div{display:grid;grid-template-columns:58px 1fr 28px;align-items:center;gap:10px;margin:12px 0}.bar-chart span{font-size:10px;color:#475467}.bar-chart>div>div,.source-chart>div>div{height:8px;background:#f0f1f4;border-radius:10px;overflow:hidden}.bar-chart i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#5365e8,#8995f4)}.bar-chart b,.source-chart b{font-size:10px;text-align:right}.source-chart{padding:14px 22px 21px}.source-chart>div{display:grid;grid-template-columns:22px 110px 1fr 25px;align-items:center;gap:8px;margin:11px 0}.source-chart em{width:20px;height:20px;border-radius:6px;background:#eef0ff;color:#5264e8;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:700}.source-chart span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-chart i{display:block;height:100%;border-radius:10px;background:#56b8a5}.report-empty{padding:34px!important;text-align:center;color:#98a2b3;font-size:10px;display:block!important}.performance-card{margin-bottom:17px}.performance-card .report-card-head{border-bottom:0}.performance-card table td{padding-top:10px;padding-bottom:10px}.sales-cell{display:flex;align-items:center;gap:8px}.sales-cell span{width:27px;height:27px;border-radius:50%;background:#eef0ff;color:#5264e8;display:grid;place-items:center;font-size:10px;font-weight:700}.sales-cell b{font-size:10px}.won-number{color:#039855}.lower-grid{align-items:start}.import-history-row{display:grid;grid-template-columns:34px 1fr repeat(3,42px) auto;align-items:center;gap:9px;padding:11px 17px;border-top:1px solid #f0f1f3}.import-history-row>svg{width:18px;color:#039855}.import-history-row>div{display:flex;flex-direction:column;min-width:0}.import-history-row b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.import-history-row span{font-size:8px;color:#98a2b3;margin-top:2px}.import-history-row dl{margin:0;text-align:center}.import-history-row dt{font-size:10px;font-weight:700}.import-history-row dd{font-size:8px;color:#98a2b3;margin:2px 0 0}.import-history-row.is-rolled-back{background:#f8fafc}.import-history-row.is-rolled-back>svg{color:#98a2b3}.import-rollback-button{border:1px solid #f0a0a7;background:#fff7f7;color:#c8172b;border-radius:7px;padding:6px 8px;font-size:9px;white-space:nowrap;cursor:pointer}.import-rollback-button:hover:not(:disabled){background:#fff0f1;border-color:#e54856}.import-rollback-button:disabled{border-color:#e4e7ec;background:#f8fafc;color:#98a2b3;cursor:not-allowed}.import-rollback-message{margin:12px 17px 0;padding:9px 11px;border-radius:8px;font-size:10px}.import-rollback-message.success{background:#ecfdf3;color:#067647}.import-rollback-message.error{background:#fff1f3;color:#c8172b}.activity-row{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;padding:11px 17px;border-top:1px solid #f0f1f3}.activity-row>i{width:7px;height:7px;border-radius:50%;background:#6677eb}.activity-row>div{display:flex;flex-direction:column;min-width:0}.activity-row b{font-size:9px}.activity-row span{font-size:8px;color:#98a2b3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-row time{font-size:8px;color:#98a2b3}.ghost{cursor:pointer}.ghost:hover{border-color:#a7b0f6;color:#5264e8}.followup-overview{overflow:hidden;margin-top:18px;margin-bottom:17px}.followup-overview-head{display:flex;align-items:center;justify-content:space-between;padding:23px 24px 19px;border-bottom:1px solid #eceef0}.followup-overview-head h2{font-size:18px;line-height:1.2;margin:5px 0 6px;color:#17191f}.followup-overview-head p{font-size:11px;color:#7a818c;margin:0}.overview-live{display:flex;align-items:center;gap:7px;color:#4f5662;background:#f7f7f6;border:1px solid #e7e8ea;border-radius:20px;padding:7px 10px;font-size:9px;font-weight:700}.overview-live i{width:7px;height:7px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px #d9f4e8}.followup-summary{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #eceef0;background:#fafafa}.followup-summary>div{display:flex;align-items:center;gap:12px;min-height:102px;padding:18px 20px;border-right:1px solid #eceef0}.followup-summary>div:last-child{border-right:0}.followup-summary>div.attention{background:#fff8f8}.summary-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center}.summary-icon svg{width:18px}.coverage-icon{background:#eaf7f1;color:#18845d}.untouched-icon{background:#fff4e5;color:#bd6b0d}.overdue-icon{background:#ffeaec;color:#c81e2c}.today-icon{background:#eef1f4;color:#48515d}.followup-summary section{display:flex;flex-direction:column;min-width:0}.followup-summary small{font-size:9px;color:#777e88;font-weight:700}.followup-summary b{font-size:24px;line-height:1.05;margin:5px 0 4px;color:#1e2229}.followup-summary em{font-size:8px;color:#969ca5;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.followup-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);gap:0;background:#f7f7f6}.member-progress-panel{padding:22px;border-right:1px solid #e6e7e9}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.panel-title h3{font-size:13px;margin:0 0 4px;color:#282c33}.panel-title p{font-size:9px;color:#949aa3;margin:0}.panel-title>span{font-size:9px;color:#656c76;background:#fff;border:1px solid #e4e5e7;border-radius:20px;padding:5px 8px}.member-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sales-progress-card{background:#fff;border:1px solid #e3e5e8;border-radius:13px;padding:16px;box-shadow:0 2px 8px #161a2106}.sales-progress-head,.sales-identity,.sales-progress-main{display:flex;align-items:center}.sales-progress-head{justify-content:space-between;gap:8px}.sales-identity{gap:9px;min-width:0}.sales-identity>span{width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#ffeaec;color:#bd1724;display:grid;place-items:center;font-size:11px;font-weight:800}.sales-identity>div{display:flex;flex-direction:column;min-width:0}.sales-identity b{font-size:11px;color:#282c33}.sales-identity small{font-size:8px;color:#9aa0a9;margin-top:2px}.health-badge{display:flex;align-items:center;gap:5px;border-radius:20px;padding:5px 7px;font-size:8px;font-style:normal;font-weight:700;white-space:nowrap}.health-badge i{width:5px;height:5px;border-radius:50%}.health-badge.danger{background:#ffeaec;color:#b61623}.health-badge.danger i{background:#df1f2d}.health-badge.warning{background:#fff4e5;color:#a85b08}.health-badge.warning i{background:#e89527}.health-badge.good{background:#eaf7f1;color:#157853}.health-badge.good i{background:#1e9d70}.health-badge.neutral{background:#f0f1f2;color:#777e88}.health-badge.neutral i{background:#9ba1a9}.sales-progress-main{gap:14px;margin:17px 0}.coverage-ring{--coverage:0deg;width:74px;height:74px;flex:0 0 74px;padding:7px;border-radius:50%;background:conic-gradient(#df1f2d var(--coverage),#eceef0 0);display:grid;place-items:center}.coverage-ring>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.coverage-ring b{font-size:16px;color:#23272e}.coverage-ring small{font-size:7px;color:#989ea7;margin-top:1px}.sales-progress-main dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;flex:1}.sales-progress-main dl>div{border-left:1px solid #eceef0;padding-left:9px}.sales-progress-main dt{font-size:14px;font-weight:800;color:#30343b}.sales-progress-main dd{font-size:7px;color:#969ca5;margin:3px 0 0;white-space:nowrap}.pipeline-block{border-top:1px solid #f0f1f2;padding-top:12px}.pipeline-label{display:flex;justify-content:space-between;align-items:center}.pipeline-label span{font-size:8px;font-weight:700;color:#686f79}.pipeline-label small{font-size:8px;color:#8f969f}.pipeline-strip{display:flex;gap:2px;height:7px;margin:8px 0 9px;border-radius:8px;overflow:hidden;background:#f0f1f2}.pipeline-strip>i{min-width:4px}.pipeline-strip>i.empty{background:#e6e8ea;flex:1}.pipeline-strip .new,.pipeline-legend .new{background:#e98089}.pipeline-strip .waiting,.pipeline-legend .waiting{background:#e7a044}.pipeline-strip .contacted,.pipeline-legend .contacted{background:#77818d}.pipeline-strip .intent,.pipeline-legend .intent{background:#d34e5a}.pipeline-strip .quoted,.pipeline-legend .quoted{background:#8e2630}.pipeline-strip .won,.pipeline-legend .won{background:#238762}.pipeline-strip .lost,.pipeline-legend .lost{background:#a8adb4}.pipeline-legend{display:flex;flex-wrap:wrap;gap:5px 9px;min-height:12px;color:#848b94;font-size:7px}.pipeline-legend span{display:flex;align-items:center;gap:4px}.pipeline-legend i{width:5px;height:5px;border-radius:2px}.sales-progress-card footer{display:flex;justify-content:space-between;align-items:center;margin:13px -16px -16px;padding:10px 16px;background:#fafafa;border-top:1px solid #eceef0;border-radius:0 0 13px 13px}.sales-progress-card footer span{font-size:8px;color:#969ca5}.sales-progress-card footer b{font-size:8px;color:#626974;font-weight:600}.followup-insights{padding:22px;background:#fff}.weekly-followups{padding-bottom:21px;border-bottom:1px solid #eceef0}.panel-title.compact{margin-bottom:12px}.panel-title.compact>b{font-size:12px;color:#df1f2d}.weekly-bars{height:146px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:7px}.weekly-bars>div{height:100%;display:grid;grid-template-rows:18px 1fr 18px;align-items:end;text-align:center}.weekly-bars span,.weekly-bars small{font-size:7px;color:#989ea7}.weekly-bars>div>i{height:100%;background:#f2f2f1;border-radius:5px;overflow:hidden;display:flex;align-items:flex-end}.weekly-bars>div>i>b{display:block;width:100%;min-height:5px;border-radius:5px;background:linear-gradient(180deg,#ed5964,#d51b29)}.recent-followups{padding-top:20px}.followup-feed>div{display:grid;grid-template-columns:27px 1fr;gap:9px;padding:10px 0;border-top:1px solid #f1f2f3}.followup-feed>div:first-child{border-top:0;padding-top:2px}.followup-feed>div>span{width:27px;height:27px;border-radius:9px;background:#ffeaec;color:#bd1724;display:grid;place-items:center;font-size:9px;font-weight:800}.followup-feed section{min-width:0}.followup-feed b{display:block;font-size:8px;color:#444a53}.followup-feed p{font-size:8px;line-height:1.45;color:#777e88;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.followup-feed p strong{color:#343941}.followup-feed small{display:block;font-size:7px;color:#a0a5ad}.followup-feed-empty{height:128px;border:1px dashed #e0e2e5;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a0a5ad}.followup-feed-empty svg{width:20px;margin-bottom:6px}.followup-feed-empty b{font-size:9px;color:#6b727c}.followup-feed-empty span{font-size:7px;margin-top:3px}@media(max-width:1100px){.followup-dashboard-grid{grid-template-columns:1fr}.member-progress-panel{border-right:0;border-bottom:1px solid #e6e7e9}.followup-insights{display:grid;grid-template-columns:1fr 1fr;gap:22px}.weekly-followups{padding:0 22px 0 0;border-bottom:0;border-right:1px solid #eceef0}.recent-followups{padding-top:0}}@media(max-width:900px){.report-grid{grid-template-columns:1fr}.source-chart>div{grid-template-columns:22px 90px 1fr 25px}.followup-summary{grid-template-columns:repeat(2,1fr)}.followup-summary>div:nth-child(2){border-right:0}.followup-summary>div:nth-child(-n+2){border-bottom:1px solid #eceef0}}@media(max-width:700px){.member-card-grid,.followup-insights{grid-template-columns:1fr}.weekly-followups{padding:0 0 20px;border-right:0;border-bottom:1px solid #eceef0}.recent-followups{padding-top:20px}}@media(max-width:600px){.activity-row{grid-template-columns:10px 1fr}.activity-row time{display:none}.import-history-row{grid-template-columns:28px 1fr repeat(2,38px) auto}.import-history-row dl:last-child{display:none}.import-rollback-button{padding:5px 6px;font-size:8px}.followup-overview-head{align-items:flex-start}.overview-live{display:none}.followup-summary>div{min-height:88px;padding:14px 12px;gap:9px}.summary-icon{width:32px;height:32px;flex-basis:32px}.followup-summary b{font-size:20px}.followup-summary em{display:none}.member-progress-panel,.followup-insights{padding:16px}.sales-progress-card{padding:14px}.sales-progress-card footer{margin:13px -14px -14px;padding:10px 14px}}}@layer legacy{.title-actions{display:flex;align-items:center;gap:9px}.title-actions .primary{font-size:10px;cursor:pointer}.manual-modal{background:#fff;border-radius:13px;width:min(680px,95vw);max-height:94vh;overflow:auto;box-shadow:0 24px 70px #10182840}.manual-modal .modal-head p{font-size:10px;color:#98a2b3;margin:5px 0 0}.manual-form{padding:4px 24px 10px}.manual-section{padding:17px 0;border-bottom:1px solid #eaecf0}.manual-section:last-of-type{border-bottom:0}.manual-section h3{font-size:12px;margin:0 0 12px;color:#344054}.manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manual-section label{display:flex;flex-direction:column;margin-bottom:10px}.manual-section label>span{font-size:9px;color:#667085;font-weight:600;margin-bottom:5px}.manual-section label>span i{color:#f04438;font-style:normal}.manual-section input,.manual-section select,.manual-section textarea{border:1px solid #d0d5dd;border-radius:7px;padding:9px 10px;font:inherit;font-size:11px;color:#344054;outline:0}.manual-section select{height:37px;background:#fff}.manual-section textarea{resize:vertical}.manual-section input:focus,.manual-section select:focus,.manual-section textarea:focus{border-color:#6677eb;box-shadow:0 0 0 2px #eef0ff}.contact-hint{display:block;color:#98a2b3;font-size:9px;margin-top:-2px}.manual-error{margin:12px 0;background:#fff4f2;color:#b42318;border-radius:7px;padding:9px 10px;display:flex;align-items:center;gap:6px;font-size:10px}.manual-error svg{width:14px}.manual-modal .modal-actions{position:sticky;bottom:0;background:#fff}.manual-modal .modal-actions .primary{cursor:pointer}.manual-modal .modal-actions .primary svg{width:13px}@media(max-width:600px){.title-row{gap:14px}.title-actions{align-items:stretch;flex-direction:column}.manual-grid{grid-template-columns:1fr}.manual-form{padding:4px 17px}.manual-section{padding:14px 0}}}@layer legacy{.lead-drawer{display:grid;width:min(1440px,calc(100vw - 32px));padding:0 18px 28px;grid-template-columns:minmax(270px,.8fr) minmax(320px,1fr) minmax(350px,1.05fr);grid-template-areas:"head head head" "status status status" "project project project" "profile contact followup" "needs source timeline" "extra email timeline";grid-auto-rows:max-content;align-items:start;gap:14px;overflow-y:auto}.lead-drawer>.drawer-head{grid-area:head;margin:0 -18px}.lead-drawer>.drawer-status{grid-area:status;margin:-14px -18px 0}.lead-drawer>.profile-editor{grid-area:profile}.lead-drawer>.project-card{grid-area:project}.lead-drawer>.followup-card{grid-area:followup}.lead-drawer>.contact-section{grid-area:contact}.lead-drawer>.requirement-section{grid-area:needs}.lead-drawer>.source-section{grid-area:source}.lead-drawer>.extra-section{grid-area:extra}.lead-drawer>.timeline-section{grid-area:timeline}.lead-drawer>.email-section{grid-area:email}.lead-drawer>.profile-editor,.lead-drawer>.project-card,.lead-drawer>.followup-card,.lead-drawer>.detail-section{width:auto;margin:0;align-self:start}.lead-drawer>.project-card{width:100%}.project-card{background:#fff;margin:15px 18px;border:1px solid #eadcdf;border-radius:12px;box-shadow:0 4px 18px #321c1f09;overflow:hidden}.project-card-head{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 19px 15px;border-bottom:1px solid #f0e9ea;background:linear-gradient(135deg,#fff,snow)}.project-card-head h3{font-size:14px;margin:4px 0;color:#2c3037}.project-card-head p{font-size:11px;color:#959ba4;margin:0}.project-completeness{font-size:10px;font-weight:700;color:#a41621;background:#ffebed;border:1px solid #ffd2d6;border-radius:20px;padding:6px 8px;white-space:nowrap}.project-matrix-wrap{overflow-x:auto}.project-matrix{min-width:1120px}.project-matrix-head,.project-matrix-body{display:grid;grid-template-columns:1.05fr .9fr 1.15fr 1fr 1.35fr}.project-matrix-head{min-height:54px;background:#f5f5f4;border-bottom:1px solid #dfe1e4}.project-matrix-head>span{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 14px;border-right:1px solid #dfe1e4;color:#3e444d;font-size:10px;font-weight:800;text-align:center}.project-matrix-head>span:last-child{border-right:0}.project-matrix-head svg{width:15px;color:#d51d2a}.project-matrix-body{align-items:stretch}.project-matrix-cell{min-width:0;min-height:270px;padding:15px;border-right:1px solid #e3e5e7;background:#fff;display:flex;flex-direction:column;gap:10px}.project-matrix-cell:last-child{border-right:0}.project-matrix-cell label{display:flex;flex-direction:column;gap:5px}.project-matrix-cell label>span,.project-matrix-cell>small{font-size:10px;color:#858c96}.project-matrix-cell input,.project-matrix-cell textarea,.project-matrix-cell select{width:100%;border:1px solid #d7dae0;border-radius:7px;background:#fff;color:#353b44;font:inherit;font-size:10px;outline:0}.project-matrix-cell input,.project-matrix-cell select{height:38px;padding:0 9px}.project-matrix-cell textarea{padding:9px;resize:vertical;line-height:1.5}.project-matrix-cell input:focus,.project-matrix-cell textarea:focus,.project-matrix-cell select:focus{border-color:#e66771;box-shadow:0 0 0 3px #ffebed}.matrix-cell-tools{display:flex;align-items:center;justify-content:space-between}.matrix-cell-tools small{font-size:10px;color:#8e949d}.matrix-cell-tools button{height:30px;border:1px solid #efb4b9;background:#fff8f8;color:#b71825;border-radius:7px;display:flex;align-items:center;gap:5px;padding:0 9px;font-size:10px;font-weight:700;cursor:pointer}.matrix-cell-tools button svg{width:12px}.photo-matrix-cell .door-photo-grid{grid-template-columns:1fr;margin-top:0;max-height:230px;overflow-y:auto}.photo-matrix-cell .door-photo>div{height:130px}.photo-matrix-cell .door-photo-empty{flex:1;min-height:190px;margin:0}.matrix-size-row{display:grid;grid-template-columns:1fr 13px 1fr;align-items:end;gap:7px}.matrix-size-row>b{height:38px;display:grid;place-items:center;color:#969ca5;font-size:11px}.size-matrix-cell>select{margin-top:2px}.size-matrix-cell>small{margin-top:auto}.address-matrix-cell textarea{min-height:94px}.style-matrix-cell textarea{min-height:166px}.style-matrix-cell>small{margin-top:auto}.matrix-quote-row{display:grid;grid-template-columns:75px 1fr;gap:7px}.quote-matrix-cell>textarea{min-height:166px}.quote-matrix-cell>small{margin-top:auto}.project-matrix-wrap::-webkit-scrollbar{height:8px}.project-matrix-wrap::-webkit-scrollbar-thumb{background:#c9cdd2;border-radius:10px}.project-matrix-wrap::-webkit-scrollbar-track{background:#f2f3f4}.project-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px 19px 6px}.project-form-grid .wide{grid-column:1/-1}.project-form-grid>label,.measurement-group,.quote-group{display:flex;flex-direction:column}.project-form-grid>label>span,.measurement-group>span,.quote-group>span{display:flex;align-items:center;gap:5px;font-size:11px;color:#59616d;font-weight:700;margin-bottom:6px}.project-form-grid svg{width:13px;height:13px;color:#df1f2d}.project-form-grid input,.project-form-grid textarea,.project-form-grid select{border:1px solid #d8dbe0;border-radius:8px;background:#fff;color:#343a43;font:inherit;font-size:11px;outline:0}.project-form-grid input,.project-form-grid select{height:38px;padding:0 10px}.project-form-grid textarea{padding:10px;resize:vertical;line-height:1.5}.project-form-grid input:focus,.project-form-grid textarea:focus,.project-form-grid select:focus{border-color:#e66771;box-shadow:0 0 0 3px #ffebed}.measurement-group>div,.quote-group>div{display:flex;align-items:flex-end;gap:8px}.measurement-group label{display:flex;flex:1;flex-direction:column}.measurement-group label small{font-size:10px;color:#969ca5;margin-bottom:4px}.measurement-group b{height:38px;display:grid;place-items:center;color:#9ba1aa;font-size:12px}.measurement-group select{width:102px}.quote-group select{width:86px;border-radius:8px 0 0 8px}.quote-group input{flex:1;border-radius:0 8px 8px 0;margin-left:-9px;padding-left:14px}.door-photo-section{margin:7px 19px 0;padding-top:15px;border-top:1px solid #f0f1f2}.door-photo-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.door-photo-head>div{display:flex;flex-direction:column}.door-photo-head>div>span{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#4e5560}.door-photo-head>div>span svg{width:14px;color:#df1f2d}.door-photo-head small{font-size:10px;color:#9aa0a9;margin-top:3px}.door-photo-head>button{height:34px;display:flex;align-items:center;gap:6px;border:1px solid #efb4b9;background:#fff8f8;color:#b71825;border-radius:8px;padding:0 10px;font-size:9px;font-weight:700;cursor:pointer}.door-photo-head>button svg{width:13px}.door-photo-head>button:disabled{opacity:.55;cursor:not-allowed}.door-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.door-photo{position:relative;margin:0;border:1px solid #e4e6e9;border-radius:9px;overflow:hidden;background:#fafafa}.door-photo>div{height:102px;background:#eff0f1;display:grid;place-items:center;overflow:hidden}.door-photo img{width:100%;height:100%;object-fit:cover}.door-photo>div>span svg{width:23px;color:#a2a7af}.door-photo figcaption{display:flex;flex-direction:column;padding:7px 8px}.door-photo figcaption span{font-size:10px;color:#454b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.door-photo figcaption small{font-size:9px;color:#9aa0a8;margin-top:2px}.door-photo>button{position:absolute;top:6px;right:6px;width:25px;height:25px;border:1px solid rgba(255,255,255,.75);border-radius:7px;background:#16191fad;color:#fff;display:grid;place-items:center;cursor:pointer;opacity:0;transition:.15s}.door-photo:hover>button{opacity:1}.door-photo>button svg{width:12px}.door-photo-empty{width:100%;min-height:104px;margin-top:12px;border:1px dashed #e4a8ad;border-radius:10px;background:snow;color:#8e959f;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.door-photo-empty:hover{background:#fff5f6;border-color:#df7079}.door-photo-empty svg{width:22px;color:#d33a46;margin-bottom:6px}.door-photo-empty b{font-size:9px;color:#5b626c}.door-photo-empty span{font-size:8px;margin-top:3px}.project-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px;margin-top:15px;border-top:1px solid #eceef0;background:#fafafa}.project-actions>div{font-size:11px}.project-actions .ok{color:#167755}.project-actions .error-text{color:#b42318}.project-actions .primary{min-height:36px;padding:9px 13px;font-size:11px}@media(max-width:1150px){.lead-drawer{width:min(1100px,calc(100vw - 16px));grid-template-columns:minmax(280px,.8fr) minmax(380px,1.2fr);grid-template-areas:"head head" "status status" "project project" "profile followup" "contact timeline" "needs timeline" "source email" "extra email"}}@media(max-width:780px){.lead-drawer{width:100vw;padding:0 12px 22px;grid-template-columns:1fr;grid-template-areas:"head" "status" "project" "profile" "followup" "contact" "needs" "source" "extra" "email" "timeline";gap:12px}.lead-drawer>.drawer-head{margin:0 -12px}.lead-drawer>.drawer-status{margin:-12px -12px 0}.project-matrix{min-width:1020px}.project-actions{padding-left:15px;padding-right:15px}}.style-matrix-cell>label input{height:38px}.style-photo-section{display:flex;flex-direction:column;gap:7px;padding-top:8px;border-top:1px solid #eceef0}.style-photo-grid{grid-template-columns:1fr;margin-top:0;max-height:none;overflow:visible}.style-photo-grid .door-photo>div{height:auto;min-height:120px}.style-photo-empty{min-height:165px;border:1px dashed #e4a8ad;border-radius:8px;background:snow;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8e959f;cursor:pointer}.style-photo-empty:hover{border-color:#d51d2a;background:#fff4f5;color:#b71825}.style-photo-empty svg{width:20px;height:20px;color:#d33a46}.style-photo-empty span{font-size:8px}.photo-matrix-cell .door-photo-grid{max-height:none;overflow:visible}.photo-matrix-cell .door-photo>div{height:auto;min-height:120px}.photo-matrix-cell .door-photo-empty{min-height:220px}.photo-matrix-cell .door-photo img,.style-photo-grid .door-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#f7f7f6}.door-photo-image{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.photo-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5000;display:grid;place-items:center;padding:32px;background:#0f1114e0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.photo-lightbox-panel{position:relative;display:flex;max-width:min(1120px,94vw);max-height:94vh;flex-direction:column;align-items:center}.photo-lightbox-panel>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 48px);object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 20px 70px #00000073}.photo-lightbox-panel>p{margin:9px 44px 0;color:#fff;font-size:11px;text-align:center;overflow-wrap:anywhere}.photo-lightbox-close{position:absolute;z-index:1;top:10px;right:10px;width:36px;height:36px;border:1px solid rgba(255,255,255,.65);border-radius:9px;background:#0c0e11b8;color:#fff;display:grid;place-items:center;cursor:pointer}.photo-lightbox-close svg{width:18px;height:18px}.customers-page,.customer-detail-slot,.lead-detail-inline{min-width:0;max-width:100%}.customer-detail-slot{width:100%;scroll-margin:16px 0}.customer-detail-slot.is-open{margin-top:8px;animation:detail-expand .22s ease-out}.lead-detail-inline{width:100%}.lead-detail-inline .lead-drawer{position:relative;width:100%;min-width:0;max-width:100%;height:auto;max-height:none;overflow:visible;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"head head" "status status" "project project" "followup followup" "timeline timeline" "email email" "extra extra";border:1px solid #e2e4e8;border-radius:14px;background:#f5f5f4;box-shadow:0 12px 34px #22262d14;animation:none}.lead-detail-inline .project-card{min-width:0;max-width:100%}.lead-detail-inline .project-matrix-wrap{width:100%;max-width:100%;overflow-x:auto}.lead-detail-inline .drawer-head{padding:17px 22px 14px;border-radius:14px 14px 0 0}.lead-detail-inline .drawer-head h2{font-size:18px;margin:4px 0 2px}.lead-detail-inline .drawer-status{padding:10px 22px 13px}.customer-table tr.active-detail-row{background:#fff6f7}.customer-table tr.active-detail-row td:first-child{box-shadow:inset 3px 0 #df1f2d}.customer-table tbody tr{cursor:pointer}.customer-table tr.active-detail-row .customer-name b{color:#b71825}@keyframes detail-expand{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1150px){.lead-detail-inline .lead-drawer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"head head" "status status" "project project" "followup followup" "timeline timeline" "email email" "extra extra"}}@media(max-width:780px){.lead-detail-inline .lead-drawer{grid-template-columns:1fr;grid-template-areas:"head" "status" "project" "followup" "timeline" "email" "extra"}}.timeline-section{padding:0;overflow:hidden}.timeline-section>h3{margin:0;padding:17px 18px 14px;border-bottom:1px solid #eceef0}.followup-table-wrap{width:100%;overflow-x:auto}.followup-history-table{width:100%;min-width:700px;border-collapse:collapse;table-layout:fixed}.followup-history-table th{height:37px;padding:9px 12px;border-top:0;background:#fafafa;color:#7a818c;font-size:10px;letter-spacing:.02em;text-transform:none}.followup-history-table td{height:auto;min-height:48px;padding:12px;border-bottom:1px solid #eff0f2;color:#4b525c;font-size:11px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;vertical-align:top;max-width:none}.followup-history-table tbody tr:last-child td{border-bottom:0}.followup-history-table th:nth-child(1),.followup-history-table td:nth-child(1){width:72px}.followup-history-table th:nth-child(2),.followup-history-table td:nth-child(2){width:132px}.followup-history-table th:nth-child(3),.followup-history-table td:nth-child(3){width:82px}.followup-history-table th:nth-child(5),.followup-history-table td:nth-child(5){width:142px}.followup-history-table th:nth-child(6),.followup-history-table td:nth-child(6){width:78px}.followup-history-table td:nth-child(2),.followup-history-table td:nth-child(6){color:#818893;font-size:10px}.followup-history-table td:first-child>b{display:inline-block;padding:4px 7px;border-radius:6px;background:#fff1f2;color:#b71825;font-size:10px;white-space:nowrap}.followup-history-table td>em{display:inline-flex;align-items:center;min-height:24px;padding:4px 7px;border-radius:6px;background:#f0f1f2;color:#4c535d;font-size:10px;font-style:normal;font-weight:700}.followup-history-table td>span{display:inline-block;padding:4px 7px;border-radius:6px;background:#ffeaec;color:#b71825;font-size:10px;white-space:nowrap}.timeline-section .no-followups{margin:18px}.followup-column-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.followup-column-table th{height:48px;padding:12px 16px;border-top:0;border-right:1px solid #dfe2e6;background:#f7f7f6;color:#292e35;font-size:10px;font-weight:800;letter-spacing:0;text-align:center;text-transform:none}.followup-column-table th:last-child{border-right:0}.followup-column-table td{height:220px;padding:16px 18px;border-right:1px solid #e1e3e6;border-bottom:0;color:#424851;white-space:normal;overflow:visible;text-overflow:clip;vertical-align:top;max-width:none}.followup-column-table td:last-child{border-right:0}.followup-record{display:flex;flex-direction:column;gap:13px;margin:0}.followup-record>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start}.followup-record dt{color:#969ca5;font-size:10px;line-height:1.5}.followup-record dd{margin:0;color:#454b54;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.followup-record dd>em{display:inline-block;padding:4px 7px;border-radius:6px;background:#f0f1f2;color:#4c535d;font-size:10px;font-style:normal;font-weight:700}.followup-record dd>span{display:inline-block;padding:4px 7px;border-radius:6px;background:#ffeaec;color:#b71825;font-size:10px;white-space:nowrap}.followup-record .record-content dd{min-height:42px;color:#2f343b}.lead-detail-inline .lead-drawer{padding:0 12px 18px;gap:10px}.lead-detail-inline .lead-drawer>.drawer-head{margin:0 -12px;padding:12px 18px 10px}.lead-detail-inline .drawer-head h2{font-size:16px;margin:3px 0 1px}.lead-detail-inline .lead-drawer>.drawer-status{margin:-10px -12px 0;padding:7px 18px 9px}.lead-detail-inline .project-card-head{padding:13px 16px 11px}.lead-detail-inline .project-card-head h3{font-size:13px;margin:3px 0}.lead-detail-inline .project-matrix-head{min-height:44px}.lead-detail-inline .project-matrix-head>span{padding:9px 11px}.lead-detail-inline .project-matrix-cell{min-height:240px;padding:11px;gap:7px}.lead-detail-inline .photo-matrix-cell .door-photo>div,.lead-detail-inline .style-photo-grid .door-photo>div{height:210px;min-height:0}.lead-detail-inline .photo-matrix-cell .door-photo img,.lead-detail-inline .style-photo-grid .door-photo img{width:100%;height:100%;max-height:100%;object-fit:contain}.lead-detail-inline .photo-matrix-cell .door-photo-empty{min-height:180px}.lead-detail-inline .style-photo-empty{min-height:150px}.lead-detail-inline .project-actions{margin-top:8px;padding:10px 15px}.lead-detail-inline .followup-card{padding:14px}.lead-detail-inline .followup-title{margin-bottom:10px}.lead-detail-inline .followup-title h3{font-size:14px}.lead-detail-inline .followup-content{margin-top:9px}.lead-detail-inline .followup-card textarea{min-height:56px;padding:8px}.lead-detail-inline .followup-bottom{margin-top:9px}.lead-detail-inline .form-message{margin-top:7px;padding:6px 9px}.lead-detail-inline .timeline-section>h3{padding:13px 16px 11px}.lead-detail-inline .followup-column-table th{height:40px;padding:9px 13px}.lead-detail-inline .followup-column-table td{height:150px;padding:11px 14px}.lead-detail-inline .followup-record{gap:8px}.lead-detail-inline .followup-record>div{grid-template-columns:60px minmax(0,1fr);gap:8px}.lead-detail-inline .followup-record .record-content dd{min-height:26px}.lead-detail-inline .lead-drawer{padding:0 8px 12px;gap:7px}.lead-detail-inline .lead-drawer>.drawer-head{margin:0 -8px;padding:8px 15px 7px}.lead-detail-inline .drawer-head h2{font-size:15px;line-height:1.15}.lead-detail-inline .drawer-head p{font-size:8px}.lead-detail-inline .lead-drawer>.drawer-status{margin:-7px -8px 0;padding:5px 15px 6px}.lead-detail-inline .project-card-head{padding:9px 13px 8px}.lead-detail-inline .project-card-head p{font-size:8px}.lead-detail-inline .project-matrix-head{min-height:36px}.lead-detail-inline .project-matrix-head>span{padding:7px 9px;font-size:9px}.lead-detail-inline .project-matrix-cell{min-height:190px;padding:8px;gap:5px}.lead-detail-inline .photo-matrix-cell .door-photo>div,.lead-detail-inline .style-photo-grid .door-photo>div{height:150px}.lead-detail-inline .door-photo-image{height:100%}.lead-detail-inline .photo-matrix-cell .door-photo-empty{min-height:145px}.lead-detail-inline .style-photo-empty{min-height:110px}.lead-detail-inline .door-photo figcaption{padding:5px 6px}.lead-detail-inline .door-photo figcaption span{font-size:7px}.lead-detail-inline .door-photo figcaption small{font-size:6px}.lead-detail-inline .address-matrix-cell textarea{min-height:64px}.lead-detail-inline .quote-matrix-cell>textarea{min-height:105px}.lead-detail-inline .project-actions{margin-top:5px;padding:7px 12px}.lead-detail-inline .project-actions .primary{min-height:32px;padding:7px 10px}.lead-detail-inline .followup-card{padding:10px 12px}.lead-detail-inline .followup-title{margin-bottom:7px}.lead-detail-inline .followup-title h3{font-size:13px;margin-top:2px}.followup-compact-grid{display:grid;grid-template-columns:130px 130px minmax(210px,1fr) 185px 84px;gap:8px;align-items:end}.followup-compact-grid>label{min-width:0}.lead-detail-inline .followup-compact-grid label>span{margin-bottom:4px;font-size:8px}.lead-detail-inline .followup-compact-grid select,.lead-detail-inline .followup-compact-grid input{height:32px}.lead-detail-inline .followup-compact-grid .followup-content{margin:0}.lead-detail-inline .followup-compact-grid textarea{height:32px;min-height:32px;padding:7px;resize:vertical}.followup-compact-grid .followup-save{height:32px;min-height:32px;padding:0 10px;justify-content:center;font-size:9px}.lead-detail-inline .timeline-section>h3{padding:9px 13px 8px}.lead-detail-inline .followup-column-table th{height:32px;padding:7px 10px;font-size:9px}.lead-detail-inline .followup-column-table td{height:112px;padding:8px 10px}.lead-detail-inline .followup-record{gap:5px}.lead-detail-inline .followup-record>div{grid-template-columns:52px minmax(0,1fr);gap:6px}.lead-detail-inline .followup-record dt{font-size:7px}.lead-detail-inline .followup-record dd{font-size:8px;line-height:1.4}.lead-detail-inline .followup-record .record-content dd{min-height:18px}@media(max-width:1050px){.followup-compact-grid{grid-template-columns:1fr 1fr}.followup-compact-grid .followup-content{grid-column:1/-1}.followup-compact-grid .next-followup-field{grid-column:1/2}.followup-compact-grid .followup-save{grid-column:2/3}}@media(max-width:650px){.followup-compact-grid{grid-template-columns:1fr}.followup-compact-grid .followup-content,.followup-compact-grid .next-followup-field,.followup-compact-grid .followup-save{grid-column:1}}.lead-detail-inline .project-card{border-radius:10px}.lead-detail-inline .project-card-head{align-items:center;padding:4px 8px}.lead-detail-inline .project-card-head>div:first-child{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0}.lead-detail-inline .project-card-head>div:first-child .eyebrow,.lead-detail-inline .project-card-head>div:first-child h3{white-space:nowrap}.lead-detail-inline .project-card-head>div:first-child h3{margin:0}.lead-detail-inline .project-card-head>div:first-child p{margin:0;font-size:7px;white-space:nowrap}.project-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.project-head-actions>.ok{color:#167755;font-size:8px;white-space:nowrap}.project-head-actions>.error-text{color:#b42318;font-size:8px;white-space:nowrap}.project-head-save{min-height:25px!important;height:25px;padding:0 8px!important;font-size:8px!important;white-space:nowrap}.lead-detail-inline .project-completeness{padding:3px 6px;font-size:7px}.lead-detail-inline .project-matrix{width:100%;min-width:860px}.lead-detail-inline .project-matrix-head,.lead-detail-inline .project-matrix-body{grid-template-columns:1fr .85fr 1.1fr 1fr 1.25fr}.lead-detail-inline .project-matrix-head{min-height:28px}.lead-detail-inline .project-matrix-head>span{padding:4px 5px;font-size:8px}.lead-detail-inline .project-matrix-head svg{width:12px}.lead-detail-inline .project-matrix-cell{min-height:128px;padding:5px;gap:3px}.lead-detail-inline .project-matrix-cell label{gap:2px}.lead-detail-inline .project-matrix-cell label>span,.lead-detail-inline .project-matrix-cell>small{font-size:7px}.lead-detail-inline .project-matrix-cell input,.lead-detail-inline .project-matrix-cell select{height:26px;padding:0 6px;font-size:8px}.lead-detail-inline .project-matrix-cell textarea{padding:5px 6px;font-size:8px;line-height:1.35}.lead-detail-inline .matrix-cell-tools button{height:23px;padding:0 6px;font-size:7px}.lead-detail-inline .matrix-cell-tools small{font-size:7px}.lead-detail-inline .photo-matrix-cell .door-photo-grid,.lead-detail-inline .style-photo-grid{max-height:112px;overflow-y:auto}.lead-detail-inline .photo-matrix-cell .door-photo>div,.lead-detail-inline .style-photo-grid .door-photo>div{height:74px}.lead-detail-inline .photo-matrix-cell .door-photo>div>.door-photo-image,.lead-detail-inline .style-photo-grid .door-photo>div>.door-photo-image{display:block;width:100%;height:100%;min-height:0;padding:0;border:0;overflow:hidden;background:#f7f7f6}.lead-detail-inline .photo-matrix-cell .door-photo>div>.door-photo-image img,.lead-detail-inline .style-photo-grid .door-photo>div>.door-photo-image img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}.lead-detail-inline .photo-matrix-cell .door-photo-empty{min-height:74px}.lead-detail-inline .style-photo-empty{min-height:58px}.lead-detail-inline .door-photo figcaption{padding:3px 4px}.lead-detail-inline .matrix-size-row{grid-template-columns:1fr 10px 1fr;gap:4px}.lead-detail-inline .matrix-size-row>b{height:26px;font-size:8px}.lead-detail-inline .address-matrix-cell textarea{min-height:42px}.lead-detail-inline .style-photo-section{gap:3px;padding-top:2px}.lead-detail-inline .matrix-quote-row{grid-template-columns:50px 1fr;gap:3px}.lead-detail-inline .quote-matrix-cell>textarea{min-height:54px}@media(max-width:900px){.lead-detail-inline .project-card-head{align-items:flex-start;gap:5px}.lead-detail-inline .project-card-head>div:first-child{flex-wrap:wrap}.lead-detail-inline .project-card-head>div:first-child p{flex-basis:100%}}.lead-detail-inline .lead-drawer{grid-template-areas:"head head" "project project" "followup followup" "timeline timeline" "email email" "extra extra";padding:0 6px 8px;gap:5px;background:#f7f7f6}.lead-detail-inline .lead-drawer>.drawer-head{min-height:42px;margin:0 -6px;padding:5px 11px;align-items:center}.drawer-customer-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-width:0}.drawer-customer-identity{display:flex;align-items:center;gap:7px;min-width:0}.lead-detail-inline .drawer-customer-identity .eyebrow{margin:0;white-space:nowrap}.lead-detail-inline .drawer-customer-identity h2{margin:0;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer-customer-identity>small{padding-left:7px;border-left:1px solid #e2e4e7;color:#949aa3;font-size:8px;white-space:nowrap}.drawer-customer-state{display:flex;align-items:center;gap:8px;white-space:nowrap}.drawer-customer-state>small{color:#6f7680;font-size:8px}.lead-detail-inline .drawer-head>button{width:28px;height:28px;margin-left:8px;flex:0 0 auto}.lead-detail-inline .project-card-head{min-height:28px;padding:3px 7px}.lead-detail-inline .project-card-head>div:first-child{gap:5px}.lead-detail-inline .project-card-head>div:first-child h3{font-size:11px}.lead-detail-inline .project-matrix-head{min-height:26px}.lead-detail-inline .project-matrix-head>span{padding:3px 5px;font-size:8px}.lead-detail-inline .project-matrix-cell{min-height:0;padding:4px 5px;gap:3px}.lead-detail-inline .project-matrix-cell input,.lead-detail-inline .project-matrix-cell select{height:25px}.lead-detail-inline .matrix-size-row>b{height:25px}.lead-detail-inline .size-matrix-cell>small,.lead-detail-inline .style-matrix-cell>small,.lead-detail-inline .quote-matrix-cell>small{margin-top:1px}.lead-detail-inline .address-matrix-cell textarea{height:46px;min-height:46px}.lead-detail-inline .quote-matrix-cell>textarea{height:50px;min-height:50px;resize:vertical}.lead-detail-inline .matrix-cell-tools button{height:22px}.lead-detail-inline .photo-matrix-cell .door-photo-grid{max-height:88px;overflow-y:auto}.lead-detail-inline .style-photo-grid{max-height:70px;overflow-y:auto}.lead-detail-inline .photo-matrix-cell .door-photo>div{height:84px}.lead-detail-inline .style-photo-grid .door-photo>div{height:66px}.lead-detail-inline .project-matrix-cell .door-photo figcaption{display:none}.lead-detail-inline .photo-matrix-cell .door-photo-empty{min-height:64px;margin-top:0}.lead-detail-inline .style-photo-empty{min-height:44px}.lead-detail-inline .door-photo-empty svg,.lead-detail-inline .style-photo-empty svg{width:16px;height:16px;margin-bottom:2px}.lead-detail-inline .door-photo-empty b{font-size:8px}.lead-detail-inline .door-photo-empty span,.lead-detail-inline .style-photo-empty span{font-size:7px}.lead-detail-inline .followup-card{padding:7px 9px}.lead-detail-inline .followup-title{align-items:center;margin-bottom:5px}.lead-detail-inline .followup-title>div{display:flex;align-items:center;gap:6px}.lead-detail-inline .followup-title h3{margin:0;font-size:11px}.lead-detail-inline .followup-title>small{margin:0;font-size:8px}.lead-detail-inline .followup-compact-grid{grid-template-columns:125px 125px minmax(210px,1fr) 180px 80px;gap:6px}.lead-detail-inline .followup-compact-grid select,.lead-detail-inline .followup-compact-grid input{height:29px}.lead-detail-inline .followup-compact-grid textarea{height:29px;min-height:29px;padding:6px}.lead-detail-inline .followup-compact-grid .followup-save{height:29px;min-height:29px;padding:0 8px}.lead-detail-inline .form-message{margin-top:4px;padding:5px 8px}.lead-detail-inline .timeline-section.is-empty{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;min-height:42px}.lead-detail-inline .timeline-section.is-empty>h3{height:100%;padding:0 12px;margin:0;border:0;border-right:1px solid #eceef0;display:flex;align-items:center}.lead-detail-inline .timeline-section.is-empty .no-followups{margin:4px 7px;padding:7px 10px;text-align:left}@media(max-width:1050px){.lead-detail-inline .followup-compact-grid{grid-template-columns:1fr 1fr}.lead-detail-inline .followup-compact-grid .followup-content{grid-column:1/-1}.lead-detail-inline .followup-compact-grid .next-followup-field{grid-column:1/2}.lead-detail-inline .followup-compact-grid .followup-save{grid-column:2/3}}@media(max-width:650px){.drawer-customer-summary{align-items:flex-start;flex-direction:column;gap:5px}.drawer-customer-state{padding-left:0}.lead-detail-inline .timeline-section.is-empty{grid-template-columns:1fr}.lead-detail-inline .timeline-section.is-empty>h3{height:auto;padding:8px 10px;border-right:0;border-bottom:1px solid #eceef0}.lead-detail-inline .followup-compact-grid{grid-template-columns:1fr}.lead-detail-inline .followup-compact-grid .followup-content,.lead-detail-inline .followup-compact-grid .next-followup-field,.lead-detail-inline .followup-compact-grid .followup-save{grid-column:1}}.lead-detail-inline .drawer-customer-identity .eyebrow,.lead-detail-inline .project-card-head .eyebrow,.lead-detail-inline .followup-title .eyebrow{font-size:9px;line-height:1.25}.lead-detail-inline .drawer-customer-identity h2{font-size:15px}.drawer-customer-identity>small,.drawer-customer-state>small{font-size:10px;line-height:1.35}.lead-detail-inline .drawer-customer-state .status-tag{font-size:10px}.lead-detail-inline .project-card-head>div:first-child h3{font-size:13px}.lead-detail-inline .project-completeness{font-size:9px}.lead-detail-inline .project-head-save{font-size:10px!important}.lead-detail-inline .project-matrix-head>span{font-size:10px;line-height:1.3}.lead-detail-inline .project-matrix-cell label>span,.lead-detail-inline .project-matrix-cell>small,.lead-detail-inline .matrix-cell-tools small{font-size:10px;line-height:1.3}.lead-detail-inline .project-matrix-cell input,.lead-detail-inline .project-matrix-cell select,.lead-detail-inline .project-matrix-cell textarea{font-size:11px;line-height:1.4}.lead-detail-inline .matrix-cell-tools button,.lead-detail-inline .door-photo-empty b{font-size:10px}.lead-detail-inline .door-photo-empty span,.lead-detail-inline .style-photo-empty span{font-size:9px}.lead-detail-inline .followup-title h3{font-size:13px}.lead-detail-inline .followup-title>small{font-size:10px}.lead-detail-inline .followup-compact-grid label>span{font-size:10px;line-height:1.3}.lead-detail-inline .followup-compact-grid select,.lead-detail-inline .followup-compact-grid input,.lead-detail-inline .followup-compact-grid textarea,.lead-detail-inline .followup-compact-grid .followup-save{font-size:11px}.lead-detail-inline .timeline-section>h3{font-size:13px}.lead-detail-inline .followup-column-table th{font-size:11px}.lead-detail-inline .followup-record dt{font-size:9px;line-height:1.4}.lead-detail-inline .followup-record dd{font-size:10px;line-height:1.45}.lead-detail-inline .timeline-section.is-empty .no-followups{font-size:10px;line-height:1.4}}@layer legacy{.customer-view-toggle{height:36px;display:flex;align-items:center;padding:3px;border:1px solid #d9dde3;border-radius:9px;background:#f5f6f7;flex:0 0 auto}.customer-view-toggle button{height:28px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#747b85;display:flex;align-items:center;gap:5px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.customer-view-toggle button svg{width:13px;height:13px}.customer-view-toggle button.active{background:#fff;color:#bd1723;box-shadow:0 1px 4px #1e22281f}.lead-kanban-wrap{width:100%;overflow-x:auto;padding:12px;background:#f1f2f3;border-top:1px solid #e7e9ec}.lead-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(235px,265px);align-items:start;gap:10px;min-width:max-content}.kanban-column{--column-color:#8c929c;border:1px solid #dfe2e6;border-radius:7px;background:#f8f8f7;overflow:hidden}.kanban-column>header{height:40px;padding:0 10px;border-bottom:1px solid #e5e7ea;background:#fff;display:flex;align-items:center;justify-content:space-between}.kanban-column>header>div{display:flex;align-items:center;gap:7px}.kanban-column>header i{width:8px;height:8px;border-radius:50%;background:var(--column-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--column-color) 14%,transparent)}.kanban-column>header b{font-size:11px;color:#303640}.kanban-column>header>span{min-width:23px;height:22px;padding:0 6px;border-radius:12px;background:#eef0f2;color:#69717c;display:grid;place-items:center;font-size:10px;font-weight:800}.status-column-待分配{--column-color:#e29a24}.status-column-新客资{--column-color:#e84c59}.status-column-待联系{--column-color:#6b79db}.status-column-已联系{--column-color:#22a8ad}.status-column-有意向{--column-color:#9668d7}.status-column-已报价{--column-color:#d92737}.status-column-已成交{--column-color:#26966c}.status-column-无效{--column-color:#8d939c}.kanban-column.locked-column{background:#f4f4f3}.kanban-card-list{display:flex;flex-direction:column;gap:8px;min-height:54px;max-height:520px;padding:8px;overflow-y:auto}.kanban-lead-card{padding:10px;border:1px solid #e0e3e7;border-radius:9px;background:#fff;box-shadow:0 2px 7px #1f23290d;cursor:grab;transition:border-color .15s,box-shadow .15s,transform .15s,opacity .15s}.kanban-lead-card:hover{border-color:#e6a4aa;box-shadow:0 5px 14px #3b232617;transform:translateY(-1px)}.kanban-lead-card:active{cursor:grabbing}.kanban-lead-card.is-moving{opacity:.5}.kanban-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.kanban-card-top label{display:flex;align-items:center;gap:6px;color:#969ca5;font-size:10px;cursor:pointer}.kanban-card-top input{width:13px;height:13px}.kanban-card-top em{max-width:100px;padding:3px 6px;border-radius:10px;background:#f3f4f5;color:#69717c;font-size:10px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-lead-card h3{margin:8px 0 5px;color:#242a32;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-contact{display:flex;flex-direction:column;gap:2px;min-width:0}.kanban-contact b{color:#4b535e;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-contact small{color:#8f96a0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-lead-card>p{min-height:29px;margin:8px 0 7px;color:#656d78;font-size:10px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kanban-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.kanban-tags span{max-width:100%;padding:3px 6px;border-radius:5px;background:#f1f2f4;color:#656d77;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-tags .whatsapp-已注册{background:#e8f8f1;color:#13714d}.kanban-tags .whatsapp-未注册{background:#fff0f1;color:#b4232d}.kanban-reminder{margin-top:8px;padding:6px 7px;border-radius:6px;background:#eef6ff;color:#3e638a;display:flex;align-items:center;gap:4px;font-size:10px;line-height:1.35}.kanban-reminder svg{width:11px;height:11px;flex:0 0 auto}.kanban-reminder.overdue{background:#fff0f1;color:#b51f2b}.kanban-card-actions{display:flex;align-items:center;gap:5px;margin-top:9px;padding-top:8px;border-top:1px solid #eff0f2}.kanban-card-actions button{height:27px;padding:0 7px;border:1px solid #dde0e4;border-radius:6px;background:#fff;color:#606873;display:flex;align-items:center;justify-content:center;gap:4px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.kanban-card-actions button svg{width:11px;height:11px}.kanban-card-actions button.advance{margin-left:auto;border-color:#f0bbc0;background:#fff5f6;color:#b71825}.kanban-card-actions button:disabled{opacity:.45;cursor:not-allowed}.kanban-card-actions>small{margin-left:auto;color:#a06a14;font-size:10px}.kanban-empty{height:42px;border:1px dashed #d9dde2;border-radius:7px;color:#9aa0a8;display:grid;place-items:center;font-size:10px}.lead-kanban-wrap::-webkit-scrollbar{height:9px}.lead-kanban-wrap::-webkit-scrollbar-thumb,.kanban-card-list::-webkit-scrollbar-thumb{background:#c9cdd2;border-radius:10px}.lead-kanban-wrap::-webkit-scrollbar-track,.kanban-card-list::-webkit-scrollbar-track{background:#eceeef}@media(max-width:1050px){.customer-view-toggle{order:3}.lead-kanban{grid-auto-columns:minmax(220px,250px)}}@media(max-width:650px){.lead-kanban-wrap{padding:9px}.lead-kanban{grid-auto-columns:minmax(215px,82vw)}.kanban-card-list{max-height:430px}}}@layer legacy{.brandmark.logo-mark{position:relative;overflow:hidden;flex:0 0 31px;background:#fff;color:transparent}.logo-mark img{position:absolute;width:145%;height:auto;left:-22.5%;top:-4px}.login-brand{display:flex;align-items:center}.login-logo-full{width:160px;height:160px;object-fit:cover;border-radius:22px;box-shadow:0 14px 35px #00000038;background:#fff}@media(max-height:720px){.login-logo-full{width:110px;height:110px}.login-visual{padding-top:28px;padding-bottom:28px}}}@layer legacy{:root{--mf-red:#df1f2d;--mf-red-dark:#b91421;--mf-red-soft:#fff0f1;--mf-ink:#17191f;--mf-muted:#69707d;--mf-line:#e8e9ec;--mf-canvas:#f6f6f5;--mf-card:#fff;color:#20232a;background:var(--mf-canvas)}body{background:var(--mf-canvas);color:#20232a;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}button{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .12s ease}button:active{transform:translateY(1px)}aside{width:210px;background:#14171e;border-right:1px solid #292d36;padding:22px 13px 16px}.brand{height:48px;padding:0 5px;gap:8px;font-size:16px;letter-spacing:-.3px;white-space:nowrap}.brandmark.logo-mark{width:32px;height:32px;flex-basis:32px;border-radius:9px;box-shadow:0 0 0 1px #ffffff24,0 5px 16px #0000003d}.logo-mark img{top:-4px}.workspace{margin:23px 3px 20px}.workspace>span,.navlabel{color:#707784;font-weight:600}.workspace button{height:39px;background:#20242c;border-color:#343943;border-radius:9px;padding:0 10px;color:#f4f4f5;font-size:12px}.workspace button:hover{border-color:#555d69;background:#252a34}nav{gap:5px}nav a{min-height:40px;padding:9px 10px;border-radius:9px;color:#9aa1ad;font-size:13px;cursor:pointer}nav a svg{width:17px;color:#747c8a}nav a:hover{background:#1d2129;color:#f4f4f5}nav a:hover svg{color:#f4f4f5}nav a.active{background:linear-gradient(135deg,var(--mf-red),#c71926);color:#fff;box-shadow:0 7px 18px #df1f2d33}nav a.active svg{color:#fff}.profile{border-top-color:#292d36;padding:15px 5px 0}.profile .avatar{background:var(--mf-red-soft);color:var(--mf-red-dark)}.profile b{font-size:12px}.profile svg:hover{color:#fff}main{margin-left:210px;width:calc(100% - 210px)}header{height:68px;position:sticky;top:0;z-index:20;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--mf-line);padding:0 28px}.crumb{font-size:12px;color:#9096a0}.crumb span{color:#d6d8dc}.icon{border-radius:8px}.icon:hover{background:#f3f3f2;color:var(--mf-ink)}.mini-avatar{background:#fee2e4;color:var(--mf-red-dark);box-shadow:0 0 0 3px #fff,0 0 0 4px #eee}.content{max-width:1320px;padding:38px 28px 68px}.title-row{align-items:center}.title-row h1{font-size:29px;line-height:1.2;color:#17191f;letter-spacing:-.7px;margin-bottom:9px}.title-row p,.card-head p{color:#767d88;line-height:1.55}.title-actions{gap:10px}.ghost{height:40px;border-color:#d9dce1;border-radius:9px;background:#fff;color:#4f5662;padding:0 14px;box-shadow:0 1px 2px #10182808}.ghost:hover{border-color:#efa5ab;color:var(--mf-red-dark);background:snow}.primary{min-height:40px;border-radius:9px;background:linear-gradient(135deg,var(--mf-red),#c71926);box-shadow:0 5px 12px #df1f2d2b;font-size:11px;cursor:pointer}.primary:hover{background:linear-gradient(135deg,#eb2635,var(--mf-red-dark));box-shadow:0 7px 16px #df1f2d3b}.primary:disabled{background:#c7c9ce;box-shadow:none}.eyebrow{color:var(--mf-red);font-size:10px}.card{border:1px solid var(--mf-line);border-radius:14px;box-shadow:0 2px 7px #17191f09,0 12px 32px #17191f06}.stat-grid{gap:16px;margin-top:30px}.stat{min-height:124px;border-color:var(--mf-line);border-radius:13px;padding:20px 21px;position:relative;overflow:hidden;box-shadow:0 3px 12px #17191f09}.stat:before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;background:#d7d9de}.stat:nth-child(2):before{background:#737986}.stat:nth-child(3):before{background:#f59e0b}.stat.success:before{background:#22a06b}.stat span{font-size:11px;font-weight:600;color:#727985}.stat b{font-size:30px;color:#20232a;letter-spacing:-1px}.stat.success b{color:#15835a}.steps{margin-top:36px}.step.on b{background:var(--mf-red);box-shadow:0 3px 8px #df1f2d33}.step.on span{color:#262a31}.safe{background:#ecfdf3;color:#087a50}.ai{background:var(--mf-red-soft);color:var(--mf-red-dark)}.dropzone{border-color:#cfd2d8;background:#fbfbfa;border-radius:12px}.dropzone:hover,.dropzone.dragging{border-color:#e66771;background:#fff8f8}.upload-icon{background:var(--mf-red-soft);color:var(--mf-red);border-radius:13px}.dropzone h3 span,.tips a{color:var(--mf-red)}.tips a svg{color:var(--mf-red)}.filebar{border-radius:11px}.select.mapped{border-color:#eea2a8;box-shadow:0 0 0 2px var(--mf-red-soft)}.customer-card{border-radius:14px}.customer-tools{padding:18px;gap:11px;border-bottom:1px solid #f0f1f2}.searchbox,.filter-select,.assign-box{height:41px;border-radius:9px}.searchbox:focus-within{border-color:#e66771;box-shadow:0 0 0 3px var(--mf-red-soft)}.searchbox button{background:#f3f3f2}.searchbox button:hover{background:#e9e9e7}.assign-box{border-color:#efb0b5;background:#fff8f8}.assign-box>svg{color:var(--mf-red)}.assign-box button{background:var(--mf-red)}.bulk-email{border-color:#efb0b5;background:var(--mf-red-soft);color:var(--mf-red-dark);border-radius:9px}.customer-table th{height:43px;background:#fafafa;color:#7a818c;border-color:#eceef0}.customer-table td{height:55px}.customer-table tbody tr{transition:background-color .15s ease}.customer-table tbody tr:hover{background:snow}.customer-name>span{background:var(--mf-red-soft);color:var(--mf-red-dark)}.view-button:hover{border-color:#efadb3;color:var(--mf-red-dark);background:#fff5f6}.status-待分配{background:#fff4e6;color:#b54708}.status-新客资,.report-date{background:var(--mf-red-soft);color:var(--mf-red-dark)}.bar-chart i{background:linear-gradient(90deg,var(--mf-red),#f05e69)}.source-chart i{background:#2d333d}.source-chart em,.sales-cell span{background:var(--mf-red-soft);color:var(--mf-red-dark)}.report-card-head>svg{color:var(--mf-red)}.reminder-icon{background:var(--mf-red-soft);color:var(--mf-red)}.activity-row>i{background:var(--mf-red)}.drawer-backdrop,.modal-backdrop{background:#0f11158f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.lead-drawer{background:#f5f5f4;box-shadow:-24px 0 64px #0000002e}.followup-card{border-color:#f1b8bd;box-shadow:0 4px 16px #df1f2d0d}.followup-card select:focus,.followup-card input:focus,.followup-card textarea:focus,.profile-editor input:focus,.profile-editor textarea:focus{border-color:#e66771;box-shadow:0 0 0 3px var(--mf-red-soft)}.timeline-item>i{background:var(--mf-red);border-color:#ffd6d9}.timeline-item small,.tag-editor>div>span,.profile-tags>span{background:var(--mf-red-soft);color:var(--mf-red-dark)}.requirement-section{border-color:#f2c8cc;background:snow}.modal-head{padding:24px 26px}.email-modal,.manual-modal{border-radius:16px}.manual-section input:focus,.manual-section select:focus,.manual-section textarea:focus,.login-card input:focus{border-color:#e66771;box-shadow:0 0 0 3px var(--mf-red-soft)}.modal-actions .primary,.manual-modal .modal-actions .primary{border-color:var(--mf-red);background:linear-gradient(135deg,var(--mf-red),#c71926);box-shadow:0 5px 12px #df1f2d2b}.modal-actions .primary:hover,.manual-modal .modal-actions .primary:hover{border-color:var(--mf-red-dark);background:linear-gradient(135deg,#eb2635,var(--mf-red-dark))}.login-page{grid-template-columns:1.08fr .92fr}.login-visual{position:relative;overflow:hidden;background:radial-gradient(circle at 10% 15%,rgba(223,31,45,.28),transparent 34%),linear-gradient(145deg,#111318,#20242d);padding-left:9vw}.login-visual:after{content:"";position:absolute;width:380px;height:380px;border:1px solid rgba(255,255,255,.055);border-radius:50%;right:-150px;bottom:-160px;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff03}.login-logo-full{position:relative;z-index:1;width:170px;height:170px;border-radius:18px}.login-visual>div:nth-child(2),.login-visual>small{position:relative;z-index:1}.login-visual>div:nth-child(2)>span{color:#ff929a}.login-visual h1{font-size:44px;max-width:560px}.login-card{width:min(400px,82%)}.login-card h2{color:#17191f}.login-card>.primary{height:46px}.demo-accounts{border:1px solid #eceef0;background:#fafafa}input[type=checkbox]{width:14px;height:14px;accent-color:var(--mf-red)}*:focus-visible{outline:2px solid rgba(223,31,45,.45);outline-offset:2px}.empty-state svg{color:#bbbfc6}@media(max-width:900px){aside{width:80px;padding-left:12px;padding-right:12px}.app main{margin-left:80px;width:calc(100% - 80px)}.brandmark.logo-mark{width:38px;height:38px;flex-basis:38px}.content{padding-left:28px;padding-right:28px}}@media(max-width:650px){header{height:62px}.content{padding:26px 15px 50px}.title-row{align-items:flex-start;flex-direction:column}.title-actions{width:100%;flex-direction:row}.title-actions>*{flex:1;justify-content:center}.stat{min-height:108px;padding:16px}.stat b{font-size:25px}.customer-tools{padding:12px}.login-page{display:block;padding-top:50px}.login-card{width:min(410px,88%)}.manual-modal,.email-modal{border-radius:14px}}.content{width:100%;max-width:none;margin:0;padding:22px 20px 44px}.title-row h1{font-size:24px;margin-bottom:4px}.title-row p{font-size:11px;line-height:1.4}.title-row>.primary,.title-actions .primary{min-height:34px;padding:8px 12px}.card{margin-bottom:12px}.stat-grid,.dashboard-stats,.report-metrics{gap:10px;margin:14px 0 12px}.stat{min-height:86px;padding:12px 14px;border-radius:10px}.stat span{font-size:10px}.stat b{font-size:24px;line-height:1.05;margin:5px 0 2px}.stat small{font-size:8px}.reminder-card .card-head{padding:12px 15px 10px}.reminder-card .card-head h2{font-size:14px;margin:2px 0}.reminder-card .card-head p{font-size:9px}.reminder-card>.empty-state{min-height:0;padding:17px 18px 18px;display:grid;grid-template-columns:25px auto;grid-template-rows:auto auto;align-items:center;justify-content:center;column-gap:9px;text-align:left}.reminder-card>.empty-state svg{grid-row:1/3;width:22px;height:22px;margin:0}.reminder-card>.empty-state h3{margin:0;font-size:11px}.reminder-card>.empty-state p{margin:2px 0 0;font-size:9px}.reminder-card.is-empty{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);align-items:center}.reminder-card.is-empty .card-head{border-bottom:0}.reminder-card.is-empty>.empty-state{justify-content:start;padding-left:12px}.status-category-grid{display:grid;grid-template-columns:repeat(10,minmax(72px,1fr));gap:7px;margin:12px 0}.status-category{position:relative;min-width:0;height:55px;border:1px solid #e1e3e6;border-radius:9px;background:#fff;padding:8px 9px 7px;text-align:left;color:#3f4650;cursor:pointer;box-shadow:0 2px 6px #17191f06;transition:border-color .15s,box-shadow .15s,transform .15s}.status-category:hover{border-color:#c9cdd2;box-shadow:0 4px 10px #17191f0f;transform:translateY(-1px)}.status-category.active{border-color:#e2535e;box-shadow:0 0 0 2px #ffeaec}.status-category i{position:absolute;top:9px;right:9px;width:6px;height:6px;border-radius:50%;background:#9aa0a8}.status-category span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#737a84;font-size:8px;font-weight:700}.status-category b{display:block;margin-top:4px;color:#252a31;font-size:18px;line-height:1}.status-category[data-status=待分配] i{background:#e89527}.status-category[data-status=待分配] b{color:#ae610d}.status-category[data-status=新客资] i{background:#5571db}.status-category[data-status=待联系] i{background:#8290a3}.status-category[data-status=已联系] i{background:#2e92a0}.status-category[data-status=有意向] i{background:#8b5fc7}.status-category[data-status=已报价] i{background:#df1f2d}.status-category[data-status=已报价] b{color:#bd1724}.status-category[data-status=已成交] i{background:#24916a}.status-category[data-status=已成交] b{color:#187a58}.status-category[data-status=无效] i{background:#6f7680}.status-category[data-status=无效]{background:#f8f8f7}.status-category[data-status=未注册WhatsApp] i{background:#7c858f}.status-category[data-status=未注册WhatsApp] b{color:#4f5863}.status-category[data-status=已发邮件联系] i{background:#b56a22}.status-category[data-status=已发邮件联系] b{color:#9a5517}.customer-tools{padding:10px 12px;gap:8px}.searchbox,.filter-select,.assign-box,.bulk-email{height:36px}.whatsapp-status-select{height:27px;border:1px solid #d7dae0;border-radius:7px;background:#f7f7f6;color:#59616b;padding:0 22px 0 7px;font:inherit;font-size:8px;outline:0;cursor:pointer}.whatsapp-status-select[data-state=已注册]{border-color:#a8dbc8;background:#effaf5;color:#167755}.whatsapp-status-select[data-state=未注册]{border-color:#edb3b8;background:#fff3f4;color:#b71825}.whatsapp-status-select:focus{border-color:#e66771;box-shadow:0 0 0 2px #ffeaec}.customer-table th{height:36px;padding-top:7px;padding-bottom:7px}.customer-table td{height:48px;padding-top:8px;padding-bottom:8px}.customers-page .customer-card>.tablewrap{max-height:290px;overflow:auto}.customers-page .customer-table thead{position:sticky;top:0;z-index:3}@media(max-width:900px){.content{padding:20px 16px 40px}.stat-grid,.dashboard-stats,.report-metrics{gap:8px}.stat{min-height:80px;padding:10px 12px}.reminder-card.is-empty{grid-template-columns:1fr}.reminder-card.is-empty>.empty-state{padding:0 15px 15px}.status-category-grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:650px){.content{padding:18px 12px 36px}.title-row h1{font-size:22px}.stat{min-height:76px;padding:9px}.reminder-card>.empty-state{justify-content:start}.status-category-grid{grid-template-columns:repeat(3,1fr)}}}@layer legacy{:root{--ui-canvas: #f5f6f8;--ui-surface: #ffffff;--ui-surface-subtle: #f8f9fa;--ui-sidebar: #17191f;--ui-sidebar-hover: #23262e;--ui-text: #22252b;--ui-text-soft: #626a76;--ui-text-muted: #9299a3;--ui-border: #e2e5e9;--ui-border-strong: #d4d8de;--ui-red: #d91f2c;--ui-red-dark: #b81824;--ui-red-soft: #fff1f2;--ui-radius: 9px;--ui-sidebar-width: 164px}html{background:var(--ui-canvas)}body{background:var(--ui-canvas);color:var(--ui-text);font-size:13px;line-height:1.45}aside{z-index:30;width:var(--ui-sidebar-width);padding:14px 10px 12px;background:var(--ui-sidebar);border-right:1px solid #2b2e36}.brand{height:38px;padding:0 6px;gap:8px;font-size:13px;letter-spacing:-.15px}.brandmark.logo-mark{width:29px;height:29px;flex-basis:29px;border-radius:7px;box-shadow:0 0 0 1px #ffffff1f}.workspace{margin:10px 2px 12px}.workspace>span{display:none}.workspace button{height:34px;margin-top:0;padding:0 9px;border-color:#363a43;background:#20232a;border-radius:7px;font-size:11px}nav{gap:3px}nav a{min-height:36px;padding:8px 9px;gap:9px;border-radius:7px;color:#a5abb5;font-size:12px}nav a svg{width:16px;height:16px}nav a:hover{background:var(--ui-sidebar-hover)}nav a.active{background:#292c34;color:#fff;box-shadow:inset 3px 0 var(--ui-red)}.navlabel{margin:14px 9px 5px;color:#686f7b;font-size:9px}.profile{gap:8px;padding:11px 4px 0;border-top-color:#2c2f37}.profile .avatar{width:30px;height:30px;font-size:11px}.profile b{font-size:11px}.profile span{font-size:9px}main{width:calc(100% - var(--ui-sidebar-width));margin-left:var(--ui-sidebar-width)}header{height:52px;padding:0 20px;background:#fffffff5;border-bottom:1px solid var(--ui-border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.crumb{color:var(--ui-text-soft);font-size:11px}.header-actions{gap:5px}.icon{width:30px;height:30px}.mini-avatar{width:28px;height:28px;font-size:10px}.content{width:100%;max-width:none;margin:0;padding:16px 18px 36px}.title-row{min-height:42px;align-items:center;gap:16px}.title-row h1{margin:0 0 2px;color:var(--ui-text);font-size:21px;letter-spacing:-.35px}.title-row p{color:var(--ui-text-soft);font-size:11px}.title-actions{flex-wrap:wrap;justify-content:flex-end}.ghost,.primary{min-height:34px;height:34px;border-radius:7px;padding:0 11px;font-size:11px;box-shadow:none}.primary,.modal-actions .primary,.manual-modal .modal-actions .primary{background:var(--ui-red);border-color:var(--ui-red)}.primary:hover,.modal-actions .primary:hover,.manual-modal .modal-actions .primary:hover{background:var(--ui-red-dark);border-color:var(--ui-red-dark);box-shadow:none}.card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:none}.stat-grid,.dashboard-stats,.report-metrics{gap:8px;margin:12px 0 10px}.stat{min-height:76px;padding:11px 13px;border-color:var(--ui-border);border-radius:var(--ui-radius);box-shadow:none}.stat:before{height:2px}.stat span{font-size:10px}.stat b{margin:4px 0 1px;font-size:22px}.stat small{font-size:9px}.welcome-card{margin-top:12px;padding:19px 21px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);color:var(--ui-text)}.welcome-card span{color:var(--ui-red)}.welcome-card h2{margin:7px 0 4px;font-size:18px}.welcome-card p{color:var(--ui-text-soft);font-size:11px}.welcome-card .primary{margin-top:12px}.welcome-art{display:none}.reminder-card,.report-card,.team-card,.account-card{border-color:var(--ui-border);box-shadow:none}.customers-page .title-row{margin-bottom:9px}.status-category-grid{display:flex;align-items:center;gap:5px;margin:0 0 8px;padding:0;overflow-x:auto;scrollbar-width:thin}.status-category{position:static;flex:0 0 auto;width:auto;min-width:0;height:31px;padding:0 9px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ui-border);border-radius:7px;background:var(--ui-surface);box-shadow:none;color:var(--ui-text-soft)}.status-category:hover{transform:none;border-color:var(--ui-border-strong);background:var(--ui-surface-subtle);box-shadow:none}.status-category.active{border-color:#e88b92;background:var(--ui-red-soft);box-shadow:inset 0 0 0 1px #d91f2c0d}.status-category i{position:static;width:6px;height:6px;flex:0 0 6px}.status-category span{display:inline;max-width:none;color:inherit;font-size:10px;font-weight:600}.status-category b{display:inline-grid;min-width:18px;height:18px;margin:0;padding:0 5px;place-items:center;border-radius:9px;background:#f0f1f3;color:#565e69!important;font-size:9px;line-height:1}.status-category.active b{background:#fff;color:var(--ui-red-dark)!important}.customer-card{margin-bottom:0;overflow:hidden;border-radius:var(--ui-radius)}.customer-tools{min-height:50px;padding:7px 9px;gap:7px;flex-wrap:wrap;background:var(--ui-surface);border-bottom:1px solid var(--ui-border)}.searchbox{min-width:280px;height:34px;border-color:var(--ui-border-strong);border-radius:7px}.searchbox svg{width:14px;margin-left:9px}.searchbox input{font-size:11px}.searchbox button{padding:0 11px;border-left:1px solid var(--ui-border);background:var(--ui-surface-subtle);font-size:10px}.filter-select,.assign-box,.bulk-status-box,.customer-view-toggle,.bulk-email{height:34px;border-color:var(--ui-border-strong);border-radius:7px}.filter-select select,.assign-box select{font-size:10px}.customer-view-toggle{padding:2px;background:#f1f2f4}.customer-view-toggle button{height:28px;border-radius:5px;font-size:10px}.customer-view-toggle button.active{color:var(--ui-text);box-shadow:0 1px 2px #14181f17}.assign-box{margin-left:auto;background:#fff;border-color:var(--ui-border-strong)}.assign-box>svg{color:var(--ui-text-soft)}.assign-box button{background:var(--ui-red)}.bulk-email{background:var(--ui-red-soft)}.notice{margin:7px 9px}.customers-page .customer-card>.tablewrap{max-height:310px;background:var(--ui-surface)}.customer-table{font-size:11px}.customer-table th{height:36px;padding:7px 10px;background:#f8f9fa;border-color:var(--ui-border);color:#737b87;font-size:10px;letter-spacing:.02em;text-transform:none}.customer-table td{height:48px;padding:7px 10px;border-color:#eceef1;color:#3d444e}.customer-table tbody tr:hover{background:#fafbfc}.customer-table tr.active-detail-row{background:#fff5f6}.customer-table tr.active-detail-row td:first-child{box-shadow:inset 3px 0 var(--ui-red)}.customer-name{gap:8px}.customer-name>span{width:27px;height:27px;font-size:10px}.customer-name b,.contact b{color:#303640;font-size:11px}.customer-name small,.contact small{margin-top:1px;font-size:10px}.whatsapp-status-select{height:26px;font-size:10px}.lead-status-progress{width:116px;gap:5px}.lead-status-title b,.lead-status-title small{font-size:9px}.lead-status-track{height:4px}.lead-kanban-wrap{padding:9px;background:#f5f6f8;border-top:0}.lead-kanban{grid-auto-columns:minmax(225px,250px);gap:8px}.kanban-column{border-color:var(--ui-border);border-top-width:2px;border-radius:8px;background:#f8f9fa}.kanban-column>header{height:36px;padding:0 9px;border-color:var(--ui-border)}.kanban-card-list{gap:6px;max-height:510px;padding:6px}.kanban-lead-card{padding:9px;border-color:var(--ui-border);border-radius:7px;box-shadow:none}.kanban-lead-card:hover{transform:none;border-color:#e2a3a8;box-shadow:0 2px 6px #14181f0d}.kanban-lead-card h3{margin:6px 0 4px}.kanban-card-actions{margin-top:7px;padding-top:7px}.customer-detail-slot.is-open{margin-top:8px}.lead-detail-inline .lead-drawer{gap:6px;padding:0 6px 7px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-canvas);box-shadow:none}.lead-detail-inline .lead-drawer>.drawer-head{min-height:38px;margin:0 -6px;padding:5px 10px;border-color:var(--ui-border);border-radius:var(--ui-radius) var(--ui-radius) 0 0}.lead-detail-inline .drawer-customer-identity h2{font-size:14px}.drawer-customer-identity>small,.drawer-customer-state>small{font-size:9px}.lead-detail-inline .project-card,.lead-detail-inline .followup-card,.lead-detail-inline .timeline-section{margin:0;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface);box-shadow:none}.lead-detail-inline .project-card-head{min-height:34px;padding:5px 8px;border-color:var(--ui-border);background:var(--ui-surface)}.lead-detail-inline .project-card-head>div:first-child h3{font-size:12px}.lead-detail-inline .project-card-head>div:first-child p{color:var(--ui-text-muted);font-size:9px}.lead-detail-inline .project-matrix{min-width:940px}.lead-detail-inline .project-matrix-head,.lead-detail-inline .project-matrix-body{grid-template-columns:1.05fr .76fr 1.05fr 1fr .67fr .67fr}.lead-detail-inline .project-matrix-head{min-height:31px;background:#f7f8f9;border-color:var(--ui-border)}.lead-detail-inline .project-matrix-head>span{padding:5px 6px;border-color:var(--ui-border);color:#4b535e;font-size:10px}.lead-detail-inline .project-matrix-cell{min-height:0;padding:6px;gap:4px;border-color:var(--ui-border)}.lead-detail-inline .project-matrix-cell label>span,.lead-detail-inline .project-matrix-cell>small,.lead-detail-inline .matrix-cell-tools small{font-size:10px}.lead-detail-inline .project-matrix-cell input,.lead-detail-inline .project-matrix-cell select{height:29px;padding:0 7px;border-radius:6px;font-size:11px}.lead-detail-inline .project-matrix-cell textarea{padding:6px 7px;border-radius:6px;font-size:11px}.lead-detail-inline .matrix-size-row>b{height:29px}.lead-detail-inline .address-matrix-cell textarea{height:55px;min-height:55px}.lead-detail-inline .quote-matrix-cell>textarea{height:58px;min-height:58px}.lead-detail-inline .photo-matrix-cell .door-photo-grid,.lead-detail-inline .style-photo-grid{max-height:102px;overflow-y:auto}.lead-detail-inline .photo-matrix-cell .door-photo>div,.lead-detail-inline .style-photo-grid .door-photo>div{height:94px}.lead-detail-inline .photo-matrix-cell .door-photo>div>.door-photo-image img,.lead-detail-inline .style-photo-grid .door-photo>div>.door-photo-image img{width:100%;height:100%;object-fit:contain}.lead-detail-inline .photo-matrix-cell .door-photo-empty{min-height:78px}.lead-detail-inline .style-photo-empty{min-height:60px}.lead-detail-inline .project-actions{margin-top:0;padding:5px 8px;border-color:var(--ui-border);background:#fafbfc}.lead-detail-inline .followup-card{padding:8px 9px}.lead-detail-inline .followup-title{margin-bottom:6px}.lead-detail-inline .followup-compact-grid{grid-template-columns:120px 120px minmax(240px,1fr) 175px 80px;gap:6px}.lead-detail-inline .followup-compact-grid label>span{font-size:10px}.lead-detail-inline .followup-compact-grid select,.lead-detail-inline .followup-compact-grid input,.lead-detail-inline .followup-compact-grid textarea{height:30px;min-height:30px;font-size:11px}.lead-detail-inline .timeline-section>h3{padding:8px 10px;border-color:var(--ui-border);font-size:12px}.lead-detail-inline .followup-column-table th{height:31px;padding:6px 8px;background:#f8f9fa;border-color:var(--ui-border);font-size:10px}.lead-detail-inline .followup-column-table td{height:102px;padding:8px 9px;border-color:var(--ui-border)}.lead-detail-inline .followup-record{gap:5px}.lead-detail-inline .followup-record dt{font-size:9px}.lead-detail-inline .followup-record dd{font-size:10px}.lead-detail-inline .project-card-head{min-height:29px;height:29px;padding:2px 6px}.lead-detail-inline .project-card-head>div:first-child{gap:5px}.lead-detail-inline .project-card-head>div:first-child p{display:none}.lead-detail-inline .project-completeness{height:21px;padding:0 6px;display:inline-flex;align-items:center}.lead-detail-inline .project-head-save{min-height:25px!important;height:25px!important;padding:0 8px!important}.lead-detail-inline .project-matrix-head{min-height:27px;height:27px}.lead-detail-inline .project-matrix-head>span{padding:3px 5px}.lead-detail-inline .project-matrix-cell{padding:5px;gap:3px}.lead-detail-inline .project-matrix-cell input,.lead-detail-inline .project-matrix-cell select{height:26px;min-height:26px}.lead-detail-inline .address-matrix-cell label>span,.lead-detail-inline .style-matrix-cell>label>span,.lead-detail-inline .size-matrix-cell>small,.lead-detail-inline .style-matrix-cell>small{display:none}.lead-detail-inline .address-matrix-cell textarea{height:34px;min-height:34px;resize:vertical}.lead-detail-inline .address-matrix-cell label{gap:0}.lead-detail-inline .quote-matrix-cell>textarea{height:42px;min-height:42px}.lead-detail-inline .remarks-matrix-cell>textarea{height:71px;min-height:71px;resize:vertical}.lead-detail-inline .remarks-matrix-cell>small{margin-top:auto}.lead-detail-inline .matrix-quote-row{grid-template-columns:48px 1fr}.lead-detail-inline .matrix-size-row>b{height:26px}.lead-detail-inline .photo-matrix-cell,.lead-detail-inline .style-photo-section{position:relative}.lead-detail-inline .photo-matrix-cell>.matrix-cell-tools,.lead-detail-inline .style-photo-section>.matrix-cell-tools{position:absolute;z-index:2;top:8px;left:8px;right:8px;justify-content:flex-start;gap:4px;pointer-events:none}.lead-detail-inline .style-photo-section>.matrix-cell-tools{top:4px;left:4px;right:4px}.lead-detail-inline .photo-matrix-cell .matrix-cell-tools>*,.lead-detail-inline .style-photo-section .matrix-cell-tools>*{pointer-events:auto}.lead-detail-inline .photo-matrix-cell .matrix-cell-tools small,.lead-detail-inline .style-photo-section .matrix-cell-tools small{padding:3px 5px;border-radius:5px;background:#ffffffeb;box-shadow:0 1px 3px #181d2414}.lead-detail-inline .photo-matrix-cell .matrix-cell-tools button,.lead-detail-inline .style-photo-section .matrix-cell-tools button{height:22px;padding:0 6px;background:#fff8f8f0}.lead-detail-inline .photo-matrix-cell .door-photo-grid,.lead-detail-inline .style-photo-grid{width:100%;max-height:58px;margin:0}.lead-detail-inline .photo-matrix-cell .door-photo>div,.lead-detail-inline .style-photo-grid .door-photo>div{height:56px}.lead-detail-inline .photo-matrix-cell .door-photo-empty,.lead-detail-inline .style-photo-empty{min-height:56px;height:56px;margin:0}.lead-detail-inline .style-photo-section{height:58px;min-height:58px;padding-top:0;border-top:0}.dropzone{min-height:190px}.upload-card,.mapping-card,.team-card{padding:18px}.card-head{margin-bottom:14px}.card-head h2{font-size:16px}.mapping-grid{gap:12px}.report-card,.account-card,.team-card{border-radius:var(--ui-radius)}@media(max-width:1050px){:root{--ui-sidebar-width: 72px}aside{width:72px;padding:14px 9px}.brand{justify-content:center;padding:0}.brand span,.workspace,.navlabel,.profile div:nth-child(2),.profile svg{display:none}nav{margin-top:16px}nav a{justify-content:center;padding:9px;font-size:0}nav a.active{font-size:0}nav a svg{width:18px;height:18px}.profile{justify-content:center}main,.app main{width:calc(100% - 72px);margin-left:72px}.assign-box{margin-left:0}.lead-detail-inline .followup-compact-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){header{height:48px;padding:0 12px}.content{padding:13px 10px 30px}.title-row{align-items:flex-start}.title-row h1{font-size:19px}.title-actions{width:100%}.status-category-grid{margin-top:6px}.customer-tools{align-items:stretch}.searchbox{min-width:100%}.filter-select,.customer-view-toggle,.assign-box{flex:1}.lead-kanban{grid-auto-columns:minmax(215px,82vw)}.lead-detail-inline .project-matrix{min-width:900px}}}@layer legacy{.customers-page{--workspace-border: #dce1e7;--workspace-muted: #626c79;--workspace-soft: #f3f5f7;--workspace-ink: #20262f;padding:13px 14px 28px;background:#f3f5f7}.customers-page .title-row{min-height:46px;margin:0 0 8px}.customers-page .title-row h1{margin-bottom:2px;font-size:23px;letter-spacing:-.35px}.customers-page .title-row p{color:#66717e;font-size:12px}.customers-page .title-actions>button{height:34px;min-height:34px;border-radius:7px}.customer-detail-page{padding-top:10px}.customer-detail-toolbar{min-height:42px;margin:0 0 8px;padding:6px 8px;display:flex;align-items:center;gap:12px;border:1px solid var(--workspace-border);border-radius:6px;background:#fff}.customer-detail-toolbar>button{height:30px;padding:0 10px;border-radius:6px;font-size:11.5px}.customer-detail-toolbar>button svg{width:14px;height:14px}.customer-detail-toolbar>div{min-width:0;display:flex;flex-direction:column;gap:1px}.customer-detail-toolbar b{color:var(--workspace-ink);font-size:13px;line-height:1.2}.customer-detail-toolbar span{color:var(--workspace-muted);font-size:10.5px;line-height:1.3}.customers-page .status-category-grid{height:auto;min-height:43px;margin:0;padding:4px 6px;gap:3px;border:1px solid var(--workspace-border);border-bottom:0;border-radius:10px 10px 0 0;background:#fff;box-shadow:0 1px 2px #12182008}.customers-page .status-category{height:33px;padding:0 9px;border-color:transparent;border-radius:6px;background:transparent}.customers-page .status-category:hover{border-color:transparent;background:#f4f5f6}.customers-page .status-category.active{border-color:#f2c6ca;background:#fff1f2;box-shadow:none}.customers-page .status-category b{background:#eceef1}.customers-page .status-category span{font-size:11px}.customers-page .status-category b{min-width:19px;height:19px;font-size:10px}.crm-master-detail{overflow:hidden;border:1px solid var(--workspace-border);border-radius:0 0 11px 11px;background:#fff;box-shadow:0 8px 24px #181f290b}.crm-master-detail .customer-card{margin:0;border:0;border-radius:0;box-shadow:none}.crm-master-detail .customer-tools{min-height:49px;padding:6px 7px;gap:6px;background:#fafafa}.crm-master-detail .searchbox{min-width:246px;height:34px;background:#fff}.crm-master-detail .filter-select,.crm-master-detail .assign-box,.crm-master-detail .bulk-status-box,.crm-master-detail .customer-view-toggle,.crm-master-detail .bulk-email{height:34px;background-color:#fff}.crm-master-detail .searchbox input,.crm-master-detail .searchbox button,.crm-master-detail .filter-select select,.crm-master-detail .assign-box select,.crm-master-detail .assign-box button,.crm-master-detail .customer-view-toggle button{font-size:11px}.crm-master-detail input::placeholder,.crm-master-detail textarea::placeholder{color:#7b8490;opacity:1}.crm-master-detail :where(button,input,select,textarea):focus-visible{outline:2px solid rgba(200,25,39,.72);outline-offset:2px}.crm-master-detail .assign-box{margin-left:0}.crm-master-detail .assign-box button{padding-inline:10px}.crm-master-detail .followup-filter{min-width:150px}.crm-master-detail .owner-filter{min-width:128px}.crm-master-detail .sort-filter{min-width:112px}.crm-master-detail .followup-filter select,.crm-master-detail .owner-filter select,.crm-master-detail .sort-filter select{width:100%}.crm-master-detail .customer-card>.tablewrap{max-height:258px;border-bottom:0;scrollbar-width:thin}.crm-master-detail:not(.has-detail) .customer-card>.tablewrap{max-height:calc(100dvh - 225px)}.crm-master-detail .customer-table{min-width:1120px;table-layout:fixed}.crm-master-detail .customer-table thead{position:sticky;top:0;z-index:4}.crm-master-detail .customer-table th{height:35px;padding:6px 8px;background:#f5f6f7;color:#5f6976;font-size:11px;font-weight:700}.crm-master-detail .customer-table td{height:48px;padding:6px 8px;font-size:11.5px}.crm-master-detail .customer-table th:nth-child(1){width:36px}.crm-master-detail .customer-table th:nth-child(2){width:145px}.crm-master-detail .customer-table th:nth-child(3){width:150px}.crm-master-detail .customer-table th:nth-child(4){width:86px}.crm-master-detail .customer-table th:nth-child(5){width:150px}.crm-master-detail .customer-table th:nth-child(6){width:130px}.crm-master-detail .customer-table th:nth-child(7){width:82px}.crm-master-detail .customer-table th:nth-child(8){width:112px}.crm-master-detail .customer-table th:nth-child(9){width:120px}.crm-master-detail .customer-table th:nth-child(10){width:109px}.crm-master-detail .customer-table tbody tr{cursor:pointer}.crm-master-detail .customer-table tr.active-detail-row{background:#fff2f3}.crm-master-detail .customer-table tr.active-detail-row td:first-child{box-shadow:inset 1px 0 #d91f2c}.crm-master-detail .customer-name>span{width:25px;height:25px}.crm-master-detail .customer-name b,.crm-master-detail .contact b{font-size:12px}.crm-master-detail .customer-name small,.crm-master-detail .contact small{font-size:10.5px}.crm-master-detail .customer-name>div,.crm-master-detail .contact{min-width:0}.crm-master-detail .customer-name b,.crm-master-detail .customer-name small,.crm-master-detail .contact b,.crm-master-detail .contact small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-master-detail .lead-status-progress{width:108px}.crm-master-detail .customer-table th:nth-child(8),.crm-master-detail .customer-table td:nth-child(8){min-width:112px}.crm-master-detail .customer-table th:nth-child(9),.crm-master-detail .customer-table td:nth-child(9){min-width:120px}.followup-due{min-width:72px;display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;color:#747b85;font-size:10px;line-height:1.2}.followup-due b{font-size:10px}.followup-due small{color:#8e949d;font-size:9px;white-space:nowrap}.followup-due.overdue b{color:#c71926}.followup-due.today b{color:#b5640a}.followup-due.upcoming b{color:#197553}.followup-due.unscheduled{padding:3px 6px;border-radius:5px;background:#f0f1f3;color:#707782}.followup-due.closed{color:#86908b}.crm-master-detail .customer-detail-slot{margin:0;border-top:1px solid var(--workspace-border);background:#f7f8f9}.crm-master-detail .customer-detail-slot:not(.is-open){display:none}.crm-master-detail .lead-detail-inline .lead-drawer{gap:7px;padding:0 7px 8px;border:0;border-radius:0;background:#f7f8f9}.crm-master-detail .lead-detail-inline .lead-drawer>.drawer-head{min-height:47px;height:47px;margin:0 -7px;padding:5px 11px;border-bottom:1px solid var(--workspace-border);background:#fff;box-shadow:inset 1px 0 #d91f2c}.crm-master-detail .drawer-customer-identity h2{font-size:17px}.crm-master-detail .drawer-customer-identity>small,.crm-master-detail .drawer-customer-state>small{font-size:10px}.crm-master-detail .drawer-customer-state .status-tag{padding:4px 8px}.crm-master-detail .project-card{overflow:hidden;border-color:var(--workspace-border);border-radius:8px}.crm-master-detail .project-card-head{height:35px;min-height:35px;padding:4px 7px;background:#fff}.crm-master-detail .project-card-head>div:first-child h3{font-size:13px}.crm-master-detail .project-matrix{width:100%;min-width:1020px}.crm-master-detail .project-matrix-head,.crm-master-detail .project-matrix-body{grid-template-columns:1.12fr .78fr 1.1fr 1.05fr .82fr .82fr}.crm-master-detail .project-matrix-head{height:31px;min-height:31px;background:#f5f6f7}.crm-master-detail .project-matrix-head>span{color:#4d5763;font-size:10.5px}.crm-master-detail .project-matrix-body{background:#fff}.crm-master-detail .project-matrix-cell{min-height:154px;padding:7px;gap:5px;background:#fff}.crm-master-detail .project-matrix-cell label>span,.crm-master-detail .project-matrix-cell>small,.crm-master-detail .matrix-cell-tools small{color:#697482;font-size:10.5px}.crm-master-detail .project-matrix-cell input,.crm-master-detail .project-matrix-cell select{height:32px;min-height:32px;font-size:11.5px}.crm-master-detail .project-matrix-cell textarea{font-size:11.5px;line-height:1.4}.crm-master-detail .address-matrix-cell textarea{height:55px;min-height:55px}.crm-master-detail .quote-matrix-cell>textarea{height:70px;min-height:70px}.crm-master-detail .remarks-matrix-cell>textarea{height:105px;min-height:105px}.crm-master-detail .matrix-size-row>b{height:32px}.crm-master-detail .photo-matrix-cell>.matrix-cell-tools,.crm-master-detail .style-photo-section>.matrix-cell-tools{position:static;inset:auto;margin:0 0 4px;pointer-events:auto}.crm-master-detail .photo-matrix-cell .matrix-cell-tools small,.crm-master-detail .style-photo-section .matrix-cell-tools small{padding:0;background:transparent;box-shadow:none}.crm-master-detail .photo-matrix-cell .door-photo-grid,.crm-master-detail .style-photo-grid{max-height:112px;overflow-y:auto}.crm-master-detail .photo-matrix-cell .door-photo>div,.crm-master-detail .style-photo-grid .door-photo>div{height:108px}.crm-master-detail .photo-matrix-cell .door-photo-empty,.crm-master-detail .style-photo-empty{height:108px;min-height:108px}.crm-master-detail .style-photo-section{height:auto;min-height:0}.crm-master-detail .door-photo figcaption{display:none}.customer-activity-workspace{min-width:0;width:100%;grid-column:1 / -1;display:grid;grid-template-columns:1fr;gap:7px}.customer-activity-workspace .followup-card,.customer-activity-workspace .timeline-section{min-width:0;margin:0;border:1px solid var(--workspace-border);border-radius:8px;background:#fff;box-shadow:none}.customer-activity-workspace .followup-card{padding:8px 10px 9px}.customer-activity-workspace .followup-title{align-items:center;margin-bottom:5px}.customer-activity-workspace .followup-title h3{margin-top:2px;font-size:13px}.customer-activity-workspace .followup-title>small{display:none}.customer-activity-workspace .followup-compact-grid{display:grid;grid-template-columns:112px 120px minmax(280px,1fr) 190px 88px;align-items:end;gap:6px}.customer-activity-workspace .followup-compact-grid label>span{margin-bottom:3px;font-size:11px}.customer-activity-workspace .followup-compact-grid select,.customer-activity-workspace .followup-compact-grid input,.customer-activity-workspace .followup-compact-grid textarea{width:100%;height:32px;min-height:32px;font-size:12px}.customer-activity-workspace .followup-compact-grid .followup-content{grid-column:auto}.customer-activity-workspace .followup-compact-grid .followup-content textarea{height:32px;min-height:32px;resize:vertical}.customer-activity-workspace .followup-compact-grid .next-followup-field{grid-column:auto}.customer-activity-workspace .followup-save{grid-column:auto;justify-content:center;min-height:32px;height:32px;padding:0 12px;justify-self:stretch}.customer-activity-workspace .timeline-section{display:flex;flex-direction:column;overflow:hidden}.customer-activity-workspace .timeline-section>h3{flex:0 0 36px;height:36px;padding:8px 10px;border-bottom:1px solid var(--workspace-border);background:#fff}.customer-activity-workspace .followup-table-wrap{flex:1;overflow:auto;scrollbar-width:thin}.customer-activity-workspace .followup-column-table th{position:sticky;top:0;z-index:2;height:32px;padding:6px 8px;background:#f5f6f7;font-size:11px}.customer-activity-workspace .followup-column-table td{height:150px;padding:8px 10px;vertical-align:top}.customer-activity-workspace .followup-record{gap:5px}.customer-activity-workspace .followup-record dt{font-size:10.5px}.customer-activity-workspace .followup-record dd{font-size:11.5px}.customer-activity-workspace .no-followups{min-height:96px;display:grid;place-items:center;margin:8px}.crm-master-detail .extra-section,.crm-master-detail .email-section{margin:0;border-color:var(--workspace-border);box-shadow:none}@media(max-width:1180px){.crm-master-detail .assign-box{margin-left:auto}.customer-activity-workspace{grid-template-columns:1fr}.customer-activity-workspace .followup-compact-grid{grid-template-columns:112px 120px minmax(220px,1fr) 180px 84px;align-items:end}.customer-activity-workspace .followup-compact-grid .followup-content,.customer-activity-workspace .followup-compact-grid .next-followup-field,.customer-activity-workspace .followup-save{grid-column:auto}.customer-activity-workspace .followup-compact-grid .followup-content textarea{height:30px;min-height:30px}.customer-activity-workspace .followup-save{justify-self:stretch}}@media(max-width:820px){.customers-page{padding:12px 10px 24px}.crm-master-detail .searchbox{min-width:100%}.crm-master-detail .project-matrix{min-width:1020px}.customer-activity-workspace .followup-compact-grid{grid-template-columns:1fr 1fr}.customer-activity-workspace .followup-compact-grid .followup-content,.customer-activity-workspace .followup-compact-grid .next-followup-field{grid-column:1 / -1}.customer-activity-workspace .followup-compact-grid .followup-content textarea{height:48px;min-height:48px}.customer-activity-workspace .followup-save{grid-column:2}}@media(max-width:1050px){:root{--ui-sidebar-width: 64px}aside{width:64px;padding-inline:6px}main,.app main{width:calc(100% - 64px);margin-left:64px}}}@layer legacy{:root{--pa-red: #d91f2c;--pa-red-deep: #b81724;--pa-red-wash: #fff0f1;--pa-graphite: #12151a;--pa-graphite-2: #1b1f25;--pa-ink: #20242a;--pa-muted: #69717b;--pa-subtle: #8a9199;--pa-canvas: #f5f4f0;--pa-paper: #fff;--pa-paper-warm: #fbfaf7;--pa-line: #d9dbdd;--pa-line-soft: #e9e9e6;--pa-success: #1f7758;--pa-warning: #a96317;--pa-danger: #b42318;--pa-radius: 7px;--pa-shadow-workbench: 0 12px 34px rgba(27, 31, 37, .075);--ui-sidebar-width: 148px;color:var(--pa-ink);background:var(--pa-canvas);font-family:ui-sans-serif,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-variant-numeric:tabular-nums}*{scrollbar-color:#b8bcc1 #eeefed;scrollbar-width:thin}html,body,#root{min-height:100%;background:var(--pa-canvas)}body{color:var(--pa-ink);background:var(--pa-canvas);font-size:12px;line-height:1.45;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select,textarea{color:var(--pa-ink);font:inherit}button{cursor:pointer}button,a,input,select,textarea{transition:color .16s ease-out,background-color .16s ease-out,border-color .16s ease-out,box-shadow .16s ease-out}:where(button,a,input,select,textarea):focus-visible{outline:2px solid rgba(217,31,44,.72);outline-offset:2px}::selection{color:#fff;background:var(--pa-red)}.app-sidebar{width:var(--ui-sidebar-width);padding:14px 10px 12px;border-right:1px solid #2a2f37;background:var(--pa-graphite);box-shadow:none}.brand{height:42px;gap:8px;padding:0 3px;color:#fff;font-size:13px;font-weight:750;letter-spacing:-.02em}.brandmark.logo-mark{width:34px;height:34px;flex:0 0 34px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.brandmark.logo-mark img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;display:block}.workspace{margin:15px 2px 13px}.workspace>span,.navlabel{color:#777f8b;font-size:10px;font-weight:700;letter-spacing:.08em}.workspace button{width:100%;height:32px;margin-top:5px;padding:0 8px;border:1px solid #333943;border-radius:5px;color:#dfe2e6;background:var(--pa-graphite-2);font-size:10px;box-shadow:none}.workspace button:hover{border-color:#4a515c;color:#fff;background:#22272e}nav{gap:2px}nav button{width:100%;min-height:36px;display:flex;align-items:center;padding:8px;gap:9px;border:1px solid transparent;border-radius:5px;color:#a2a9b2;text-align:left;background:transparent;font-size:11px;font-weight:650}nav button svg{width:16px;color:#858e9a}nav button:hover{color:#fff;background:#1b2026}nav button.active{border-color:#3c2226;color:#fff;background:#25171a;box-shadow:inset 1px 0 0 var(--pa-red)}nav button.active svg{color:#ff6570}.navlabel{margin:15px 8px 5px}.profile{padding:12px 3px 0;border-top:1px solid #2b3038}.profile .avatar{width:28px;height:28px;color:var(--pa-red-deep);background:var(--pa-red-wash);font-size:11px}.profile b{color:#f4f5f6;font-size:10.5px}.profile span{color:#7f8792;font-size:10px}.profile-logout{width:28px;height:28px;margin-left:auto;padding:0;border:0;border-radius:4px;color:#6f7782;background:transparent;display:grid;place-items:center}.profile-logout:hover{color:#fff;background:#1b2026}.profile-logout svg{width:16px;color:#6f7782}.profile-logout:hover svg{color:currentColor}main,.app main{width:calc(100% - var(--ui-sidebar-width));margin-left:var(--ui-sidebar-width);background:var(--pa-canvas)}header{height:50px;padding:0 18px;border-bottom:1px solid var(--pa-line);background:#fffffff7;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.crumb{color:#777f88;font-size:10.5px;font-weight:600}.crumb span{color:#c2c5c8}.header-actions{gap:5px}.header-actions .icon{width:31px;height:31px;border-radius:5px}.header-actions .icon:hover{color:var(--pa-ink);background:#f0f0ed}.header-actions .icon svg{width:15px}.mini-avatar{width:27px;height:27px;color:var(--pa-red-deep);background:var(--pa-red-wash);box-shadow:none;font-size:10px}.content{width:100%;max-width:none;padding:18px 20px 40px}.title-row{min-height:46px;margin-bottom:12px}.title-row h1{margin:0 0 3px;color:var(--pa-ink);font-size:22px;line-height:1.2;letter-spacing:-.025em}.title-row p{max-width:70ch;margin:0;color:var(--pa-muted);font-size:11.5px}.title-actions{gap:6px}.primary,.ghost,.title-actions>button{min-height:34px;height:34px;border-radius:5px;padding:0 12px;font-size:10.5px;font-weight:750}.primary{border-color:var(--pa-red);color:#fff;background:var(--pa-red);box-shadow:0 4px 10px #d91f2c29}.primary:hover{border-color:var(--pa-red-deep);background:var(--pa-red-deep);box-shadow:0 5px 14px #b8172433}.primary:disabled{border-color:#c7c9cb;color:#70757b;background:#dedfdf;box-shadow:none;cursor:not-allowed}.ghost{border-color:#cfd2d4;color:#4f565f;background:#fff;box-shadow:none}.ghost:hover{border-color:#bbbfc3;color:var(--pa-ink);background:#f8f7f4}.card{border:1px solid var(--pa-line);border-radius:var(--pa-radius);background:var(--pa-paper);box-shadow:none}.eyebrow{color:var(--pa-red-deep);font-size:10px;font-weight:800;letter-spacing:.055em}.customers-page{--workspace-border: var(--pa-line);--workspace-muted: var(--pa-muted);--workspace-soft: #efefec;--workspace-ink: var(--pa-ink);padding:12px 14px 26px;background:var(--pa-canvas)}.customers-page .title-row{min-height:42px;margin:0 0 8px}.customers-page .title-row h1{margin-bottom:1px;font-size:21px}.customers-page .title-row p{color:var(--pa-muted);font-size:11px}.customers-page .title-actions>button{min-height:32px;height:32px}.customers-page .status-category-grid{min-height:41px;margin:0;padding:4px 5px 0;gap:1px;overflow-x:auto;border:1px solid var(--pa-line);border-bottom:0;border-radius:7px 7px 0 0;background:var(--pa-paper-warm);box-shadow:none}.customers-page .status-category{min-width:max-content;height:36px;padding:0 9px;border:0;border-bottom:2px solid transparent;border-radius:3px 3px 0 0;color:#555d66;background:transparent;box-shadow:none}.customers-page .status-category:hover{border-color:transparent;color:var(--pa-ink);background:#f0efec}.customers-page .status-category.active{border-color:var(--pa-red);color:var(--pa-red-deep);background:#fff;box-shadow:none}.customers-page .status-category span{color:inherit;font-size:10.5px;font-weight:700}.customers-page .status-category b{min-width:18px;height:18px;margin-left:5px;border-radius:3px;color:#606770;background:#e8e8e5;font-size:10px}.customers-page .status-category.active b{color:#fff;background:var(--pa-red)}.crm-master-detail{overflow:hidden;border:1px solid var(--pa-line);border-radius:0 0 7px 7px;background:var(--pa-paper);box-shadow:var(--pa-shadow-workbench)}.crm-master-detail .customer-card{margin:0;border:0;border-radius:0;box-shadow:none}.crm-master-detail .customer-tools{min-height:47px;padding:6px;gap:5px;border-bottom:1px solid var(--pa-line);background:#f8f7f4}.crm-master-detail .searchbox,.crm-master-detail .filter-select,.crm-master-detail .assign-box,.crm-master-detail .bulk-status-box,.crm-master-detail .customer-view-toggle,.crm-master-detail .bulk-email{height:33px;border-color:#cfd2d4;border-radius:5px;background:#fff;box-shadow:none}.crm-master-detail .searchbox{min-width:320px;flex:1 1 360px;border-color:#c7cacc;border-radius:7px;background:#fff;overflow:hidden}.crm-master-detail .searchbox:focus-within{border-color:var(--pa-red);box-shadow:0 0 0 2px var(--pa-red-wash)}.crm-master-detail .searchbox button{flex:0 0 64px;min-width:64px;padding:0 14px;border-left:1px solid #d7d9dc;color:#20242a;background:#f3f3f1;white-space:nowrap;letter-spacing:.02em}.crm-master-detail .searchbox button:hover{color:#fff;background:var(--pa-red)}.crm-master-detail .searchbox svg{flex:0 0 14px;color:#79818b;margin-left:10px}.crm-master-detail .searchbox input{min-width:0;padding-inline:9px}.crm-master-detail .filter-select select,.crm-master-detail .assign-box select,.crm-master-detail .bulk-status-box select,.crm-master-detail .customer-view-toggle button,.crm-master-detail .bulk-email,.crm-master-detail .searchbox input,.crm-master-detail .searchbox button,.crm-master-detail .assign-box button{font-size:10.5px}.crm-master-detail .assign-box,.crm-master-detail .bulk-status-box{border-color:#e8b7bb;background:snow}.crm-master-detail .assign-box button,.crm-master-detail .bulk-status-box button{border-color:var(--pa-red);background:var(--pa-red)}.crm-master-detail .customer-view-toggle button[aria-pressed=true]{color:#fff;background:var(--pa-red);border-color:var(--pa-red)}.crm-master-detail input::placeholder,.crm-master-detail textarea::placeholder{color:#757d85;opacity:1}.crm-master-detail .customer-card>.tablewrap{max-height:clamp(252px,30vh,330px);overflow:auto;border-bottom:0;background:#fff}.crm-master-detail:not(.has-detail) .customer-card>.tablewrap{max-height:calc(100dvh - 205px)}.crm-master-detail .customer-table{min-width:1240px;table-layout:fixed;border-collapse:separate;border-spacing:0}.crm-master-detail .customer-table th:nth-child(1){width:34px}.crm-master-detail .customer-table th:nth-child(2){width:38px}.crm-master-detail .customer-table th:nth-child(3){width:160px}.crm-master-detail .customer-table th:nth-child(4){width:168px}.crm-master-detail .customer-table th:nth-child(5){width:130px}.crm-master-detail .customer-table th:nth-child(6){width:178px}.crm-master-detail .customer-table th:nth-child(7){width:86px}.crm-master-detail .customer-table th:nth-child(8){width:100px}.crm-master-detail .customer-table th:nth-child(9){width:128px}.crm-master-detail .customer-table th:nth-child(10){width:122px}.crm-master-detail .customer-table th:nth-child(11){width:92px}.crm-master-detail .customer-table th:nth-child(12){width:112px}.crm-master-detail .customer-table :is(th,td):nth-child(2){min-width:38px}.crm-master-detail .customer-table :is(th,td):nth-child(9){min-width:128px}.crm-master-detail .customer-table :is(th,td):nth-child(10){min-width:122px}.crm-master-detail .customer-table :is(th,td):nth-child(11){min-width:92px}.crm-master-detail .customer-table :is(th,td):nth-child(12){min-width:112px}.crm-master-detail .customer-table thead{position:sticky;top:0;z-index:4}.crm-master-detail .customer-table th{height:32px;padding:5px 10px;border-color:var(--pa-line-soft);color:#4c535d;background:linear-gradient(180deg,#f8f7f4,#f0efeb);font-size:10px;font-weight:750;letter-spacing:.035em;white-space:nowrap}.crm-master-detail .customer-table td{height:54px;padding:7px 10px;border-color:var(--pa-line-soft);color:#3a4149;background:#fff;font-size:11.5px;vertical-align:middle}.crm-master-detail .customer-table :is(th,td):nth-child(3),.crm-master-detail .customer-table :is(th,td):nth-child(6),.crm-master-detail .customer-table :is(th,td):nth-child(9){border-left:1px solid #e1e2e3}.crm-master-detail .customer-table :is(th,td):nth-child(2),.crm-master-detail .customer-table :is(th,td):nth-child(7),.crm-master-detail .customer-table :is(th,td):nth-child(8),.crm-master-detail .customer-table :is(th,td):nth-child(10),.crm-master-detail .customer-table :is(th,td):nth-child(12){text-align:center}.crm-master-detail .customer-table :is(th,td):nth-child(11){text-align:right}.crm-master-detail .customer-table :is(td):nth-child(10),.crm-master-detail .customer-table :is(td):nth-child(12){color:#3d4650;font-size:10.8px;font-variant-numeric:tabular-nums;white-space:nowrap}.crm-master-detail .customer-table tbody tr{cursor:pointer}.crm-master-detail .customer-table tbody tr:focus-visible{outline:2px solid rgba(217,31,44,.72);outline-offset:-2px}.crm-master-detail .customer-table tbody tr:hover td{background:#fbfaf7}.crm-master-detail .customer-table tbody tr:nth-child(2n) td{background:#fffefc}.crm-master-detail .customer-table tbody tr:hover:nth-child(2n) td{background:#fbfaf7}.crm-master-detail .customer-table tr.active-detail-row td{background:var(--pa-red-wash)}.crm-master-detail .customer-table tr.active-detail-row td:first-child{box-shadow:inset 1px 0 0 var(--pa-red)}.crm-master-detail .customer-name>span{width:27px;height:27px;color:var(--pa-red-deep);background:#fff;box-shadow:inset 0 0 0 1px #f0c6c9}.crm-master-detail .customer-name b,.crm-master-detail .contact b{color:#20242a;font-size:11.8px;font-weight:700;line-height:1.2}.crm-master-detail .customer-name small,.crm-master-detail .contact small{color:#777f88;font-size:10px;line-height:1.25;margin-top:3px}.crm-master-detail .customer-table td:nth-child(5) .contact b,.crm-master-detail .customer-table td:nth-child(6) .contact b{font-size:11.3px}.crm-master-detail .customer-table td:nth-child(5) .contact small,.crm-master-detail .customer-table td:nth-child(6) .contact small{color:#68717d}.crm-master-detail .whatsapp-status-select{height:27px;border-radius:4px;font-size:10px}.crm-master-detail .lead-status-progress{width:112px;gap:5px}.crm-master-detail .lead-status-title b{color:#343a42;font-size:11px}.crm-master-detail .lead-status-title small{font-size:10px}.crm-master-detail .lead-status-track{height:4px;gap:2px}.crm-master-detail .lead-status-track i{border-radius:1px}.crm-master-detail .lead-status-track.queue-track i{background:#e8e4de}.followup-due,.followup-due b{font-size:11px}.followup-due small{font-size:10px}.followup-due.unscheduled{border-radius:3px;background:#efefec}.crm-master-detail .customer-detail-slot{margin:0;border-top:1px solid var(--pa-line);background:#eeede9}.crm-master-detail .customer-detail-slot:not(.is-open){display:none}.crm-master-detail .lead-detail-inline .lead-drawer{gap:7px;padding:0 7px 8px;border:0;border-radius:0;background:#eeede9}.crm-master-detail .lead-detail-inline .lead-drawer>.drawer-head{min-height:43px;height:43px;margin:0 -7px;padding:5px 10px;border-bottom:1px solid var(--pa-line);background:#fff;box-shadow:inset 1px 0 0 var(--pa-red)}.crm-master-detail .drawer-customer-summary{gap:12px}.crm-master-detail .drawer-customer-identity h2{color:var(--pa-ink);font-size:16px;letter-spacing:-.015em}.crm-master-detail .drawer-customer-identity>small,.crm-master-detail .drawer-customer-state>small{color:var(--pa-muted);font-size:10px}.crm-master-detail .drawer-customer-state .status-tag{padding:3px 7px;border-radius:3px;font-size:10px}.crm-master-detail .lead-detail-inline .lead-drawer>.drawer-head>button{width:28px;height:28px;border-radius:4px}.crm-master-detail .project-card{overflow:hidden;border:1px solid var(--pa-line);border-radius:6px;background:#fff;box-shadow:none}.crm-master-detail .project-card-head{min-height:39px;height:39px;padding:4px 7px 4px 10px;border-bottom:1px solid var(--pa-line);background:#fff}.crm-master-detail .project-card-head>div:first-child{align-items:baseline;flex-direction:row;gap:8px}.crm-master-detail .project-card-head>div:first-child h3{margin:0;color:var(--pa-ink);font-size:13px}.crm-master-detail .project-completeness{border:1px solid #efc5c8;border-radius:3px;color:var(--pa-red-deep);background:var(--pa-red-wash);font-size:10px}.crm-master-detail .project-head-save{min-height:29px;height:29px;padding:0 10px;border-radius:4px;font-size:10px}.crm-master-detail .project-matrix-wrap{overflow-x:auto;background:#fff}.crm-master-detail .project-matrix{width:100%;min-width:1190px}.crm-master-detail .project-matrix-head,.crm-master-detail .project-matrix-body{grid-template-columns:1.15fr .78fr 1.06fr 1.08fr .86fr .72fr}.crm-master-detail .project-matrix-head{min-height:32px;height:32px;border-bottom:1px solid var(--pa-line);background:#f4f3f0}.crm-master-detail .project-matrix-head>span{border-color:var(--pa-line);color:#3f464f;font-size:10px;font-weight:750}.crm-master-detail .project-matrix-head>span svg{width:12px;color:var(--pa-red)}.crm-master-detail .project-matrix-body{background:#fff}.crm-master-detail .project-matrix-cell{min-height:222px;padding:7px;gap:5px;border-color:var(--pa-line);background:#fff}.crm-master-detail .project-matrix-cell label>span,.crm-master-detail .project-matrix-cell>small,.crm-master-detail .matrix-cell-tools small{margin-bottom:3px;color:var(--pa-muted);font-size:10px;font-weight:650}.crm-master-detail .project-matrix-cell input,.crm-master-detail .project-matrix-cell select,.crm-master-detail .project-matrix-cell textarea{border-color:#cfd2d4;border-radius:4px;color:#252a30;background:#fff;box-shadow:none;font-size:11px}.crm-master-detail .project-matrix-cell input,.crm-master-detail .project-matrix-cell select{min-height:31px;height:31px}.crm-master-detail .project-matrix-cell textarea{padding:7px 8px;line-height:1.45}.crm-master-detail .project-matrix-cell :is(input,select,textarea):focus{border-color:var(--pa-red);box-shadow:0 0 0 2px var(--pa-red-wash)}.crm-master-detail .matrix-size-row>b{height:31px}.crm-master-detail .address-matrix-cell textarea{min-height:68px;height:68px}.crm-master-detail .quote-matrix-cell>textarea{min-height:86px;height:86px}.crm-master-detail .remarks-matrix-cell>textarea{min-height:139px;height:139px}.crm-master-detail .matrix-quote-row{grid-template-columns:66px 1fr}.crm-master-detail .photo-matrix-cell>.matrix-cell-tools,.crm-master-detail .style-photo-section>.matrix-cell-tools{position:static;margin:0 0 3px;pointer-events:auto}.crm-master-detail .matrix-cell-tools button{height:27px;padding:0 8px;border-color:#e6b1b5;border-radius:4px;color:var(--pa-red-deep);background:#fff;font-size:10px}.crm-master-detail .photo-matrix-cell .door-photo-grid,.crm-master-detail .style-photo-grid{max-height:175px;overflow-y:auto}.crm-master-detail .photo-matrix-cell .door-photo,.crm-master-detail .style-photo-grid .door-photo{border-color:var(--pa-line);border-radius:4px;background:#f0efec}.crm-master-detail .photo-matrix-cell .door-photo>div,.crm-master-detail .style-photo-grid .door-photo>div{height:171px;background:#efefec}.crm-master-detail .photo-matrix-cell .door-photo img,.crm-master-detail .style-photo-grid .door-photo img{width:100%;height:100%;object-fit:contain;object-position:center;background:#efefec}.crm-master-detail .photo-matrix-cell .door-photo-empty,.crm-master-detail .style-photo-empty{min-height:171px;height:171px;border-color:#e5aeb3;border-radius:4px;color:#747b83;background:snow}.crm-master-detail .door-photo figcaption{display:none}.crm-master-detail .style-photo-section{min-height:0;height:auto;border-top-color:var(--pa-line-soft)}.customer-activity-workspace{width:100%;min-width:0;grid-column:1 / -1;display:grid;grid-template-columns:1fr;gap:7px}.customer-activity-workspace .followup-card,.customer-activity-workspace .timeline-section{min-width:0;margin:0;border:1px solid var(--pa-line);border-radius:6px;background:#fff;box-shadow:none}.customer-activity-workspace .followup-card{padding:7px 9px 8px}.customer-activity-workspace .followup-title{align-items:center;margin-bottom:4px}.customer-activity-workspace .followup-title h3{margin:1px 0 0;font-size:12.5px}.customer-activity-workspace .followup-title>small{display:none}.customer-activity-workspace .followup-compact-grid{display:grid;grid-template-columns:104px 116px minmax(280px,1fr) 182px 82px;align-items:end;gap:5px}.customer-activity-workspace .followup-compact-grid label>span{margin-bottom:2px;color:#59616a;font-size:10px}.customer-activity-workspace .followup-compact-grid select,.customer-activity-workspace .followup-compact-grid input,.customer-activity-workspace .followup-compact-grid textarea{width:100%;min-height:30px;height:30px;border-color:#cfd2d4;border-radius:4px;font-size:10.5px}.customer-activity-workspace .followup-compact-grid .followup-content{grid-column:auto;margin-top:0}.customer-activity-workspace .followup-compact-grid .followup-content textarea{min-height:30px;height:30px;padding:6px 8px;resize:vertical}.customer-activity-workspace .followup-compact-grid .next-followup-field{grid-column:auto}.customer-activity-workspace .followup-save{grid-column:auto;min-height:30px;height:30px;justify-self:stretch;justify-content:center;padding:0 9px;border-radius:4px;font-size:10px}.customer-activity-workspace .timeline-section{display:flex;flex-direction:column;overflow:hidden}.customer-activity-workspace .timeline-section>h3{flex:0 0 34px;height:34px;margin:0;padding:8px 9px;border-bottom:1px solid var(--pa-line);color:var(--pa-ink);background:#fff;font-size:11.5px}.customer-activity-workspace .followup-table-wrap{flex:1;overflow:auto}.customer-activity-workspace .followup-column-table{min-width:max-content;table-layout:fixed}.customer-activity-workspace .followup-column-table th{position:sticky;top:0;z-index:2;width:260px;min-width:260px;height:31px;padding:6px 8px;border-color:var(--pa-line);color:#3f464e;background:#f4f3f0;font-size:10px}.customer-activity-workspace .followup-column-table td{width:260px;min-width:260px;height:125px;padding:8px 10px;border-color:var(--pa-line);vertical-align:top}.customer-activity-workspace .followup-record{gap:4px}.customer-activity-workspace .followup-record dt{color:#828990;font-size:10px}.customer-activity-workspace .followup-record dd{color:#353b43;font-size:11px}.customer-activity-workspace .no-followups{min-height:62px;margin:7px;border-radius:4px;color:#767d85;background:#f7f6f3}.crm-master-detail .extra-section,.crm-master-detail .email-section{margin:0;border-color:var(--pa-line);border-radius:6px;box-shadow:none}.stat-grid{gap:8px;margin-top:18px}.stat{min-height:94px;padding:14px 15px;border-color:var(--pa-line);border-radius:6px;box-shadow:none}.stat:before{height:2px}.stat span{color:var(--pa-muted);font-size:10.5px}.stat b{margin:6px 0 2px;color:var(--pa-ink);font-size:25px;letter-spacing:-.025em}.stat small{color:var(--pa-subtle);font-size:10px}.reminder-card,.report-card,.team-card,.account-summary,.password-card,.mapping-card,.preview-card,.upload-card{border-color:var(--pa-line);border-radius:7px;box-shadow:none}.card-head{padding:17px 18px 12px}.card-head h2{color:var(--pa-ink);font-size:16px}.dropzone{border-color:#bbbfc2;border-radius:6px;background:#faf9f6}.dropzone:hover,.dropzone.dragging{border-color:var(--pa-red);background:snow}.upload-icon{border-radius:6px}.modal-backdrop,.drawer-backdrop{background:#12151a94;-webkit-backdrop-filter:none;backdrop-filter:none}.email-modal,.manual-modal{border:1px solid #3c4148;border-radius:8px;box-shadow:0 24px 70px #00000047}.modal-head{padding:17px 20px 13px}.manual-section input,.manual-section select,.manual-section textarea,.email-form input,.email-form select,.email-form textarea,.profile-editor input,.profile-editor textarea,.user-form input,.user-form select{border-color:#cfd2d4;border-radius:5px}.crm-master-detail .bulk-email{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding-inline:10px;color:#b4232e;font-weight:700;white-space:nowrap}.crm-master-detail .bulk-email b{min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:9px;background:#df1f2d;color:#fff;font-size:9px}.bulk-email-modal{width:min(720px,96vw);max-height:min(900px,94vh)}.bulk-email-modal .modal-head{align-items:flex-start}.bulk-email-modal .modal-head h2{margin:3px 0 4px}.bulk-email-modal .modal-head p{margin:0;max-width:62ch;color:#667085;font-size:10px;line-height:1.5}.recipient-overview{display:grid;grid-template-columns:92px 92px 92px 1fr;align-items:stretch;margin:14px 20px 0;border:1px solid #e4e7ec;border-radius:7px;overflow:hidden;background:#f8f8f6}.recipient-overview>div{display:flex;flex-direction:column;justify-content:center;min-height:52px;padding:8px 12px;border-inline-end:1px solid #e4e7ec}.recipient-overview span{color:#667085;font-size:9px}.recipient-overview b{margin-top:2px;color:#20242b;font-size:17px;line-height:1}.recipient-overview .sendable b{color:#067647}.recipient-overview .has-skipped b{color:#b54708}.recipient-overview p{align-self:center;margin:0;padding:10px 14px;color:#667085;font-size:9.5px;line-height:1.45}.recipient-preview{margin:12px 20px 0;border:1px solid #e4e7ec;border-radius:7px;overflow:hidden}.recipient-preview-head{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:8px 12px;border-bottom:1px solid #e4e7ec;background:#fbfbfa}.recipient-preview-head h3{margin:0;color:#20242b;font-size:11px}.recipient-preview-head span{display:block;margin-top:2px;color:#98a2b3;font-size:8.5px}.recipient-preview-head button{border:0;background:transparent;color:#b4232e;font-size:9px;font-weight:700}.recipient-list{max-height:186px;overflow-y:auto}.recipient-list>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:45px;padding:6px 12px;border-top:1px solid #f0f1f2}.recipient-list>div:first-child{border-top:0}.recipient-list>div.invalid{background:#fffcf5}.recipient-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#fce8ea;color:#b4232e;font-size:9px;font-weight:800}.recipient-list>div>div{min-width:0}.recipient-list b,.recipient-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipient-list b{color:#344054;font-size:10px}.recipient-list small{margin-top:2px;color:#667085;font-size:8.5px}.recipient-list em{display:inline-flex;align-items:center;gap:4px;color:#067647;font-size:8.5px;font-style:normal;font-weight:700}.recipient-list .invalid em{color:#b54708}.recipient-list em svg{width:12px;height:12px}.bulk-email-modal .smtp-warning{margin-inline:20px}.bulk-email-modal .email-form{padding:14px 20px 4px}.email-form-row{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(260px,1.35fr);gap:10px}.bulk-email-modal .email-form textarea{min-height:132px;resize:vertical}.send-confirmation{flex-direction:row!important;align-items:flex-start;gap:9px;margin:14px 0 10px!important;padding:11px 12px;border:1px solid #e4e7ec;border-radius:7px;background:#fbfbfa;cursor:pointer}.send-confirmation input{width:14px;height:14px;flex:0 0 14px;margin-top:2px;padding:0}.send-confirmation>span{margin:0!important}.send-confirmation b,.send-confirmation small{display:block}.send-confirmation b{color:#344054;font-size:10px}.send-confirmation small{margin-top:2px;color:#b4232e;font-size:8.5px;font-weight:400}.bulk-email-modal .send-result{display:flex;align-items:flex-start;gap:8px;margin-inline:20px}.bulk-email-modal .send-result>svg{width:15px;flex:0 0 15px}.bulk-email-modal .send-result b,.bulk-email-modal .send-result span,.bulk-email-modal .send-result small{display:block}.bulk-email-modal .send-result span{margin-top:2px}.bulk-email-modal .send-result small{margin-top:5px;line-height:1.45}.bulk-email-modal .modal-actions{position:sticky;bottom:0;background:#fff}.bulk-email-modal .modal-actions .primary{min-width:152px}@media(max-width:640px){.recipient-overview{grid-template-columns:repeat(3,1fr)}.recipient-overview p{grid-column:1 / -1;border-top:1px solid #e4e7ec}.email-form-row{grid-template-columns:1fr;gap:0}}.login-page{grid-template-columns:.82fr 1.18fr;background:var(--pa-paper)}.login-visual{position:relative;overflow:hidden;padding:42px 6vw;color:#fff;background:var(--pa-graphite)}.login-visual:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:var(--pa-red)}.login-visual:after{content:"";position:absolute;right:-16%;bottom:-18%;width:55%;aspect-ratio:1;border:1px solid rgba(255,255,255,.055);border-radius:50%;box-shadow:0 0 0 58px #ffffff05,0 0 0 116px #ffffff03}.login-logo-full{width:116px;height:116px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#fff;object-fit:cover}.login-visual h1{max-width:520px;margin:14px 0;font-size:36px;line-height:1.15;letter-spacing:-.035em}.login-visual p{color:#bcc2ca;font-size:13px}.login-card{width:min(390px,82%)}.login-card h2{color:var(--pa-ink);font-size:24px}.login-card input{height:40px;border-color:#cfd2d4;border-radius:5px}.login-card>.primary{height:40px;border-radius:5px}@media(max-width:1360px){:root{--ui-sidebar-width: 66px}.app-sidebar{width:var(--ui-sidebar-width);padding-inline:7px}.brand{justify-content:center}.workspace,.navlabel{display:none}.brand>span,nav button{font-size:0}nav button{justify-content:center;padding-inline:0}nav button svg{width:18px;margin:0}.profile{justify-content:center}.profile>div:not(.avatar),.profile>.profile-logout{display:none}main,.app main{width:calc(100% - var(--ui-sidebar-width));margin-left:var(--ui-sidebar-width)}.crm-master-detail .project-matrix{min-width:1180px}.customer-activity-workspace .followup-compact-grid{grid-template-columns:100px 112px minmax(220px,1fr) 172px 78px}}@media(max-width:900px){.content,.customers-page{padding:12px 10px 24px}.crm-master-detail .customer-tools{flex-wrap:wrap}.crm-master-detail .searchbox{min-width:100%}.crm-master-detail .project-matrix{min-width:0}.crm-master-detail .project-matrix-head{display:none}.crm-master-detail .project-matrix-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.crm-master-detail .project-matrix-cell{min-height:auto;border-right:1px solid var(--pa-line);border-bottom:1px solid var(--pa-line)}.crm-master-detail .project-matrix-cell:nth-child(2n){border-right:0}.crm-master-detail .project-matrix-cell:before{min-height:29px;margin:-7px -7px 7px;padding:0 8px;border-bottom:1px solid var(--pa-line);color:#3f464f;background:#f4f3f0;display:flex;align-items:center;font-size:10px;font-weight:750}.crm-master-detail .photo-matrix-cell:before{content:"门洞照片"}.crm-master-detail .size-matrix-cell:before{content:"门洞尺寸"}.crm-master-detail .address-matrix-cell:before{content:"地址或邮编"}.crm-master-detail .style-matrix-cell:before{content:"款式 / 型号"}.crm-master-detail .quote-matrix-cell:before{content:"报价及说明"}.crm-master-detail .remarks-matrix-cell:before{content:"备注"}.customer-activity-workspace .followup-compact-grid{grid-template-columns:1fr 1fr}.customer-activity-workspace .followup-compact-grid .followup-content,.customer-activity-workspace .followup-compact-grid .next-followup-field{grid-column:1 / -1}.customer-activity-workspace .followup-compact-grid .followup-content textarea{min-height:46px;height:46px}.customer-activity-workspace .followup-save{grid-column:2}}@media(max-width:620px){:root{--ui-sidebar-width: 0px}.app-sidebar{display:none}main,.app main{width:100%;margin-left:0}header{padding-inline:12px}.title-row{align-items:flex-start;flex-direction:column;gap:8px}.title-actions{width:100%}.title-actions>button{flex:1}.crm-master-detail .project-matrix{min-width:0}.crm-master-detail .project-matrix-head{display:none}.crm-master-detail .project-matrix-body{display:grid;grid-template-columns:1fr}.crm-master-detail .project-matrix-cell{min-height:auto;border-right:0;border-bottom:1px solid var(--pa-line)}.login-page{display:block}.login-visual{min-height:260px;padding:28px 24px}.login-visual h1{font-size:28px}.login-card{width:auto;margin:34px 24px}}.crm-master-detail.has-detail .customer-card>.tablewrap{max-height:clamp(196px,24vh,252px)}.crm-master-detail .lead-detail-inline .lead-drawer{gap:7px;padding:0 7px 8px}.crm-master-detail .lead-detail-inline .customer-workbench-head{height:auto;min-height:0;margin:0 -7px;padding:0;display:flex;align-items:stretch;flex-direction:column;gap:0;border-bottom:1px solid var(--pa-line);background:#fff;box-shadow:inset 1px 0 0 var(--pa-red)}.customer-workbench-topline{min-height:50px;padding:7px 9px 6px 11px;display:grid;grid-template-columns:minmax(196px,250px) minmax(420px,1fr) auto 28px;align-items:center;gap:12px}.crm-master-detail .customer-workbench-topline .drawer-customer-identity{min-width:0;display:grid;grid-template-columns:auto minmax(0,auto) auto;align-items:baseline;justify-content:start;gap:6px}.crm-master-detail .customer-workbench-topline .drawer-customer-identity .eyebrow{margin:0}.crm-master-detail .customer-workbench-topline .drawer-customer-identity h2{max-width:150px;margin:0;overflow:hidden;color:var(--pa-ink);font-size:16px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.crm-master-detail .customer-workbench-topline .drawer-customer-identity>small{padding-left:6px;border-left:1px solid var(--pa-line);color:var(--pa-muted);font-size:10px;white-space:nowrap}.customer-workbench-facts{min-width:0;margin:0;display:grid;grid-template-columns:.82fr 1.25fr 1fr .78fr;gap:0}.customer-workbench-facts>div{min-width:0;padding:0 10px;border-left:1px solid var(--pa-line-soft)}.customer-workbench-facts dt{margin:0 0 2px;color:var(--pa-muted);font-size:10px;font-weight:700}.customer-workbench-facts dd{margin:0;overflow:hidden;color:var(--pa-ink);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.crm-master-detail .customer-workbench-topline .drawer-customer-state{min-width:110px;display:flex;align-items:flex-end;flex-direction:column;gap:3px}.crm-master-detail .customer-workbench-topline .drawer-customer-state>small{font-size:10px}.crm-master-detail .customer-workbench-topline>button{width:28px;height:28px;border:1px solid var(--pa-line);border-radius:5px;color:var(--pa-muted);background:#fff}.customer-pipeline{min-height:31px;display:grid;grid-template-columns:repeat(6,minmax(74px,1fr));border-top:1px solid var(--pa-line-soft);background:var(--pa-canvas)}.customer-pipeline>div{min-width:0;padding:6px 8px;display:flex;align-items:center;justify-content:center;gap:6px;border-right:1px solid var(--pa-line-soft);color:var(--pa-muted);font-size:10px;font-weight:700}.customer-pipeline>div:last-of-type{border-right:0}.customer-pipeline>div i{width:6px;height:6px;flex:0 0 auto;border:1px solid var(--pa-line);border-radius:50%;background:#fff}.customer-pipeline>div.is-complete{color:var(--pa-muted)}.customer-pipeline>div.is-complete i{border-color:var(--pa-subtle);background:var(--pa-subtle)}.customer-pipeline>div.is-current{color:var(--pa-red-deep);background:var(--pa-red-wash)}.customer-pipeline>div.is-current i{border-color:var(--pa-red);background:var(--pa-red);box-shadow:0 0 0 2px #fff}.customer-pipeline.is-invalid{position:relative}.customer-pipeline.is-invalid>div{opacity:.45}.customer-pipeline.is-invalid>strong{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--pa-red-deep);background:#fff0f1f0;font-size:10px}.crm-master-detail .b-workbench-project{border-radius:var(--pa-radius)}.crm-master-detail .b-workbench-project .project-card-head{height:38px;min-height:38px}.b-specification-desk{width:100%;display:grid;grid-template-columns:minmax(210px,1.02fr) minmax(250px,1.14fr) minmax(210px,1fr) minmax(280px,1.28fr);background:#fff}.b-spec-station{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--pa-line);background:#fff}.b-spec-station:last-child{border-right:0}.b-station-head{min-height:36px;padding:5px 8px;display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--pa-line);background:#f4f3f0}.b-station-head>svg{width:14px;color:var(--pa-red);stroke-width:1.8}.b-station-head h4{margin:0;color:var(--pa-ink);font-size:12px;font-weight:800;line-height:1.2}.b-station-head span{display:block;margin-top:1px;color:var(--pa-muted);font-size:10px;line-height:1.2}.crm-master-detail .b-specification-desk .project-matrix-cell{min-height:0;padding:7px 8px;gap:5px;border:0;background:#fff}.crm-master-detail .b-specification-desk .project-matrix-cell:before{display:none!important;content:none!important}.crm-master-detail .b-evidence-station>.project-matrix-cell,.crm-master-detail .b-style-station>.project-matrix-cell{flex:1}.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo-grid,.crm-master-detail .b-specification-desk .style-photo-grid{max-height:164px}.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo>div,.crm-master-detail .b-specification-desk .style-photo-grid .door-photo>div{height:158px}.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo-empty{min-height:158px;height:158px}.crm-master-detail .b-specification-desk .style-photo-empty{min-height:118px;height:118px}.b-technical-fields,.b-commercial-fields{min-width:0;display:grid;grid-template-rows:auto 1fr}.b-technical-fields>.project-matrix-cell:first-child,.b-commercial-fields>.project-matrix-cell:first-child{border-bottom:1px solid var(--pa-line-soft)}.crm-master-detail .b-technical-fields .address-matrix-cell textarea{min-height:48px;height:48px}.crm-master-detail .b-commercial-fields .quote-matrix-cell>textarea{min-height:58px;height:58px}.crm-master-detail .b-commercial-fields .remarks-matrix-cell label{display:flex;flex-direction:column}.crm-master-detail .b-commercial-fields .remarks-matrix-cell label>span{display:flex;align-items:center;gap:4px}.crm-master-detail .b-commercial-fields .remarks-matrix-cell label>span svg{width:12px;color:var(--pa-red)}.crm-master-detail .b-commercial-fields .remarks-matrix-cell textarea{min-height:58px;height:58px}@media(max-width:1180px){.customer-workbench-topline{grid-template-columns:minmax(190px,1fr) auto 28px;gap:8px}.customer-workbench-facts{grid-column:1 / -1;grid-row:2;padding-top:6px;border-top:1px solid var(--pa-line-soft)}.customer-workbench-facts>div:first-child{border-left:0}.customer-pipeline{grid-template-columns:repeat(6,minmax(62px,1fr))}}@media(max-width:900px){.crm-master-detail.has-detail .customer-card>.tablewrap{max-height:208px}.b-specification-desk{grid-template-columns:repeat(2,minmax(0,1fr))}.b-spec-station{border-bottom:1px solid var(--pa-line)}.b-spec-station:nth-child(2n){border-right:0}.b-spec-station:nth-last-child(-n+2){border-bottom:0}.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo-grid,.crm-master-detail .b-specification-desk .style-photo-grid{max-height:148px}.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo>div,.crm-master-detail .b-specification-desk .style-photo-grid .door-photo>div,.crm-master-detail .b-specification-desk .photo-matrix-cell .door-photo-empty{height:142px;min-height:142px}}@media(max-width:620px){.customer-workbench-topline{grid-template-columns:minmax(0,1fr) 28px}.crm-master-detail .customer-workbench-topline .drawer-customer-state{grid-column:1;grid-row:2;align-items:flex-start;flex-direction:row}.customer-workbench-facts{grid-column:1 / -1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:7px}.customer-workbench-facts>div:nth-child(odd){border-left:0}.customer-pipeline{grid-template-columns:repeat(3,1fr)}.customer-pipeline>div:nth-child(3){border-right:0}.customer-pipeline>div:nth-child(-n+3){border-bottom:1px solid var(--pa-line-soft)}.b-specification-desk{grid-template-columns:1fr}.b-spec-station,.b-spec-station:nth-child(2n),.b-spec-station:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--pa-line)}.b-spec-station:last-child{border-bottom:0}}.customers-page .status-category-grid{min-height:40px;padding:0 10px;display:flex;align-items:stretch;gap:24px;overflow-x:auto;border:1px solid var(--pa-line);border-bottom:0;border-radius:var(--pa-radius) var(--pa-radius) 0 0;background:#fff}.customers-page .status-category{min-width:max-content;min-height:40px;padding:0 2px;gap:6px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--pa-muted);background:transparent}.customers-page .status-category:hover,.customers-page .status-category.active{border-color:var(--pa-red);color:var(--pa-red-deep);background:transparent;box-shadow:none}.customers-page .status-category i{display:none}.customers-page .status-category span,.customers-page .status-category b,.customers-page .status-category.active b{color:inherit;background:transparent}.crm-master-detail{border-radius:0 0 var(--pa-radius) var(--pa-radius)}.crm-master-detail .customer-card>.tablewrap,.crm-master-detail.has-detail .customer-card>.tablewrap{max-height:252px}.crm-master-detail .customer-tools{padding:6px 8px;background:#fff}.crm-master-detail .customer-table th{height:32px;background:var(--pa-canvas)}.crm-master-detail .customer-table td{height:42px}.crm-master-detail .customer-detail-slot{padding:7px;background:var(--pa-canvas)}.crm-master-detail .lead-detail-inline .reference-crm-detail{width:100%;height:auto;min-height:0;padding:0;display:flex;flex-direction:column;gap:7px;overflow:visible;border:0;background:transparent;box-shadow:none;animation:none}.crm-master-detail .reference-project-sheet{width:100%;margin:0;overflow:hidden;border:1px solid var(--pa-line);border-radius:var(--pa-radius);background:#fff;box-shadow:none}.reference-project-titlebar{min-height:43px;padding:6px 8px 6px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--pa-line);background:#fff}.reference-project-titlebar h2{margin:0;color:var(--pa-ink);font-size:16px;line-height:1.2}.reference-project-titlebar small{display:block;margin-top:2px;color:var(--pa-muted);font-size:10px}.reference-project-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.reference-project-actions>span{color:var(--pa-muted);font-size:10px;white-space:nowrap}.reference-project-actions>button{min-height:29px;height:29px;padding:0 10px;border:1px solid var(--pa-line);border-radius:5px;color:var(--pa-ink);background:#fff;font-size:10px;font-weight:700}.reference-project-actions>button.primary{border-color:var(--pa-red);color:#fff;background:var(--pa-red)}.reference-project-actions>button[aria-label=收起客户详情]{width:29px;padding:0}.reference-customer-summary{width:100%;min-height:62px;display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));overflow-x:auto;border-bottom:1px solid var(--pa-line);background:#fff}.reference-summary-item{min-width:0;padding:8px;display:flex;align-items:center;gap:8px;border-right:1px solid var(--pa-line-soft)}.reference-summary-item>svg{width:14px;flex:0 0 auto;color:var(--pa-muted);stroke-width:1.7}.reference-summary-item>span{min-width:0;color:var(--pa-muted);font-size:10px;line-height:1.3}.reference-summary-item b{margin-top:3px;display:block;overflow-wrap:anywhere;color:var(--pa-ink);font-size:11px;font-weight:650;line-height:1.35}.reference-summary-item .status-text{color:var(--pa-success)}.reference-summary-item.reference-next-action b{color:var(--pa-red-deep)}.reference-summary-progress{grid-column:1 / -1;min-width:0;padding:7px 8px 5px;border-top:1px solid var(--pa-line-soft)}.reference-summary-progress>span{display:block;margin-bottom:5px;color:var(--pa-muted);font-size:10px}.reference-summary-progress>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.reference-summary-progress i{position:relative;min-width:0;display:grid;justify-items:center;gap:3px;color:var(--pa-subtle);font-style:normal}.reference-summary-progress i:after{position:absolute;top:8px;left:calc(50% + 9px);width:calc(100% - 18px);height:1px;content:"";background:var(--pa-line)}.reference-summary-progress i:last-child:after{display:none}.reference-summary-progress i b{position:relative;z-index:1;width:17px;height:17px;display:grid;place-items:center;border:1px solid var(--pa-line);border-radius:50%;color:var(--pa-muted);background:#fff;font-size:10px;font-weight:700}.reference-summary-progress i small{max-width:100%;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.reference-summary-progress i.is-complete b,.reference-summary-progress i.is-current b{border-color:var(--pa-red);color:#fff;background:var(--pa-red)}.reference-summary-progress i.is-complete:after{background:var(--pa-red)}.reference-summary-progress i.is-current small{color:var(--pa-red-deep);font-weight:700}.reference-project-scroll{width:100%;overflow:visible;background:#fff}.reference-project-grid{min-width:0;display:grid;grid-template-columns:1.35fr .72fr .92fr 1.05fr 1fr .9fr;align-items:stretch}@media(max-width:1240px){.reference-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-project-column{border-bottom:1px solid var(--pa-line)}}.reference-project-column{min-width:0;border-right:1px solid var(--pa-line);background:#fff}.reference-project-column:last-child{border-right:0}.reference-project-column>h3{height:34px;margin:0;padding:0 10px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--pa-line);color:var(--pa-ink);background:var(--pa-canvas);font-size:12px;font-weight:700}.reference-column-body{min-height:290px;padding:9px;display:flex;flex-direction:column;gap:8px}.reference-column-body label{display:flex;flex-direction:column;gap:4px}.reference-column-body label>span,.reference-column-body .matrix-cell-tools small{color:var(--pa-muted);font-size:10px}.reference-column-body :is(input,select,textarea){width:100%;border:1px solid var(--pa-line);border-radius:5px;color:var(--pa-ink);background:#fff;font:inherit;font-size:11px;outline:0}.reference-column-body :is(input,select){height:31px;padding:0 8px}.reference-column-body textarea{padding:7px 8px;line-height:1.45;resize:vertical}.reference-column-body :is(input,select,textarea):focus{border-color:var(--pa-red);box-shadow:0 0 0 2px var(--pa-red-wash)}.reference-column-body .matrix-cell-tools{min-height:27px}.reference-column-body .matrix-cell-tools button{height:27px;padding:0 8px;border:1px solid #e6b1b5;border-radius:5px;color:var(--pa-red-deep);background:#fff;font-size:10px}.reference-photo-column .door-photo-grid,.reference-style-column .door-photo-grid{height:260px;max-height:260px;display:grid;grid-template-columns:1fr;overflow-y:auto}.reference-photo-column .door-photo,.reference-style-column .door-photo{height:100%;margin:0;border:0;border-radius:0;background:var(--pa-canvas)}.reference-photo-column .door-photo>div,.reference-style-column .door-photo>div{height:100%;min-height:220px;background:var(--pa-canvas)}.reference-photo-column .door-photo img,.reference-style-column .door-photo img{width:100%;height:100%;object-fit:contain;object-position:center}.reference-project-sheet:not(.is-editing) .door-photo>button:last-child{display:none}.reference-project-sheet .door-photo figcaption{display:none}.reference-column-body .door-photo-empty,.reference-column-body .style-photo-empty,.reference-empty-value{min-height:250px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed var(--pa-line);border-radius:5px;color:var(--pa-muted);background:var(--pa-canvas)}.reference-empty-value>svg{width:24px;color:var(--pa-subtle)}.reference-spec-list{margin:0}.reference-spec-list>div{min-height:37px;padding:8px 0;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px;border-bottom:1px solid var(--pa-line-soft)}.reference-spec-list dt{flex:0 0 auto;color:var(--pa-muted);font-size:10px;white-space:nowrap}.reference-spec-list dd{min-width:0;margin:0 0 0 auto;color:var(--pa-ink);font-size:11px;font-weight:650;text-align:right}.reference-address-view{padding:4px 2px}.reference-address-view>svg{width:17px;color:var(--pa-red)}.reference-address-view p{min-height:72px;margin:10px 0;color:var(--pa-ink);font-size:11px;line-height:1.65;white-space:pre-wrap}.reference-address-view b{padding-top:9px;display:block;border-top:1px solid var(--pa-line-soft);color:var(--pa-ink);font-size:11px}.reference-style-model{min-height:27px;display:block;color:var(--pa-ink);font-size:11px;font-weight:700}.reference-style-column .door-photo-grid{height:224px;max-height:224px}.reference-quote-total{min-height:48px;padding:7px 0 10px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:4px 12px;border-bottom:1px solid var(--pa-line)}.reference-quote-total span{color:var(--pa-muted);font-size:10px}.reference-quote-total b{min-width:0;color:var(--pa-red);font-size:16px;font-weight:750}.reference-long-copy{margin:0;color:var(--pa-ink);font-size:11px;line-height:1.75;white-space:pre-wrap}.reference-quote-column .reference-column-body>small{margin-top:auto;color:var(--pa-muted);font-size:10px}.reference-project-sheet{--reference-project-read-height: 156px}.reference-project-sheet:not(.is-editing) .reference-column-body{height:var(--reference-project-read-height);min-height:var(--reference-project-read-height)}.reference-project-sheet:not(.is-editing) .reference-photo-column .reference-column-body{display:grid;grid-template-rows:minmax(0,1fr)}.reference-project-sheet:not(.is-editing) .reference-photo-column .door-photo-grid{height:auto;max-height:none;min-height:0}.reference-project-sheet:not(.is-editing) .reference-style-column .reference-column-body{display:grid;grid-template-rows:auto minmax(0,1fr)}.reference-project-sheet:not(.is-editing) .reference-style-column .door-photo-grid{height:auto;max-height:none;min-height:0}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .door-photo>div{position:relative;min-height:0}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .door-photo-image{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .door-photo-image,.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .door-photo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.reference-project-sheet:not(.is-editing) .reference-spec-list{height:100%;display:flex;flex-direction:column}.reference-project-sheet:not(.is-editing) .reference-spec-list>div{min-height:42px}.reference-project-sheet:not(.is-editing) .reference-spec-list>div:last-child{margin-top:auto}.reference-project-sheet:not(.is-editing) .reference-address-view{height:100%;padding:4px 2px 0;display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:6px}.reference-project-sheet:not(.is-editing) .reference-address-view>svg{grid-column:1;grid-row:1}.reference-project-sheet:not(.is-editing) .reference-address-view p{min-height:0;margin:0;grid-column:2;grid-row:1 / 3}.reference-project-sheet:not(.is-editing) .reference-address-view b{grid-column:1 / -1;grid-row:3}.reference-project-sheet:not(.is-editing) .reference-spec-list>div:last-child,.reference-project-sheet:not(.is-editing) .reference-address-view b,.reference-project-sheet:not(.is-editing) .reference-quote-column .reference-column-body>small{min-height:32px;padding:0;display:flex;align-items:center;border-top:1px solid var(--pa-line-soft);border-bottom:0}.reference-project-sheet:not(.is-editing) .reference-remarks-column .reference-long-copy{height:100%;padding:4px 0}.reference-crm-detail .customer-activity-workspace{display:flex;flex-direction:column;gap:7px}.reference-crm-detail .followup-card{width:100%;min-width:0;min-height:48px;padding:6px 8px 7px 12px;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:end;gap:8px;overflow-x:auto}.reference-crm-detail .followup-title{margin:0 0 3px}.reference-crm-detail .followup-title .eyebrow,.reference-crm-detail .followup-title>small{display:none}.reference-crm-detail .followup-title h3{margin:0;color:var(--pa-ink);font-size:13px}.reference-crm-detail .followup-compact-grid{min-width:0;display:grid;grid-template-columns:90px 100px minmax(180px,1fr) 145px 78px;align-items:end;gap:6px}.reference-crm-detail .followup-compact-grid label>span{display:none}.reference-crm-detail .followup-compact-grid :is(select,input,textarea),.reference-crm-detail .followup-compact-grid .followup-save{min-height:31px;height:31px}.reference-crm-detail .followup-compact-grid .followup-content,.reference-crm-detail .followup-compact-grid .next-followup-field,.reference-crm-detail .followup-compact-grid .followup-save{grid-column:auto}.reference-crm-detail .followup-compact-grid .followup-content textarea{min-height:31px;height:31px;resize:none}.reference-followup-history{margin:0;padding:0;overflow:hidden;border:1px solid var(--pa-line);border-radius:var(--pa-radius);background:#fff}.reference-followup-history>h3{min-height:34px;margin:0;padding:0 12px;display:flex;align-items:center;border-bottom:1px solid var(--pa-line);color:var(--pa-ink);background:#fff;font-size:12px}.reference-followup-history>h3 span{margin-left:6px;padding:0;color:var(--pa-muted);background:transparent;font-size:10px}.reference-followup-rows{width:100%}.reference-followup-row{min-height:39px;padding:6px 10px 6px 12px;display:grid;grid-template-columns:22px 105px 125px 115px minmax(180px,1fr) 70px 120px;align-items:center;gap:8px;border-bottom:1px solid var(--pa-line-soft)}.reference-followup-row:last-child{border-bottom:0}.reference-followup-index{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--pa-red);font-size:10px}.reference-followup-row>strong{color:var(--pa-ink);font-size:11px}.reference-followup-row>span{display:flex;align-items:center;gap:5px;color:var(--pa-muted);font-size:10px;white-space:nowrap}.reference-followup-row>span svg{width:12px}.reference-followup-row>p{margin:0;overflow:hidden;color:var(--pa-ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.reference-followup-row>em,.reference-followup-row>small{color:var(--pa-success);font-size:10px;font-style:normal;text-align:right;white-space:nowrap}@media(max-width:900px){.crm-master-detail .customer-card>.tablewrap,.crm-master-detail.has-detail .customer-card>.tablewrap{max-height:220px}.reference-project-titlebar{position:sticky;left:0;z-index:2}.reference-customer-summary{grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}.reference-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-crm-detail .customer-activity-workspace{overflow-x:auto}.reference-followup-history{min-width:880px}}.login-page{position:relative;min-height:100dvh;display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(430px,.88fr);overflow:hidden;color:var(--pa-ink);background:#eef0f2;isolation:isolate}.login-page:before{content:"";position:absolute;inset:0 0 auto;z-index:5;height:3px;background:var(--pa-red);transform-origin:left;animation:login-threshold-in .68s cubic-bezier(.16,1,.3,1) both}.login-visual{position:relative;z-index:1;min-width:0;min-height:100dvh;padding:clamp(30px,4vw,68px) clamp(32px,5.5vw,92px) clamp(26px,3.5vw,54px);display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;color:#f6f7f8;background:#13171c}.login-visual:before{content:"";position:absolute;inset:0 0 0 auto;width:clamp(54px,7vw,112px);height:auto;background:#1a1f25;border-left:1px solid rgba(255,255,255,.07)}.login-visual:after{content:"";position:absolute;right:clamp(20px,4vw,70px);bottom:clamp(42px,7vh,100px);width:clamp(110px,15vw,250px);height:5px;background:var(--pa-red);border:0;border-radius:0;box-shadow:none;aspect-ratio:auto}.login-brand{position:relative;z-index:2;width:auto;height:auto;padding:0;display:flex;align-items:center;justify-content:space-between;gap:24px;color:inherit;background:transparent;border:0}.login-brand-lockup{display:flex;align-items:center;gap:14px}.login-logo-crop{position:relative;width:58px;height:58px;flex:0 0 58px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#f9fafb;box-shadow:0 10px 24px #00000040}.login-logo-full{position:absolute;top:-7px;left:-22.5%;width:145%;height:auto;max-width:none;border:0;border-radius:0;box-shadow:none}.login-brand-lockup>div{display:flex;flex-direction:column;gap:3px}.login-brand-lockup strong{color:#f8f9fa;font-size:14px;line-height:1.15;letter-spacing:.035em}.login-brand-lockup span{color:#a9b0b8;font-size:11px}.login-environment{display:inline-flex;align-items:center;gap:7px;color:#c5cbd1;font-size:11px;white-space:nowrap}.login-environment svg{width:15px;color:#f16a74}.login-story{position:relative;z-index:2;width:min(620px,86%);align-self:center;margin-top:-3vh}.login-kicker{display:block;margin-bottom:18px;color:#ff7780;font-size:11px;font-weight:750;letter-spacing:.12em}.login-story h1{max-width:660px;margin:0;color:#f8f9fa;font-size:clamp(38px,3.8vw,60px);font-weight:760;line-height:1.06;letter-spacing:-.038em;text-wrap:balance;white-space:nowrap}.login-story>p{max-width:46ch;margin:24px 0 0;color:#c2c8cf;font-size:clamp(13px,1.08vw,16px);line-height:1.7}.login-process{width:min(540px,100%);margin-top:clamp(34px,5vh,58px);display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.14)}.login-process>span{min-height:54px;padding:13px 12px 0 0;display:flex;align-items:flex-start;gap:8px;color:#e5e8eb;font-size:11px;font-weight:600;white-space:nowrap}.login-process>span+span{padding-left:14px;border-left:1px solid rgba(255,255,255,.1)}.login-process i{color:#ff7780;font-size:9px;font-style:normal;letter-spacing:.04em}.login-visual-footer{position:relative;z-index:2;display:flex;justify-content:space-between;gap:20px;color:#7f8892;font-size:10px;font-weight:650;letter-spacing:.11em}.login-door-frame{position:absolute;z-index:1;top:17%;right:clamp(28px,5.5vw,94px);width:clamp(150px,19vw,310px);height:66%;border:1px solid rgba(255,255,255,.075);border-bottom:0;pointer-events:none}.login-door-frame:before{content:"";position:absolute;inset:clamp(18px,2vw,34px);border:1px solid rgba(255,255,255,.045);border-bottom:0}.login-door-frame>i:first-child{position:absolute;top:0;right:0;width:1px;height:62%;background:#ffffff40}.login-door-frame>i:last-child{position:absolute;right:12%;bottom:17%;width:7px;height:7px;border-radius:50%;background:var(--pa-red);box-shadow:0 0 0 5px #d91f2c1f}.login-entry{position:relative;z-index:3;min-width:0;padding:clamp(34px,6vw,96px) clamp(30px,5vw,86px) clamp(34px,6vw,96px) clamp(58px,6vw,110px);display:grid;place-items:center;background:#eef0f2}.login-entry:before{content:"";position:absolute;inset:7% auto 7% 0;width:1px;background:#c9cdd1}.login-entry-marker{position:absolute;top:clamp(34px,6vh,76px);left:28px;display:flex;align-items:center;gap:8px;color:#7c848c;font-size:9px;font-weight:700;letter-spacing:.11em;writing-mode:vertical-rl}.login-entry-marker b{color:var(--pa-red);font-size:10px}.login-card{position:relative;width:min(440px,100%);margin:0;padding:clamp(28px,3vw,38px);align-self:center;color:var(--pa-ink);background:#fbfcfd;border-radius:12px;box-shadow:0 22px 58px #191f2624;animation:login-card-in .62s 90ms cubic-bezier(.16,1,.3,1) both}.login-card:before{content:"";position:absolute;top:0;left:30px;width:54px;height:3px;background:var(--pa-red)}.login-card-header{width:auto;height:auto;padding:0;display:block;color:inherit;background:transparent;border:0}.login-card-header>span{display:inline-flex;align-items:center;gap:7px;color:var(--pa-red-deep);font-size:10px;font-weight:750}.login-card-header>span i{width:6px;height:6px;border-radius:50%;background:var(--pa-red)}.login-card h2{margin:11px 0 7px;color:var(--pa-ink);font-size:clamp(25px,2.1vw,31px);line-height:1.18;letter-spacing:-.03em}.login-card-header>p{margin:0;color:#68727c;font-size:12px}.login-form-fields{margin-top:28px;display:grid;gap:17px}.login-card label{margin:0;display:grid;gap:7px}.login-card label>span{margin:0;color:#424a52;font-size:11px;font-weight:700}.login-field{position:relative;display:flex;align-items:center}.login-field>svg{position:absolute;left:14px;z-index:1;width:17px;color:#7b858e;pointer-events:none}.login-card .login-field input{width:100%;height:48px;padding:0 46px 0 42px;color:var(--pa-ink);background:#f7f8f9;border:1px solid #c6cbd0;border-radius:7px;outline:0;font-size:12px}.login-card .login-field input::placeholder{color:#6d7780}.login-card .login-field input:hover{border-color:#aeb5bc}.login-card .login-field input:focus{border-color:var(--pa-red);box-shadow:0 0 0 3px var(--pa-red-wash)}.login-card .login-field input[aria-invalid=true]{border-color:#cc3844}.login-password-toggle{position:absolute;right:6px;width:36px;height:36px;display:grid;place-items:center;color:#606a74;background:transparent;border:0;border-radius:6px}.login-password-toggle:hover{color:var(--pa-ink);background:#e9ecef}.login-password-toggle svg{width:16px}.login-error{margin:14px 0 0;padding:10px 11px;display:flex;align-items:flex-start;gap:8px;color:#a61f2a;background:#fff0f1;border-radius:7px;font-size:11px;line-height:1.45}.login-error svg{width:15px;flex:0 0 15px}.login-card>.primary.login-submit{width:100%;min-height:48px;margin-top:20px;padding:0 17px;display:flex;justify-content:space-between;color:#fff;background:var(--pa-red);border:0;border-radius:7px;box-shadow:0 9px 20px #b8172433;font-size:12px;font-weight:750}.login-card>.primary.login-submit:hover{background:var(--pa-red-deep);box-shadow:0 12px 26px #b8172440}.login-card>.primary.login-submit:disabled{color:#f8dadd;background:#ab4a52;box-shadow:none;cursor:wait}.login-submit svg{width:17px}.login-security-note{margin-top:23px;padding-top:18px;display:flex;align-items:flex-start;gap:10px;border-top:1px solid #dfe2e5}.login-security-note>svg{width:18px;flex:0 0 18px;color:var(--pa-success)}.login-security-note>div{display:flex;flex-direction:column;gap:2px}.login-security-note b{color:#394149;font-size:10px}.login-security-note span{color:#6b747d;font-size:10px}.login-card-footer{margin-top:20px;display:flex;justify-content:space-between;color:#5f6872;font-size:10px}.login-card-footer span:last-child{color:#4a535c;font-weight:650}@keyframes login-threshold-in{0%{transform:scaleX(.18)}to{transform:scaleX(1)}}@keyframes login-card-in{0%{opacity:.7;filter:blur(5px);transform:translateY(18px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}@media(max-width:1100px){.login-page{grid-template-columns:minmax(440px,1fr) minmax(410px,.92fr)}.login-visual{padding-inline:42px 68px}.login-entry{padding-inline:62px 42px}.login-story{width:94%}.login-story h1{font-size:clamp(38px,5vw,56px)}}@media(max-width:860px){.login-page{min-height:100dvh;padding-top:0;display:block;overflow:auto;background:#eef0f2}.login-visual{min-height:390px;padding:28px 28px 94px;grid-template-rows:auto 1fr}.login-visual:before{width:56px}.login-visual:after,.login-visual-footer{display:none}.login-story{width:min(570px,92%);margin-top:35px}.login-story h1{font-size:clamp(36px,8vw,54px);white-space:normal}.login-story>p{margin-top:18px}.login-process{margin-top:27px}.login-door-frame{top:20%;right:26px;width:190px;height:68%}.login-entry{margin-top:-62px;padding:0 28px 38px;display:block;background:transparent}.login-entry:before,.login-entry-marker{display:none}.login-card{margin:0 auto}}@media(max-width:560px){.login-visual{min-height:365px;padding:24px 20px 88px}.login-brand-lockup{gap:10px}.login-logo-crop{width:48px;height:48px;flex-basis:48px;border-radius:8px}.login-logo-full{top:-5px}.login-brand-lockup strong{font-size:12px}.login-brand-lockup>div>span,.login-environment{display:none}.login-story{width:100%;margin-top:30px}.login-kicker{margin-bottom:13px;font-size:10px}.login-story h1{font-size:clamp(32px,10.5vw,43px);letter-spacing:-.035em}.login-story>p{max-width:36ch;font-size:12px;line-height:1.6}.login-process{margin-top:23px}.login-process>span{min-height:44px;padding-top:10px;gap:5px;font-size:10px}.login-process>span+span{padding-left:9px}.login-door-frame{right:-50px;width:170px;opacity:.62}.login-entry{margin-top:-52px;padding:0 14px 24px}.login-card{padding:27px 21px 24px}.login-card h2{font-size:26px}.login-form-fields{margin-top:24px}.login-card-footer{gap:12px}}@media(prefers-reduced-motion:reduce){.login-page:before,.login-card{animation:none}}.login-page{grid-template-columns:minmax(600px,1.08fr) minmax(460px,.92fr);background:radial-gradient(circle at 74% 28%,rgba(217,31,44,.055),transparent 28%),linear-gradient(90deg,#11161c,#11161c 55%,#eceff1 55%,#f7f8f9)}.login-page:before{height:4px;background:linear-gradient(90deg,var(--pa-red) 0 38%,rgba(217,31,44,.22) 38% 55%,transparent 55%)}.login-visual{padding:clamp(34px,4.4vw,74px) clamp(42px,6vw,108px) clamp(30px,4vw,58px);background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0 / 72px 72px,radial-gradient(circle at 30% 28%,rgba(217,31,44,.13),transparent 23%),linear-gradient(145deg,#151a20,#0f1318 62%,#171c22)}.login-visual:before{width:clamp(78px,9vw,148px);background:linear-gradient(180deg,rgba(255,255,255,.045),transparent 42%),#1b2027}.login-visual:after{right:clamp(74px,11vw,170px);bottom:clamp(50px,7vh,112px);width:clamp(170px,20vw,330px);height:4px;background:linear-gradient(90deg,transparent 0 8%,var(--pa-red) 8% 100%)}.login-brand{align-items:flex-start}.login-logo-crop{width:64px;height:64px;flex-basis:64px;border-radius:14px;border-color:#fff3;box-shadow:0 18px 42px #00000057}.login-brand-lockup strong{font-size:15px;letter-spacing:.045em}.login-environment{margin-top:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff09;color:#d7dde3}.login-story{width:min(680px,88%);margin-top:-1vh}.login-kicker{margin-bottom:16px;color:#ff6b75}.login-story h1{max-width:720px;font-size:clamp(44px,4.65vw,72px);line-height:.98;letter-spacing:-.048em;white-space:normal}.login-story>p{max-width:45ch;margin-top:24px;color:#d1d7dd;font-size:clamp(14px,1.08vw,17px);line-height:1.72}.login-process{width:min(620px,100%);margin-top:clamp(36px,5.5vh,64px);border-top-color:#ffffff2e}.login-process>span{min-height:66px;padding-top:16px;color:#f2f4f5;font-size:12px}.login-process i{color:#ff6873;font-weight:800}.login-door-frame{top:16%;right:clamp(54px,8vw,142px);width:clamp(180px,21vw,356px);height:68%;border-color:#ffffff1a}.login-door-frame:before{border-color:#ffffff13}.login-door-frame>i:first-child{background:#ffffff52}.login-entry{padding:clamp(40px,6vw,96px) clamp(54px,6vw,104px);place-items:center start;background:radial-gradient(circle at 88% 20%,rgba(255,255,255,.9),transparent 26%),linear-gradient(135deg,#eef1f3,#f8f9fa 58%,#e8ecef)}.login-entry:before{inset:0 auto 0 0;width:1px;background:linear-gradient(180deg,transparent 0 8%,#c8cdd1 8% 84%,transparent 84%)}.login-entry-marker{left:24px;color:#6f7781}.login-card{width:min(454px,100%);padding:clamp(30px,3vw,42px);background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#ffffffbf,#b5bbc294) border-box;border:1px solid transparent;border-radius:14px;box-shadow:0 28px 70px #161c2229,0 1px #ffffffe6 inset}.login-card:before{left:38px;width:64px;height:4px}.login-card-header>span{padding:6px 8px;border-radius:999px;background:#fff0f1;color:var(--pa-red-deep)}.login-card h2{margin-top:16px;font-size:clamp(28px,2.25vw,35px);letter-spacing:-.04em}.login-card-header>p{color:#59636e;font-size:12.5px}.login-form-fields{margin-top:30px;gap:18px}.login-card label>span{color:#2f3740;font-size:11.5px}.login-card .login-field input{height:50px;background:#f9fafb;border-color:#bdc4ca;border-radius:9px;font-size:12.5px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.login-card .login-field input:hover{background:#fff}.login-card .login-field input:focus{background:#fff;box-shadow:0 0 0 3px #d91f2c1a,0 10px 22px #1e242a0f}.login-password-toggle{right:7px;border-radius:8px}.login-card>.primary.login-submit{min-height:50px;margin-top:22px;border-radius:9px;box-shadow:0 14px 28px #b817243d;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.login-card>.primary.login-submit:hover{transform:translateY(-1px)}.login-card>.primary.login-submit:active{transform:translateY(0)}.login-security-note{margin-top:24px;padding:15px;border:1px solid #e0e4e7;border-radius:10px;background:#f8fafb}.login-card-footer{margin-top:18px}@media(max-width:1100px){.login-page{grid-template-columns:minmax(440px,1fr) minmax(400px,.94fr)}.login-story h1{font-size:clamp(40px,5.25vw,60px)}.login-entry{padding-inline:50px 36px}}@media(max-width:860px){.login-page{background:#eef0f2}.login-entry{place-items:initial}}.login-kicker,.login-door-frame,.login-entry-marker{display:none}.login-page{min-height:100dvh;grid-template-columns:minmax(430px,.92fr) minmax(330px,.58fr) minmax(500px,.9fr);background:#f5f4f0}.login-visual{min-height:100dvh;padding:clamp(34px,4.4vw,72px) clamp(28px,4.5vw,82px);color:#171c22;background:linear-gradient(90deg,rgba(217,31,44,.2) 1px,transparent 1px) calc(100% - 54px) 0 / 1px 100% no-repeat,radial-gradient(circle at 96% 28%,rgba(217,31,44,.07),transparent 18%),linear-gradient(180deg,#fbfaf7,#f3f1ec)}.login-brand{color:#161b21}.login-logo-crop{width:68px;height:68px;flex-basis:68px;background:#fff;border-color:#e6e0d9;box-shadow:0 14px 34px #14191f1f}.login-brand-lockup strong{color:#151a20;font-size:16px;letter-spacing:.035em}.login-brand-lockup span{color:#424b55;font-size:12px}.login-story{width:min(560px,94%);align-self:center;margin-top:2vh}.login-story h1{max-width:560px;color:#171c22;font-size:clamp(48px,4.4vw,76px);font-weight:780;line-height:1.04;letter-spacing:-.045em;white-space:normal}.login-story h1:after{content:"";display:block;width:88px;height:4px;margin-top:28px;background:var(--pa-red)}.login-story>p{max-width:42ch;margin-top:24px;color:#4e5863;font-size:clamp(14px,1.05vw,17px);line-height:1.75}.login-process{width:min(560px,100%);margin-top:clamp(34px,5vh,58px);display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ded9d2}.login-process>span{min-height:70px;padding:18px 18px 0 0;color:#20262d;font-size:13px;font-weight:750}.login-process>span+span{padding-left:24px;border-left:1px solid #e1dcd5}.login-process i{color:var(--pa-red);font-size:14px;font-weight:850}.login-visual-footer{color:#848b93}.login-showcase{position:relative;min-height:100dvh;overflow:hidden;background:linear-gradient(90deg,#151a20 0 18px,transparent 18px calc(100% - 18px),#11161c calc(100% - 18px)),linear-gradient(180deg,#262b31,#11161c)}.login-showcase:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.055) 0 2px,transparent 2px 13px);opacity:.72}.login-showcase:after{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--pa-red);box-shadow:0 0 0 1px #d91f2c2e}.login-door-scene{position:absolute;inset:clamp(54px,7vh,84px) clamp(18px,3vw,42px) clamp(52px,7vh,88px);display:grid;place-items:center}.login-door-ribs{position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,rgba(0,0,0,.34) 0 9px,rgba(255,255,255,.035) 9px 12px,transparent 12px 22px);opacity:.58}.login-door{position:relative;z-index:1;width:min(82%,340px);height:min(76vh,680px);border:12px solid #0b0e12;border-radius:2px;background:linear-gradient(90deg,rgba(255,255,255,.08),transparent 18%,transparent 74%,rgba(0,0,0,.35)),linear-gradient(180deg,#24282d,#111418);box-shadow:0 42px 90px #0000006b,inset 0 0 0 1px #ffffff14}.login-door:before{content:"";position:absolute;top:22px;right:22px;bottom:22px;left:22px;border:1px solid rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px #00000075}.login-door>i{position:absolute;left:24px;right:24px;height:1px;background:#ffffff14}.login-door>i:nth-child(1){top:26%}.login-door>i:nth-child(2){top:48%}.login-door>i:nth-child(3){top:70%}.login-door>span{position:absolute;right:34px;top:39%;width:10px;height:190px;border-radius:999px;background:linear-gradient(90deg,#777d84,#d3d5d7 48%,#555b62);box-shadow:0 12px 24px #00000073}.login-door-step{position:absolute;z-index:0;bottom:0;width:min(94%,420px);height:26px;background:linear-gradient(180deg,#d8d4ce,#a8a39d);box-shadow:0 -1px #ffffff73 inset}.login-entry{min-height:100dvh;padding:clamp(44px,6vw,96px) clamp(38px,5vw,88px);place-items:center;background:radial-gradient(circle at 0 12%,rgba(217,31,44,.12),transparent 24%),linear-gradient(180deg,#191e24,#101419)}.login-card{width:min(430px,100%);padding:clamp(30px,3vw,42px);color:#f8fafb;background:linear-gradient(180deg,#ffffff0e,#ffffff06),#161b21;border:1px solid rgba(255,255,255,.11);border-radius:14px;box-shadow:0 32px 76px #00000059,inset 0 1px #ffffff14}.login-card:before{left:30px;width:92px;height:3px;background:var(--pa-red)}.login-card-header>span{color:#f6a2a8;background:#d91f2c1f}.login-card h2{color:#fff;font-size:clamp(31px,2.7vw,43px)}.login-card-header>p,.login-security-note span,.login-card-footer{color:#9ea7b1}.login-card label>span,.login-security-note b{color:#eef1f3}.login-card .login-field input{color:#f7f9fa;background:#ffffff09;border-color:#ffffff2e}.login-card .login-field input::placeholder{color:#8f99a3}.login-card .login-field input:focus{background:#ffffff12;border-color:var(--pa-red);box-shadow:0 0 0 3px #d91f2c2e}.login-field>svg,.login-password-toggle{color:#a6afb8}.login-security-note{border-color:#ffffff1c;background:#ffffff09}.login-card-footer span:last-child{color:#dfe4e8}@media(max-width:1180px){.login-page{grid-template-columns:minmax(380px,.95fr) minmax(260px,.55fr) minmax(420px,.9fr)}.login-story h1{font-size:clamp(42px,5vw,62px)}}@media(max-width:900px){.login-page{display:block;overflow:auto;background:#f5f4f0}.login-visual{min-height:430px;padding:28px 24px 44px}.login-showcase{min-height:280px}.login-door-scene{top:28px;right:20%;bottom:28px;left:20%}.login-door{height:230px}.login-door>span{height:78px}.login-entry{min-height:auto;padding:34px 20px 40px}}@media(max-width:560px){.login-story h1{font-size:clamp(34px,10vw,45px)}.login-process{grid-template-columns:1fr;border-top:0;gap:9px}.login-process>span,.login-process>span+span{min-height:0;padding:10px 0;border-left:0;border-top:1px solid #e1dcd5}.login-showcase{display:none}}.login-page:before{height:0;animation:none}.login-visual{grid-column:1;grid-row:1;position:relative;z-index:1;min-height:100dvh;padding:clamp(48px,5.5vw,96px);padding-right:min(42vw,560px);color:#171c22;background:radial-gradient(ellipse at 7% 2%,rgba(70,78,84,.12),transparent 18%),linear-gradient(90deg,rgba(217,31,44,.56) 2px,transparent 2px) calc(100% - 2px) 0 / 2px 100% no-repeat,linear-gradient(180deg,#fffaf3,#f6f1e9)}.login-brand{position:relative;z-index:4;color:#171c22}.login-logo-crop{width:70px;height:70px;flex-basis:70px;background:#fff;border:1px solid #eadfd2;border-radius:16px;box-shadow:0 14px 34px #14191f1f}.login-brand-lockup strong{color:#171c22;font-size:clamp(18px,1.65vw,26px);letter-spacing:.055em}.login-brand-lockup span{color:#4a535d;font-size:13px}.login-environment{display:none}.login-story{position:relative;z-index:4;width:min(560px,100%);align-self:center;margin-top:2vh}.login-story h1{max-width:570px;margin:0;color:#171c22;font-size:clamp(46px,4.7vw,78px);font-weight:660;line-height:1.12;letter-spacing:-.04em;white-space:normal}.login-story h1:after{content:"";display:block;width:74px;height:3px;margin-top:30px;background:var(--pa-red)}.login-story>p{max-width:45ch;margin-top:24px;color:#535d67;font-size:clamp(14px,1.1vw,17px);line-height:1.75}.login-process{display:none}.login-visual-footer{position:relative;z-index:4;color:#858c93}.login-showcase{grid-column:1;grid-row:1;justify-self:end;position:relative;z-index:2;width:min(48vw,620px);min-height:100dvh;overflow:hidden;pointer-events:none;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);background:linear-gradient(110deg,rgba(255,255,255,.08),transparent 21%),linear-gradient(180deg,#252525,#0c0d0f);box-shadow:-34px 0 80px #1e1c1829}.login-showcase:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 100%) 22% 0 / 86px 100%,repeating-linear-gradient(180deg,rgba(255,255,255,.06) 0 1px,transparent 1px 126px);opacity:.5}.login-showcase:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--pa-red)}.login-door-ribs{position:absolute;top:0;right:0;bottom:0;left:30%;background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px);opacity:.58}.login-door{position:absolute;left:23%;top:0;width:77%;height:100%;border:0;border-left:1px solid rgba(255,255,255,.16);border-radius:0;background:linear-gradient(105deg,rgba(255,255,255,.1) 0,transparent 23%),linear-gradient(90deg,rgba(255,255,255,.035),transparent 28%,rgba(0,0,0,.35)),#111317;box-shadow:inset 22px 0 40px #0006}.login-door:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:repeating-linear-gradient(180deg,transparent 0 148px,rgba(255,255,255,.085) 148px 150px)}.login-door>span{position:absolute;left:28%;top:36%;width:15px;height:min(33vh,310px);border-radius:999px;background:linear-gradient(90deg,#6f7275,#d7d5cf 44%,#777c80);box-shadow:0 18px 36px #0000007a}.login-entry{grid-column:2;grid-row:1;min-height:100dvh;padding:clamp(48px,6vw,96px) clamp(42px,5vw,84px);display:grid;place-items:center;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.08),transparent 36%),linear-gradient(180deg,#1a2027,#10151b)}.login-card{width:min(430px,100%);margin:0;padding:0;color:#f8fafb;background:transparent;border:0;border-radius:0;box-shadow:none}.login-card:before{left:0;width:58px;height:3px;background:var(--pa-red)}.login-card-header>span{display:none}.login-card h2{margin:0 0 36px;color:#fff;font-size:clamp(32px,3vw,46px);font-weight:650;line-height:1.18;letter-spacing:-.035em}.login-card-header>p{display:none}.login-card .login-field input{height:54px;color:#eef2f5;background:#ffffff09;border:1px solid rgba(255,255,255,.16);border-radius:7px;font-size:13px}.login-card .login-field input::placeholder{color:#8d98a3}.login-card .login-field input:hover{background:#ffffff0e;border-color:#ffffff45}.login-card>.primary.login-submit{min-height:54px;margin-top:28px;padding:0 18px;border-radius:7px;background:var(--pa-red);box-shadow:0 16px 32px #d91f2c3d}@media(max-width:1100px){.login-page{grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr)}.login-visual{padding-right:min(38vw,430px)}.login-story h1{font-size:clamp(40px,5vw,62px)}}@media(max-width:860px){.login-page{display:block;overflow:auto;background:#f7f3ec}.login-visual{min-height:440px;padding:28px 24px 44px}.login-story{margin-top:42px}.login-showcase{display:none}.login-entry{min-height:auto;padding:40px 22px 44px}.login-card{width:min(430px,100%)}}.login-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,2fr) minmax(390px,1fr);overflow:hidden;background:#f7f3ec;color:#171c22}.login-visual{grid-column:1;grid-row:1;position:relative;z-index:1;min-height:100dvh;padding:clamp(48px,5.2vw,94px) clamp(42px,5.8vw,110px);padding-right:clamp(320px,31vw,560px);color:#171c22;background:radial-gradient(circle at 8% 5%,rgba(30,35,40,.1),transparent 17%),radial-gradient(circle at 62% 50%,rgba(217,31,44,.055),transparent 30%),linear-gradient(90deg,transparent calc(100% - 2px),rgba(217,31,44,.66) calc(100% - 2px)),linear-gradient(180deg,#fffaf2,#f5efe6)}.login-visual:before,.login-visual:after{display:none}.login-brand{position:relative;z-index:5;color:#171c22}.login-logo-crop{width:68px;height:68px;flex-basis:68px;border-radius:16px;background:#fff;border:1px solid #eadfd1;box-shadow:0 18px 42px #161a1f24}.login-brand-lockup strong{color:#171c22;font-size:clamp(18px,1.52vw,25px);letter-spacing:.055em}.login-brand-lockup span{color:#4f5963;font-size:13px}.login-story{position:relative;z-index:5;width:min(620px,48vw);max-width:620px;align-self:center;margin-top:clamp(76px,13vh,142px)}.login-story h1{max-width:620px;margin:0;color:#171c22;font-size:clamp(46px,4.35vw,72px);font-weight:720;line-height:1.08;letter-spacing:-.035em;text-wrap:balance;white-space:normal}.login-story h1:after{content:"";display:block;width:72px;height:3px;margin-top:30px;background:var(--pa-red)}.login-story>p{max-width:48ch;margin-top:24px;color:#4e5964;font-size:clamp(14px,1.05vw,17px);line-height:1.78}.login-visual-footer{position:relative;z-index:5;color:#858d96}.login-visual-footer span:last-child{display:none}.login-showcase{grid-column:1;grid-row:1;justify-self:end;position:relative;z-index:2;width:min(39vw,545px);min-height:100dvh;overflow:hidden;pointer-events:none;clip-path:polygon(27% 0,100% 0,100% 100%,0 100%);background:linear-gradient(108deg,rgba(255,255,255,.13) 0%,transparent 18%),linear-gradient(180deg,#242628,#080a0c);box-shadow:-24px 0 64px #25201b26}.login-showcase:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(180deg,rgba(255,255,255,.07) 0 1px,transparent 1px 148px),linear-gradient(90deg,transparent 0 36%,rgba(255,255,255,.05) 36% 36.2%,transparent 36.2% 100%);opacity:.55}.login-showcase:after{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:var(--pa-red);opacity:.95}.login-door-scene{position:absolute;top:0;right:0;bottom:0;left:0}.login-door-ribs{position:absolute;top:0;right:0;bottom:0;left:29%;background:repeating-linear-gradient(90deg,rgba(255,255,255,.036) 0 1px,transparent 1px 18px),radial-gradient(circle at 18% 42%,rgba(255,255,255,.11),transparent 10%);opacity:.7}.login-door{position:absolute;left:25%;top:0;width:75%;height:100%;border:0;border-left:1px solid rgba(255,255,255,.16);border-radius:0;background:linear-gradient(104deg,rgba(255,255,255,.12) 0,transparent 22%),linear-gradient(90deg,rgba(255,255,255,.04),transparent 31%,rgba(0,0,0,.42)),#101318;box-shadow:inset 24px 0 46px #0000006b}.login-door:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(180deg,transparent 0 150px,rgba(255,255,255,.085) 150px 152px),linear-gradient(90deg,rgba(255,255,255,.04),transparent 44%)}.login-door>i{display:none}.login-door>span{position:absolute;left:31%;top:37%;width:12px;height:min(31vh,292px);border-radius:999px;background:linear-gradient(90deg,#62676b,#dedbd3 48%,#777f84);box-shadow:0 18px 34px #0000007a,inset 0 0 0 1px #ffffff47}.login-door-step{display:none}.login-entry{grid-column:2;grid-row:1;min-height:100dvh;padding:clamp(50px,6vw,96px) clamp(34px,4.8vw,72px);display:grid;place-items:center;background:radial-gradient(circle at 48% 0%,rgba(255,255,255,.075),transparent 35%),linear-gradient(180deg,#1b2229,#10151b)}.login-card{width:min(420px,82%);margin:0;padding:0;color:#f8fafb;background:transparent;border:0;border-radius:0;box-shadow:none}.login-card:before{left:0;width:56px;height:3px;background:var(--pa-red)}.login-card h2{margin:0 0 34px;color:#fff;font-size:clamp(31px,2.7vw,44px);font-weight:680;line-height:1.14;letter-spacing:-.03em}.login-form-fields{margin-top:0;gap:23px}.login-card label{gap:9px}.login-card label>span{color:#eef1f3;font-size:12px}.login-card .login-field input{height:54px;color:#eef2f5;background:#ffffff09;border:1px solid rgba(255,255,255,.17);border-radius:7px;font-size:13px}.login-card .login-field input::placeholder{color:#8e99a4}.login-card .login-field input:hover{background:#ffffff0e;border-color:#ffffff47}.login-card .login-field input:focus{background:#fff1;border-color:var(--pa-red);box-shadow:0 0 0 3px #d91f2c29}.login-field>svg,.login-password-toggle{color:#9aa5af}.login-password-toggle:hover{color:#fff;background:#ffffff14}.login-card>.primary.login-submit{min-height:54px;margin-top:28px;padding:0 18px;border-radius:7px;background:var(--pa-red);box-shadow:0 16px 34px #d91f2c40}.login-security-note{margin-top:30px;padding:20px 0 0;border:0;border-top:1px solid rgba(255,255,255,.12);border-radius:0;background:transparent}.login-security-note b{color:#e8edf1}.login-security-note span,.login-card-footer{color:#8f9aa4}.login-card-footer span:last-child{color:#cbd3da}@media(max-width:1180px){.login-page{grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr)}.login-visual{padding-right:clamp(250px,30vw,410px)}.login-story{width:min(540px,50vw)}.login-story h1{font-size:clamp(40px,5vw,60px)}.login-showcase{width:min(38vw,430px)}}@media(max-width:860px){.login-page{display:block;overflow:auto;background:#f7f3ec}.login-visual{min-height:430px;padding:28px 24px 44px}.login-story{width:100%;margin-top:42px}.login-showcase{display:none}.login-entry{min-height:auto;padding:40px 22px 44px}.login-card{width:min(420px,100%)}}@media(max-width:560px){.login-story h1{font-size:clamp(34px,10vw,45px)}.login-logo-crop{width:56px;height:56px;flex-basis:56px}}.login-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,64.6%) minmax(420px,35.4%);overflow:hidden;background:#f6f0e7;color:#1d242b}.login-page:before{display:none}.login-visual{grid-column:1;grid-row:1;position:relative;z-index:1;min-height:100dvh;padding:clamp(70px,6.3vw,104px) clamp(64px,6.3vw,106px);padding-right:clamp(470px,39vw,650px);color:#1d242b;background:radial-gradient(circle at 8% 4%,rgba(62,68,72,.18),transparent 12%),radial-gradient(circle at -4% 92%,rgba(73,77,74,.13),transparent 18%),linear-gradient(180deg,#fffcf5f0,#f5eee4fa)}.login-visual:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 6% 2%,rgba(24,28,28,.16),transparent 5%),radial-gradient(ellipse at 0 9%,rgba(24,28,28,.12),transparent 7%),radial-gradient(ellipse at 4% 24%,rgba(24,28,28,.08),transparent 8%),radial-gradient(ellipse at 21% 82%,rgba(24,28,28,.1),transparent 8%);filter:blur(9px);opacity:.78}.login-visual:after{display:none}.login-brand{position:relative;z-index:4;color:#1d242b}.login-brand-lockup{align-items:center;gap:24px}.login-brand-lockup>div{justify-content:center}.login-logo-crop{width:64px;height:64px;flex-basis:64px;display:inline-grid;place-items:center;border:0;border-radius:0;background:transparent;box-shadow:none}.login-logo-crop .login-logo-full{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;border:0;border-radius:0;background:transparent}.login-brand-lockup strong{color:#1d242b;font-size:clamp(20px,1.75vw,29px);font-weight:760;letter-spacing:.065em}.login-brand-lockup span{margin-top:8px;color:#1d242b;font-size:16px;font-weight:560}.login-environment,.login-process{display:none!important}.login-story{position:relative;z-index:4;width:min(590px,42vw);max-width:590px;margin-top:clamp(128px,17vh,188px)}.login-story h1{max-width:590px;margin:0;color:#222a31;font-family:"Noto Serif SC",Songti SC,STSong,SimSun,serif;font-size:clamp(50px,4.55vw,76px);font-weight:500;line-height:1.35;letter-spacing:-.045em;text-wrap:balance;white-space:normal}.login-story h1:after{content:"";display:block;width:54px;height:2px;margin-top:34px;background:var(--pa-red)}.login-story>p{max-width:48ch;margin-top:24px;color:#1e252cbd;font-size:clamp(15px,1.05vw,17px);font-weight:520;line-height:1.8}.login-visual-footer{position:relative;z-index:4;width:min(420px,35vw);padding-top:48px;display:grid;grid-template-columns:44px 1fr;column-gap:16px;row-gap:2px;color:#1e252cb8;border-top:1px solid rgba(30,37,44,.16);font-size:13px;line-height:1.55;letter-spacing:0}.login-visual-footer:before{content:"";grid-row:1 / span 2;width:32px;height:32px;align-self:center;background:url(/maplefortdoors-mark.png) center / contain no-repeat;filter:saturate(1.1)}.login-visual-footer span:first-child{color:#1e252cb8}.login-visual-footer span:last-child{display:block;color:#1e252c94}.login-showcase{grid-column:1;grid-row:1;justify-self:end;position:relative;z-index:2;width:min(40vw,470px);min-height:100dvh;overflow:hidden;pointer-events:none;clip-path:polygon(52% 0,100% 0,100% 100%,0 100%);background:url(/login-door-reference.png) center / cover no-repeat,#101318;box-shadow:-18px 0 40px #1c181529}.login-showcase:before,.login-showcase:after,.login-door-scene,.login-door-ribs,.login-door,.login-door:before,.login-door>i,.login-door>span,.login-door-step{display:none!important}.login-entry{grid-column:2;grid-row:1;min-height:100dvh;padding:clamp(58px,6vw,108px) clamp(58px,6.1vw,98px);display:grid;place-items:center;background:radial-gradient(circle at 48% 10%,rgba(66,82,96,.22),transparent 28%),linear-gradient(180deg,#182129,#111820)}.login-entry:before{display:none}.login-card{width:min(396px,100%);margin:0;padding:0;color:#f8fafb;background:transparent;border:0;border-radius:0;box-shadow:none}.login-card:before{left:0;top:54px;width:48px;height:2px;background:var(--pa-red)}.login-card-header>span,.login-card-header>p{display:none}.login-card h2{margin:0 0 62px;color:#f7f7f4;font-family:"Noto Serif SC",Songti SC,STSong,SimSun,serif;font-size:clamp(34px,2.8vw,44px);font-weight:520;line-height:1.2;letter-spacing:-.035em}.login-form-fields{margin-top:0;gap:24px}.login-card label{gap:10px}.login-card label>span{color:#f7f9fbe0;font-size:13px;font-weight:700}.login-card .login-field input{height:56px;color:#eef3f6;background:#0a0f142e;border:1px solid rgba(255,255,255,.12);border-radius:5px;font-size:14px}.login-card .login-field input::placeholder{color:#c8d1d87a}.login-card .login-field input:hover{background:#0d131942;border-color:#fff3}.login-card .login-field input:focus{background:#0d131957;border-color:#d91f2cdb;box-shadow:0 0 0 3px #d91f2c29}.login-field>svg,.login-password-toggle{color:#d6dee4ad}.login-password-toggle:hover{color:#fff;background:#ffffff12}.login-card>.primary.login-submit{min-height:56px;margin-top:28px;padding:0 18px;border-radius:4px;background:var(--pa-red);box-shadow:0 16px 30px #d91f2c33}.login-card>.primary.login-submit:hover{background:var(--pa-red-deep);transform:translateY(-1px)}.login-security-note{margin-top:34px;padding:26px 0 0;border:0;border-top:1px solid rgba(255,255,255,.1);border-radius:0;background:transparent}.login-security-note b{color:#f4f7f9b8;font-weight:560}.login-security-note span,.login-card-footer{color:#cbd5dd7a}.login-card-footer span:last-child{color:#f4f7f9c7}@media(max-width:1180px){.login-page{grid-template-columns:minmax(0,60%) minmax(380px,40%)}.login-visual{padding-right:clamp(330px,35vw,460px)}.login-story{width:min(500px,43vw)}.login-story h1{font-size:clamp(42px,5vw,58px)}.login-showcase{width:min(40vw,430px)}}@media(max-width:860px){.login-page{display:block;overflow:auto;background:#f6f0e7}.login-visual{min-height:470px;padding:28px 24px 44px}.login-story{width:100%;margin-top:54px}.login-showcase{display:none}.login-visual-footer{width:100%;margin-top:64px}.login-entry{min-height:auto;padding:42px 24px 48px}.login-card{width:min(396px,100%)}}@media(max-width:560px){.login-story h1{font-size:clamp(34px,10vw,45px)}}.login-brand-lockup{display:grid;grid-template-columns:68px auto;align-items:center;column-gap:26px}.login-logo-crop{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;overflow:visible}.login-logo-crop .login-logo-full{width:62px;height:62px;display:block;object-fit:contain;object-position:center;transform:none}.login-brand-lockup>div{min-height:68px;display:flex;flex-direction:column;justify-content:center}.brandmark.logo-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center}.brandmark.logo-mark img{width:31px;height:31px;object-fit:contain;object-position:center;transform:none}.profile-edit-modal{width:min(720px,94vw)}.profile-edit-modal .manual-form{padding-top:0}.profile-tag-editor{display:grid;gap:8px}.profile-tag-list{display:flex;flex-wrap:wrap;gap:6px}.profile-tag-list>span{min-height:26px;padding:4px 6px 4px 9px;display:inline-flex;align-items:center;gap:4px;border:1px solid #efc3c6;border-radius:999px;color:var(--pa-red-deep);background:var(--pa-red-wash);font-size:10px;font-weight:700}.profile-tag-list button{width:18px;height:18px;padding:0;display:grid;place-items:center;border:0;color:inherit;background:transparent;cursor:pointer}.profile-tag-list button svg{width:11px}.profile-tag-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.profile-tag-input>button{min-width:58px;border:1px solid var(--pa-line);border-radius:6px;color:var(--pa-ink);background:#fff;font-size:10px;font-weight:700;cursor:pointer}.mail-settings-card{margin-top:18px;overflow:hidden;border-color:var(--pa-line);border-radius:7px;box-shadow:none}.mail-settings-head{min-height:70px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--pa-line)}.mail-settings-head>div{display:flex;align-items:center;gap:11px}.mail-settings-head>div>svg{width:34px;height:34px;padding:8px;flex:0 0 34px;border:1px solid #edb4b9;border-radius:6px;color:var(--pa-red);background:var(--pa-red-wash)}.mail-settings-head h2{margin:0 0 3px;color:var(--pa-ink);font-size:16px}.mail-settings-head p{margin:0;color:var(--pa-muted);font-size:10px}.mail-settings-head>span{padding:5px 8px;border:1px solid var(--pa-line);border-radius:999px;color:var(--pa-muted);background:#f6f6f4;font-size:10px;font-weight:700;white-space:nowrap}.mail-settings-head>span.is-ready{border-color:#a9d5c5;color:var(--pa-success);background:#edf8f3}.mail-settings-grid{padding:16px 18px;display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(110px,.55fr) minmax(210px,1fr);gap:12px}.mail-settings-grid label,.mail-test-row label{min-width:0;display:flex;flex-direction:column;gap:5px}.mail-settings-grid label>span,.mail-test-row label>span{color:var(--pa-muted);font-size:10px;font-weight:700}.mail-settings-grid :is(input,select),.mail-test-row input{width:100%;height:36px;padding:0 9px;border:1px solid #cfd2d4;border-radius:5px;color:var(--pa-ink);background:#fff;font:inherit;font-size:11px;outline:0}.mail-settings-grid :is(input,select):focus,.mail-test-row input:focus{border-color:var(--pa-red);box-shadow:0 0 0 2px var(--pa-red-wash)}.mail-password-field>div{position:relative}.mail-password-field input{padding-right:38px}.mail-password-field button{position:absolute;top:1px;right:1px;width:34px;height:34px;display:grid;place-items:center;border:0;color:var(--pa-muted);background:transparent;cursor:pointer}.mail-password-field button svg{width:15px}.mail-test-row{padding:13px 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-top:1px solid var(--pa-line-soft);background:#faf9f6}.mail-test-row>div{width:min(520px,100%);display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:8px}.mail-test-row button,.mail-settings-actions button{min-height:36px;padding:0 12px;border:1px solid var(--pa-line);border-radius:5px;color:var(--pa-ink);background:#fff;font-size:10px;font-weight:700;cursor:pointer}.mail-test-row button:disabled{color:#9ba0a6;background:#f0f0ee;cursor:not-allowed}.mail-test-row>small{color:var(--pa-muted);font-size:10px}.mail-settings-message{margin:12px 18px 0;padding:8px 10px;display:flex;align-items:center;gap:7px;border:1px solid #efc1c5;border-radius:5px;color:var(--pa-red-deep);background:var(--pa-red-wash);font-size:10px}.mail-settings-message.success{border-color:#acd7c7;color:var(--pa-success);background:#edf8f3}.mail-settings-message svg{width:14px}.mail-settings-actions{padding:13px 18px 16px;display:flex;justify-content:flex-end}.mail-settings-actions .primary{min-width:118px;color:#fff;border-color:var(--pa-red);background:var(--pa-red)}@media(max-width:900px){.mail-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.profile-edit-modal{width:min(96vw,720px)}.mail-settings-head,.mail-test-row{align-items:flex-start;flex-direction:column}.mail-settings-grid{grid-template-columns:1fr}.mail-test-row>div{grid-template-columns:1fr}}}@layer legacy{.nav-count{margin-inline-start:auto;min-width:18px;height:18px;display:inline-grid;place-items:center;padding-inline:4px;border-radius:9px;background:#d91f2c;color:#fff;font-size:10px;font-weight:800}.mail-center-page{padding:18px 18px 28px}.mail-center-page>.title-row{margin-bottom:12px}.mail-sync-state{display:flex;align-items:center;gap:10px}.mail-sync-state>span{display:inline-flex;align-items:center;gap:6px;color:#8a5a18;font-size:11px;font-weight:700}.mail-sync-state>span:before{width:7px;height:7px;border-radius:50%;background:#d9a441;content:""}.mail-sync-state>span.ready{color:#1f7758}.mail-sync-state>span.ready:before{background:#1f7758}.mail-sync-state button svg{width:14px}.mail-page-notice{margin:0 0 10px}.mail-desk{min-height:calc(100vh - 136px);display:grid;grid-template-columns:184px 330px minmax(440px,1fr);overflow:hidden;border:1px solid #cfd2d4;border-radius:7px;background:#fff}.mail-folders{display:flex;flex-direction:column;gap:2px;padding:10px 8px;border-inline-end:1px solid #d9dbdd;background:#171a20}.mail-folders>header{display:flex;align-items:center;gap:8px;min-width:0;margin:-2px 2px 9px;padding:5px 4px 11px;border-bottom:1px solid #30343b}.mail-folders>header>svg{width:18px;color:#d91f2c}.mail-folders>header>div{min-width:0}.mail-folders>header b,.mail-folders>header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-folders>header b{color:#fff;font-size:11px}.mail-folders>header span{margin-top:2px;color:#7d8590;font-size:10px}.mail-folders>button{min-height:34px;display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:7px;border:1px solid transparent;border-radius:5px;padding:0 8px;color:#9ca3ad;background:transparent;text-align:start;font-size:11px}.mail-folders>button:hover{color:#f4f5f6;background:#20242b}.mail-folders>button.active{border-color:#3b4048;color:#fff;background:#252930;box-shadow:inset 1px 0 #d91f2c}.mail-folders>button svg{width:14px;height:14px}.mail-folders>button.active svg{color:#f04450}.mail-folders>button b{min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:9px;background:#d91f2c;color:#fff;font-size:10px}.mail-thread-panel{min-width:0;border-inline-end:1px solid #d9dbdd;background:#f8f7f4}.mail-thread-tools{min-height:48px;display:flex;align-items:center;gap:8px;padding:8px 9px;border-bottom:1px solid #d9dbdd;background:#fff}.mail-thread-tools>div{min-width:0;height:31px;display:grid;grid-template-columns:26px 1fr auto;align-items:center;flex:1;overflow:hidden;border:1px solid #cfd2d4;border-radius:5px;background:#fff}.mail-thread-tools svg{width:13px;justify-self:center;color:#747b84}.mail-thread-tools input,.mail-thread-tools button{height:100%;border:0;background:transparent;font-size:10px}.mail-thread-tools input{min-width:0;outline:0}.mail-thread-tools button{padding-inline:8px;border-inline-start:1px solid #e1e3e5;color:#20242a;font-weight:700}.mail-thread-tools>span{color:#747b84;white-space:nowrap;font-size:10px}.mail-thread-list{max-height:calc(100vh - 185px);overflow-y:auto}.mail-thread-list>button{width:100%;min-height:102px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:start;gap:9px;padding:12px 10px;border:0;border-bottom:1px solid #dedfdf;color:#4f565f;background:transparent;text-align:start}.mail-thread-list>button:hover{background:#fff}.mail-thread-list>button.active{color:#20242a;background:#fff;box-shadow:inset 2px 0 #d91f2c}.mail-thread-list>button.unread{background:snow}.thread-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#ececeb;color:#4e555f;font-size:11px;font-weight:800}.mail-thread-list>button.unread .thread-avatar,.mail-thread-list>button.active .thread-avatar{background:#fff0f1;color:#b81724}.mail-thread-list>button>div{min-width:0}.mail-thread-list>button>div>span{display:flex;align-items:center;gap:6px}.mail-thread-list>button b,.mail-thread-list>button strong,.mail-thread-list>button small,.mail-thread-list>button em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-thread-list>button b{min-width:0;flex:1;color:#34404b;font-size:11px}.mail-thread-list>button time{color:#8a919a;font-size:10px}.mail-thread-list>button strong{margin-top:7px;color:#20242a;font-size:11px}.mail-thread-list>button small{margin-top:4px;color:#747b84;font-size:10px}.mail-thread-list>button em{margin-top:7px;color:#8a919a;font-size:10px;font-style:normal}.mail-thread-list>button em i{display:inline-flex;align-items:center;gap:2px;margin-inline-start:7px;color:#5e6670;font-style:normal}.mail-thread-list>button em svg{width:9px}.mail-thread-list>button mark{min-width:17px;height:17px;display:grid;place-items:center;border-radius:9px;color:#fff;background:#d91f2c;font-size:10px}.mail-thread-empty,.mail-reader-empty,.mail-empty-utility{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;padding:24px;color:#8a919a;text-align:center}.mail-thread-empty svg,.mail-reader-empty svg,.mail-empty-utility svg{width:24px;margin-bottom:8px;color:#b7bbc0}.mail-thread-empty b,.mail-reader-empty b,.mail-empty-utility b{color:#4f565f;font-size:11px}.mail-thread-empty span,.mail-reader-empty span,.mail-empty-utility span{max-width:38ch;margin-top:4px;font-size:10px;line-height:1.5}.mail-reader-slot{min-width:0;background:#fff}.mail-reader{height:calc(100vh - 137px);display:grid;grid-template-rows:auto auto minmax(160px,1fr) auto;min-width:0}.mail-reader-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;border-bottom:1px solid #d9dbdd}.mail-reader-head>div:first-child{min-width:0}.mail-reader-head>div:first-child>span{color:#d91f2c;font-size:10px;font-weight:800}.mail-reader-head h2,.mail-reader-head p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-reader-head h2{margin:3px 0;color:#20242a;font-size:15px}.mail-reader-head p{margin:0;color:#747b84;font-size:10px}.mail-reader-head>div:last-child{display:flex;gap:5px}.mail-reader-head button,.mail-utility-panel header button{height:30px;display:inline-flex;align-items:center;gap:5px;border:1px solid #cfd2d4;border-radius:5px;padding-inline:8px;color:#414851;background:#fff;font-size:10px;font-weight:700}.mail-reader-head button svg,.mail-utility-panel header button svg{width:12px}.mail-link-customer{position:relative;display:grid;grid-template-columns:minmax(210px,1fr) minmax(250px,.9fr);align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #efc1c5;background:#fff8f8}.mail-link-customer>div{display:flex;align-items:center;gap:8px}.mail-link-customer>div>svg{width:16px;color:#d91f2c}.mail-link-customer b,.mail-link-customer span{display:block}.mail-link-customer b{color:#7f1d26;font-size:11px}.mail-link-customer span{margin-top:2px;color:#9b555c;font-size:10px}.mail-link-customer>div:nth-child(2){height:30px;overflow:hidden;border:1px solid #e9aeb4;border-radius:5px;background:#fff}.mail-link-customer input{min-width:0;height:100%;flex:1;border:0;padding-inline:8px;outline:0;font-size:10px}.mail-link-customer>div:nth-child(2) button{height:100%;border:0;border-inline-start:1px solid #e9aeb4;color:#b81724;background:#fff;font-size:10px;font-weight:700}.mail-lead-results{position:absolute;z-index:5;top:45px;right:14px;width:min(360px,52%);display:grid!important;gap:0!important;overflow:hidden;border:1px solid #bfc3c7;border-radius:6px;background:#fff;box-shadow:0 12px 28px #1a1d2229}.mail-lead-results button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-top:1px solid #eceeef;padding:8px 10px;background:#fff;text-align:start}.mail-lead-results button:first-child{border-top:0}.mail-lead-results button:hover{background:#fff5f6}.mail-message-stream{min-height:0;overflow-y:auto;padding:0 14px 14px;background:#f5f4f0}.mail-message-stream>article{margin-top:12px;overflow:hidden;border:1px solid #d9dbdd;border-radius:6px;background:#fff}.mail-message-stream>article.outgoing{border-color:#e6c1c5}.mail-message-stream>article>header{min-height:48px;display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid #eceeef;background:#fafaf9}.mail-message-avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#46505a;background:#e7e8e7;font-size:10px;font-weight:800}.mail-message-stream>article.outgoing .mail-message-avatar{color:#b81724;background:#fff0f1}.mail-message-stream header b,.mail-message-stream header span{display:block}.mail-message-stream header b{color:#29313a;font-size:11px}.mail-message-stream header span,.mail-message-stream header time{margin-top:2px;color:#858c95;font-size:10px}.mail-message-stream h3{margin:0;padding:10px 12px 0;color:#20242a;font-size:11px}.mail-message-stream article>p{margin:0;padding:10px 12px 14px;color:#3d444c;font-size:11px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.mail-attachments{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.mail-attachments button{max-width:230px;display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:5px;border:1px solid #d7d9dc;border-radius:5px;padding:7px 8px;color:#3f4650;background:#f8f8f6;text-align:start}.mail-attachments button>svg{width:13px;color:#d91f2c}.mail-attachments button b,.mail-attachments button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-attachments button b{font-size:10px}.mail-attachments button small{margin-top:1px;color:#858c95;font-size:9px}.mail-message-error{display:flex;align-items:center;gap:5px;margin:0 12px 12px;color:#a91925;font-size:10px}.mail-message-error svg{width:13px}.mail-reply-composer{padding:10px 12px 12px;border-top:1px solid #cfd2d4;background:#fff}.reply-title{display:flex;align-items:center;gap:6px;margin-bottom:7px}.reply-title svg{width:14px;color:#d91f2c}.reply-title b{color:#20242a;font-size:11px}.reply-title span{color:#858c95;font-size:10px}.mail-reply-composer>input,.mail-reply-composer>textarea{width:100%;border:1px solid #cfd2d4;border-radius:5px;padding:7px 9px;color:#20242a;background:#fff;outline:0;font:inherit;font-size:11px}.mail-reply-composer>textarea{min-height:72px;margin-top:5px;line-height:1.5;resize:vertical}.mail-reply-composer>input:focus,.mail-reply-composer>textarea:focus{border-color:#d91f2c;box-shadow:0 0 0 2px #fff0f1}.reply-actions{display:flex;align-items:center;gap:8px;margin-top:7px}.reply-actions label{height:30px;display:inline-flex;align-items:center;gap:4px;border:1px solid #cfd2d4;border-radius:5px;padding-inline:8px;color:#414851;font-size:10px;font-weight:700;cursor:pointer}.reply-actions label svg{width:12px}.reply-actions>span{min-width:0;flex:1;overflow:hidden;color:#858c95;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.reply-actions button{min-height:30px;height:30px;padding-inline:10px}.reply-actions button svg{width:12px}.mail-inline-message{margin-top:8px;padding:7px 8px;border-radius:5px;color:#315f4e;background:#edf8f3;font-size:10px}.mail-utility-slot{grid-column:2 / -1;min-width:0;background:#f5f4f0}.mail-utility-panel{min-height:100%;background:#fff}.mail-utility-panel>header{min-height:65px;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #d9dbdd}.mail-utility-panel>header h2{margin:0 0 3px;color:#20242a;font-size:15px}.mail-utility-panel>header p{margin:0;color:#747b84;font-size:10px}.mail-utility-panel>.mail-inline-message{margin:10px 16px}.mail-job-table{padding:0 16px 16px}.mail-job-head,.mail-job-table>article{display:grid;grid-template-columns:minmax(240px,1.4fr) 150px minmax(180px,.9fr) 90px 90px;align-items:center;gap:10px}.mail-job-head{min-height:36px;color:#747b84;font-size:10px;font-weight:700}.mail-job-table>article{min-height:58px;border-top:1px solid #e2e3e4;color:#4a515a;font-size:10px}.mail-job-table article b,.mail-job-table article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-job-table article b{color:#20242a;font-size:10px}.mail-job-table article small{margin-top:3px;color:#8a919a;font-size:10px}.mail-job-table article em{width:fit-content;border-radius:9px;padding:3px 7px;color:#4f565f;background:#eceeed;font-size:10px;font-style:normal}.mail-job-table article em[data-status=已完成]{color:#1f7758;background:#eaf6f1}.mail-job-table article em[data-status=发送失败],.mail-job-table article em[data-status=部分失败]{color:#a91925;background:#fff0f1}.mail-job-table article button{border:0;color:#b81724;background:transparent;font-size:10px;font-weight:700}.template-layout{display:grid;grid-template-columns:260px minmax(360px,1fr);min-height:calc(100vh - 205px)}.template-list{padding:10px;border-inline-end:1px solid #d9dbdd;background:#f8f7f4}.template-list button{width:100%;display:block;border:1px solid transparent;border-bottom-color:#dddfdf;padding:11px 9px;color:#48505a;background:transparent;text-align:start}.template-list button.active{border-color:#e3b4b8;border-radius:5px;background:#fff;box-shadow:inset 2px 0 #d91f2c}.template-list button b,.template-list button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-list button b{color:#20242a;font-size:10px}.template-list button span{margin-top:4px;color:#7b828b;font-size:10px}.template-layout>form{max-width:760px;padding:16px}.template-layout label{display:flex;flex-direction:column;margin-bottom:11px}.template-layout label>span,.suppression-workbench label>span{margin-bottom:5px;color:#59616b;font-size:11px;font-weight:700}.template-layout input,.template-layout textarea,.suppression-workbench input{border:1px solid #cfd2d4;border-radius:5px;padding:8px 9px;color:#20242a;background:#fff;outline:0;font:inherit;font-size:11px}.template-layout textarea{min-height:230px;line-height:1.55;resize:vertical}.template-layout label small{margin-top:5px;color:#7b828b;font-size:10px}.template-layout form>div:last-child{display:flex;justify-content:flex-end;gap:7px}.template-layout .secondary{height:34px;border:1px solid #cfd2d4;border-radius:5px;padding-inline:10px;color:#4a515a;background:#fff;font-size:10px}.suppression-workbench>form{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.4fr) auto;align-items:end;gap:10px;padding:14px 16px;border-bottom:1px solid #d9dbdd}.suppression-workbench label{display:flex;flex-direction:column}.suppression-workbench input,.suppression-workbench form button{height:34px}.suppression-list{padding:0 16px 16px}.suppression-list article{min-height:54px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e2e3e4}.suppression-list article>div{min-width:0;flex:1}.suppression-list b,.suppression-list span{display:block}.suppression-list b{color:#20242a;font-size:10px}.suppression-list span{margin-top:3px;color:#7b828b;font-size:10px}.suppression-list article button{border:1px solid #d9dbdd;border-radius:5px;padding:6px 8px;color:#4a515a;background:#fff;font-size:10px}.mail-settings-statuses{display:flex;gap:6px}.mail-settings-statuses span{border-radius:10px;padding:4px 7px;color:#8a5a18;background:#fff7e8;font-size:10px;font-weight:800}.mail-settings-statuses span.is-ready{color:#1f7758;background:#eaf6f1}.mail-protocol-section{border-top:1px solid #d9dbdd}.mail-protocol-section>header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 18px;background:#f8f7f4}.mail-protocol-section>header>div{display:flex;align-items:center;gap:8px}.mail-protocol-section>header svg{width:16px;color:#d91f2c}.mail-protocol-section>header h3{margin:0;color:#20242a;font-size:11px}.mail-protocol-section>header p,.mail-protocol-section>header small{margin:2px 0 0;color:#747b84;font-size:10px}.imap-enable{display:flex;align-items:center;gap:6px;color:#37404a;font-size:10px;font-weight:700}.imap-enable input{width:14px;height:14px}.mail-protocol-section .mail-settings-grid{padding-top:14px}.mail-protocol-section .mail-test-row{margin-top:0;border-top:1px solid #eceeef}.bulk-delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bulk-attachment-picker>div{position:relative;min-height:36px;display:flex;align-items:center;gap:7px;overflow:hidden;border:1px solid #cfd2d4;border-radius:5px;padding-inline:9px;color:#59616b;background:#fff}.bulk-attachment-picker>div svg{width:14px;color:#d91f2c}.bulk-attachment-picker>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.bulk-attachment-picker input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.bulk-test-row{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:8px;margin:2px 0 10px;padding:10px;border:1px solid #d9dbdd;border-radius:5px;background:#f8f7f4}.bulk-test-row label{margin:0!important}.bulk-test-row button{height:36px;border:1px solid #cfd2d4;border-radius:5px;padding-inline:10px;color:#20242a;background:#fff;font-size:10px;font-weight:700}.bulk-test-row>small{grid-column:1 / -1;color:#747b84;font-size:10px}@media(max-width:1180px){.mail-desk{grid-template-columns:60px 300px minmax(400px,1fr)}.mail-folders{padding-inline:6px}.mail-folders>header>div,.mail-folders>button>span{display:none}.mail-folders>header{justify-content:center}.mail-folders>button{grid-template-columns:1fr;justify-items:center;padding:0}.mail-folders>button b{position:absolute;margin:-20px 0 0 22px}}@media(max-width:860px){.mail-center-page{padding-inline:10px}.mail-desk{grid-template-columns:54px minmax(250px,.9fr) minmax(360px,1.1fr);overflow-x:auto}.mail-job-head,.mail-job-table>article{grid-template-columns:minmax(220px,1.3fr) 140px 170px 80px 80px}.template-layout{grid-template-columns:220px minmax(350px,1fr)}}@media(max-width:650px){.mail-center-page>.title-row,.mail-sync-state{align-items:stretch}.mail-sync-state{width:100%;justify-content:space-between}.mail-desk{min-height:calc(100vh - 180px);grid-template-columns:46px 245px minmax(360px,1fr)}.mail-utility-slot{grid-column:2 / -1;min-width:640px}.suppression-workbench>form,.bulk-delivery-options{grid-template-columns:1fr}.bulk-test-row{grid-template-columns:1fr}.bulk-test-row>small{grid-column:1}}}@layer legacy{:root{--v3-red: #d91f2c;--v3-red-hover: #b81724;--v3-red-soft: #fff0f1;--v3-graphite: #12151a;--v3-graphite-raised: #1c2026;--v3-canvas: #f4f4f1;--v3-surface: #ffffff;--v3-surface-subtle: #f8f8f6;--v3-line: #d6d8da;--v3-line-soft: #e7e8e8;--v3-ink: #20242a;--v3-muted: #626a73;--v3-subtle: #7b838c;--v3-success: #1f7758;--v3-warning: #a96317;--v3-danger: #b42318;--v3-sidebar: 172px;--v3-control: 36px;--v3-radius-control: 6px;--v3-radius-surface: 10px;font-family:ui-sans-serif,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:13px;color:var(--v3-ink);background:var(--v3-canvas)}html,body,#root,.app{min-height:100%;color:var(--v3-ink);background:var(--v3-canvas)}body{min-width:360px;font-size:13px;line-height:1.45}button,input,select,textarea{font-family:inherit}button:not(:disabled):active{transform:translateY(1px)}:where(button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid rgba(217,31,44,.78);outline-offset:2px}.app-sidebar{width:var(--v3-sidebar);padding:14px 11px 12px;border-right:1px solid #292e35;background:var(--v3-graphite)}.app-sidebar .brand{height:46px;padding-inline:3px;gap:9px;font-size:13.5px}.app-sidebar .brandmark.logo-mark{width:32px;height:32px;flex-basis:32px;border-radius:7px}.app-sidebar .workspace{margin:16px 2px 14px}.app-sidebar .workspace>span,.app-sidebar .navlabel{font-size:10.5px}.app-sidebar .workspace button{height:34px;font-size:11px}.app-sidebar nav{gap:3px}.app-sidebar nav>button{min-height:39px;padding:0 10px;gap:10px;border-radius:6px;font-size:12px;font-weight:650}.app-sidebar nav>button svg{width:17px;height:17px}.app-sidebar nav>button.active{border-color:#48282d;background:#28191c;box-shadow:inset 2px 0 var(--v3-red)}.app-sidebar .navlabel{margin:16px 9px 6px}.app-sidebar .profile{min-height:48px;padding:12px 4px 0}.app-sidebar .profile .avatar{width:30px;height:30px}.app-sidebar .profile b{font-size:11px}.app-sidebar .profile span{font-size:10.5px}.app>main,.app .app-main{width:calc(100% - var(--v3-sidebar));margin-left:var(--v3-sidebar);min-width:0;background:var(--v3-canvas)}.app-topbar{position:sticky;top:0;z-index:30;height:54px;padding:0 22px;border-bottom:1px solid var(--v3-line);background:#fffffffa}.app-topbar .crumb{color:var(--v3-muted);font-size:11.5px}.app-topbar .header-actions{gap:6px}.app-topbar .header-actions .icon{width:34px;height:34px;border-radius:6px}.app-topbar .mini-avatar{width:30px;height:30px;font-size:11px}.content{width:100%;max-width:none;padding:20px 22px 34px}.title-row{min-height:52px;margin-bottom:14px;gap:18px}.title-row h1{margin:0 0 4px;color:var(--v3-ink);font-size:25px;font-weight:750;line-height:1.16;letter-spacing:-.025em}.title-row p,.card-head p{max-width:72ch;color:var(--v3-muted);font-size:12.5px;line-height:1.45}.title-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.primary,.ghost,.secondary,.title-actions>button{min-height:var(--v3-control);height:var(--v3-control);padding:0 14px;border-radius:var(--v3-radius-control);font-size:12px;font-weight:720;white-space:nowrap}.primary{border:1px solid var(--v3-red);color:#fff;background:var(--v3-red);box-shadow:0 5px 14px #b817242b}.primary:hover:not(:disabled){border-color:var(--v3-red-hover);background:var(--v3-red-hover)}.ghost,.secondary{border:1px solid #c8ccd0;color:#343b43;background:#fff;box-shadow:none}.primary:disabled,.ghost:disabled,.secondary:disabled{border-color:#d5d7d8;color:#747b82;background:#e7e8e8;box-shadow:none}.card{margin-bottom:14px;border:1px solid var(--v3-line);border-radius:var(--v3-radius-surface);background:var(--v3-surface);box-shadow:none}.card-head{margin-bottom:14px}.card-head h2,.report-card-head h2,.team-card h2{color:var(--v3-ink);font-size:16px;line-height:1.25}.eyebrow{color:var(--v3-red-hover);font-size:10.5px;font-weight:800;letter-spacing:.045em}.count,.safe,.ai{min-height:24px;padding:0 9px;font-size:10.5px}.notice,.error,.password-message,.mail-settings-message,.mail-inline-message{border-radius:7px;font-size:12px}.empty-state{min-height:132px}.empty-state h3{font-size:14px}.empty-state p{color:var(--v3-muted);font-size:12px}:where(.content,.modal-backdrop) label>span{color:#4c545d;font-size:11.5px;font-weight:700}:where(.content,.modal-backdrop) input,:where(.content,.modal-backdrop) select,:where(.content,.modal-backdrop) textarea{border-color:#c7cbd0;border-radius:var(--v3-radius-control);color:var(--v3-ink);background:#fff;font-size:12px}:where(.content,.modal-backdrop) input,:where(.content,.modal-backdrop) select{min-height:var(--v3-control)}:where(.content,.modal-backdrop) textarea{line-height:1.55}:where(.content,.modal-backdrop) input::placeholder,:where(.content,.modal-backdrop) textarea::placeholder{color:#747c84;opacity:1}:where(.content,.modal-backdrop) input:focus,:where(.content,.modal-backdrop) select:focus,:where(.content,.modal-backdrop) textarea:focus{border-color:var(--v3-red);box-shadow:0 0 0 2px var(--v3-red-soft)}table{font-size:12px}th{height:36px;padding:8px 10px;color:#525a63;background:#f4f4f2;font-size:10.5px;font-weight:750;letter-spacing:.015em;text-transform:none}td{padding:9px 10px;color:#30373e;border-color:var(--v3-line-soft);font-size:12px}tbody tr:hover td{background:#fbfbf9}.content:has(.dashboard-stats){padding-bottom:30px}.dashboard-stats,.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.dashboard-stats .stat,.report-metrics .stat{min-height:102px;padding:14px 16px;border:1px solid var(--v3-line);border-radius:9px;background:#fff}.dashboard-stats .stat:before,.report-metrics .stat:before{height:2px}.dashboard-stats .stat span,.report-metrics .stat span{color:#525a63;font-size:11.5px;font-weight:700}.dashboard-stats .stat b,.report-metrics .stat b{margin-top:3px;color:var(--v3-ink);font-size:26px;line-height:1.1}.dashboard-stats .stat small,.report-metrics .stat small{margin-top:5px;color:var(--v3-subtle);font-size:10.5px}.reminder-card{overflow:hidden}.reminder-card .card-head{margin:0;padding:15px 16px 12px;border-bottom:1px solid var(--v3-line-soft)}.reminder-list>div{min-height:60px;padding:9px 14px}.reminder-customer b,.reminder-time b{font-size:12px}.reminder-customer span,.reminder-time span,.reminder-owner{font-size:10.5px}.reminder-list button{min-height:32px;font-size:11px}.import-page{max-width:1440px;margin-inline:auto}.import-page .steps{margin:16px 8px 18px}.import-page .step{min-width:150px}.import-page .step b{width:28px;height:28px;font-size:11px}.import-page .step span{font-size:12px}.import-page .step small{font-size:10.5px}.import-page .upload-card,.import-page .mapping-card{padding:20px}.import-page .dropzone{min-height:190px;border-radius:8px}.import-page .dropzone h3{font-size:14px}.import-page .dropzone p,.import-page .tips small,.import-page .privacy{font-size:10.5px}.import-page .tips{margin-top:12px;padding:11px 13px}.import-page .mapping-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.import-page .mapping-grid label>span{margin-bottom:6px;font-size:11.5px}.import-page .select{height:var(--v3-control)}.import-page .select select{font-size:12px}.import-page .preview-card .card-head{padding:15px 16px 12px}.import-page .footer-actions{padding:13px 16px}.customers-page{padding:14px 16px 26px}.customers-page .title-row{min-height:50px;margin-bottom:10px}.customers-page .title-row h1{font-size:24px}.customers-page .title-row p{font-size:12px}.customers-page .title-actions>button{min-height:var(--v3-control);height:var(--v3-control)}.customers-page .status-category-grid{min-height:45px;padding:4px 6px 0;border-radius:9px 9px 0 0}.customers-page .status-category{height:40px;padding-inline:11px}.customers-page .status-category span{font-size:11px}.customers-page .status-category b{min-width:20px;height:20px;font-size:10.5px}.crm-master-detail{border-radius:0 0 9px 9px;box-shadow:0 10px 28px #1b1f250e}.crm-master-detail .customer-tools{min-height:52px;padding:8px;gap:7px}.crm-master-detail .searchbox,.crm-master-detail .filter-select,.crm-master-detail .assign-box,.crm-master-detail .bulk-status-box,.crm-master-detail .customer-view-toggle,.crm-master-detail .bulk-email{height:var(--v3-control);border-radius:6px}.crm-master-detail .searchbox{min-width:320px;flex:1 1 360px}.crm-master-detail .filter-select select,.crm-master-detail .assign-box select,.crm-master-detail .bulk-status-box select,.crm-master-detail .customer-view-toggle button,.crm-master-detail .bulk-email,.crm-master-detail .searchbox input,.crm-master-detail .searchbox button,.crm-master-detail .assign-box button{font-size:11.5px}.crm-master-detail .searchbox button{flex:0 0 64px;min-width:64px;white-space:nowrap}.crm-master-detail .customer-card>.tablewrap{max-height:clamp(270px,32vh,360px)}.crm-master-detail:not(.has-detail) .customer-card>.tablewrap{max-height:calc(100dvh - 220px)}.crm-master-detail .customer-table{min-width:1060px}.crm-master-detail .customer-table th{height:37px;padding:7px 9px;font-size:11px}.crm-master-detail .customer-table td{height:54px;padding:7px 9px;font-size:12px}.crm-master-detail .customer-name b,.crm-master-detail .contact b{font-size:12px}.crm-master-detail .customer-name small,.crm-master-detail .contact small,.crm-master-detail .lead-status-title small,.followup-due small{font-size:10.5px}.crm-master-detail .lead-status-title b,.followup-due,.followup-due b{font-size:11.5px}.crm-master-detail .lead-detail-inline .lead-drawer>.drawer-head{min-height:48px;height:48px}.crm-master-detail .drawer-customer-identity h2{font-size:17px}.crm-master-detail .drawer-customer-identity>small,.crm-master-detail .drawer-customer-state>small{font-size:10.5px}.crm-master-detail .project-card-head{min-height:42px;height:42px}.crm-master-detail .project-card-head>div:first-child h3{font-size:13.5px}.crm-master-detail .project-matrix-head{min-height:35px;height:35px}.crm-master-detail .project-matrix-head>span{font-size:10.5px}.crm-master-detail .project-matrix-cell{min-height:230px;padding:9px;gap:7px}.crm-master-detail .project-matrix-cell label>span,.crm-master-detail .project-matrix-cell>small,.crm-master-detail .matrix-cell-tools small{color:#5e6670;font-size:10.5px}.crm-master-detail .project-matrix-cell input,.crm-master-detail .project-matrix-cell select,.crm-master-detail .project-matrix-cell textarea{font-size:11.5px}.crm-master-detail .photo-matrix-cell .door-photo img,.crm-master-detail .style-photo-grid .door-photo img,.reference-project-sheet img{object-fit:contain;background:#f1f1ef}.crm-master-detail .followup-form{padding:11px 12px}.crm-master-detail .followup-form h3,.crm-master-detail .followup-history h3{font-size:13px}.reports-page .title-row{margin-bottom:14px}.report-date{font-size:11px}.followup-overview,.chart-card,.performance-card,.import-history,.activity-card{border-radius:var(--v3-radius-surface)}.followup-overview-head{padding:16px 18px}.followup-overview-head h2{font-size:18px}.followup-overview-head p{font-size:11.5px}.followup-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.followup-summary>div{min-height:96px;padding:14px 16px}.followup-summary small,.followup-summary em{font-size:10.5px}.followup-summary b{font-size:24px}.panel-title h3{font-size:13px}.panel-title p,.panel-title span{font-size:10.5px}.sales-progress-card{border-radius:8px;box-shadow:none}.report-grid{gap:12px}.chart-card,.performance-card,.import-history,.activity-card{margin-bottom:12px}.report-card-head{padding:14px 16px 11px}.bar-chart,.source-chart{padding:12px 16px 16px}.content:has(.team-card){max-width:1280px;margin-inline:auto}.team-card,.user-form{padding:18px 20px}.team-card>p{color:var(--v3-muted);font-size:12px}.team-list{margin-top:12px}.team-list>div{min-height:60px;padding:9px 4px}.team-list>div>span{width:34px;height:34px}.team-list b{font-size:12.5px}.team-list small{color:var(--v3-muted);font-size:11px}.team-list button{min-height:32px;font-size:11px}.user-form>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.account-page{max-width:1440px;margin-inline:auto}.account-grid{grid-template-columns:minmax(240px,.65fr) minmax(620px,1.8fr);gap:12px}.account-summary,.password-card{min-height:196px;padding:18px 20px}.account-summary{margin:0}.account-avatar{width:54px;height:54px}.password-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px}.password-card-head,.password-message{grid-column:1 / -1}.password-card>label{margin:0}.password-card>button{align-self:end}.mail-settings-card{margin-top:12px;border-radius:var(--v3-radius-surface)}.mail-settings-head{padding:16px 18px}.mail-settings-head h2{font-size:17px}.mail-settings-head p,.mail-protocol-section header p,.mail-protocol-section header small,.mail-test-row small{font-size:10.5px}.mail-protocol-section>header{min-height:54px;padding:10px 16px}.mail-settings-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px}.mail-test-row{padding:0 16px 14px}.mail-center-page{padding:16px 16px 24px}.mail-center-page>.title-row{margin-bottom:10px}.mail-sync-state>span{font-size:11px}.mail-desk{min-height:calc(100dvh - 132px);grid-template-columns:170px 350px minmax(480px,1fr);border-radius:9px}.mail-folders{padding:10px 8px}.mail-folders>header b{font-size:10.5px}.mail-folders>header span{font-size:9.5px}.mail-folders>button{min-height:36px;font-size:11px}.mail-thread-tools{min-height:52px}.mail-thread-tools>div{height:var(--v3-control)}.mail-thread-tools input,.mail-thread-tools button{font-size:10.5px}.mail-thread-tools>span{font-size:9.5px}.mail-thread-list{max-height:calc(100dvh - 188px)}.mail-thread-list>button{min-height:110px;padding:12px 11px}.mail-thread-list>button>div>span b{font-size:11.5px}.mail-thread-list>button strong{font-size:12px}.mail-thread-list>button small,.mail-thread-list>button em,.mail-thread-list>button time{font-size:10px}.mail-reader-head{min-height:74px;padding:12px 14px}.mail-reader-head h2{font-size:16px}.mail-reader-head p,.mail-reader-head span{font-size:10.5px}.mail-message-stream{padding:12px}.mail-message-stream article{font-size:12px}.mail-message-stream article>header b{font-size:11.5px}.mail-message-stream article>header span,.mail-message-stream article>header time{font-size:10px}.mail-reply-composer{padding:12px 14px}.mail-utility-panel{padding:16px}.modal-backdrop{padding:20px}.manual-modal,.email-modal{border-radius:12px;box-shadow:0 28px 70px #12151a38}.modal-head{padding:16px 18px}.modal-head h2{font-size:18px}.manual-form,.email-form{padding:16px 18px}.modal-actions{padding:12px 18px}.login-page{font-family:ui-sans-serif,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif}.login-card input{font-size:13px}.login-submit{height:44px;font-size:12.5px}@media(max-width:1280px){:root{--v3-sidebar: 68px}.app-sidebar{padding-inline:9px}.app-sidebar .brand{justify-content:center;padding:0}.app-sidebar .brand span,.app-sidebar .workspace,.app-sidebar .navlabel,.app-sidebar .profile>div:nth-child(2),.app-sidebar .profile-logout{display:none}.app-sidebar nav{margin-top:18px}.app-sidebar nav>button{position:relative;justify-content:center;padding:0;gap:0;font-size:0}.app-sidebar nav>button svg{width:19px;height:19px}.app-sidebar .nav-count{position:absolute;top:3px;right:1px;min-width:17px;height:17px;font-size:9px}.app-sidebar .profile{justify-content:center}.content{padding-inline:16px}.import-page .mapping-grid,.mail-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mail-desk{grid-template-columns:58px 310px minmax(460px,1fr);overflow-x:auto}.mail-folders>header>div,.mail-folders>button span{display:none}.mail-folders>header{justify-content:center}.mail-folders>button{position:relative;grid-template-columns:1fr;justify-items:center;padding-inline:0}.mail-folders>button b{position:absolute;top:1px;right:0}}@media(max-width:980px){.dashboard-stats,.report-metrics,.followup-summary,.import-page .mapping-grid,.mail-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-grid{grid-template-columns:1fr}.account-summary,.password-card{min-height:0}.password-card{grid-template-columns:repeat(2,minmax(0,1fr))}.password-card>button{justify-self:start}.user-form>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){:root{--v3-sidebar: 58px}.app-sidebar{padding-inline:7px}.app-sidebar .brandmark.logo-mark{width:30px;height:30px}.app-topbar{height:50px;padding-inline:14px}.app-topbar .crumb{font-size:10.5px}.content,.customers-page,.mail-center-page{padding:14px 10px 24px}.title-row{min-height:0;align-items:flex-start;gap:10px}.title-row h1,.customers-page .title-row h1{font-size:22px}.title-row p{font-size:11.5px}.title-actions{gap:5px}.title-actions>button{padding-inline:10px}.import-page .steps{display:none}.import-page .upload-card,.import-page .mapping-card{padding:14px}.import-page .mapping-grid,.mail-settings-grid,.password-card{grid-template-columns:1fr}.import-page .dropzone{min-height:166px}.crm-master-detail .customer-tools{align-items:stretch}.crm-master-detail .searchbox{width:100%;min-width:100%}.team-card,.user-form{padding:14px}.team-list>div{grid-template-columns:auto 1fr auto}.mail-desk{min-height:calc(100dvh - 124px);grid-template-columns:52px 270px minmax(440px,1fr)}}@media(max-width:520px){.dashboard-stats,.report-metrics,.followup-summary{grid-template-columns:1fr 1fr;gap:7px}.dashboard-stats .stat,.report-metrics .stat{min-height:92px;padding:12px}.dashboard-stats .stat b,.report-metrics .stat b{font-size:23px}.title-row{flex-direction:column}.title-actions{width:100%;justify-content:flex-start}.user-form>div{grid-template-columns:1fr}.mail-sync-state{width:100%;justify-content:space-between}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.drawer-backdrop,.lead-drawer,.login-page:before,.login-card,.modal-backdrop{animation:none!important}}:root{font-family:ui-sans-serif,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif}.customer-pagination{min-height:44px;padding:8px 12px;border-top:1px solid var(--line, #e4e7ec);flex-direction:row;align-items:center;justify-content:space-between;gap:12px;color:var(--muted, #667085);font-size:12px}.customer-pagination>div{display:flex;gap:6px}.customer-pagination button{min-height:30px;padding:0 11px;border:1px solid var(--line, #d0d5dd);border-radius:7px;background:#fff;color:var(--ink, #344054);font:inherit;cursor:pointer}.customer-pagination button:disabled{opacity:.45;cursor:not-allowed}.security-required{display:flex;align-items:flex-start;gap:11px;margin:0 0 14px;padding:12px 14px;border:1px solid #f4b5ba;border-radius:10px;background:#fff7f7;color:#8f1420}.security-required svg{width:18px;flex:0 0 auto}.security-required div{display:grid;gap:3px}.security-required span{color:#7a3340;font-size:12px}.app-sidebar nav>button:disabled,.header-actions button:disabled{opacity:.36;cursor:not-allowed}.topbar-leading{min-width:0;display:flex;align-items:center;gap:8px}.mobile-menu-trigger,.mobile-nav-close,.mobile-nav-backdrop,.customer-mobile-list,.mail-mobile-back{display:none}.reference-summary-item>span,.reference-summary-progress>span,.reference-summary-progress i small,.reference-column-body label>span,.reference-column-body .matrix-cell-tools small,.reference-followup-row>span,.reference-followup-row>em,.reference-followup-row>small{font-size:11px}.reference-summary-item b,.reference-column-body :is(input,select,textarea),.reference-long-copy,.reference-followup-row>strong,.reference-followup-row>p{font-size:12px}.mail-thread-list>button>div>span b,.mail-thread-list>button strong{font-size:12px}.mail-thread-list>button small,.mail-thread-list>button em,.mail-thread-list>button time{font-size:11px}.mail-message-stream>article>p{color:#30363d;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.dashboard-operations-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);align-items:start;gap:12px}.dashboard-operations-grid>.card{margin:0;overflow:hidden}.dashboard-action-queue{grid-column:2;grid-row:1}.dashboard-recent-leads{grid-column:1;grid-row:1}.dashboard-recent-leads>header,.dashboard-action-queue>header{min-height:66px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--v3-line)}.dashboard-recent-leads h2,.dashboard-action-queue h2{margin:0 0 3px;font-size:15px}.dashboard-recent-leads header p,.dashboard-action-queue header p{margin:0;color:var(--v3-muted);font-size:11.5px}.dashboard-recent-leads header button{min-height:34px;display:inline-flex;align-items:center;gap:5px;border:0;color:var(--v3-red-hover);background:transparent;font-size:11.5px;font-weight:700}.dashboard-recent-leads header button svg,.dashboard-recent-leads>div>button>svg,.dashboard-action-queue>button>svg{width:14px}.dashboard-recent-leads>div>button{width:100%;min-height:58px;padding:8px 14px;display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--v3-line-soft);color:var(--v3-ink);background:#fff;text-align:left}.dashboard-recent-leads>div>button:last-child{border-bottom:0}.dashboard-recent-leads>div>button:hover,.dashboard-action-queue>button:hover{background:snow}.dashboard-recent-leads>div>button>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--v3-red-hover);background:var(--v3-red-soft);font-size:11px;font-weight:750}.dashboard-recent-leads>div>button>div{min-width:0;display:grid;gap:2px}.dashboard-recent-leads>div>button b{overflow:hidden;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-leads>div>button small{overflow:hidden;color:var(--v3-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-leads>div>button em{color:var(--v3-muted);font-size:11px;font-style:normal;white-space:nowrap}.dashboard-action-queue>header{display:block}.dashboard-action-queue>button{width:100%;min-height:70px;padding:10px 14px;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--v3-line-soft);color:var(--v3-ink);background:#fff;text-align:left}.dashboard-action-queue>button:last-child{border-bottom:0}.queue-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:7px;color:var(--v3-muted);background:var(--v3-surface-subtle)}.queue-icon svg{width:16px}.queue-icon.warning{color:var(--v3-warning);background:#fff7ed}.queue-icon.danger{color:var(--v3-danger);background:var(--v3-red-soft)}.queue-icon.mail{color:#3e5d8f;background:#f1f5fb}.dashboard-action-queue>button>div{display:grid;gap:2px}.dashboard-action-queue>button b{font-size:12.5px}.dashboard-action-queue>button small{color:var(--v3-muted);font-size:11px}.dashboard-module-empty{min-height:120px;display:grid;place-items:center;color:var(--v3-muted);font-size:12px}@media(max-width:980px){.dashboard-operations-grid{grid-template-columns:1fr}.dashboard-action-queue,.dashboard-recent-leads{grid-column:auto;grid-row:auto}.sales-task-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.sales-task-filters button{border-bottom:1px solid #eceeef}}@media(max-width:720px){.mobile-menu-trigger{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:1px solid var(--v3-line);border-radius:var(--v3-radius-control);color:var(--v3-ink);background:#fff}.mobile-menu-trigger svg{width:19px}.app-topbar .crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-master-detail .customer-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.crm-master-detail .searchbox{grid-column:1 / -1}.crm-master-detail .filter-select,.crm-master-detail .assign-box,.crm-master-detail .customer-view-toggle,.crm-master-detail .bulk-status-box,.crm-master-detail .bulk-email{width:100%;max-width:none}.crm-master-detail .assign-box,.crm-master-detail .bulk-status-box,.crm-master-detail .bulk-email{grid-column:1 / -1}.customer-card>.tablewrap{display:none}.customer-mobile-list{display:block;border-top:1px solid var(--v3-line)}.customer-mobile-list>article{min-height:78px;padding:0 8px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:stretch;border-bottom:1px solid var(--v3-line-soft);background:#fff}.customer-mobile-list>article.is-active{background:var(--v3-red-soft);box-shadow:inset 2px 0 var(--v3-red)}.customer-mobile-list>article>input{width:16px;height:16px;margin:auto}.customer-mobile-list>article>button{min-width:0;min-height:62px;padding:9px 4px;display:grid;grid-template-columns:minmax(105px,1fr) minmax(92px,.8fr) minmax(92px,.75fr) 18px;align-items:center;gap:8px;border:0;color:var(--v3-ink);background:transparent;text-align:left}.mobile-lead-identity,.mobile-lead-status,.mobile-lead-meta{min-width:0;display:grid;gap:3px}.mobile-lead-identity b,.mobile-lead-meta>b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-lead-identity small,.mobile-lead-status small{overflow:hidden;color:var(--v3-muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.mobile-lead-status{position:relative;padding-left:11px;font-size:11.5px;font-weight:700}.mobile-lead-status>i{position:absolute;top:4px;left:0;width:6px;height:6px;border-radius:50%;background:var(--v3-red)}.mobile-lead-meta .followup-due{align-items:flex-start}.mobile-lead-meta .followup-due small{font-size:10px}.customer-pagination{min-height:54px}.customer-pagination button{min-width:58px;min-height:40px}.reference-project-titlebar{position:static;align-items:flex-start;flex-direction:column}.reference-project-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.reference-project-actions>button{min-height:40px;height:40px;font-size:11.5px}.reference-customer-summary{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.reference-summary-item{min-height:58px}.reference-summary-progress{grid-column:1 / -1;min-height:62px;border-top:1px solid var(--v3-line-soft)}.reference-project-scroll{overflow:visible}.reference-project-grid{min-width:0;grid-template-columns:1fr}.reference-project-column{border-right:0;border-bottom:1px solid var(--v3-line)}.reference-project-column>h3{height:42px;justify-content:flex-start;padding-inline:12px;font-size:13px}.reference-project-sheet:not(.is-editing) .reference-column-body{height:auto;min-height:112px}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .reference-column-body{min-height:220px}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .door-photo>div{min-height:176px}.reference-crm-detail .customer-activity-workspace{overflow:visible}.reference-crm-detail .followup-card{display:block;overflow:visible;padding:12px}.reference-crm-detail .followup-title{margin-bottom:10px}.reference-crm-detail .followup-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-crm-detail .followup-compact-grid label>span{display:block;margin-bottom:5px;color:var(--v3-muted);font-size:11px}.reference-crm-detail .followup-compact-grid .followup-content,.reference-crm-detail .followup-compact-grid .next-followup-field,.reference-crm-detail .followup-compact-grid .followup-save{grid-column:1 / -1}.reference-crm-detail .followup-compact-grid :is(select,input,textarea),.reference-crm-detail .followup-compact-grid .followup-save,.reference-crm-detail .followup-compact-grid .followup-content textarea{min-height:44px;height:44px;font-size:12px}.reference-followup-history{min-width:0}.reference-followup-row{min-height:0;padding:11px;grid-template-columns:24px minmax(0,1fr) auto;gap:5px 8px}.reference-followup-row>strong{grid-column:2}.reference-followup-row>span:nth-of-type(1){grid-column:2 / -1}.reference-followup-row>span:nth-of-type(2){grid-column:2 / -1}.reference-followup-row>p{grid-column:1 / -1;margin-top:5px;overflow:visible;line-height:1.55;text-overflow:clip;white-space:normal}.reference-followup-row>em{grid-column:3;grid-row:1}.reference-followup-row>small{grid-column:1 / -1;text-align:left}.mail-desk{min-width:0;min-height:calc(100dvh - 188px);grid-template-columns:48px minmax(0,1fr);overflow:hidden}.mail-folders{grid-column:1;min-width:0}.mail-thread-panel{min-width:0;grid-column:2}.mail-thread-tools{padding:8px}.mail-thread-tools>span{display:none}.mail-thread-list>button{min-height:94px;padding:10px}.mail-reader-slot{display:none;min-width:0}.mail-desk.is-reader-open{display:block}.mail-desk.is-reader-open .mail-folders,.mail-desk.is-reader-open .mail-thread-panel{display:none}.mail-desk.is-reader-open .mail-reader-slot{display:block}.mail-mobile-back{display:flex;justify-content:center;gap:6px;position:sticky;top:0;z-index:5;width:100%;min-height:44px;padding:0 12px;align-items:center;gap:7px;border:0;border-bottom:1px solid var(--v3-line);color:var(--v3-ink);background:#fff;font-size:12px;font-weight:700}.mail-mobile-back svg{width:16px}.mail-reader{min-height:0}.mail-reader-head{align-items:flex-start;flex-direction:column;gap:10px;padding:12px}.mail-reader-head>div:last-child{width:100%;justify-content:flex-start}.mail-reader-head button{min-height:40px}.mail-message-stream{padding:10px}.mail-message-stream>article{padding:12px}.mail-reply-composer{padding:12px}.mail-utility-slot{min-width:0;grid-column:2}.dashboard-operations-grid{grid-template-columns:1fr}}@media(max-width:620px){:root{--v3-sidebar: 0px}.app>main,.app .app-main{width:100%;margin-left:0}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:80;width:min(280px,86vw);padding:14px 12px;display:flex;transform:translate(-102%);transition:transform .22s cubic-bezier(.2,.8,.2,1);box-shadow:18px 0 50px #12151a47}.app-sidebar.is-mobile-open{transform:translate(0)}.app-sidebar .brand span,.app-sidebar .workspace,.app-sidebar nav>button,.app-sidebar .navlabel,.app-sidebar .profile>div:nth-child(2),.app-sidebar .profile-logout{display:flex}.app-sidebar .brand{justify-content:flex-start;padding-right:44px}.app-sidebar nav{margin-top:0}.app-sidebar nav>button{min-height:44px;justify-content:flex-start;font-size:13px}.app-sidebar nav>button.active{font-size:13px}.app-sidebar .profile{justify-content:flex-start}.app-sidebar .profile-logout{width:40px;height:40px;display:grid;place-items:center}.mobile-nav-close{position:absolute;top:16px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #333941;border-radius:var(--v3-radius-control);color:#fff;background:var(--v3-graphite-raised)}.mobile-nav-close svg{width:18px}.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:79;display:block;border:0;background:#12151a85}.app-topbar{padding-inline:10px}.app-topbar .header-actions{gap:2px}.content,.customers-page,.mail-center-page{padding:14px 10px 24px}.title-actions>button{min-height:44px}.status-category-grid{scrollbar-width:thin}.customer-mobile-list>article>button{grid-template-columns:minmax(105px,1fr) minmax(92px,.8fr) 18px}.mobile-lead-meta{display:none}.reference-customer-summary{grid-template-columns:1fr}.reference-summary-progress{grid-column:1}.reference-summary-progress>div{overflow-x:auto}.dashboard-recent-leads>div>button{grid-template-columns:32px minmax(0,1fr) 18px}.dashboard-recent-leads>div>button em{display:none}}.duplicate-center-trigger{position:relative}.duplicate-center-trigger svg{color:#d91f2c}.duplicate-center-backdrop{z-index:120}.duplicate-center{width:min(1040px,calc(100vw - 40px));max-height:min(820px,calc(100vh - 40px));overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr);border:1px solid #cfd2d5;border-radius:10px;background:#f5f4f0;box-shadow:0 24px 70px #12151a3d}.duplicate-center>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:18px 20px 16px;border-bottom:1px solid #d9dbdd;background:#fff}.duplicate-center>header span{display:block;margin-bottom:3px;color:#d91f2c;font-size:10.5px;font-weight:750;letter-spacing:.045em}.duplicate-center>header h2{margin:0;color:#20242a;font-size:20px;line-height:1.2}.duplicate-center>header p{margin:5px 0 0;color:#69717b;font-size:12px}.duplicate-center>header>button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d9dbdd;border-radius:6px;background:#fff}.duplicate-center>header>button svg{width:16px}.duplicate-center-message{margin:12px 20px 0;padding:9px 11px;border:1px solid #efb8bd;border-radius:6px;background:#fff0f1;color:#b81724;font-size:12px;font-weight:650}.duplicate-center-message.ok{border-color:#b9d9cb;background:#edf8f3;color:#1f7758}.duplicate-center-body{min-height:0;overflow:auto;padding:14px 20px 20px}.duplicate-group{margin-bottom:12px;overflow:hidden;border:1px solid #d9dbdd;border-radius:8px;background:#fff}.duplicate-group-head,.duplicate-group>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;background:#f7f7f5}.duplicate-group-head{border-bottom:1px solid #e1e3e5}.duplicate-group-head>div{display:flex;align-items:center;gap:8px}.duplicate-group-head svg{width:16px;color:#d91f2c}.duplicate-group-head span{display:grid;gap:1px}.duplicate-group-head b,.duplicate-group-head small{font-size:12px}.duplicate-group-head small,.duplicate-group-head>em,.duplicate-group>footer>span{color:#69717b;font-size:11px;font-style:normal}.duplicate-member-list{display:grid}.duplicate-member-list>label{min-height:62px;display:grid;grid-template-columns:18px 34px minmax(180px,1.4fr) minmax(110px,.7fr) minmax(150px,.9fr) auto;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #eceeef;cursor:pointer}.duplicate-member-list>label:last-child{border-bottom:0}.duplicate-member-list>label.is-primary{background:#fff6f6}.duplicate-member-list>label>span:not(.duplicate-avatar){min-width:0;display:grid;gap:2px}.duplicate-member-list b{overflow:hidden;color:#20242a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.duplicate-member-list small{overflow:hidden;color:#69717b;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.duplicate-member-list>label>em{padding:4px 7px;border-radius:999px;background:#fff0f1;color:#b81724;font-size:10.5px;font-style:normal;font-weight:700}.duplicate-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f0f1f2;color:#20242a;font-size:12px;font-weight:750}.duplicate-group>footer{border-top:1px solid #e1e3e5}.duplicate-group>footer button{min-width:132px}.duplicate-center-empty{min-height:220px;display:grid;place-content:center;justify-items:center;gap:7px;color:#69717b;text-align:center}.duplicate-center-empty svg{width:24px;color:#d91f2c}.duplicate-center-empty.success svg{color:#1f7758}.duplicate-center-empty b{color:#20242a;font-size:14px}.duplicate-center-empty p{margin:0;font-size:12px}.sales-task-center{overflow:hidden}.sales-task-head{min-height:70px;height:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;border-bottom:1px solid #d9dbdd}.sales-task-head>div{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px}.sales-task-head .eyebrow{grid-row:1 / 3;align-self:stretch;display:flex;align-items:center;padding-right:12px;border-right:1px solid #e1e3e5}.sales-task-head h2,.sales-task-head p{margin:0}.sales-task-head h2{grid-column:2;font-size:16px}.sales-task-head p{grid-column:2;margin-top:1px;color:#69717b;font-size:11px}.sales-task-filters{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;border-bottom:1px solid #d9dbdd}.sales-task-filters button{width:100%;min-width:0;height:38px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:0;border-right:1px solid #eceeef;border-radius:0;background:#fff;color:#69717b;font-size:11px;font-weight:650}.sales-task-filters button.active{box-shadow:inset 0 -2px #d91f2c;background:#fff;color:#20242a}.sales-task-filters button b{min-width:20px;padding:2px 5px;border-radius:999px;background:#eff0f1;color:#5f6670;font-size:10px}.sales-task-filters button.active b{background:#fff0f1;color:#b81724}.sales-task-limit-note{padding:7px 14px;border-bottom:1px solid #eceeef;background:#fff8e9;color:#7e5815;font-size:10.5px}.sales-task-list{overflow:visible}.sales-task-list>button{width:100%;min-height:58px;display:grid;grid-template-columns:34px minmax(180px,.9fr) minmax(260px,1.5fr) 128px 18px;align-items:center;gap:11px;padding:8px 14px;border:0;border-bottom:1px solid #eceeef;border-radius:0;background:#fff;text-align:left}.sales-task-list>button:last-child{border-bottom:0}.sales-task-list>button:hover{background:#f8f8f6}.sales-task-footer{min-height:42px;height:auto;padding:6px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eceeef;background:#fafaf9}.sales-task-footer>span{color:#69717b;font-size:10.5px}.sales-task-footer>button{min-height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:0;background:transparent;color:#b81724;font-size:11px;font-weight:700}.sales-task-footer>button svg{width:13px}.sales-task-list>button>svg{width:15px;color:#69717b}.sales-task-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#f0f1f2;color:#5f6670}.sales-task-icon svg{width:15px}.sales-task-icon.danger{background:#fff0f1;color:#b81724}.sales-task-icon.warning{background:#fff6e5;color:#9b6410}.sales-task-icon.today{background:#eef4fb;color:#2c5e91}.sales-task-customer,.sales-task-reason{min-width:0;display:grid;gap:2px}.sales-task-customer b,.sales-task-reason b{overflow:hidden;color:#20242a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.sales-task-customer small,.sales-task-reason small,.sales-task-list time{overflow:hidden;color:#69717b;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.customer-timeline{margin-top:10px;padding:0;overflow:hidden}.customer-timeline>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 14px 9px;border-bottom:1px solid #d9dbdd}.customer-timeline>header h3,.customer-timeline>header p{margin:0}.customer-timeline>header h3{font-size:14px}.customer-timeline>header h3 span{margin-left:5px;color:#d91f2c}.customer-timeline>header p{margin-top:2px;color:#69717b;font-size:10.5px}.customer-timeline>header button{flex:none;height:30px;padding:0 9px;border:1px solid #d9dbdd;border-radius:6px;background:#fff;font-size:11px}.customer-timeline-list{display:grid}.customer-timeline-list article{min-height:52px;display:grid;grid-template-columns:30px minmax(0,1fr) 150px;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid #eceeef}.customer-timeline-list article:last-child{border-bottom:0}.timeline-load-more{width:100%;min-height:40px;border:0;border-top:1px solid #eceeef;border-radius:0;background:#fafaf9;color:#b81724;font-size:11px;font-weight:700}.timeline-load-more:hover{background:#fff5f5}.timeline-event-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f0f1f2;color:#5f6670}.timeline-event-icon svg{width:14px}.customer-timeline-list article[data-type=followup] .timeline-event-icon{background:#eef4fb;color:#2c5e91}.customer-timeline-list article[data-type=email] .timeline-event-icon{background:#edf8f3;color:#1f7758}.customer-timeline-list article[data-action=merge] .timeline-event-icon,.customer-timeline-list article[data-action=project] .timeline-event-icon{background:#fff0f1;color:#b81724}.customer-timeline-list article>div,.timeline-event-meta{min-width:0;display:grid;gap:2px}.customer-timeline-list article>div b,.timeline-event-meta b{color:#20242a;font-size:11.5px}.customer-timeline-list article>div p{max-width:105ch;margin:0;overflow:hidden;color:#5f6670;font-size:10.5px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.timeline-event-meta{text-align:right}.timeline-event-meta time{color:#747b84;font-size:10px}.customer-timeline-empty{min-height:92px;display:grid;place-content:center;justify-items:center;gap:3px;color:#69717b;text-align:center}.customer-timeline-empty svg{width:18px}.customer-timeline-empty b{color:#20242a;font-size:12px}.customer-timeline-empty span{font-size:10.5px}.reminder-rule-workbench{margin:16px;border:1px solid #d9dbdd;border-radius:8px;background:#fff}.reminder-rule-workbench>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid #d9dbdd}.reminder-rule-workbench>header h3,.reminder-rule-workbench>header p{margin:0}.reminder-rule-workbench>header h3{font-size:14px}.reminder-rule-workbench>header p{margin-top:2px;color:#69717b;font-size:10.5px}.reminder-rule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.reminder-rule-grid>article{min-height:148px;padding:12px;border-right:1px solid #e1e3e5;background:#fafaf9}.reminder-rule-grid>article:last-child{border-right:0}.reminder-rule-grid>article.is-enabled{background:#fff}.rule-switch{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px}.rule-switch input{position:absolute;opacity:0}.rule-switch>span{width:28px;height:16px;position:relative;border-radius:999px;background:#c9cdd1}.rule-switch>span:after{content:"";width:12px;height:12px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;transition:transform .16s ease-out}.rule-switch input:checked+span{background:#d91f2c}.rule-switch input:focus-visible+span{outline:2px solid #20242a;outline-offset:3px}.rule-switch input:checked+span:after{transform:translate(12px)}.rule-switch b{font-size:11.5px}.reminder-rule-grid article>p{min-height:42px;margin:8px 0 10px;color:#69717b;font-size:10.5px;line-height:1.4}.reminder-rule-grid article>label:not(.rule-switch){display:grid;grid-template-columns:auto minmax(58px,1fr) auto;align-items:center;gap:7px;color:#69717b;font-size:10.5px}.reminder-rule-grid input[type=number]{width:100%;height:32px;border:1px solid #d9dbdd;border-radius:6px;padding:0 8px}.reminder-rule-grid em{font-style:normal}.rule-static{height:32px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #d9dbdd;border-radius:6px;color:#69717b;font-size:10.5px}.rule-static svg{width:14px;color:#d91f2c}@media(max-width:1100px){.reminder-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reminder-rule-grid>article:nth-child(2){border-right:0}.reminder-rule-grid>article{border-bottom:1px solid #e1e3e5}.reminder-rule-grid>article:nth-last-child(-n+2){border-bottom:0}.sales-task-list>button{grid-template-columns:34px minmax(150px,.8fr) minmax(210px,1.4fr) 110px 18px}}@media(max-width:980px){.sales-task-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.sales-task-filters button{border-bottom:1px solid #eceeef}}@media(max-width:720px){.duplicate-center{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.duplicate-center>header,.duplicate-center-body{padding-left:12px;padding-right:12px}.duplicate-member-list>label{grid-template-columns:18px 30px minmax(0,1fr) auto}.duplicate-member-list>label>span:nth-of-type(3),.duplicate-member-list>label>span:nth-of-type(4){display:none}.duplicate-member-list>label>em{grid-column:3 / -1;justify-self:start}.duplicate-group>footer{align-items:stretch;flex-direction:column}.duplicate-group>footer button{width:100%}.sales-task-list{max-height:none}.sales-task-list>button{grid-template-columns:32px minmax(0,1fr) 18px;gap:9px}.sales-task-reason,.sales-task-list time{grid-column:2}.sales-task-list>button>svg{grid-column:3;grid-row:1 / span 3}.customer-timeline-list article{grid-template-columns:28px minmax(0,1fr)}.timeline-event-meta{grid-column:2;grid-template-columns:auto 1fr;gap:8px;text-align:left}.customer-timeline-list article>div p{white-space:normal}.reminder-rule-grid{grid-template-columns:1fr}.reminder-rule-grid>article,.reminder-rule-grid>article:nth-child(2),.reminder-rule-grid>article:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e1e3e5}.reminder-rule-grid>article:last-child{border-bottom:0}}@media(max-width:620px){.customers-page .title-actions{grid-template-columns:1fr 1fr}.customers-page .duplicate-center-trigger{grid-column:1 / -1}.sales-task-head{padding:12px}.sales-task-head p{max-width:31ch}.sales-task-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.reminder-rule-workbench{margin:10px}.reminder-rule-workbench>header{align-items:stretch;flex-direction:column}}.reference-project-sheet:not(.is-editing){--reference-project-read-height: 178px}.reference-project-sheet:not(.is-editing) .reference-column-body{height:auto;min-height:var(--reference-project-read-height);overflow:visible}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) .reference-column-body{display:grid;grid-template-rows:minmax(0,1fr)}.reference-project-sheet:not(.is-editing) .reference-style-column .reference-column-body{grid-template-rows:auto minmax(0,1fr)}.reference-project-sheet:not(.is-editing) :is(.reference-photo-column,.reference-style-column) :is(.door-photo-grid,.door-photo,.door-photo>div,.reference-empty-value){width:100%;height:100%;min-height:138px;max-height:none;overflow:hidden}.reference-project-sheet:not(.is-editing) .reference-style-column :is(.door-photo-grid,.door-photo,.door-photo>div,.reference-empty-value){min-height:112px}.crm-master-detail .customer-table{min-width:1240px}.crm-master-detail .customer-card>.tablewrap,.crm-master-detail:not(.has-detail) .customer-card>.tablewrap{max-height:none;overflow-x:auto;overflow-y:visible}.customers-page:not(.customer-detail-page){min-height:calc(100dvh - 68px);padding-top:9px;padding-bottom:8px}.customers-page:not(.customer-detail-page) .crm-master-detail{overflow:visible}.customers-page:not(.customer-detail-page) .customer-card{min-height:auto;display:block}.customers-page:not(.customer-detail-page) .title-row{min-height:34px;margin-bottom:5px}.customers-page:not(.customer-detail-page) .title-row h1{font-size:20px;margin-bottom:0}.customers-page:not(.customer-detail-page) .title-row p{font-size:10.5px}.customers-page:not(.customer-detail-page) .title-actions>button{min-height:29px;height:29px;padding-inline:9px}.customers-page:not(.customer-detail-page) .status-category-grid{min-height:35px;padding-top:2px}.customers-page:not(.customer-detail-page) .status-category{height:32px;padding-inline:8px}.customers-page:not(.customer-detail-page) .crm-master-detail .customer-tools{min-height:38px;padding:4px 5px}.customers-page:not(.customer-detail-page) .crm-master-detail :is(.searchbox,.filter-select,.assign-box,.bulk-status-box,.customer-view-toggle,.bulk-email){height:32px}.customers-page:not(.customer-detail-page) .crm-master-detail .searchbox{min-width:360px}.customers-page:not(.customer-detail-page) .crm-master-detail .searchbox button{flex-basis:66px;min-width:66px}.customers-page:not(.customer-detail-page) .crm-master-detail .customer-table th{height:31px;padding-block:4px}.customers-page:not(.customer-detail-page) .crm-master-detail .customer-table td{height:52px;padding-block:5px}.customers-page:not(.customer-detail-page) .customer-pagination{min-height:36px;padding:5px 10px}.customers-page:not(.customer-detail-page) .customer-pagination button{min-height:26px}}@layer tokens{:root{color-scheme:light;--crm-font-sans: ui-sans-serif, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;--crm-type-screen: 25px;--crm-type-screen-compact: 22px;--crm-type-metric: 26px;--crm-type-workspace: 18px;--crm-type-section: 16px;--crm-type-body: 13px;--crm-type-control: 12px;--crm-type-meta: 11px;--crm-type-label: 11px;--crm-type-table: 12px;--crm-type-table-meta: 11px;--crm-type-table-label: 11px;--crm-brand: #d91f2c;--crm-brand-hover: #b81724;--crm-brand-bright: #f04450;--crm-brand-soft: #fff0f1;--crm-graphite: #12151a;--crm-sidebar-canvas: #0b1721;--crm-graphite-raised: #1b1f25;--crm-graphite-active: #252a31;--crm-sidebar-active: #1b2733;--crm-sidebar-active-line: #273443;--crm-on-graphite: #f7f8fa;--crm-on-graphite-muted: #c3c9d1;--crm-on-graphite-subtle: #9ca5b0;--crm-on-graphite-line: #383e47;--crm-ink: #20242a;--crm-muted: #69717b;--crm-subtle: #858c94;--crm-canvas: #f5f4f0;--crm-surface: #ffffff;--crm-surface-subtle: #f8f8f6;--crm-line: #d9dbdd;--crm-line-soft: #e9e9e6;--crm-success: #1f7758;--crm-warning: #a96317;--crm-danger: #b42318;--crm-disabled: #e7e8e8;--crm-disabled-ink: #747b82;--crm-overlay: rgba(18, 21, 26, .52);--crm-focus: rgba(217, 31, 44, .76);--crm-space-1: 4px;--crm-space-2: 8px;--crm-space-3: 12px;--crm-space-4: 16px;--crm-space-5: 20px;--crm-space-6: 24px;--crm-space-8: 32px;--crm-radius-control: 6px;--crm-radius-surface: 10px;--crm-radius-status: 999px;--crm-control-height: 36px;--crm-ctl-h: 34px;--crm-ctl-h-sm: 28px;--crm-ctl-h-xs: 24px;--crm-ctl-radius: 8px;--crm-ctl-line: color-mix(in srgb, var(--crm-ink) 15%, var(--crm-line));--crm-ctl-lift: 0 1px 1px color-mix(in srgb, var(--crm-graphite) 9%, transparent);--crm-ctl-ring: 0 0 0 3px color-mix(in srgb, var(--crm-brand) 15%, transparent);--crm-ctl-bevel: inset 0 1px 0 color-mix(in srgb, var(--crm-surface) 26%, transparent);--crm-ctl-primary-lift: 0 2px 7px color-mix(in srgb, var(--crm-brand) 26%, transparent);--crm-ctl-primary-press: inset 0 2px 5px color-mix(in srgb, var(--crm-graphite) 30%, transparent);--crm-row-h: 42px;--crm-shell-sidebar-width: 210px;--crm-shell-topbar-height: 54px;--crm-shell-content-max: 1920px;--crm-shadow-primary: 0 5px 14px rgba(184, 23, 36, .17);--crm-shadow-workbench: 0 12px 34px rgba(27, 31, 37, .075);--crm-shadow-sidebar: 18px 0 50px rgba(18, 21, 26, .28);--crm-motion-instant: .11s;--crm-motion-fast: .14s;--crm-motion-normal: .18s;--crm-motion-overlay: .24s;--crm-ease-out: cubic-bezier(.16, 1, .3, 1);--crm-ease-standard: cubic-bezier(.2, 0, 0, 1);--crm-ease-in: cubic-bezier(.4, 0, 1, 1);--mf-red: var(--crm-brand);--mf-red-dark: var(--crm-brand-hover);--mf-red-soft: var(--crm-brand-soft);--mf-ink: var(--crm-ink);--mf-muted: var(--crm-muted);--mf-line: var(--crm-line-soft);--mf-canvas: var(--crm-canvas);--mf-card: var(--crm-surface);--ui-canvas: var(--crm-canvas);--ui-surface: var(--crm-surface);--ui-surface-subtle: var(--crm-surface-subtle);--ui-sidebar: var(--crm-graphite);--ui-sidebar-hover: var(--crm-graphite-raised);--ui-text: var(--crm-ink);--ui-text-soft: var(--crm-muted);--ui-text-muted: var(--crm-subtle);--ui-border: var(--crm-line-soft);--ui-border-strong: var(--crm-line);--ui-red: var(--crm-brand);--ui-red-dark: var(--crm-brand-hover);--ui-red-soft: var(--crm-brand-soft);--ui-radius: var(--crm-radius-surface);--ui-sidebar-width: var(--crm-shell-sidebar-width);--pa-red: var(--crm-brand);--pa-red-deep: var(--crm-brand-hover);--pa-red-wash: var(--crm-brand-soft);--pa-graphite: var(--crm-graphite);--pa-graphite-2: var(--crm-graphite-raised);--pa-ink: var(--crm-ink);--pa-muted: var(--crm-muted);--pa-subtle: var(--crm-subtle);--pa-canvas: var(--crm-canvas);--pa-paper: var(--crm-surface);--pa-paper-warm: var(--crm-surface-subtle);--pa-line: var(--crm-line);--pa-line-soft: var(--crm-line-soft);--pa-success: var(--crm-success);--pa-warning: var(--crm-warning);--pa-danger: var(--crm-danger);--pa-radius: var(--crm-radius-control);--pa-shadow-workbench: var(--crm-shadow-workbench);--v3-red: var(--crm-brand);--v3-red-hover: var(--crm-brand-hover);--v3-red-soft: var(--crm-brand-soft);--v3-graphite: var(--crm-graphite);--v3-graphite-raised: var(--crm-graphite-raised);--v3-canvas: var(--crm-canvas);--v3-surface: var(--crm-surface);--v3-surface-subtle: var(--crm-surface-subtle);--v3-line: var(--crm-line);--v3-line-soft: var(--crm-line-soft);--v3-ink: var(--crm-ink);--v3-muted: var(--crm-muted);--v3-subtle: var(--crm-subtle);--v3-success: var(--crm-success);--v3-warning: var(--crm-warning);--v3-danger: var(--crm-danger);--v3-sidebar: var(--crm-shell-sidebar-width);--v3-control: var(--crm-control-height);--v3-radius-control: var(--crm-radius-control);--v3-radius-surface: var(--crm-radius-surface)}:root{--crm-quote-tone-1: #7e5815;--crm-quote-tone-2: #fff6e5;--crm-quote-tone-3: #d9dee7;--crm-quote-tone-4: #f8f9fb;--crm-quote-tone-5: #e5e7eb;--crm-quote-tone-6: #151b26;--crm-quote-tone-7: #dc1e2d;--crm-quote-tone-8: #788397;--crm-quote-tone-9: #4b5565;--crm-quote-tone-10: #ccd3de;--crm-quote-tone-11: #111827;--crm-quote-tone-12: #cbd2dd;--crm-quote-tone-13: #748095;--crm-quote-tone-14: #687386;--crm-quote-tone-15: #252d3a}}@layer foundations{:root{color:var(--crm-ink);background:var(--crm-canvas);font-family:var(--crm-font-sans);font-size:var(--crm-type-body);font-synthesis:none;font-variant-numeric:tabular-nums;text-rendering:optimizeLegibility}*,*:before,*:after{box-sizing:border-box}*{scrollbar-color:var(--crm-line) var(--crm-surface-subtle);scrollbar-width:thin}html,body,#root{min-height:100%;background:var(--crm-canvas)}body{min-width:320px;margin:0;color:var(--crm-ink);font-size:var(--crm-type-body);line-height:1.45;-webkit-font-smoothing:antialiased}button,input,select,textarea{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a,input,select,textarea{transition:color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),border-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard),transform var(--crm-motion-instant) var(--crm-ease-out)}button:not(:disabled):active{transform:translateY(1px) scale(.985)}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px}img,svg{max-width:100%}::selection{color:var(--crm-surface);background:var(--crm-brand)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@keyframes crm-skeleton-pulse{0%,to{opacity:.55}50%{opacity:.28}}.crm-skeleton{border-radius:var(--crm-radius-control);background:color-mix(in srgb,var(--crm-line) 55%,var(--crm-surface));animation:crm-skeleton-pulse 1.6s ease-in-out infinite}.crm-skeleton--text{height:1em;width:72%}.crm-skeleton--heading{height:1.4em;width:45%}.crm-skeleton--circle{border-radius:50%}.crm-skeleton--rect{border-radius:var(--crm-radius-surface)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}}@layer components{.won-board-page .won-board-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px 0}.won-board-page .won-board-filters label{display:grid;gap:8px;font-size:var(--crm-type-body)}.won-board-page .won-board-search{flex:1;min-width:200px}.won-board-page input,.won-board-page select{min-height:38px;padding:8px 12px;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit}.won-board-page .won-board-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;margin-bottom:16px;font-size:var(--crm-type-body)}.won-board-page .won-board-caption span{color:var(--crm-muted)}.won-board-page .won-board-list{background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);overflow:hidden}.won-board-page .won-row-head,.won-board-page .won-customer-row{display:grid;grid-template-columns:minmax(148px,1.5fr) minmax(62px,.7fr) minmax(72px,.75fr) minmax(70px,.8fr) minmax(70px,.8fr) minmax(70px,.8fr) minmax(84px,.9fr) minmax(132px,1.35fr) minmax(88px,.95fr) minmax(70px,.75fr);gap:10px 12px;align-items:start}.won-board-page .won-row-head{padding:10px 16px;color:var(--crm-muted);background:var(--crm-surface-subtle);border-bottom:1px solid var(--crm-line);font-size:var(--crm-type-meta);font-weight:600}.won-board-page .won-customer-row{width:100%;padding:10px 16px;color:var(--crm-ink);background:none;border:0;border-top:1px solid var(--crm-line-soft);border-radius:0;text-align:left;font:inherit;font-size:var(--crm-type-body);cursor:pointer}.won-board-page .won-customer-row:first-of-type{border-top:0}.won-board-page .won-customer-row:hover{background:var(--crm-surface-subtle)}.won-board-page .won-row-head span,.won-board-page .won-cell{min-width:0}.won-board-page .won-cell small{display:block;color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .won-cell.is-money{text-align:right;font-variant-numeric:tabular-nums}.won-board-page .won-row-head .is-money{text-align:right}.won-board-page .won-cell-lead b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.won-board-page .won-cell-source{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.won-board-page .won-cell-updated{color:var(--crm-muted)}.won-board-page .won-cell .is-profit,.won-board-page .won-cell.is-profit{color:var(--crm-success)}.won-board-page .won-cell .is-loss,.won-board-page .won-cell.is-loss{color:var(--crm-danger)}.won-board-page .won-cell .is-unknown,.won-board-page .won-cell.is-unknown{color:var(--crm-warning)}.won-board-page .won-cell .is-owed{color:var(--crm-danger)}.won-board-page dl{margin:0;display:grid;gap:10px;font-size:var(--crm-type-body)}.won-board-page dl div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px}.won-board-page dt{color:var(--crm-muted)}.won-board-page dd{margin:0;overflow-wrap:anywhere}.won-board-page .won-board-empty{padding:48px 20px;text-align:center;background:var(--crm-surface);border-radius:var(--crm-radius-surface)}.won-board-page .won-board-empty button{margin:16px auto 0}.won-board-page .won-board-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px;font-size:var(--crm-type-body)}.customers-page .customer-page-size{display:inline-flex;align-items:center;gap:6px;margin-right:10px;color:var(--crm-muted);font-size:var(--crm-type-body);white-space:nowrap}.customers-page .customer-page-size select{min-height:34px;padding:4px 8px;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit}@media(max-width:600px){.won-board-page .won-board-filters label{flex:1;min-width:140px}.won-board-page .won-board-filters .won-board-search{flex-basis:100%}}.won-board-page .sales-performance{margin-top:var(--crm-space-5);overflow:hidden;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface)}.won-board-page .sales-performance>header{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);min-height:66px;padding:12px 18px;color:var(--crm-on-graphite);background:var(--crm-graphite)}.won-board-page .sales-performance>header h2{margin:0;font-size:var(--crm-type-section)}.won-board-page .sales-performance>header p{margin:4px 0 0;color:var(--crm-on-graphite-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-performance>header>span{color:var(--crm-on-graphite-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-performance-body{display:grid;grid-template-columns:minmax(470px,.9fr) minmax(460px,1.1fr)}.won-board-page .sales-performance-summary{min-width:0;padding:18px;border-right:1px solid var(--crm-line)}.won-board-page .sales-performance-primary{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;column-gap:10px;padding-bottom:17px;border-bottom:1px solid var(--crm-line-soft)}.won-board-page .sales-performance-primary>svg{grid-row:1/5;width:22px;color:var(--crm-brand)}.won-board-page .sales-performance-primary>span{color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-performance-primary>strong{margin-top:2px;font-size:var(--crm-type-metric);line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.won-board-page .sales-performance-primary>small{margin-top:5px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-performance-primary>em{margin-top:4px;color:var(--crm-muted);font-size:var(--crm-type-meta);font-style:normal;font-variant-numeric:tabular-nums}.won-board-page .sales-performance-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:16px}.won-board-page .sales-performance-summary dl>div{display:block;padding:0 14px;border-left:1px solid var(--crm-line-soft)}.won-board-page .sales-performance-summary dl>div:first-child{padding-left:0;border-left:0}.won-board-page .sales-performance-summary dt{display:flex;align-items:center;gap:6px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-performance-summary dt svg{width:14px}.won-board-page .sales-performance-summary dd{margin-top:8px;font-size:var(--crm-type-workspace);font-weight:750;font-variant-numeric:tabular-nums}.won-board-page .sales-performance-summary dd small{display:block;margin-top:3px;color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:500}.won-board-page .sales-ranking{min-width:0;padding:16px 18px}.won-board-page .sales-ranking-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.won-board-page .sales-ranking-head h3{margin:0;font-size:var(--crm-type-control)}.won-board-page .sales-ranking-head span{color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-ranking ol{max-height:205px;margin:0;padding:0;overflow:auto;list-style:none}.won-board-page .sales-ranking li{display:grid;grid-template-columns:26px minmax(130px,1fr) 72px 112px;align-items:center;gap:10px;min-height:48px;border-top:1px solid var(--crm-line-soft)}.won-board-page .sales-ranking li:first-child{border-top:0}.won-board-page .sales-rank-number{display:grid;place-items:center;width:22px;height:22px;color:var(--crm-muted);background:var(--crm-surface-subtle);border-radius:var(--crm-radius-control);font-size:var(--crm-type-meta);font-weight:750}.won-board-page .sales-ranking li:first-child .sales-rank-number{color:var(--crm-surface);background:var(--crm-brand)}.won-board-page .sales-rank-person{min-width:0}.won-board-page .sales-rank-person>b{display:block;overflow:hidden;font-size:var(--crm-type-control);text-overflow:ellipsis;white-space:nowrap}.won-board-page .sales-rank-person i{display:block;width:100%;height:3px;margin-top:6px;overflow:hidden;background:var(--crm-line-soft);border-radius:var(--crm-radius-status)}.won-board-page .sales-rank-person i span{display:block;height:100%;background:var(--crm-brand);border-radius:inherit}.won-board-page .sales-ranking li>div:nth-child(3){display:grid}.won-board-page .sales-ranking li>div:nth-child(3)>b{font-size:var(--crm-type-control)}.won-board-page .sales-ranking li>div:nth-child(3)>small{color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .sales-ranking li>strong{text-align:right;font-size:var(--crm-type-control);font-variant-numeric:tabular-nums}.won-board-page .sales-ranking-empty,.won-board-page .sales-performance-loading{display:grid;place-items:center;min-height:150px;margin:0;color:var(--crm-muted);font-size:var(--crm-type-body)}@media(max-width:1100px){.won-board-page .sales-performance-body{grid-template-columns:1fr}.won-board-page .sales-performance-summary{border-right:0;border-bottom:1px solid var(--crm-line)}}@media(max-width:600px){.won-board-page .sales-performance>header{align-items:flex-start;flex-direction:column;gap:5px}.won-board-page .sales-performance-primary>strong{font-size:var(--crm-type-screen)}.won-board-page .sales-performance-summary dl{grid-template-columns:1fr;gap:12px}.won-board-page .sales-performance-summary dl>div{padding:0 0 12px;border-left:0;border-bottom:1px solid var(--crm-line-soft)}.won-board-page .sales-ranking li{grid-template-columns:24px minmax(100px,1fr) 62px}.won-board-page .sales-ranking li>strong{grid-column:2/4;text-align:left;padding-bottom:8px}.won-board-page input,.won-board-page select,.won-board-page .primary,.won-board-page .secondary{min-height:44px}}.mr-home-page .quote-calculator-builder{display:grid;gap:20px;align-content:start}.mr-home-page .mr-home-project,.mr-home-page .mr-home-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mr-home-page .mr-home-project{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.mr-home-page label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--crm-ink)}.mr-home-page input,.mr-home-page select,.mr-home-page textarea{width:100%;min-width:0;min-height:38px;padding:9px 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-ink);font:inherit}.mr-home-page .mr-home-section{padding:22px;background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface)}.mr-home-page h2{margin:0 0 18px;font-size:var(--crm-type-section)}.mr-home-page .mr-home-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--crm-line-soft)}.mr-home-page .mr-home-choice{flex-direction:row;align-items:center;flex:1}.mr-home-page .mr-home-choice input{width:18px;min-height:18px;flex:0 0 18px;accent-color:var(--crm-brand)}.mr-home-page .mr-home-choice span{display:grid;gap:5px}.mr-home-page small,.mr-home-page .mr-home-note{color:var(--crm-muted);font-size:12px;line-height:1.6}.mr-home-page .mr-home-line-inputs{display:grid;grid-template-columns:70px 140px;gap:10px}.mr-home-page .mr-home-line-inputs label{font-size:11px}.mr-home-page .mr-home-groups{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.mr-home-page .mr-home-groups button{padding:8px 12px;color:var(--crm-ink);background:var(--crm-surface-subtle);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control)}.mr-home-page .mr-home-groups button[aria-pressed=true]{color:var(--crm-brand-hover);background:var(--crm-brand-soft);border-color:var(--crm-brand)}.mr-home-page .mr-home-groups button:hover{border-color:var(--crm-brand)}.mr-home-page .mr-home-notes-label{margin-top:16px}.mr-home-page .mr-home-actions{display:grid;gap:10px;padding:20px}.mr-home-page .mr-home-actions button{justify-content:center}.mr-home-page .mr-home-errors{color:var(--crm-danger);padding:8px 30px;font-size:13px;line-height:1.7}.mr-home-page .mr-home-message{padding:12px 0;color:var(--crm-ink)}.mr-home-page details summary{cursor:pointer;font-weight:600}.mr-home-page details ul{padding-left:20px;font-size:13px;line-height:1.8}@media(max-width:1100px){.mr-home-page .mr-home-project{grid-template-columns:repeat(2,minmax(0,1fr))}.mr-home-page .mr-home-line{flex-wrap:wrap}}@media(max-width:600px){.mr-home-page .mr-home-project,.mr-home-page .mr-home-fields{grid-template-columns:1fr}.mr-home-page .mr-home-section{padding:16px}.mr-home-page .mr-home-line-inputs{width:100%;grid-template-columns:1fr 2fr}}.app{min-height:100dvh;display:flex;color:var(--crm-ink);background:var(--crm-canvas)}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:var(--crm-shell-sidebar-width);padding:20px 0 16px;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--crm-graphite-raised);color:var(--crm-line);background:var(--crm-sidebar-canvas);border-right-color:var(--crm-on-graphite-line)}.app-sidebar>.brand{flex:0 0 auto}.app-sidebar>.profile{flex:0 0 auto}.app-sidebar .brand{min-height:64px;padding:8px 14px 12px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;color:var(--crm-surface);font-size:13px;font-weight:750}.app-sidebar .brandmark.logo-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:visible;border:0;border-radius:0;background:transparent}.app-sidebar .brandmark.logo-mark img{width:40px;height:40px;display:block;object-fit:contain;object-position:center;transform:none}.app-sidebar .brand>span{min-width:0;line-height:1.05;letter-spacing:-.03em;white-space:nowrap}.app-sidebar .brand-rule{width:100%;margin-top:3px;display:flex;align-items:center;gap:6px;color:var(--crm-on-graphite-muted);font-size:var(--crm-type-label);letter-spacing:.18em;line-height:1}.app-sidebar .brand-rule i{height:1px;flex:1;background:var(--crm-on-graphite-line)}.app-sidebar .brand-wordmark{display:flex;flex-direction:column;gap:2px;align-items:flex-start;letter-spacing:.06em;min-width:0}.app-sidebar .brand-wordmark b{color:var(--crm-on-graphite);font-size:13px;line-height:1.15;white-space:nowrap}.app-sidebar .brand-wordmark small{color:var(--crm-on-graphite-subtle);font-size:10px;letter-spacing:.05em;line-height:1.2;white-space:nowrap}.daily-review-page,.owner-publishing-page{max-width:1480px}.owner-report-heading{margin-bottom:14px;align-items:flex-end}.owner-report-heading h1{margin:0}.owner-report-heading p{margin:4px 0 0;color:var(--crm-muted);font-size:var(--crm-type-body)}.owner-report-tools{display:flex;align-items:center;gap:var(--crm-space-2)}.owner-report-tools .secondary{min-height:36px;padding:0 12px}.owner-report-tools .secondary svg{width:15px;height:15px}.owner-report-summary{min-height:66px;display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(180px,.9fr);align-items:center;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.owner-report-summary>div{min-height:42px;padding:0 var(--crm-space-4);display:flex;align-items:baseline;gap:12px;border-right:1px solid var(--crm-line)}.owner-report-summary span{color:var(--crm-muted);font-size:var(--crm-type-control);font-weight:700;white-space:nowrap}.owner-report-summary b{color:var(--crm-ink);font-size:var(--crm-type-metric);line-height:1;font-variant-numeric:tabular-nums}.owner-report-summary .is-success b{color:var(--crm-success)}.owner-report-summary .is-warning b{color:var(--crm-warning)}.owner-report-summary .is-danger b{color:var(--crm-danger)}.owner-report-summary>strong{padding:0 var(--crm-space-4);color:var(--crm-brand);font-size:var(--crm-type-section);white-space:nowrap}.owner-report-workspace{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) 300px;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.owner-report-ledger{min-width:0;overflow-x:auto}.owner-report-ledger table{width:100%;min-width:840px;border-collapse:collapse;font-size:var(--crm-type-table)}.owner-report-ledger th{height:42px;padding:0 12px;color:var(--crm-ink);background:var(--crm-canvas);border-bottom:1px solid var(--crm-line);font-size:var(--crm-type-table-label);text-align:center;white-space:nowrap}.owner-report-ledger th+th,.owner-report-ledger td+td{border-left:1px solid var(--crm-line-soft)}.owner-report-ledger th:nth-child(1){width:54px}.owner-report-ledger th:nth-child(2){width:100px}.owner-report-ledger th:nth-child(3){text-align:left}.owner-report-ledger th:nth-child(4),.owner-report-ledger th:nth-child(5),.owner-report-ledger th:nth-child(6){width:110px}.owner-report-ledger th:nth-child(7){width:130px}.owner-report-ledger td{height:48px;padding:0 12px;color:var(--crm-ink);border-bottom:1px solid var(--crm-line-soft);text-align:center;vertical-align:middle}.owner-report-ledger td:nth-child(3),.owner-report-ledger td:nth-child(7){text-align:left}.owner-report-ledger td:nth-child(3) b{font-weight:700}.owner-report-period td{height:36px;padding:0 12px;color:var(--crm-ink);background:var(--crm-surface-subtle);border-top:1px solid var(--crm-line);font-size:var(--crm-type-control);font-weight:750;text-align:left}.owner-report-status{display:inline-flex;min-width:48px;justify-content:center;padding:3px 7px;border:1px solid currentColor;border-radius:var(--crm-radius-control);font-size:var(--crm-type-table-meta);font-weight:750;line-height:1.25}.owner-report-status.is-已发布{color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 8%,var(--crm-surface))}.owner-report-status.is-计划中{color:var(--crm-warning);background:color-mix(in srgb,var(--crm-warning) 8%,var(--crm-surface))}.owner-report-status.is-未发布{color:var(--crm-danger);background:var(--crm-brand-soft)}.owner-report-exceptions{min-height:100%;padding:var(--crm-space-4);border-left:1px solid var(--crm-line)}.owner-report-exceptions h2{margin:0;padding-bottom:var(--crm-space-3);border-bottom:1px solid var(--crm-line);color:var(--crm-ink);font-size:var(--crm-type-section)}.owner-report-exceptions ul{margin:0;padding:0;list-style:none}.owner-report-exceptions li{min-height:48px;display:grid;grid-template-columns:8px 1fr 1fr auto;align-items:center;gap:8px;border-bottom:1px solid var(--crm-line-soft);font-size:var(--crm-type-control)}.owner-report-exceptions li i{width:8px;height:8px;border-radius:50%;background:var(--crm-danger)}.owner-report-exceptions li i.is-warning{background:var(--crm-warning)}.owner-report-exceptions li b{color:var(--crm-ink)}.owner-report-exceptions li span{color:var(--crm-muted)}.owner-report-exceptions li strong{color:var(--crm-danger);font-size:var(--crm-type-control);white-space:nowrap}.owner-report-exceptions li:has(i.is-warning) strong{color:var(--crm-warning)}.owner-report-clear{min-height:120px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--crm-success);font-size:var(--crm-type-control);font-weight:700}.owner-report-clear svg{width:20px;height:20px}.owner-report-entry{margin-top:14px;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.owner-report-entry>summary{min-height:48px;padding:0 var(--crm-space-4);display:flex;align-items:center;justify-content:space-between;color:var(--crm-ink);cursor:pointer;font-size:var(--crm-type-control);font-weight:750}.owner-report-entry>summary::-webkit-details-marker{display:none}.owner-report-entry>summary span{color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:500}.owner-report-maintenance{padding:10px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--crm-line)}.owner-report-maintenance>span{margin-right:4px;color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:750}.owner-report-maintenance button{min-height:28px;padding:0 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-meta);cursor:pointer}.owner-report-maintenance button:hover{border-color:var(--crm-danger);color:var(--crm-danger)}@media print{.app-sidebar,.app-topbar,.owner-report-tools,.owner-report-entry,.feedback-message{display:none!important}.app-main,.owner-publishing-page{margin:0!important;max-width:none!important}.owner-report-workspace{grid-template-columns:minmax(0,1fr) 260px}}@media(max-width:1100px){.owner-report-summary{grid-template-columns:repeat(4,minmax(100px,1fr))}.owner-report-summary>strong{grid-column:1 / -1;min-height:44px;display:flex;align-items:center;border-top:1px solid var(--crm-line)}.owner-report-workspace{grid-template-columns:1fr}.owner-report-exceptions{border-top:1px solid var(--crm-line);border-left:0}}@media(max-width:700px){.owner-report-heading{align-items:flex-start;flex-direction:column}.owner-report-tools{width:100%;justify-content:space-between}.owner-report-summary{grid-template-columns:1fr 1fr}.owner-report-summary>div:nth-child(2){border-right:0}.owner-report-summary>div:nth-child(-n+2){border-bottom:1px solid var(--crm-line)}.owner-report-summary>strong{grid-column:1 / -1}}.daily-review-heading{align-items:flex-end}.daily-date-picker{height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-muted)}.daily-date-picker svg{width:16px;height:16px;color:var(--crm-brand)}.daily-date-picker input{width:130px;border:0;padding:0;color:var(--crm-ink);background:transparent;font-size:12px;font-weight:700;outline:0}.daily-section{margin-top:14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);overflow:hidden}.daily-section>header{min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--crm-line);background:color-mix(in srgb,var(--crm-canvas) 58%,var(--crm-surface))}.daily-section>header span{display:block;margin-bottom:2px;color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:800;letter-spacing:.06em}.daily-section>header h2{margin:0;color:var(--crm-ink);font-size:16px;line-height:1.2}.daily-section>header small{color:var(--crm-muted);font-size:11px}.daily-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.daily-metrics article{min-height:92px;padding:13px 14px;border-right:1px solid var(--crm-line)}.daily-metrics article:last-child{border-right:0}.daily-metrics span,.daily-metrics small{display:block;color:var(--crm-muted);font-size:11px}.daily-metrics b{display:block;margin:4px 0;color:var(--crm-ink);font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.daily-metrics .is-alert b{color:var(--crm-brand)}.daily-chart-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);border-top:1px solid var(--crm-line)}.daily-bar-panel,.daily-action-note{min-width:0;padding:14px}.daily-bar-panel{border-right:1px solid var(--crm-line)}.daily-bar-panel h3,.daily-action-note h3,.daily-post-charts h3,.form-section-head h3{margin:0;font-size:13px}.daily-bar-panel p,.daily-action-note p{margin:4px 0 12px;color:var(--crm-muted);font-size:11px}.daily-bars{display:grid;gap:8px}.daily-bars>div{display:grid;grid-template-columns:92px minmax(70px,1fr) 28px;align-items:center;gap:8px}.daily-bars span{overflow:hidden;color:var(--crm-ink);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.daily-bars i{height:7px;overflow:hidden;border-radius:var(--crm-radius-control);background:var(--crm-line-soft)}.daily-bars i b{height:100%;display:block;border-radius:inherit;background:var(--crm-brand)}.daily-bars strong{color:var(--crm-muted);font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.daily-action-note{display:flex;flex-direction:column;justify-content:center;background:color-mix(in srgb,var(--crm-brand-soft) 36%,var(--crm-surface))}.daily-action-note .secondary{align-self:flex-start;min-height:31px;padding-inline:10px;font-size:11px}.daily-post-summary{display:flex;align-items:baseline;gap:6px}.daily-post-summary b{color:var(--crm-brand);font-size:var(--crm-type-workspace);font-variant-numeric:tabular-nums}.daily-publishing-grid{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid var(--crm-line)}.daily-batch-entry{border-bottom:1px solid var(--crm-line)}.daily-batch-entry .form-section-head{padding:12px 14px 10px;align-items:flex-end;gap:14px}.daily-batch-entry .form-section-head h3{margin:0;color:var(--crm-ink);font-size:var(--crm-type-section)}.daily-batch-entry .form-section-head p{margin:4px 0 0;color:var(--crm-muted);font-size:11px}.daily-batch-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.daily-batch-actions .secondary,.daily-batch-actions .primary{min-height:32px;padding:0 10px;font-size:11px}.daily-batch-table-wrap{overflow-x:auto;border-top:1px solid var(--crm-line-soft)}.daily-batch-table{width:100%;min-width:1020px;border-collapse:collapse;table-layout:fixed;font-size:12px}.daily-batch-table th{height:34px;padding:0 9px;color:var(--crm-muted);background:var(--crm-canvas);border-bottom:1px solid var(--crm-line);font-size:var(--crm-type-label);text-align:left;white-space:nowrap}.daily-batch-table th+th,.daily-batch-table td+td{border-left:1px solid var(--crm-line-soft)}.daily-batch-table td{height:40px;padding:0;border-bottom:1px solid var(--crm-line-soft)}.daily-batch-table th:nth-child(2){width:112px}.daily-batch-table th:nth-child(3){width:25%}.daily-batch-table th:nth-child(4){width:130px}.daily-batch-table th:nth-child(5),.daily-batch-table th:nth-child(6){width:118px}.daily-batch-table th:nth-child(7){width:20%}.daily-batch-table input,.daily-batch-table select{width:100%;height:40px;box-sizing:border-box;border:0;border-radius:0;color:var(--crm-ink);background:var(--crm-surface);padding:0 9px;font:inherit}.daily-batch-table input::placeholder{color:var(--crm-muted)}.daily-batch-table input:focus,.daily-batch-table select:focus,.daily-review-form textarea:focus{position:relative;z-index:1;outline:2px solid color-mix(in srgb,var(--crm-brand) 18%,transparent);outline-offset:-2px;background:color-mix(in srgb,var(--crm-brand-wash) 42%,var(--crm-surface))}.batch-index{width:40px;text-align:center!important;color:var(--crm-muted);font-variant-numeric:tabular-nums}.daily-batch-remove{width:48px;text-align:center}.daily-batch-remove button{border:0;color:var(--crm-muted);background:transparent;font-size:11px;cursor:pointer}.daily-batch-remove button:hover,.daily-batch-remove button:focus-visible{color:var(--crm-brand)}.daily-review-form label{min-width:0;display:grid;gap:5px}.daily-review-form label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:760}.daily-review-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit}.form-section-head{display:flex;align-items:center;justify-content:space-between}.form-section-head button,.daily-table-actions button{min-height:26px;padding:0;border:0;color:var(--crm-muted);background:transparent;font-size:11px;cursor:pointer}.daily-post-charts{display:grid;grid-template-columns:1fr 1fr}.daily-post-charts article{min-width:0;padding:14px}.daily-post-charts article+article{border-left:1px solid var(--crm-line)}.daily-post-charts h3{margin-bottom:14px}.daily-bars.compact>div{grid-template-columns:70px minmax(55px,1fr) 20px}.daily-account-list{display:grid;gap:7px}.daily-account-list>div{padding-bottom:7px;display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--crm-line-soft);font-size:11px}.daily-account-list b{color:var(--crm-ink)}.daily-account-list span{color:var(--crm-muted)}.daily-post-table-wrap{overflow-x:auto}.daily-post-table{width:100%;min-width:800px;border-collapse:collapse;font-size:12px}.daily-post-table th{padding:9px 12px;color:var(--crm-muted);background:var(--crm-canvas);font-size:var(--crm-type-label);text-align:left;white-space:nowrap}.daily-post-table td{padding:10px 12px;border-top:1px solid var(--crm-line-soft);vertical-align:middle}.daily-post-table td:nth-child(2){min-width:180px}.daily-status{display:inline-flex;padding:3px 7px;border-radius:var(--crm-radius-status);font-size:10px;font-weight:750;white-space:nowrap}.daily-status.status-已发布{color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 12%,var(--crm-surface))}.daily-status.status-计划中{color:var(--crm-warning);background:color-mix(in srgb,var(--crm-warning) 12%,var(--crm-surface))}.daily-status.status-已取消{color:var(--crm-danger);background:var(--crm-brand-soft)}.daily-table-actions{display:inline-flex;gap:10px}.daily-table-actions button:hover{color:var(--crm-brand-hover)}.daily-table-actions .danger-link:hover{color:var(--crm-danger)}.daily-empty-table{padding:22px;color:var(--crm-muted);text-align:center}.daily-review-form{padding:14px}.daily-review-form textarea{min-height:82px;padding:9px;resize:vertical;font-size:12px;line-height:1.5}.daily-review-columns{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.daily-review-columns label:nth-child(1) textarea{border-color:color-mix(in srgb,var(--crm-success) 32%,var(--crm-line))}.daily-review-columns label:nth-child(2) textarea{border-color:color-mix(in srgb,var(--crm-warning) 32%,var(--crm-line))}.daily-review-columns label:nth-child(3) textarea{border-color:color-mix(in srgb,var(--crm-brand) 34%,var(--crm-line))}.daily-review-save{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-review-save small{color:var(--crm-muted);font-size:11px}@media(max-width:980px){.daily-publishing-grid,.daily-chart-grid{grid-template-columns:1fr}.daily-bar-panel{border-right:0;border-bottom:1px solid var(--crm-line)}.daily-post-charts{min-height:180px}.daily-batch-entry .form-section-head{align-items:flex-start;flex-direction:column}.daily-batch-actions{justify-content:flex-start}}@media(max-width:700px){.daily-review-heading{align-items:flex-start}.daily-metrics,.daily-review-columns{grid-template-columns:1fr 1fr}.daily-metrics article:nth-child(2){border-right:0}.daily-metrics article:nth-child(-n+2){border-bottom:1px solid var(--crm-line)}.daily-post-charts{grid-template-columns:1fr}.daily-post-charts article+article{border-left:0;border-top:1px solid var(--crm-line)}.daily-review-columns label:last-child{grid-column:1 / -1}}.app-sidebar .brand-tagline{margin-top:7px;display:block!important;color:var(--crm-on-graphite-subtle);font-size:var(--crm-type-label);letter-spacing:.18em}.app-sidebar .workspace{margin:16px 2px 14px}.app-sidebar .workspace>span,.app-sidebar .navlabel{color:var(--crm-on-graphite-muted);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.app-sidebar .workspace button{width:100%;height:34px;margin-top:5px;padding:0 8px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--crm-graphite-raised);border-radius:var(--crm-radius-control);color:var(--crm-line);background:var(--crm-graphite-raised);font-size:11px}.app-sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--crm-on-graphite-muted) 35%,transparent) transparent;display:flex;flex-direction:column;gap:2px}.app-sidebar nav>button{width:100%;min-height:45px;padding:0 13px;display:flex;align-items:center;gap:12px;border:1px solid transparent;border-radius:0;color:var(--crm-on-graphite-muted);background:transparent;font-size:13px;font-weight:650;text-align:left}.app-sidebar nav>button svg{width:19px;height:19px}.app-sidebar nav>button:hover:not(:disabled){color:var(--crm-surface);background:var(--crm-graphite-raised)}.app-sidebar nav>button.active{border-color:transparent;color:var(--crm-surface);background:var(--crm-sidebar-active);box-shadow:inset 3px 0 var(--crm-brand)}.app-sidebar .navlabel{margin:18px 16px 7px}.app-sidebar .profile{min-height:48px;margin-top:auto;padding:12px 16px 0;display:flex;align-items:center;gap:8px;border-top:1px solid var(--crm-graphite-raised)}.app-sidebar .profile .avatar{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:var(--crm-radius-status);color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.app-sidebar .profile>div:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column}.app-sidebar .profile b{color:var(--crm-surface);font-size:11px}.app-sidebar .profile span{color:var(--crm-subtle);font-size:var(--crm-type-label)}.app-main{width:calc(100% - var(--crm-shell-sidebar-width));min-width:0;margin-left:var(--crm-shell-sidebar-width);color:var(--crm-ink);background:var(--crm-canvas)}.app-topbar{position:sticky;top:0;z-index:30;width:100%;height:var(--crm-shell-topbar-height);padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--crm-line);background:color-mix(in srgb,var(--crm-surface) 98%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar-leading,.app-topbar .header-actions{min-width:0;display:flex;align-items:center}.topbar-leading{gap:var(--crm-space-2)}.app-topbar .header-actions{gap:6px}.app-topbar .crumb{overflow:hidden;color:var(--crm-muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.app-topbar .header-actions .icon{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent}.app-topbar .mini-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:var(--crm-radius-status);color:var(--crm-brand-hover);background:var(--crm-brand-soft);font-size:11px}.content{width:100%;max-width:var(--crm-shell-content-max);margin-inline:auto;padding:20px 22px 34px}.title-row{min-height:52px;margin-bottom:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.title-row h1{margin:0 0 var(--crm-space-1);color:var(--crm-ink);font-size:var(--crm-type-screen);font-weight:750;line-height:1.16;letter-spacing:-.025em}.title-row p,.card-head p{max-width:72ch;margin:0;color:var(--crm-muted);font-size:12.5px;line-height:1.45}.title-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--crm-space-2)}.primary,.ghost,.secondary,.title-actions>button{min-height:var(--crm-control-height);height:var(--crm-control-height);padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:var(--crm-space-2);border-radius:var(--crm-radius-control);font-size:var(--crm-type-control);font-weight:720;line-height:1.35;white-space:nowrap}.primary{border:1px solid var(--crm-brand);color:var(--crm-surface);background:var(--crm-brand);box-shadow:var(--crm-shadow-primary)}.primary:hover:not(:disabled){border-color:var(--crm-brand-hover);background:var(--crm-brand-hover)}.ghost,.secondary{border:1px solid var(--crm-line);color:var(--crm-ink);background:var(--crm-surface);box-shadow:none}.ghost:hover:not(:disabled),.secondary:hover:not(:disabled){border-color:var(--crm-subtle);background:var(--crm-surface-subtle)}.primary:disabled,.ghost:disabled,.secondary:disabled{border-color:var(--crm-line);color:var(--crm-disabled-ink);background:var(--crm-disabled);box-shadow:none}.card{margin-bottom:14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:none}.card-head{margin-bottom:14px}.card-head h2,.report-card-head h2,.team-card h2{color:var(--crm-ink);font-size:var(--crm-type-section);line-height:1.25}.eyebrow{color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:800}.count{padding:5px 9px;border-radius:var(--crm-radius-status);color:var(--crm-muted);background:var(--crm-surface-subtle);font-size:var(--crm-type-meta)}.team-list>.team-member-row{min-height:60px;display:grid;grid-template-columns:36px minmax(180px,1fr) auto auto;align-items:center;gap:10px}.team-member-row>span:first-child{margin:0}.team-member-copy{min-width:0}.team-member-copy b,.team-member-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.team-list .team-member-actions button,.current-user-label{min-height:32px;margin:0;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font-size:var(--crm-type-label);font-style:normal;font-weight:700;white-space:nowrap}.team-list .team-member-actions button:hover:not(:disabled){border-color:var(--crm-subtle);background:var(--crm-surface-subtle)}.team-list .team-member-actions .delete-user{border-color:color-mix(in srgb,var(--crm-brand) 32%,var(--crm-line));color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.team-list .team-member-actions .delete-user:hover:not(:disabled){border-color:var(--crm-brand);color:var(--crm-surface);background:var(--crm-brand-hover)}.team-more-actions{position:relative}.team-more-actions>summary{min-height:32px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font-size:var(--crm-type-label);font-weight:700;list-style:none;white-space:nowrap;cursor:pointer}.team-more-actions>summary::-webkit-details-marker{display:none}.team-more-actions>summary svg{width:14px;height:14px;color:var(--crm-muted);transition:transform var(--crm-motion-fast) var(--crm-ease-standard)}.team-more-actions[open]>summary svg{transform:rotate(180deg)}.team-more-actions>div{position:absolute;z-index:30;top:calc(100% + 5px);right:0;width:142px;padding:5px;display:grid;gap:3px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:0 12px 28px color-mix(in srgb,var(--crm-ink) 14%,transparent)}.team-list .team-member-actions .team-more-actions>div>button{width:100%;justify-content:flex-start;border-color:transparent}.current-user-label{color:var(--crm-muted);background:var(--crm-surface-subtle)}.team-list>.edit-user-row{margin:0;padding:12px;display:grid;grid-template-columns:minmax(180px,1.2fr) repeat(4,minmax(120px,1fr)) auto;align-items:end;gap:10px;border:1px solid color-mix(in srgb,var(--crm-brand) 20%,var(--crm-line));border-top:0;background:color-mix(in srgb,var(--crm-brand-soft) 42%,var(--crm-surface))}.edit-user-row>div:first-child{align-self:center}.edit-user-row>div:first-child b,.edit-user-row>div:first-child small{display:block}.edit-user-row>div:first-child b{color:var(--crm-ink);font-size:var(--crm-type-control)}.edit-user-row>div:first-child small{margin-top:3px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.edit-user-row label{min-width:0;display:flex;flex-direction:column;gap:5px}.edit-user-row label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.edit-user-row :is(input,select){width:100%;min-width:0;height:34px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font-size:var(--crm-type-control)}.edit-user-actions{display:flex;gap:6px}.edit-user-actions button{min-height:34px;height:34px;padding-inline:10px;white-space:nowrap}.team-list>.delete-reassign-row{margin:0;padding:12px;display:grid;grid-template-columns:22px minmax(220px,1fr) minmax(210px,.8fr) auto auto;align-items:end;gap:10px;border:1px solid color-mix(in srgb,var(--crm-brand) 28%,var(--crm-line));border-top:0;background:color-mix(in srgb,var(--crm-brand-soft) 56%,var(--crm-surface))}.delete-reassign-row>svg{width:18px;align-self:center;color:var(--crm-brand-hover)}.delete-reassign-row>div{align-self:center}.delete-reassign-row>div :is(b,small){display:block}.delete-reassign-row>div b{color:var(--crm-ink);font-size:var(--crm-type-control)}.delete-reassign-row>div small,.delete-reassign-row label>span{margin-top:3px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.delete-reassign-row label{display:flex;flex-direction:column;gap:5px}.delete-reassign-row select,.delete-reassign-row button{min-height:34px;border-radius:var(--crm-radius-control)}.delete-reassign-row select{border:1px solid var(--crm-line);color:var(--crm-ink);background:var(--crm-surface)}.delete-reassign-row .delete-user{border:1px solid var(--crm-brand);color:var(--crm-surface);background:var(--crm-brand-hover)}@media(max-width:1100px){.team-list>.delete-reassign-row{grid-template-columns:22px 1fr}.delete-reassign-row label,.delete-reassign-row button{grid-column:2}}@media(max-width:1080px){.team-list>.team-member-row{grid-template-columns:36px minmax(0,1fr) auto}.team-member-actions,.current-user-label{grid-column:2 / -1;justify-self:end}.team-list>.edit-user-row{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-user-row>div:first-child,.edit-user-actions{grid-column:1 / -1}}.mail-sync-diagnostics{margin:0 0 var(--crm-space-3);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.customer-detail-anchors{position:sticky;z-index:24;top:48px;min-height:38px;padding:0 12px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:3px;overflow-x:auto;border:1px solid var(--crm-line);border-bottom:0;background:color-mix(in srgb,var(--crm-surface) 96%,transparent);box-shadow:0 6px 16px color-mix(in srgb,var(--crm-ink) 7%,transparent)}.customer-detail-anchors a{min-height:30px;padding:0 10px;display:inline-flex;align-items:center;border-radius:var(--crm-radius-control);color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:740;text-decoration:none;white-space:nowrap}.customer-detail-anchors a:hover,.customer-detail-anchors a:focus-visible{color:var(--crm-brand-hover);background:var(--crm-brand-soft)}#customer-project,#customer-followup,#customer-followup-history,#customer-timeline,#customer-email-history{scroll-margin-top:98px}.mail-sync-diagnostics.has-error{border-color:color-mix(in srgb,var(--crm-danger) 34%,var(--crm-line));background:color-mix(in srgb,var(--crm-brand-soft) 54%,var(--crm-surface))}.mail-sync-diagnostics>summary{min-height:38px;padding:7px 11px;display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-3);color:var(--crm-ink);font-size:var(--crm-type-control);font-weight:750;list-style:none;cursor:pointer}.mail-sync-diagnostics>summary::-webkit-details-marker{display:none}.mail-sync-diagnostics>summary>span{display:inline-flex;align-items:center;gap:var(--crm-space-2)}.mail-sync-diagnostics>summary svg{width:15px;height:15px;color:var(--crm-warning)}.mail-sync-diagnostics>summary>svg{color:var(--crm-muted);transition:transform var(--crm-motion-fast) var(--crm-ease-standard)}.mail-sync-diagnostics[open]>summary>svg{transform:rotate(180deg)}.mail-sync-diagnostic-body{padding:11px;border-top:1px solid var(--crm-line-soft)}.mail-sync-diagnostic-body>p{margin:0 0 10px;display:grid;grid-template-columns:82px minmax(0,1fr);gap:var(--crm-space-2);color:var(--crm-danger);font-size:var(--crm-type-meta)}.mail-sync-diagnostic-body>p span{min-width:0;overflow-wrap:anywhere}.mail-sync-diagnostic-body dl{margin:0;display:grid;grid-template-columns:repeat(6,minmax(92px,1fr));gap:1px;overflow:hidden;border:1px solid var(--crm-line-soft);border-radius:var(--crm-radius-control);background:var(--crm-line-soft)}.mail-sync-diagnostic-body dl>div{min-width:0;padding:8px 9px;display:grid;gap:2px;background:var(--crm-surface)}.mail-sync-diagnostic-body dt{color:var(--crm-muted);font-size:var(--crm-type-label)}.mail-sync-diagnostic-body dd{min-width:0;margin:0;overflow:hidden;color:var(--crm-ink);font-size:var(--crm-type-control);font-weight:750;text-overflow:ellipsis;white-space:nowrap}.mail-sync-diagnostic-body>small{margin-top:9px;display:block;color:var(--crm-muted);font-size:var(--crm-type-meta)}@media(max-width:980px){.mail-sync-diagnostic-body dl{grid-template-columns:repeat(3,minmax(92px,1fr))}}@media(max-width:620px){.mail-sync-diagnostic-body dl{grid-template-columns:repeat(2,minmax(92px,1fr))}.mail-sync-diagnostic-body>p{grid-template-columns:1fr}}.mail-folders{color:var(--crm-muted);background:var(--crm-surface-subtle)}.mail-folders>header{border-bottom-color:var(--crm-line)}.mail-folders>header>svg{color:var(--crm-brand)}.mail-folders>header b{color:var(--crm-ink)}.mail-folders>header span{color:var(--crm-subtle)}.mail-folders>button,.mail-folders>button>span,.mail-folders>button>svg{color:var(--crm-muted)}.mail-folders>button:hover{color:var(--crm-ink);background:color-mix(in srgb,var(--crm-ink) 5%,transparent)}.mail-folders>button:hover>span,.mail-folders>button:hover>svg{color:inherit}.mail-folders>button.active{border-color:color-mix(in srgb,var(--crm-brand) 32%,transparent);color:var(--crm-brand-hover);background:var(--crm-brand-soft);box-shadow:inset 2px 0 var(--crm-brand)}.mail-folders>button.active>span{color:var(--crm-brand-hover);font-weight:700}.mail-folders>button.active>svg{color:var(--crm-brand)}.mail-folders>button>b{color:var(--crm-surface);background:var(--crm-brand)}.app-sidebar .nav-count,.customer-timeline h3 span,.mail-folders>header b,.mail-folders>header span,.mail-folders>button b,.mail-thread-tools :is(input,button),.mail-thread-tools>span,.mail-center-page :where(small,time,em,mark),.mail-reader-head>div:first-child>span,.mail-message-avatar,.mail-reply-composer :is(.reply-title,.reply-actions)>span,.reports-page :where(small,dd,time,em),.reports-page .panel-title>span,.reports-page .pipeline-label>*,.reports-page .pipeline-legend,.reports-page .sales-progress-card footer>*,.reports-page .weekly-bars :is(span,small),.reports-page .followup-feed>div>span,.reports-page .followup-feed :is(b,p,small),.reports-page .source-chart :is(em,span),.reports-page .import-history-row :is(b,span,dd),.reports-page .activity-row :is(b,span,time),.account-summary>div span,.mail-settings-statuses span,.login-process i{font-size:var(--crm-type-label)}.mail-protocol-section>header{position:static;top:auto;z-index:auto;width:auto;height:auto;min-height:54px;-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-menu-trigger,.mobile-nav-close,.mobile-nav-backdrop{display:none}@media(max-width:980px){:root{--crm-shell-sidebar-width: 68px}.app-sidebar{padding-inline:9px}.app-sidebar .brand{justify-content:center;padding:0}.app-sidebar .brand span,.app-sidebar .workspace,.app-sidebar .navlabel,.app-sidebar .profile>div:nth-child(2),.app-sidebar .profile-logout{display:none}.app-sidebar nav{margin-top:18px}.app-sidebar nav>button{position:relative;justify-content:center;padding:0;gap:0;font-size:0}.app-sidebar nav>button svg{width:19px;height:19px}.app-sidebar .nav-count{position:absolute;top:3px;right:1px;min-width:17px;height:17px;font-size:var(--crm-type-label)}.app-sidebar .profile{justify-content:center}.content{padding-inline:16px}}@media(max-width:720px){:root{--crm-shell-sidebar-width: 58px;--crm-shell-topbar-height: 50px}.app-sidebar{padding-inline:7px}.app-sidebar .brandmark.logo-mark{width:30px;height:30px}.app-topbar{padding-inline:14px}.app-topbar .crumb{font-size:var(--crm-type-label)}.mobile-menu-trigger{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface)}.mobile-menu-trigger svg{width:19px}.content,.customers-page,.mail-center-page{padding:14px 10px 24px}.title-row{min-height:0;align-items:flex-start;gap:10px}.title-row h1,.customers-page .title-row h1{font-size:var(--crm-type-screen-compact)}.title-row p{font-size:11.5px}.title-actions{gap:5px}.title-actions>button{padding-inline:10px}}@media(max-width:620px){:root{--crm-shell-sidebar-width: 0px}.app-main{width:100%;margin-left:0}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:80;width:min(280px,86vw);padding:14px 12px;display:flex;transform:translate(-102%);transition:transform var(--crm-motion-normal) var(--crm-ease-out);box-shadow:var(--crm-shadow-sidebar)}.app-sidebar.is-mobile-open{transform:translate(0)}.app-sidebar .brand span,.app-sidebar .workspace,.app-sidebar nav>button,.app-sidebar .navlabel,.app-sidebar .profile>div:nth-child(2),.app-sidebar .profile-logout{display:flex}.app-sidebar .brand{justify-content:flex-start;padding-right:44px}.app-sidebar nav{margin-top:0}.app-sidebar nav>button{min-height:44px;justify-content:flex-start;font-size:var(--crm-type-body)}.app-sidebar .profile{justify-content:flex-start}.app-sidebar .profile-logout{width:40px;height:40px;display:grid;place-items:center}.mobile-nav-close{position:absolute;top:16px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--crm-graphite-raised);border-radius:var(--crm-radius-control);color:var(--crm-surface);background:var(--crm-graphite-raised)}.mobile-nav-close svg{width:18px}.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:79;display:block;border:0;background:var(--crm-overlay)}.app-topbar{padding-inline:10px}.app-topbar .header-actions{gap:2px}.title-actions>button{min-height:44px}}.mail-center-page{height:calc(100dvh - var(--crm-shell-topbar-height));min-height:0;display:flex;flex-direction:column;overflow:hidden}.mail-center-page>.title-row,.mail-center-page>.mail-page-notice{flex:0 0 auto}.mail-center-page>.mail-desk{height:auto;min-height:0;flex:1 1 auto}.mail-thread-panel,.mail-reader-slot,.mail-reader{min-height:0}.mail-thread-panel,.mail-reader-slot{overflow:hidden}.mail-thread-list{height:calc(100% - 52px);max-height:none}.mail-reader{height:100%;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.mail-reader-head{grid-row:1}.mail-reader-context{grid-row:2;min-height:0}.mail-reader-context:empty{min-height:0}.mail-message-stream{grid-row:3;min-height:0;overscroll-behavior:contain}.mail-reply-composer{grid-row:4;min-height:0;max-height:min(42dvh,264px);overflow-y:auto;scrollbar-gutter:stable}.mail-reply-composer>textarea{min-height:62px;max-height:112px}.mail-reader-actions{flex-wrap:wrap;justify-content:flex-end}.mail-reader-head .mail-thread-danger{border-color:var(--crm-brand);color:var(--crm-danger);background:var(--crm-surface)}.mail-reader-head .mail-thread-danger:hover{color:var(--crm-surface);background:var(--crm-danger)}.mail-deleted-banner{min-height:46px;display:flex;align-items:center;gap:9px;padding:9px 14px;border-bottom:1px solid var(--crm-line);color:var(--crm-muted);background:var(--crm-surface-subtle)}.mail-deleted-banner>svg{width:16px;flex:0 0 auto;color:var(--crm-danger)}.mail-deleted-banner>span{display:grid;gap:2px;font-size:var(--crm-type-label)}.mail-deleted-banner b{color:var(--crm-ink)}.quote-library-page{max-width:1440px;margin-inline:auto}.quote-library-category-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);margin-bottom:var(--crm-space-3);padding:8px 0;color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.quote-library-category-bar>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.quote-library-category-bar button{min-height:30px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font:inherit;font-weight:650;cursor:pointer}.quote-library-category-bar button:hover{color:var(--crm-brand-hover);border-color:color-mix(in srgb,var(--crm-brand) 42%,var(--crm-line))}.quote-library-category-bar button.active{color:var(--crm-brand-hover);border-color:var(--crm-brand);background:var(--crm-brand-soft)}.quote-library-heading{align-items:flex-end;margin-bottom:var(--crm-space-5)}.quote-library-heading h1{margin:4px 0 6px;font-size:var(--crm-type-screen);letter-spacing:-.025em}.quote-library-heading p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-body)}.quote-library-heading .primary,.quote-library-empty .secondary,.quote-library-picker .primary{display:inline-flex;align-items:center;justify-content:center;gap:var(--crm-space-2)}.quote-library-heading .primary svg,.quote-library-empty .secondary svg,.quote-library-picker button svg{width:15px;height:15px}.quote-library-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-3);margin-bottom:var(--crm-space-4);padding:6px 8px 6px 12px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.quote-library-toolbar>span{flex:0 0 auto;color:var(--crm-subtle);font-size:var(--crm-type-meta)}.quote-library-toolbar-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:var(--crm-space-4);padding:8px 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.quote-library-categories{display:flex;flex-wrap:wrap;gap:4px}.quote-library-categories button{min-height:28px;padding:0 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-label);font-weight:650;cursor:pointer}.quote-library-categories button:hover{color:var(--crm-brand-hover);border-color:color-mix(in srgb,var(--crm-brand) 42%,var(--crm-line))}.quote-library-categories button.active{color:var(--crm-brand-hover);border-color:var(--crm-brand);background:var(--crm-brand-soft)}.quote-library-toolbar-row .quote-library-search{flex:1;min-width:180px}.quote-library-count{flex:0 0 auto;color:var(--crm-subtle);font-size:var(--crm-type-meta);white-space:nowrap}.quote-library-add-btn{flex:0 0 auto;height:30px;min-height:30px;padding:0 10px;font-size:var(--crm-type-label)}.app-skeleton{display:flex;min-height:100vh;background:var(--crm-canvas)}.app-skeleton-sidebar{width:var(--crm-shell-sidebar-width);padding:20px 14px;display:flex;flex-direction:column;gap:8px;background:var(--crm-graphite)}.app-skeleton-nav{display:flex;flex-direction:column;gap:5px;margin-top:24px}.app-skeleton-main{flex:1;display:flex;flex-direction:column;min-width:0}.app-skeleton-content{padding:32px 28px;flex:1}.app-skeleton-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px}.quote-library-category-bar button:focus-visible{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.quote-library-search{min-width:0;display:flex;align-items:center;gap:var(--crm-space-2);color:var(--crm-subtle)}.quote-library-search svg{width:16px;height:16px;flex:0 0 auto}.quote-library-search input{width:min(420px,100%);border:0;outline:0;color:var(--crm-ink);background:transparent;font-size:var(--crm-type-control)}.quote-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:var(--crm-space-3)}.quote-library-card{min-width:0;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:none;transition:border-color var(--crm-motion-fast) var(--crm-ease-out),transform var(--crm-motion-fast) var(--crm-ease-out),box-shadow var(--crm-motion-fast) var(--crm-ease-out)}.quote-library-card:hover{border-color:color-mix(in srgb,var(--crm-brand) 42%,var(--crm-line));box-shadow:0 10px 22px #1b1f2514;transform:translateY(-1px)}.quote-library-image{height:210px;display:grid;place-items:center;overflow:hidden;padding:10px;box-sizing:border-box;color:var(--crm-subtle);background:linear-gradient(180deg,var(--crm-surface),var(--crm-surface-subtle))}.quote-library-image img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}.quote-library-image>span,.quote-library-image>svg{display:grid;place-items:center}.quote-library-image svg{width:30px;height:30px;stroke-width:1.5}.quote-library-card-upload{position:relative;gap:8px;cursor:pointer;border:0;border-bottom:1px dashed var(--crm-line);text-align:center;transition:background var(--crm-motion-fast) var(--crm-ease-out),color var(--crm-motion-fast) var(--crm-ease-out)}.quote-library-card-upload:hover{color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.quote-library-card-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.quote-library-card-upload b{color:inherit;font-size:var(--crm-type-control)}.quote-library-card-upload small{color:var(--crm-subtle);font-size:var(--crm-type-label)}.quote-library-card-upload.is-uploading,.quote-library-upload-placeholder.is-processing{color:var(--crm-brand-hover);background:var(--crm-brand-soft);cursor:progress}.quote-library-card-upload.is-uploading{pointer-events:none}.quote-library-upload-spinner{animation:quote-library-spin .85s linear infinite}@keyframes quote-library-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.quote-library-upload-spinner{animation:none}}.quote-library-card-body{padding:var(--crm-space-3)}.quote-library-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--crm-space-2)}.quote-library-card-top>div{min-width:0}.quote-library-kicker{color:var(--crm-subtle);font-size:var(--crm-type-label)}.quote-library-card h2{margin:3px 0 0;color:var(--crm-ink);font-size:var(--crm-type-control);line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-library-price{flex:0 0 auto;color:var(--crm-brand-hover);font-size:var(--crm-type-control);font-weight:800;white-space:nowrap}.quote-library-specs{display:flex;flex-wrap:wrap;gap:6px var(--crm-space-3);margin:10px 0 8px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.quote-library-specs span{display:inline-flex;align-items:center;gap:5px}.quote-library-specs svg{width:14px;height:14px;color:var(--crm-brand)}.quote-library-card-body>p{min-height:34px;display:-webkit-box;overflow:hidden;margin:0;color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.quote-library-card-body>footer{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-3);margin-top:var(--crm-space-3);padding-top:var(--crm-space-2);border-top:1px solid var(--crm-line-soft)}.quote-library-card-body small{color:var(--crm-subtle);font-size:var(--crm-type-label)}.quote-library-card-body footer>div{display:flex;gap:var(--crm-space-2)}.quote-library-card .ghost,.quote-library-card .ghost.danger{min-height:30px;padding:0 8px;color:var(--crm-muted);background:transparent;font-size:var(--crm-type-label)}.quote-library-card .ghost:hover{color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.quote-library-card .ghost.danger:hover{color:var(--crm-danger)}.quote-library-empty{min-height:280px;display:grid;place-items:center;align-content:center;gap:8px;padding:var(--crm-space-8);border:1px dashed var(--crm-line);border-radius:var(--crm-radius-surface);color:var(--crm-muted);background:var(--crm-surface);text-align:center}.quote-library-empty.compact{min-height:150px;border:0}.quote-library-empty>svg{width:30px;height:30px;color:var(--crm-brand)}.quote-library-empty b{color:var(--crm-ink);font-size:var(--crm-type-body)}.quote-library-empty span{font-size:var(--crm-type-control)}.quote-library-empty .secondary{margin-top:8px}.quote-library-message,.quote-library-editor-error{margin-bottom:var(--crm-space-4);padding:10px 12px;border:1px solid color-mix(in srgb,var(--crm-success) 24%,var(--crm-line));border-radius:var(--crm-radius-control);color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 9%,var(--crm-surface));font-size:var(--crm-type-control)}.quote-library-editor-error{border-color:color-mix(in srgb,var(--crm-danger) 24%,var(--crm-line));color:var(--crm-danger);background:color-mix(in srgb,var(--crm-danger) 8%,var(--crm-surface))}.quote-library-editor,.quote-library-picker{width:min(780px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));overflow-y:auto;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:0 24px 70px #12151a40}.quote-library-editor>header,.quote-library-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--crm-space-4);padding:var(--crm-space-6);border-bottom:1px solid var(--crm-line-soft)}.quote-library-editor>header h2,.quote-library-picker>header h2{margin:4px 0;color:var(--crm-ink);font-size:var(--crm-type-workspace)}.quote-library-editor>header p,.quote-library-picker>header p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-control)}.quote-library-editor>header>button,.quote-library-picker>header>button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface)}.quote-library-editor>header>button svg,.quote-library-picker>header>button svg{width:16px}.quote-library-form{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr);gap:var(--crm-space-6);padding:var(--crm-space-6)}.quote-library-image-picker,.quote-library-form-fields,.quote-library-form-fields>label,.quote-library-two>label{display:grid;gap:6px}.quote-library-image-picker>span,.quote-library-form-fields label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.quote-library-form-fields input,.quote-library-form-fields select,.quote-library-form-fields textarea,.quote-library-picker>.quote-library-search{width:100%;min-height:var(--crm-control-height);box-sizing:border-box;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-control)}.quote-library-form-fields input,.quote-library-form-fields select,.quote-library-form-fields textarea{padding:9px 10px}.quote-library-form-fields textarea{resize:vertical}.quote-library-form-fields input:focus,.quote-library-form-fields select:focus,.quote-library-form-fields textarea:focus{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.quote-library-two{display:grid;grid-template-columns:1fr 1fr;gap:var(--crm-space-3)}.quote-library-image-picker>input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.quote-library-upload-placeholder,.quote-library-file-preview{min-height:260px;display:grid;place-items:center;align-content:center;gap:8px;overflow:hidden;border:1px dashed color-mix(in srgb,var(--crm-brand) 45%,var(--crm-line));border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-brand-soft);text-align:center;cursor:pointer}.quote-library-upload-placeholder svg{width:34px;height:34px;color:var(--crm-brand)}.quote-library-upload-placeholder b,.quote-library-file-preview b{color:var(--crm-ink);font-size:var(--crm-type-control)}.quote-library-upload-placeholder small{font-size:var(--crm-type-label)}.quote-library-file-preview{position:relative;min-height:260px;align-content:end;padding:12px;border-style:solid;background:var(--crm-surface-subtle)}.quote-library-file-preview .quote-library-image{position:absolute;top:0;right:0;bottom:0;left:0;aspect-ratio:auto}.quote-library-file-preview b{position:relative;z-index:1;max-width:100%;overflow:hidden;padding:5px 8px;border-radius:var(--crm-radius-control);background:#ffffffe6;text-overflow:ellipsis;white-space:nowrap}.quote-library-remove{display:flex;align-items:center;gap:6px;margin-top:8px;color:var(--crm-danger);font-size:var(--crm-type-label)}.quote-library-editor>.modal-actions,.quote-library-picker>footer{display:flex;justify-content:flex-end;gap:var(--crm-space-3);padding:14px var(--crm-space-6) var(--crm-space-6);border-top:1px solid var(--crm-line-soft)}.quote-library-apply-button{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--crm-brand) 35%,var(--crm-line));border-radius:var(--crm-radius-control);color:var(--crm-brand-hover);background:var(--crm-brand-soft);font-size:var(--crm-type-label);cursor:pointer}.quote-library-apply-button svg{width:14px}.quote-library-apply-button:hover{border-color:var(--crm-brand);background:color-mix(in srgb,var(--crm-brand) 13%,var(--crm-surface))}.quote-library-picker{width:min(680px,calc(100vw - 32px));padding-bottom:0}.quote-library-picker>.quote-library-search{display:flex;align-items:center;gap:8px;width:auto;margin:16px 24px 0;padding:0 10px}.quote-library-picker>.quote-library-search input{min-height:34px;border:0;outline:0}.quote-library-picker-list{display:grid;gap:1px;margin-top:14px;border-top:1px solid var(--crm-line-soft)}.quote-library-picker-list article{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid var(--crm-line-soft)}.quote-library-picker-list .quote-library-image.compact{width:72px;height:54px;aspect-ratio:auto;border-radius:var(--crm-radius-control)}.quote-library-picker-list .quote-library-image.compact svg{width:20px}.quote-library-picker-list article>div:nth-child(2){min-width:0;display:grid;gap:3px}.quote-library-picker-list article b{overflow:hidden;color:var(--crm-ink);font-size:var(--crm-type-control);text-overflow:ellipsis;white-space:nowrap}.quote-library-picker-list article span,.quote-library-picker-list article small{color:var(--crm-muted);font-size:var(--crm-type-label)}@media(max-width:980px){.quote-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.quote-library-category-bar{align-items:flex-start;flex-direction:column;gap:8px}.quote-library-category-bar>div{justify-content:flex-start}.quote-library-heading{align-items:flex-start;flex-direction:column;gap:12px}.quote-library-heading .primary{width:100%}.quote-library-grid{grid-template-columns:1fr}.quote-library-image{height:180px}.quote-library-form{grid-template-columns:1fr;padding:16px}.quote-library-editor>header,.quote-library-picker>header{padding:16px}.quote-library-editor>.modal-actions,.quote-library-picker>footer{padding:12px 16px 16px}.quote-library-upload-placeholder,.quote-library-file-preview{min-height:210px}.quote-library-picker-list article{grid-template-columns:56px minmax(0,1fr);padding-inline:16px}.quote-library-picker-list .quote-library-image.compact{width:56px;height:48px}.quote-library-picker-list article>button{grid-column:2;justify-self:start}}@media(max-width:980px){.mail-desk.is-reader-open .mail-reader-slot{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}.mail-desk.is-reader-open .mail-reader{height:100%}.reply-actions{flex-wrap:wrap}.reply-actions>span{flex-basis:40%}}.quote-calculator-page{max-width:1440px;margin-inline:auto}.quote-calculator-heading{align-items:flex-end;margin-bottom:var(--crm-space-4)}.quote-calculator-heading h1{margin:4px 0 6px;color:var(--crm-ink);font-size:var(--crm-type-screen);letter-spacing:-.025em}.quote-calculator-heading p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-body)}.quote-calculator-heading .secondary,.quote-glass-entry .secondary,.quote-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--crm-space-2)}.quote-calculator-heading svg,.quote-glass-entry button svg,.quote-copy-button svg{width:15px;height:15px}.quote-calculator-source-note{display:flex;align-items:center;gap:10px;margin-bottom:var(--crm-space-4);padding:10px 12px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface)}.quote-calculator-source-note>svg{width:18px;height:18px;flex:0 0 auto;color:var(--crm-brand)}.quote-calculator-source-note>div{min-width:0;display:flex;align-items:baseline;gap:8px}.quote-calculator-source-note b{color:var(--crm-ink);font-size:var(--crm-type-control)}.quote-calculator-source-note span{font-size:var(--crm-type-meta)}.quote-calculator-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,370px);align-items:start;gap:var(--crm-space-4)}.quote-calculator-builder{min-width:0;display:grid;gap:var(--crm-space-3)}.quote-calculator-section{min-width:0;padding:16px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.quote-calculator-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--crm-space-4);margin-bottom:var(--crm-space-4)}.quote-calculator-section-head>div{min-width:0;display:flex;align-items:flex-start;gap:10px}.quote-calculator-section-head>div>span{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-brand-hover);background:var(--crm-brand-soft);font-size:var(--crm-type-label);font-weight:750}.quote-calculator-section-head h2{margin:1px 0 3px;color:var(--crm-ink);font-size:var(--crm-type-section)}.quote-calculator-section-head p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-meta)}.quote-calculator-section-head>b{flex:0 0 auto;color:var(--crm-brand-hover);font-size:var(--crm-type-control);font-variant-numeric:tabular-nums}.door-configuration-grid{display:grid;grid-template-columns:repeat(5,minmax(118px,1fr));gap:8px}.door-configuration-grid>button{min-width:0;min-height:142px;padding:12px 10px 10px;display:grid;grid-template-rows:46px auto auto;justify-items:center;gap:8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);text-align:center;cursor:pointer}.door-configuration-grid>button:hover{border-color:color-mix(in srgb,var(--crm-brand) 45%,var(--crm-line));background:var(--crm-brand-soft)}.door-configuration-grid>button.active{border-color:var(--crm-brand);background:var(--crm-brand-soft);box-shadow:inset 0 -2px var(--crm-brand)}.door-configuration-grid>button:focus-visible{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:1px}.door-configuration-grid>button>span{min-width:0;display:grid;gap:2px}.door-configuration-grid>button b{color:var(--crm-brand-hover);font-size:var(--crm-type-control)}.door-configuration-grid>button strong{font-size:var(--crm-type-control)}.door-configuration-grid>button small{overflow:hidden;color:var(--crm-muted);font-size:var(--crm-type-label);text-overflow:ellipsis;white-space:nowrap}.door-configuration-grid>button em{color:var(--crm-ink);font-size:var(--crm-type-meta);font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}.door-configuration-diagram{height:44px;display:flex;align-items:stretch;justify-content:center;gap:2px}.door-configuration-diagram i{display:block;border:2px solid currentColor;background:color-mix(in srgb,currentColor 5%,transparent)}.door-configuration-diagram .door{width:25px}.door-configuration-diagram .sidelite{width:13px}.door-configuration-grid>button.active .door-configuration-diagram{color:var(--crm-brand-hover)}.quote-addon-groups{display:grid;gap:var(--crm-space-4)}.quote-addon-group{min-width:0;margin:0;padding:0;border:0}.quote-addon-group legend{margin-bottom:8px;color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.quote-addon-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.quote-addon-option{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--crm-line-soft);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.quote-addon-option.selected{border-color:color-mix(in srgb,var(--crm-brand) 52%,var(--crm-line));background:var(--crm-brand-soft)}.quote-addon-option>label:first-child{min-width:0;min-height:46px;padding:8px 10px;display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;cursor:pointer}.quote-addon-option input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--crm-brand)}.quote-addon-option>label:first-child>span{min-width:0;display:grid;gap:2px}.quote-addon-option b,.quote-addon-option strong{font-size:var(--crm-type-control)}.quote-addon-option b{overflow-wrap:anywhere}.quote-addon-option strong{color:var(--crm-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.quote-addon-option small{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-option-quantity{min-width:68px;padding:6px 8px;display:grid;gap:2px;border-left:1px solid color-mix(in srgb,var(--crm-brand) 22%,var(--crm-line))}.quote-option-quantity span{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-option-quantity input{width:50px;height:28px;padding:0 6px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-control)}.quote-glass-entry{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(200px,1.3fr) 76px auto;align-items:end;gap:8px}.quote-glass-entry label,.quote-adjustments-grid label{min-width:0;display:grid;gap:5px}.quote-glass-entry label>span,.quote-adjustments-grid label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.quote-glass-entry select,.quote-glass-entry input,.quote-adjustments-grid input{width:100%;height:36px;box-sizing:border-box;padding:0 9px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-control)}.quote-glass-entry select:focus,.quote-glass-entry input:focus,.quote-adjustments-grid input:focus{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.quote-glass-entry .secondary{min-height:36px;padding-inline:12px;white-space:nowrap}.quote-glass-list{display:grid;gap:6px;margin-top:10px}.quote-glass-list>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto 30px;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--crm-line-soft);border-radius:var(--crm-radius-control);background:var(--crm-surface-subtle)}.quote-glass-list span{min-width:0;display:grid;gap:2px}.quote-glass-list b,.quote-glass-list strong{font-size:var(--crm-type-control)}.quote-glass-list small{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-glass-list>div>button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent}.quote-glass-list>div>button:hover{color:var(--crm-danger);background:color-mix(in srgb,var(--crm-danger) 8%,transparent)}.quote-glass-list svg{width:14px;height:14px}.quote-adjustments-grid{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(180px,1fr) minmax(160px,.8fr) minmax(110px,.5fr);gap:8px}.quote-money-input{min-width:0;height:36px;display:flex;align-items:center;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);overflow:hidden;background:var(--crm-surface)}.quote-money-input>span{height:100%;padding:0 9px;display:grid;place-items:center;color:var(--crm-muted);background:var(--crm-surface-subtle);font-size:var(--crm-type-label);font-weight:700}.quote-money-input input{min-width:0;border:0;border-radius:0;outline:0}.quote-calculator-notes{padding:11px 13px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface)}.quote-calculator-notes summary{color:var(--crm-ink);font-size:var(--crm-type-control);font-weight:700;cursor:pointer}.quote-calculator-notes ul{margin:10px 0 0;padding-left:20px;font-size:var(--crm-type-meta);line-height:1.6}.quote-calculator-summary{position:sticky;top:calc(var(--crm-shell-topbar-height) + 12px);min-width:0;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench)}.quote-summary-head{padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--crm-space-4);border-bottom:1px solid var(--crm-line-soft);background:var(--crm-surface-subtle)}.quote-summary-head span{color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:700}.quote-summary-head h2{margin:4px 0 0;color:var(--crm-ink);font-size:var(--crm-type-workspace)}.quote-summary-head p{margin:5px 0 0;color:var(--crm-muted);font-size:var(--crm-type-meta);overflow-wrap:anywhere}.quote-summary-head>svg{width:24px;height:24px;color:var(--crm-brand)}.quote-summary-lines{max-height:min(410px,calc(100dvh - 390px));overflow-y:auto;padding:6px 18px}.quote-summary-lines>div{min-width:0;padding:10px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;border-bottom:1px solid var(--crm-line-soft)}.quote-summary-lines span{min-width:0;display:grid;gap:2px}.quote-summary-lines b{font-size:var(--crm-type-control);font-weight:650;overflow-wrap:anywhere}.quote-summary-lines small{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-summary-lines strong{font-size:var(--crm-type-control);font-variant-numeric:tabular-nums;white-space:nowrap}.quote-summary-totals{padding:12px 18px 15px;display:grid;gap:8px;border-top:1px solid var(--crm-line);background:var(--crm-surface-subtle)}.quote-summary-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--crm-muted);font-size:var(--crm-type-control)}.quote-summary-totals b{color:var(--crm-ink);font-variant-numeric:tabular-nums}.quote-summary-totals .quote-grand-total{margin-top:3px;padding-top:10px;border-top:1px solid var(--crm-line);color:var(--crm-ink);font-weight:700}.quote-grand-total strong{color:var(--crm-brand-hover);font-size:var(--crm-type-workspace);font-variant-numeric:tabular-nums}.quote-copy-button{width:calc(100% - 36px);min-height:38px;margin:16px 18px 10px}.quote-summary-disclaimer{margin:0;padding:0 18px 16px;display:flex;align-items:flex-start;gap:7px;color:var(--crm-muted);font-size:var(--crm-type-label);line-height:1.45}.quote-summary-disclaimer svg{width:14px;height:14px;flex:0 0 auto;color:var(--crm-success)}@media(max-width:1180px){.quote-calculator-layout{grid-template-columns:minmax(0,1fr) minmax(300px,330px)}.door-configuration-grid{grid-template-columns:repeat(3,minmax(118px,1fr))}.quote-adjustments-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.quote-calculator-layout{grid-template-columns:1fr}.quote-calculator-summary{position:static}.quote-summary-lines{max-height:none}}@media(max-width:760px){.quote-calculator-heading{align-items:flex-start;flex-direction:column;gap:12px}.quote-calculator-heading .secondary{width:100%}.quote-calculator-source-note>div{align-items:flex-start;flex-direction:column;gap:2px}.door-configuration-grid,.quote-addon-options,.quote-glass-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-glass-entry .secondary{width:100%}}.sales-task-center{border-color:var(--crm-line)}.sales-task-head{min-height:62px;padding:10px 14px;background:var(--crm-surface)}.sales-task-head .eyebrow{color:var(--crm-brand-hover)}.sales-task-head .count{min-width:58px;height:28px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--crm-radius-status);color:var(--crm-ink);background:var(--crm-canvas);font-size:var(--crm-type-meta);font-weight:700;font-variant-numeric:tabular-nums}.sales-task-filters{min-height:40px;padding:0 8px;align-items:center;gap:4px;background:var(--crm-canvas)}.sales-task-filters>button{min-width:0;height:32px;padding-inline:10px;border:0;border-radius:var(--crm-radius-control)}.sales-task-filters>button.active{color:var(--crm-brand-hover);background:var(--crm-brand-soft);box-shadow:none}.sales-task-more-filter{min-width:116px;height:32px;margin-left:auto;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.sales-task-more-filter.active{background:var(--crm-brand-soft);box-shadow:none}.sales-task-columns,.sales-task-list>button{display:grid;grid-template-columns:34px minmax(210px,.9fr) minmax(300px,1.45fr) 126px 58px;align-items:center;gap:12px}.sales-task-columns{min-height:30px;padding:0 14px;border-bottom:1px solid var(--crm-line-soft);color:var(--crm-muted);background:color-mix(in srgb,var(--crm-canvas) 70%,var(--crm-surface));font-size:var(--crm-type-label);font-weight:700}.sales-task-columns span:first-child{grid-column:1 / 3;padding-left:46px}.sales-task-columns span:nth-child(2){grid-column:3}.sales-task-columns span:nth-child(3){grid-column:4}.sales-task-columns span:nth-child(4){grid-column:5;text-align:right}.sales-task-list>button{min-height:56px;padding:7px 14px;transition:background-color var(--crm-motion-fast) var(--crm-ease-standard)}.sales-task-list>button:hover,.sales-task-list>button:focus-visible{background:color-mix(in srgb,var(--crm-brand-soft) 42%,var(--crm-surface))}.sales-task-list>button:focus-visible{outline:2px solid var(--crm-brand);outline-offset:-2px}.sales-task-customer b,.sales-task-reason b{font-size:var(--crm-type-control)}.sales-task-reason>span{min-width:0;display:flex;align-items:center;gap:7px}.sales-task-reason>span b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-task-reason em{flex:0 0 auto;padding:2px 6px;border-radius:var(--crm-radius-status);color:var(--crm-muted);background:var(--crm-canvas);font-size:var(--crm-type-label);font-style:normal;font-weight:700}.sales-task-reason em.danger{color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.sales-task-reason em.warning{color:var(--crm-quote-tone-1);background:var(--crm-quote-tone-2)}.sales-task-list time{display:grid;gap:1px;color:var(--crm-ink);font-variant-numeric:tabular-nums}.sales-task-list time b{font-size:var(--crm-type-meta)}.sales-task-list time small{color:var(--crm-muted);font-size:var(--crm-type-label)}.sales-task-open{min-height:30px;display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;color:var(--crm-brand-hover);font-size:var(--crm-type-meta);font-weight:700}.sales-task-open svg{width:13px;height:13px;transition:transform var(--crm-motion-fast) var(--crm-ease-standard)}.sales-task-list>button:hover .sales-task-open svg{transform:translate(2px)}@media(max-width:1040px){.sales-task-columns,.sales-task-list>button{grid-template-columns:34px minmax(180px,.9fr) minmax(240px,1.3fr) 108px 42px;gap:9px}.sales-task-open{font-size:0}}@media(max-width:720px){.sales-task-columns{display:none}.sales-task-list>button{grid-template-columns:32px minmax(0,1fr) 38px;gap:9px;padding:10px 12px}.sales-task-customer,.sales-task-reason{grid-column:2}.sales-task-list time{grid-column:2;display:flex;gap:5px}.sales-task-open{grid-column:3;grid-row:1 / span 3;justify-content:center}}@media(max-width:560px){.quote-calculator-section{padding:13px}.door-configuration-grid,.quote-addon-options,.quote-glass-entry,.quote-adjustments-grid{grid-template-columns:1fr}.door-configuration-grid>button{min-height:112px;grid-template-columns:58px minmax(0,1fr) auto;grid-template-rows:auto;justify-items:start;text-align:left}.door-configuration-grid>button>span,.door-configuration-grid>button em{align-self:center}.quote-addon-option{grid-template-columns:1fr}.quote-option-quantity{grid-template-columns:minmax(0,1fr) 60px;align-items:center;border-top:1px solid color-mix(in srgb,var(--crm-brand) 22%,var(--crm-line));border-left:0}.quote-option-quantity input{width:60px}}.talk-scripts-page{max-width:1440px;margin-inline:auto}.talk-scripts-heading{align-items:flex-end;margin-bottom:var(--crm-space-5)}.talk-scripts-heading h1{margin:4px 0 6px;color:var(--crm-ink);font-size:var(--crm-type-screen);letter-spacing:-.025em}.talk-scripts-heading p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-body)}.talk-scripts-heading .primary,.talk-scripts-detail-actions button,.talk-scripts-detail-empty button{display:inline-flex;align-items:center;justify-content:center;gap:var(--crm-space-2)}.talk-scripts-heading .primary svg,.talk-scripts-detail-actions svg,.talk-scripts-detail-empty svg{width:15px;height:15px}.talk-scripts-category-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);margin-bottom:var(--crm-space-3);padding:8px 0;color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.talk-scripts-category-bar>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.talk-scripts-category-bar button{min-height:30px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font:inherit;font-weight:650;cursor:pointer}.talk-scripts-category-bar button:hover,.talk-scripts-category-bar button.active{color:var(--crm-brand-hover);border-color:var(--crm-brand);background:var(--crm-brand-soft)}.talk-scripts-category-bar button:focus-visible{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.talk-scripts-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-3);margin-bottom:var(--crm-space-4);padding:6px 12px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.talk-scripts-toolbar>span{flex:0 0 auto;color:var(--crm-subtle);font-size:var(--crm-type-meta)}.talk-scripts-search{min-width:0;display:flex;align-items:center;gap:var(--crm-space-2);color:var(--crm-subtle)}.talk-scripts-search svg{width:16px;height:16px}.talk-scripts-search input{width:min(520px,100%);border:0;outline:0;color:var(--crm-ink);background:transparent;font:inherit;font-size:var(--crm-type-control)}.talk-scripts-layout{min-height:0;display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:stretch;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench)}.talk-scripts-list{position:static;inset:auto;width:auto;height:auto;min-width:0;padding:0;display:block;overflow-y:auto;border-right:1px solid var(--crm-line);color:var(--crm-ink);background:var(--crm-surface-subtle)}.talk-script-list-item{width:100%;display:grid;gap:5px;padding:14px 16px;border:0;border-bottom:1px solid var(--crm-line-soft);border-left:2px solid transparent;color:var(--crm-ink);background:transparent;text-align:left;cursor:pointer}.talk-script-list-item:hover{background:var(--crm-brand-soft)}.talk-script-list-item.active{border-left-color:var(--crm-brand);background:var(--crm-brand-soft)}.talk-script-list-item:focus-visible{position:relative;z-index:1;outline:3px solid var(--crm-focus);outline-offset:-3px}.talk-script-list-category,.talk-script-detail-category{color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:700}.talk-script-list-item b{overflow:hidden;font-size:var(--crm-type-control);text-overflow:ellipsis;white-space:nowrap}.talk-script-list-item small{overflow:hidden;color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.talk-scripts-list-empty{min-height:340px;display:grid;place-items:center;align-content:center;gap:8px;padding:24px;color:var(--crm-muted);text-align:center}.talk-scripts-list-empty svg,.talk-scripts-detail-empty svg{width:30px;height:30px;color:var(--crm-brand)}.talk-scripts-list-empty b,.talk-scripts-detail-empty b{color:var(--crm-ink);font-size:var(--crm-type-body)}.talk-scripts-list-empty span,.talk-scripts-detail-empty span{max-width:32ch;font-size:var(--crm-type-control);line-height:1.5}.talk-scripts-detail{min-width:0;min-height:280px;display:flex;flex-direction:column;background:var(--crm-surface)}.talk-scripts-detail>header{position:static;inset:auto;width:auto;height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--crm-space-4);padding:18px 20px;border-bottom:1px solid var(--crm-line-soft);color:var(--crm-ink);background:var(--crm-surface)}.talk-script-detail-identity{min-width:0}.talk-scripts-detail h2{margin:5px 0 6px;color:var(--crm-ink);font-size:var(--crm-type-workspace);line-height:1.3;overflow-wrap:anywhere}.talk-script-detail-meta{display:inline-flex;align-items:center;gap:5px;color:var(--crm-subtle);font-size:var(--crm-type-label)}.talk-script-detail-meta svg{width:13px;height:13px}.talk-scripts-detail-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.talk-scripts-detail-actions .secondary,.talk-scripts-detail-actions .ghost{min-height:32px;padding:0 10px;font-size:var(--crm-type-control)}.talk-script-detail-body{min-width:0;display:grid;align-content:start;gap:var(--crm-space-4);padding:18px 20px 20px}.talk-script-content-section{min-width:0;display:grid;gap:var(--crm-space-2)}.talk-script-section-label{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.talk-script-content{min-width:0;max-width:78ch;padding:12px 0;border-top:1px solid var(--crm-line-soft);border-bottom:1px solid var(--crm-line-soft);color:var(--crm-ink);white-space:pre-wrap;font-size:var(--crm-type-section);line-height:1.7;overflow-wrap:anywhere}.talk-script-notes{display:flex;align-items:flex-start;gap:10px;margin:0;padding:13px 14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface-subtle)}.talk-script-notes>svg{flex:0 0 auto;width:16px;height:16px;color:var(--crm-brand)}.talk-script-notes b{color:var(--crm-ink);font-size:var(--crm-type-control)}.talk-script-notes p{margin:4px 0 0;font-size:var(--crm-type-control);line-height:1.5;overflow-wrap:anywhere}.talk-scripts-detail-empty{min-height:500px;display:grid;place-items:center;align-content:center;gap:10px;padding:30px;color:var(--crm-muted);text-align:center}.talk-scripts-detail-empty button{margin-top:8px}.talk-scripts-message,.talk-scripts-error{margin-bottom:var(--crm-space-4);padding:10px 12px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font-size:var(--crm-type-control)}.talk-scripts-message{color:var(--crm-success);border-color:color-mix(in srgb,var(--crm-success) 24%,var(--crm-line));background:color-mix(in srgb,var(--crm-success) 9%,var(--crm-surface))}.talk-scripts-error{color:var(--crm-danger);border-color:color-mix(in srgb,var(--crm-danger) 24%,var(--crm-line));background:color-mix(in srgb,var(--crm-danger) 8%,var(--crm-surface))}.talk-script-editor{width:min(680px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));overflow-y:auto;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:0 24px 70px #12151a40}.talk-script-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--crm-space-4);padding:22px 24px;border-bottom:1px solid var(--crm-line-soft)}.talk-script-editor>header h2{margin:4px 0;color:var(--crm-ink);font-size:var(--crm-type-workspace)}.talk-script-editor>header p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-control)}.talk-script-editor>header>button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface)}.talk-script-editor-fields{display:grid;gap:14px;padding:22px 24px}.talk-script-editor-fields label{display:grid;gap:6px}.talk-script-editor-fields label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.talk-script-editor-fields input,.talk-script-editor-fields select,.talk-script-editor-fields textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-control)}.talk-script-editor-fields textarea{resize:vertical;line-height:1.55}.talk-script-editor-fields input:focus,.talk-script-editor-fields select:focus,.talk-script-editor-fields textarea:focus{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.talk-script-editor>.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px 20px;border-top:1px solid var(--crm-line-soft)}.content:not(.mail-center-page){max-width:var(--crm-shell-content-max);margin-inline:auto}.mail-center-page{max-width:none;margin-inline:0}.status-category-grid{scrollbar-width:none}.status-category-grid::-webkit-scrollbar{display:none}.tips>.tips-format{display:inline-flex;flex-direction:row;align-items:center;gap:6px;color:var(--crm-muted);font-size:var(--crm-type-control);font-weight:650;white-space:nowrap}.tips>.tips-format svg{width:14px;height:14px;color:var(--crm-success)}.lead-status-title b,.mail-job-head{font-size:var(--crm-type-label)}.crm-master-detail .customer-tools{flex-wrap:wrap}.crm-master-detail .customer-tools>.searchbox{min-width:min(100%,320px);flex:1 1 320px}.crm-master-detail .customer-tools>:is(.filter-select,.customer-view-toggle,.assign-box,.bulk-status-box,.bulk-email){flex:0 1 auto;max-width:100%}.customers-page:not(.customer-detail-page) .customer-card>.tablewrap{max-height:none;overflow:visible}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):first-child{text-align:center}.mail-desk,.mail-thread-panel,.mail-reader-slot,.mail-utility-slot,.mail-reader{min-width:0}.talk-scripts-layout{min-height:0}.talk-scripts-list-empty{min-height:260px}.talk-scripts-detail-empty{min-height:320px}@media(min-width:721px)and (max-width:1180px){.mail-desk{grid-template-columns:56px minmax(230px,.82fr) minmax(0,1.18fr);overflow:hidden}.mail-utility-slot{min-width:0;overflow:auto}}@media(max-width:720px){.content:not(.mail-center-page){max-width:none}.status-category{min-height:44px;height:44px}.searchbox,.mail-folders>button,.mail-thread-tools>div,.mail-link-customer>div:nth-child(2),.mail-reader-head button,.mail-utility-panel header button,.reply-actions label,.reply-actions button,.customer-view-toggle button{min-height:44px}.mail-thread-tools>div,.mail-link-customer>div:nth-child(2),.reply-actions label,.reply-actions button,.customer-view-toggle button{height:44px}.customers-page:not(.customer-detail-page) .customer-card>.tablewrap{overflow-x:auto;overflow-y:hidden}}@media(max-width:760px){.talk-scripts-category-bar{align-items:flex-start;flex-direction:column;gap:8px}.talk-scripts-category-bar>div{justify-content:flex-start}.talk-scripts-layout{grid-template-columns:1fr}.talk-scripts-list{max-height:290px;border-right:0;border-bottom:1px solid var(--crm-line)}.talk-scripts-detail>header{flex-direction:column;grid-template-columns:1fr}.talk-scripts-detail-actions{justify-content:flex-start}.talk-scripts-heading{align-items:flex-start;flex-direction:column;gap:12px}.talk-scripts-heading .primary{width:100%}}@media(min-width:761px)and (max-width:1040px){.talk-scripts-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr)}.talk-scripts-detail>header{grid-template-columns:1fr}.talk-scripts-detail-actions{justify-content:flex-start}}@media(max-width:560px){.talk-script-detail-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.talk-script-detail-actions .secondary{grid-column:1 / -1}.talk-script-detail-body,.talk-scripts-detail>header{padding-inline:16px}}.app-sidebar nav>button svg,.dropzone .upload-icon,.dropzone .upload-icon svg,.quote-library-image img,.mail-folders>button svg,.mail-thread-list>button .thread-avatar{transition:color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),border-color var(--crm-motion-fast) var(--crm-ease-standard),transform var(--crm-motion-normal) var(--crm-ease-out)}.status-category,.customer-view-toggle button,.talk-scripts-category-bar button,.talk-script-list-item,.mail-folders>button,.mail-thread-list>button,.kanban-lead-card{transition:color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),border-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-normal) var(--crm-ease-out),transform var(--crm-motion-instant) var(--crm-ease-out),opacity var(--crm-motion-fast) var(--crm-ease-standard)}.crm-master-detail .customer-table tbody tr{transition:background-color var(--crm-motion-instant) var(--crm-ease-standard),box-shadow var(--crm-motion-instant) var(--crm-ease-standard)}.crm-master-detail .customer-table tbody tr:hover{background:color-mix(in srgb,var(--crm-brand-soft) 62%,var(--crm-surface))}.crm-master-detail .customer-table tbody tr:active{background:var(--crm-brand-soft)}.crm-master-detail .customer-table tbody tr:focus-visible{position:relative;z-index:2;outline:2px solid var(--crm-focus);outline-offset:-2px;background:var(--crm-brand-soft)}.lead-status-track i{transition:background-color var(--crm-motion-normal) var(--crm-ease-standard),transform var(--crm-motion-normal) var(--crm-ease-out)}.lead-status-track{grid-template-columns:repeat(7,minmax(0,1fr))}:is(.searchbox,.filter-select,.assign-box,.bulk-status-box,.mail-thread-tools>div,.mail-link-customer>div:nth-child(2)){transition:border-color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-out)}:is(.searchbox,.filter-select,.assign-box,.bulk-status-box,.mail-thread-tools>div,.mail-link-customer>div:nth-child(2)):focus-within{border-color:var(--crm-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--crm-brand) 14%,transparent)}.status-category.active{box-shadow:inset 0 -2px var(--crm-brand)}.quote-library-card:hover{transform:none}@media(hover:hover)and (pointer:fine){.app-sidebar nav>button:hover:not(:disabled) svg{transform:translate(1px)}.dropzone:hover .upload-icon,.dropzone.dragging .upload-icon{transform:translateY(-2px)}.dropzone:hover .upload-icon svg,.dropzone.dragging .upload-icon svg{transform:translateY(-1px)}.quote-library-card:hover .quote-library-image img{transform:none}.mail-folders>button:hover svg{transform:translate(1px)}}.dropzone:active .upload-icon{transform:translateY(0) scale(.97)}.kanban-lead-card:active{transform:scale(.992)}@keyframes crm-feedback-enter{0%{opacity:.01;filter:blur(2px);transform:translateY(-4px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}@keyframes crm-overlay-enter{0%{background-color:transparent}}@keyframes crm-dialog-enter{0%{opacity:.01;filter:blur(2px);transform:translateY(8px) scale(.985)}to{opacity:1;filter:blur(0);transform:translateY(0) scale(1)}}:is(.notice,.error,.manual-error,.send-result,.quote-library-message,.quote-library-editor-error,.talk-scripts-message,.talk-scripts-error,.mail-message-error,.import-rollback-message){animation:crm-feedback-enter var(--crm-motion-normal) var(--crm-ease-out) both}.modal-backdrop{animation:crm-overlay-enter var(--crm-motion-fast) var(--crm-ease-standard) both}.modal-backdrop>:where(section,form,div){transform-origin:center top;animation:crm-dialog-enter var(--crm-motion-overlay) var(--crm-ease-out) both}.confirm-backdrop{z-index:1200;display:grid;place-items:center;padding:var(--crm-space-4)}.confirm-dialog{display:grid;grid-template-columns:42px minmax(0,1fr);gap:var(--crm-space-3);width:min(440px,100%);padding:var(--crm-space-5);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench)}.confirm-dialog-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--crm-radius-status);color:var(--crm-brand);background:var(--crm-brand-soft)}.confirm-dialog-icon svg{width:19px;height:19px}.confirm-dialog-copy{min-width:0}.confirm-dialog-copy h2{margin:1px 0 var(--crm-space-2);color:var(--crm-ink);font-size:var(--crm-type-section);line-height:1.35}.confirm-dialog-copy p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-body);line-height:1.65;overflow-wrap:anywhere}.confirm-dialog-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:var(--crm-space-2);padding-top:var(--crm-space-2)}.confirm-dialog .danger-action{background:var(--crm-danger);border-color:var(--crm-danger);box-shadow:none}.feedback-message{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:var(--crm-space-2);min-height:40px;padding:9px var(--crm-space-3);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font-size:var(--crm-type-control);line-height:1.45;animation:crm-feedback-enter var(--crm-motion-normal) var(--crm-ease-out) both}.feedback-message>svg{width:17px;height:17px;color:var(--crm-muted)}.feedback-message>div{display:flex;min-width:0;flex-wrap:wrap;align-items:baseline;gap:3px var(--crm-space-2);overflow-wrap:anywhere}.feedback-message>div>span{color:var(--crm-muted)}.feedback-message.tone-success{color:var(--crm-success);border-color:color-mix(in srgb,var(--crm-success) 28%,var(--crm-line));background:color-mix(in srgb,var(--crm-success) 7%,var(--crm-surface))}.feedback-message.tone-success>svg,.feedback-message.tone-success>div>b{color:var(--crm-success)}.feedback-message.tone-error,.feedback-message.tone-offline{color:var(--crm-danger);border-color:color-mix(in srgb,var(--crm-danger) 28%,var(--crm-line));background:color-mix(in srgb,var(--crm-danger) 6%,var(--crm-surface))}.feedback-message.tone-error>svg,.feedback-message.tone-offline>svg,.feedback-message.tone-error>div>b,.feedback-message.tone-offline>div>b{color:var(--crm-danger)}.feedback-retry,.feedback-dismiss{display:inline-flex;align-items:center;justify-content:center;gap:var(--crm-space-1);min-height:28px;padding:0 var(--crm-space-2);border:1px solid currentColor;border-radius:var(--crm-radius-control);color:inherit;background:transparent;font-size:var(--crm-type-label);font-weight:700}.feedback-retry svg,.feedback-dismiss svg{width:13px;height:13px}.feedback-dismiss{width:28px;padding:0;border-color:transparent}.loading-state{display:flex;align-items:center;justify-content:center;gap:var(--crm-space-2);min-height:160px;color:var(--crm-muted);font-size:var(--crm-type-body)}.loading-state.compact{min-height:56px}.loading-state svg{width:18px;height:18px;color:var(--crm-brand);animation:crm-loader-spin .8s linear infinite}.network-status-banner{position:fixed;z-index:1300;top:var(--crm-space-3);left:50%;width:min(560px,calc(100vw - 24px));transform:translate(-50%);filter:drop-shadow(var(--crm-shadow-workbench))}[aria-busy=true]{cursor:wait!important}button[aria-busy=true]{opacity:.78}@keyframes crm-loader-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){:is(.notice,.error,.manual-error,.send-result,.quote-library-message,.quote-library-editor-error,.talk-scripts-message,.talk-scripts-error,.mail-message-error,.import-rollback-message,.feedback-message,.modal-backdrop,.modal-backdrop>section,.modal-backdrop>form,.modal-backdrop>div){animation:none!important;filter:none!important}.loading-state svg{animation:none!important}}@media(max-width:560px){.confirm-dialog{grid-template-columns:36px minmax(0,1fr);padding:var(--crm-space-4)}.confirm-dialog-icon{width:36px;height:36px}.feedback-message{grid-template-columns:18px minmax(0,1fr) auto}.feedback-retry{grid-column:2;justify-self:start}}.backup-management-card{margin-top:var(--crm-space-3);overflow:hidden;border-radius:var(--crm-radius-surface)}.backup-management-card>header{min-height:68px;padding:var(--crm-space-4) var(--crm-space-5);display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);border-bottom:1px solid var(--crm-line)}.backup-management-card>header>div{min-width:0;display:flex;align-items:center;gap:var(--crm-space-3)}.backup-management-card>header>div>svg{width:34px;height:34px;padding:8px;flex:0 0 34px;border:1px solid color-mix(in srgb,var(--crm-brand) 34%,var(--crm-line));border-radius:var(--crm-radius-control);color:var(--crm-brand);background:var(--crm-brand-soft)}.backup-management-card h2,.backup-management-card p{margin:0}.backup-management-card h2{color:var(--crm-ink);font-size:var(--crm-type-section)}.backup-management-card header p{max-width:74ch;margin-top:3px;color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.5}.backup-management-card>header>span{padding:5px 9px;border:1px solid var(--crm-line);border-radius:999px;color:var(--crm-muted);background:var(--crm-subtle);font-size:var(--crm-type-label);font-weight:700;white-space:nowrap}.backup-management-card>header>span.is-ready{border-color:color-mix(in srgb,var(--crm-success) 38%,var(--crm-line));color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 8%,var(--crm-surface))}.backup-management-card>header>span.needs-attention{border-color:color-mix(in srgb,var(--crm-warning) 40%,var(--crm-line));color:var(--crm-warning);background:color-mix(in srgb,var(--crm-warning) 8%,var(--crm-surface))}.backup-management-card>.feedback-message{margin:var(--crm-space-3) var(--crm-space-5) 0}.backup-management-body{padding:0 var(--crm-space-5) var(--crm-space-4)}.backup-overview{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-5);border-bottom:1px solid var(--crm-line)}.backup-overview>div{min-width:0;display:grid;gap:3px}.backup-overview span,.backup-overview small,.backup-history small,.backup-history span{color:var(--crm-muted);font-size:var(--crm-type-meta)}.backup-overview b{color:var(--crm-ink);font-size:var(--crm-type-section)}.backup-overview button,.backup-history :is(button,a){min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;white-space:nowrap}.backup-overview button svg,.backup-history :is(button,a) svg{width:15px;height:15px}.backup-history article{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);border-bottom:1px solid var(--crm-line)}.backup-history article>div:first-child{min-width:0;display:grid;grid-template-columns:minmax(82px,auto) minmax(190px,1fr) auto;align-items:center;gap:var(--crm-space-4)}.backup-history article>div:last-child{display:flex;gap:var(--crm-space-2)}.backup-history b{color:var(--crm-ink);font-size:var(--crm-type-body)}.backup-history span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backup-empty{min-height:92px;display:flex;align-items:center;gap:var(--crm-space-3);color:var(--crm-muted)}.backup-empty>svg{width:30px;height:30px;padding:6px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control)}.backup-empty>div{display:grid;gap:3px}.backup-empty b{color:var(--crm-ink);font-size:var(--crm-type-body)}.backup-empty span,.backup-safety-note{color:var(--crm-muted);font-size:var(--crm-type-meta)}.backup-safety-note{padding-top:var(--crm-space-3);line-height:1.55}@media(max-width:840px){.backup-management-card>header,.backup-overview,.backup-history article{align-items:flex-start;flex-direction:column}.backup-management-card>header,.backup-overview,.backup-history article{padding-block:var(--crm-space-4)}.backup-history article>div:first-child{width:100%;grid-template-columns:1fr;gap:3px}.backup-history article>div:last-child{width:100%}.backup-history article>div:last-child>*{flex:1}}.customers-page:not(.customer-detail-page){width:100%;min-height:calc(100dvh - var(--crm-topbar-height, 54px));padding:12px 18px 8px;overflow:hidden}.customers-page:not(.customer-detail-page) .title-row{min-height:44px;margin:0 0 8px;align-items:center}.customers-page:not(.customer-detail-page) .title-row h1{margin:0;font-size:var(--crm-type-screen, 25px);line-height:1.16;letter-spacing:-.025em}.customers-page:not(.customer-detail-page) .title-row p{margin-top:4px;font-size:11px;line-height:1.35}.customers-page:not(.customer-detail-page) .title-actions{gap:6px}.customers-page:not(.customer-detail-page) .title-actions>button{min-height:34px;height:34px;padding-inline:11px;border-radius:var(--crm-radius-control);font-size:11px}.customer-status-workbench{min-width:0;margin-bottom:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:5px 7px;border:1px solid var(--crm-line);border-radius:10px;background:var(--crm-surface);box-shadow:0 1px 2px color-mix(in srgb,var(--crm-ink) 4%,transparent)}.customer-status-workbench .status-category-group{min-width:0;display:flex;flex-direction:row;align-items:center;align-content:center;gap:2px}.status-group-label{min-width:max-content;margin-right:3px;padding:0 8px 0 3px;border-right:1px solid var(--crm-line);color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:800;line-height:24px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.customer-status-workbench .status-category{width:auto;min-width:0;height:29px;min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:0 7px;border:1px solid transparent;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent;box-shadow:none;transform:none;white-space:nowrap}.customer-status-workbench .status-category:hover{border-color:transparent;border-bottom-color:var(--crm-brand);color:var(--crm-brand-hover);background:transparent;box-shadow:none;transform:none}.customer-status-workbench .status-category.active{border-color:transparent;border-bottom-color:var(--crm-brand);color:var(--crm-brand-hover);background:transparent;box-shadow:inset 0 -2px var(--crm-brand)}.customer-status-workbench .status-category span{display:block;overflow:visible;color:currentColor;font-size:var(--crm-type-table-label);font-weight:720;line-height:1;text-overflow:clip}.customer-status-workbench .status-category b,.customer-status-workbench .status-category.active b{min-width:17px;height:17px;margin:0;padding:0 4px;display:inline-grid;place-items:center;border:0;border-radius:var(--crm-radius-status);color:inherit;background:transparent;font-size:var(--crm-type-table-meta);font-variant-numeric:tabular-nums;line-height:1}.customer-status-workbench .status-category.active b{color:inherit;background:transparent}.customers-page:not(.customer-detail-page) .crm-master-detail{min-width:0;display:block}.customers-page:not(.customer-detail-page) .customer-card{min-width:0;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);box-shadow:0 4px 16px color-mix(in srgb,var(--crm-ink) 5%,transparent)}.customers-page:not(.customer-detail-page) .customer-tools{min-height:45px;padding:5px 7px;display:grid;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:6px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.customers-page:not(.customer-detail-page) .customer-tools>.searchbox{min-width:0;width:100%;height:34px;flex:none;border-radius:var(--crm-radius-control);background:var(--crm-surface)}.customers-page:not(.customer-detail-page) .customer-tools .searchbox button{min-width:58px;padding-inline:13px;color:var(--crm-ink);background:var(--crm-canvas);font-size:10px}.customers-page:not(.customer-detail-page) .customer-tools .searchbox button:hover{color:var(--crm-surface);background:var(--crm-brand)}.customers-page:not(.customer-detail-page) .customer-filter-cluster{min-width:0;display:flex;align-items:center;gap:5px}.customers-page:not(.customer-detail-page) .customer-filter-cluster .filter-select{height:34px;border-radius:var(--crm-radius-control);background:var(--crm-surface)}.customers-page:not(.customer-detail-page) .customer-filter-cluster .filter-select select{max-width:132px;padding-left:5px;font-size:10px}.customers-page:not(.customer-detail-page) .customer-filter-cluster .sort-filter select{max-width:102px}.customers-page:not(.customer-detail-page) .customer-view-toggle{height:34px;padding:2px;display:inline-flex;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.customers-page:not(.customer-detail-page) .customer-view-toggle button{min-height:28px;height:28px;padding-inline:9px;border:0;border-radius:6px;font-size:10px}.customers-page:not(.customer-detail-page) .customer-selection-bar{min-width:0;min-height:43px;padding:5px 7px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid color-mix(in srgb,var(--crm-brand) 20%,var(--crm-line));background:color-mix(in srgb,var(--crm-brand-soft) 68%,var(--crm-surface))}.customer-selection-bar .selection-summary,.customer-selection-bar .selection-summary>span,.customer-selection-bar .selection-actions{min-width:0;display:flex;align-items:center}.customer-selection-bar .selection-summary{gap:8px}.customer-selection-bar .selection-summary>span{gap:6px;color:var(--crm-brand-dark, var(--crm-brand));white-space:nowrap}.customer-selection-bar .selection-summary svg{width:15px;height:15px}.customer-selection-bar .selection-summary b{font-size:10.5px}.customer-selection-bar .selection-summary button{min-height:28px;display:inline-flex;align-items:center;gap:3px;padding:0 6px;border:0;color:var(--crm-muted);background:transparent;font-size:var(--crm-type-table-meta)}.customer-selection-bar .selection-actions{justify-content:flex-end;gap:5px}.customer-selection-bar :is(.bulk-status-box,.assign-box){height:32px;border-radius:var(--crm-radius-control);background:var(--crm-surface)}.customer-selection-bar :is(.bulk-status-box,.assign-box) select{max-width:128px;font-size:10px}.customer-selection-bar .bulk-visit-type{max-width:80px;border-left:1px solid var(--crm-line);font-size:10px}.customer-selection-bar .bulk-visit-time{max-width:150px;border-left:1px solid var(--crm-line);font-size:10px;padding:0 6px}.customer-selection-bar :is(.bulk-status-box,.assign-box) button,.customer-selection-bar .bulk-email{height:32px;min-height:32px;padding-inline:10px;font-size:10px;white-space:nowrap}.customers-page:not(.customer-detail-page) .customer-card>.tablewrap{position:relative;width:100%;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-color:color-mix(in srgb,var(--crm-muted) 44%,transparent) transparent;scrollbar-width:thin}.customers-page:not(.customer-detail-page) .customer-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:var(--crm-type-table);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}.customer-table .col-select{width:3%}.customers-page:not(.customer-detail-page) .customer-table :is(th,td){min-width:0}.customers-page:not(.customer-detail-page) .lead-status-progress{width:100%;min-width:0}.customers-page:not(.customer-detail-page) .lead-status-track{display:flex;grid-template-columns:none}.customers-page:not(.customer-detail-page) .lead-status-track i{flex:1 1 0;min-width:0}.customer-table .col-customer,.customer-table .col-contact{width:16.5%}.customer-table .col-needs{width:14%}.customer-table .col-source{width:9%}.customer-table .col-status{width:13%}.customer-table .col-quote{width:8.5%}.customer-table .col-followed{width:12%}.customer-table .col-owner{width:7.5%}.customers-page:not(.customer-detail-page) .customer-quote-column{text-align:right}.customers-page:not(.customer-detail-page) .customer-quote-cell{color:var(--crm-ink);font-weight:650;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customers-page:not(.customer-detail-page) .customer-quote-cell .quote-empty{color:var(--crm-muted);font-weight:400}@media(max-width:719px){.customers-page .customer-mobile-list>article>button{display:grid;height:auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 16px;grid-template-areas:"id id arrow" "status meta arrow";gap:4px 8px;padding:9px 4px}.customers-page .customer-mobile-list>article{grid-template-rows:auto auto}.customers-page .customer-mobile-list>article>input{grid-column:1;grid-row:1 / span 2;align-self:center;margin:0}.customers-page .customer-mobile-list>article>button{grid-column:2;grid-row:1}.customers-page .customer-mobile-list>article>.contact-actions{grid-column:2;grid-row:2}.customers-page .mobile-lead-identity{grid-area:id}.customers-page .mobile-lead-status{grid-area:status}.customers-page .mobile-lead-meta{grid-area:meta;display:grid}.customers-page .customer-mobile-list>article>button>svg{grid-area:arrow;align-self:center}.customers-page .mobile-lead-status>i{top:5px}.customers-page .customer-mobile-list :is(.mobile-lead-identity,.mobile-lead-status,.mobile-lead-meta) :is(b,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.customers-page:not(.customer-detail-page) .mobile-lead-meta>b{font-variant-numeric:tabular-nums}.quote-margin-guard{display:grid;gap:4px;margin:10px 14px 0;padding:10px 12px 12px;border:1px solid var(--crm-on-graphite-line);border-radius:var(--crm-radius-control);background:color-mix(in srgb,var(--crm-on-graphite) 5%,transparent);font-size:var(--crm-type-body)}.quote-margin-guard>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.quote-margin-guard span{color:var(--crm-on-graphite-muted)}.quote-margin-guard b{color:var(--crm-on-graphite);font-variant-numeric:tabular-nums}.quote-margin-guard small{color:var(--crm-on-graphite-subtle);font-size:var(--crm-type-meta)}.quote-margin-guard-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}.quote-internal-badge{padding:1px 7px;border:1px solid color-mix(in srgb,var(--crm-warning) 55%,var(--crm-on-graphite-line));border-radius:999px;background:color-mix(in srgb,var(--crm-warning) 18%,var(--crm-graphite));color:color-mix(in srgb,var(--crm-warning) 35%,var(--crm-on-graphite));font-size:11px;font-weight:700;letter-spacing:.02em}.quote-margin-guard-head small{font-size:11px}.quote-margin-guard b.is-profit{color:color-mix(in srgb,var(--crm-success) 45%,var(--crm-on-graphite))}.quote-margin-guard b.is-loss{color:color-mix(in srgb,var(--crm-danger) 45%,var(--crm-on-graphite))}.quote-margin-warning{margin:4px 0 0;padding:8px 10px;border-left:3px solid color-mix(in srgb,var(--crm-danger) 60%,var(--crm-on-graphite));background:color-mix(in srgb,var(--crm-danger) 22%,var(--crm-graphite));color:color-mix(in srgb,var(--crm-danger) 30%,var(--crm-on-graphite));font-size:var(--crm-type-meta);line-height:1.5}@media(max-width:620px){.customers-page .reference-customer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customers-page .reference-summary-item{min-height:46px;padding:7px 8px}.customers-page .reference-summary-progress{grid-column:1 / -1}}.customers-page:not(.customer-detail-page) .customer-table thead{position:static}.customers-page:not(.customer-detail-page) .customer-table th{width:auto;min-width:0;height:36px;padding:5px 6px;overflow:hidden;border-bottom:1px solid var(--crm-line);color:var(--crm-muted);background:var(--crm-canvas);font-size:var(--crm-type-table-label);font-weight:760;line-height:1.15;text-align:left;text-overflow:ellipsis;white-space:nowrap}.customers-page:not(.customer-detail-page) .customer-table td{width:auto;min-width:0;height:54px;max-height:54px;padding:5px 6px;overflow:hidden;border-bottom:1px solid var(--crm-line-soft);color:var(--crm-ink);line-height:1.25;text-align:left;text-overflow:ellipsis;vertical-align:middle}.customers-page:not(.customer-detail-page) .customer-table tbody tr:last-child td{border-bottom:0}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):first-child,.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(2),.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(3){position:sticky}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):first-child{left:0}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(2){left:36px}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(3){left:78px;box-shadow:8px 0 12px -12px color-mix(in srgb,var(--crm-ink) 42%,transparent)}.customers-page:not(.customer-detail-page) .customer-table th:nth-child(-n+3){z-index:5;background:var(--crm-canvas)}.customers-page:not(.customer-detail-page) .customer-table td:nth-child(-n+3){z-index:3;background:var(--crm-surface)}.customers-page:not(.customer-detail-page) .customer-table tbody tr:hover td:nth-child(-n+3){background:color-mix(in srgb,var(--crm-brand-soft) 62%,var(--crm-surface))}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(8),.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(9),.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(10),.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(11){min-width:0}.customers-page:not(.customer-detail-page) .customer-table :is(th,td):first-child,.customers-page:not(.customer-detail-page) .customer-table :is(th,td):nth-child(2){padding-inline:3px;text-align:center}.customers-page:not(.customer-detail-page) .customer-checkbox-hit{width:36px;height:36px;margin:auto;display:grid;place-items:center;cursor:pointer}.customers-page:not(.customer-detail-page) .customer-table input[type=checkbox]{width:14px;height:14px;margin:0;cursor:pointer}.sales-task-filters{padding:0 12px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:0;border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.sales-task-filters>button{width:auto;min-width:112px;height:38px;flex:0 0 auto;padding-inline:12px;border-right:1px solid var(--crm-line-soft);color:var(--crm-muted);background:transparent;font-size:var(--crm-type-meta);font-weight:700}.sales-task-filters>button.active{color:var(--crm-ink);background:transparent;box-shadow:inset 0 -2px var(--crm-brand)}.sales-task-more-filter{position:relative;min-width:132px;height:38px;margin-left:auto;padding:0 10px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;color:var(--crm-muted);border-left:1px solid var(--crm-line-soft);background:var(--crm-surface);font-size:var(--crm-type-meta);font-weight:700}.sales-task-more-filter.active{color:var(--crm-brand-hover);box-shadow:inset 0 -2px var(--crm-brand)}.sales-task-more-filter select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.sales-task-more-filter svg{width:14px;height:14px;pointer-events:none}@media(max-width:760px){.sales-task-filters{padding-inline:0;overflow-x:auto}.sales-task-filters>button{min-width:102px}.sales-task-more-filter{position:sticky;right:0;flex:0 0 126px;box-shadow:-8px 0 12px -12px color-mix(in srgb,var(--crm-ink) 42%,transparent)}}.customers-page:not(.customer-detail-page) .customer-name{min-width:0;gap:7px}.customers-page:not(.customer-detail-page) .customer-name-copy{width:25px;height:25px;flex:0 0 25px;padding:0;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--crm-brand) 34%,var(--crm-line));border-radius:50%;color:var(--crm-brand-hover);background:var(--crm-surface);cursor:pointer;transition:color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),border-color var(--crm-motion-fast) var(--crm-ease-standard),transform var(--crm-motion-instant) var(--crm-ease-out)}.customers-page:not(.customer-detail-page) .customer-name-copy svg{width:12px;height:12px;stroke-width:2}.customers-page:not(.customer-detail-page) .customer-name-copy:hover{border-color:var(--crm-brand);background:var(--crm-brand-soft)}.customers-page:not(.customer-detail-page) .customer-name-copy:active{transform:scale(.92)}.customers-page:not(.customer-detail-page) .customer-name-copy:focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px}.customers-page:not(.customer-detail-page) .customer-name-copy.is-copied{border-color:color-mix(in srgb,var(--crm-success) 58%,var(--crm-line));color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 8%,var(--crm-surface))}.customers-page:not(.customer-detail-page) .customer-name-copy:disabled{border-color:var(--crm-line);color:var(--crm-disabled-ink);background:var(--crm-disabled);cursor:not-allowed}.customers-page:not(.customer-detail-page) :is(.customer-name>div,.contact){min-width:0}.customers-page:not(.customer-detail-page) :is(.customer-name b,.contact b){display:block;overflow:hidden;color:var(--crm-ink);font-size:var(--crm-type-table);font-weight:700;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.customers-page:not(.customer-detail-page) :is(.customer-name small,.contact small){display:block;margin-top:2px;overflow:hidden;color:var(--crm-muted);font-size:var(--crm-type-table-meta);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.customer-followup-timing{width:100%;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-variant-numeric:tabular-nums;text-align:left;white-space:nowrap}.customer-followup-timing b,.customer-followup-timing small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-followup-timing b{color:var(--crm-success);font-size:var(--crm-type-label);font-weight:720;line-height:1.1}.customer-followup-timing small{color:var(--crm-muted);font-size:var(--crm-type-label);line-height:1.1}.customer-followup-timing.overdue b{color:var(--crm-brand-hover)}.customer-followup-timing.today b{color:var(--crm-warning)}.customer-followup-timing:is(.unscheduled,.closed) b{color:var(--crm-muted)}.customers-page:not(.customer-detail-page) .customer-owner-cell{overflow:hidden;font-size:var(--crm-type-table-label);text-align:left;text-overflow:ellipsis;white-space:nowrap}.customers-page:not(.customer-detail-page) .lead-status-progress{width:100%;min-width:140px;max-width:none;gap:5px}.customers-page:not(.customer-detail-page) .lead-status-title{gap:0;overflow:visible}.customers-page:not(.customer-detail-page) .lead-status-title>span{width:6px;height:6px;flex-basis:6px;margin-right:5px}.customers-page:not(.customer-detail-page) .lead-status-title b{min-width:0;overflow:visible;flex:1 1 auto;font-size:var(--crm-type-table-label);text-overflow:clip;white-space:nowrap}.customers-page:not(.customer-detail-page) .lead-status-title small{flex:0 0 auto;font-size:var(--crm-type-table-meta)}.customers-page:not(.customer-detail-page) .lead-status-track{height:4px;gap:2px}.customers-page:not(.customer-detail-page) .customer-pagination{min-height:34px;padding:4px 8px;border-top:1px solid var(--crm-line);font-size:var(--crm-type-table-meta)}.customers-page:not(.customer-detail-page) .customer-pagination button{min-height:26px;height:26px;padding-inline:9px;font-size:var(--crm-type-table-meta)}@media(min-width:721px)and (max-width:1460px){.customer-status-workbench{grid-template-columns:1fr}.customer-status-workbench .status-category-group{flex-direction:row;flex-wrap:nowrap}.customers-page:not(.customer-detail-page) .customer-tools{grid-template-columns:minmax(240px,1fr) auto}.customers-page:not(.customer-detail-page) .customer-view-toggle{display:none}}@media(min-width:721px)and (max-width:960px){.customer-status-workbench .status-category-group{flex-wrap:wrap}}@media(min-width:721px)and (max-height:760px){.customers-page:not(.customer-detail-page) .customer-table td{height:50px;max-height:50px;padding-block:4px}}@media(max-width:720px){.customers-page:not(.customer-detail-page){min-height:auto;padding:12px 10px 30px;overflow:visible}.customers-page:not(.customer-detail-page) .title-row{align-items:flex-start}.customer-status-workbench{grid-template-columns:1fr;overflow:visible}.customer-status-workbench .status-category-group{flex-direction:row;flex-wrap:wrap}.status-group-label{width:100%;padding:0 3px;border-right:0;border-bottom:1px solid var(--crm-line)}.customer-status-workbench .status-category{min-height:44px;height:44px}.customers-page:not(.customer-detail-page) .customer-tools{grid-template-columns:1fr}.customers-page:not(.customer-detail-page) .customer-filter-cluster{display:grid;grid-template-columns:1fr 1fr}.customers-page:not(.customer-detail-page) .customer-filter-cluster .filter-select select{width:100%;max-width:none}.customers-page:not(.customer-detail-page) .customer-selection-bar,.customer-selection-bar .selection-actions{align-items:stretch;flex-direction:column}.customer-selection-bar .selection-actions>*{width:100%}}.talk-scripts-page{width:100%;max-width:1580px;height:calc(100dvh - var(--crm-shell-topbar-height));min-height:620px;padding-bottom:14px;display:flex;flex-direction:column;overflow:hidden}.talk-scripts-heading{min-height:76px;flex:0 0 auto;align-items:center;margin:0;padding-block:10px 12px}.talk-scripts-kicker{display:block;margin-bottom:3px;color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:750;letter-spacing:.035em}.talk-scripts-heading h1{margin:0 0 3px;font-size:var(--crm-type-screen);line-height:1.15}.talk-scripts-heading p{margin:0;font-size:var(--crm-type-control);line-height:1.45}.talk-scripts-heading-actions{display:flex;align-items:center;gap:10px}.talk-scripts-heading-actions>span{display:inline-flex;align-items:center;gap:6px;color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:650}.talk-scripts-heading-actions>span svg{width:15px;height:15px;color:var(--crm-brand)}.talk-scripts-heading-actions .primary{min-height:var(--crm-control-height);padding-inline:13px}.talk-scripts-page>.feedback-message{flex:0 0 auto;margin-bottom:8px}.talk-scripts-toolbar{min-height:44px;flex:0 0 auto;margin:0 0 10px;padding:4px 10px;border-color:var(--crm-line);background:var(--crm-surface);box-shadow:none}.talk-scripts-search{width:min(680px,72%);min-height:34px;gap:8px}.talk-scripts-search>svg{width:15px;height:15px;color:var(--crm-muted)}.talk-scripts-search input{width:100%;min-width:0;font-size:var(--crm-type-control)}.talk-scripts-search>button{width:28px;height:28px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:0;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent;cursor:pointer}.talk-scripts-search>button:hover{color:var(--crm-ink);background:var(--crm-surface-subtle)}.talk-scripts-search>button:focus-visible{outline:3px solid var(--crm-focus)}.talk-scripts-search>button svg{width:14px;height:14px}.talk-scripts-toolbar>span{color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:600}.talk-scripts-layout{min-height:440px;flex:1 1 auto;display:grid;grid-template-columns:178px minmax(300px,354px) minmax(0,1fr);align-items:stretch;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench)}.talk-scripts-category-bar{min-width:0;min-height:0;margin:0;padding:0;display:flex;flex-direction:column;justify-content:flex-start;gap:0;overflow:hidden;border-right:1px solid var(--crm-line);color:var(--crm-ink);background:color-mix(in srgb,var(--crm-surface-subtle) 72%,var(--crm-line))}.talk-scripts-category-bar>header{min-height:60px;display:grid;align-content:center;gap:2px;padding:9px 13px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface-subtle)}.talk-scripts-category-bar>header b{font-size:var(--crm-type-control)}.talk-scripts-category-bar>header span{color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:500}.talk-scripts-category-bar>div{min-height:0;display:flex;flex:1 1 auto;flex-direction:column;justify-content:flex-start;gap:0;padding:7px;overflow-y:auto}.talk-scripts-category-bar button{width:100%;min-height:43px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:5px 8px;border:0;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent;font-size:var(--crm-type-control);text-align:left;cursor:pointer}.talk-scripts-category-bar button b{overflow:hidden;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.talk-script-category-index{width:28px;height:28px;display:grid;place-items:center;border:1px solid transparent;border-radius:var(--crm-radius-control);color:var(--crm-subtle);background:color-mix(in srgb,var(--crm-surface) 72%,transparent);font-size:var(--crm-type-label);font-weight:750;font-variant-numeric:tabular-nums}.talk-script-category-index svg{width:14px;height:14px}.talk-scripts-category-bar button:hover{color:var(--crm-ink);background:color-mix(in srgb,var(--crm-surface) 68%,transparent)}.talk-scripts-category-bar button.active{color:var(--crm-ink);background:var(--crm-surface);box-shadow:inset 1px 0 0 var(--crm-brand)}.talk-scripts-category-bar button.active .talk-script-category-index{border-color:color-mix(in srgb,var(--crm-brand) 24%,var(--crm-line));color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.talk-scripts-category-bar button:focus-visible{position:relative;z-index:1;outline:3px solid var(--crm-focus);outline-offset:-2px}.talk-scripts-list{min-width:0;min-height:0;padding:0;display:grid;grid-template-rows:60px minmax(0,1fr);overflow:hidden;border-right:1px solid var(--crm-line);color:var(--crm-ink);background:var(--crm-surface-subtle)}.talk-scripts-list-head{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.talk-scripts-list-head>div{min-width:0;display:grid;gap:2px}.talk-scripts-list-head b{overflow:hidden;font-size:var(--crm-type-control);text-overflow:ellipsis;white-space:nowrap}.talk-scripts-list-head span{color:var(--crm-muted);font-size:var(--crm-type-meta)}.talk-scripts-list-head>button{min-height:28px;padding:0 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font-size:var(--crm-type-meta);font-weight:650;cursor:pointer}.talk-scripts-list-head>button:hover{color:var(--crm-brand-hover);border-color:color-mix(in srgb,var(--crm-brand) 36%,var(--crm-line))}.talk-scripts-list-head>button:focus-visible{outline:3px solid var(--crm-focus)}.talk-scripts-list-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}.talk-script-list-item{position:relative;width:100%;min-height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:5px 8px;padding:12px 13px 11px;border:0;border-bottom:1px solid var(--crm-line-soft);color:var(--crm-ink);background:transparent;text-align:left;cursor:pointer}.talk-script-list-item:hover{background:var(--crm-surface)}.talk-script-list-item.active{border-left:0;background:var(--crm-surface);box-shadow:inset 1px 0 0 var(--crm-brand)}.talk-script-list-item:focus-visible{z-index:1;outline:3px solid var(--crm-focus);outline-offset:-3px}.talk-script-list-category{grid-column:1;color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:700}.talk-script-list-item>b{grid-column:1 / -1;overflow:hidden;font-size:var(--crm-type-body);line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.talk-script-list-item>small{grid-column:1 / -1;min-height:31px;display:-webkit-box;overflow:hidden;color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}.talk-script-list-item>em{position:absolute;top:12px;right:13px;color:var(--crm-muted);font-size:var(--crm-type-label);font-style:normal;font-variant-numeric:tabular-nums}.talk-scripts-list-empty{min-height:100%;padding:24px 18px}.talk-scripts-list-empty>button{min-height:32px;margin-top:5px}.talk-scripts-detail{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:var(--crm-surface)}.talk-scripts-detail>header{position:relative;z-index:2;width:auto;min-height:94px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:15px 20px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.talk-script-detail-category{display:inline-flex;align-items:center;gap:5px;color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:700}.talk-script-detail-category svg{width:13px;height:13px}.talk-scripts-detail h2{margin:4px 0 5px;font-size:var(--crm-type-workspace);line-height:1.25;letter-spacing:-.015em}.talk-script-detail-meta{color:var(--crm-muted);font-size:var(--crm-type-meta);font-variant-numeric:tabular-nums}.talk-scripts-detail-actions{flex-wrap:nowrap;gap:6px}.talk-scripts-detail-actions .primary,.talk-scripts-detail-actions .ghost{min-height:34px;padding:0 11px;white-space:nowrap}.talk-script-copy-action{min-width:156px;transition:color var(--crm-motion-fast) var(--crm-ease-standard),background-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard)}.talk-script-copy-action.success{background:var(--crm-success);box-shadow:0 5px 14px color-mix(in srgb,var(--crm-success) 20%,transparent)}.talk-script-detail-body{min-width:0;min-height:0;display:block;padding:0;overflow-y:auto;overscroll-behavior:contain}.talk-script-content-section{width:min(100%,900px);display:grid;gap:12px;padding:25px 28px 20px}.talk-script-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.talk-script-section-heading small{color:var(--crm-muted);font-size:var(--crm-type-meta);font-variant-numeric:tabular-nums}.talk-script-section-label{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:750;letter-spacing:.035em}.talk-script-content{max-width:76ch;padding:18px 0 22px;border-top:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line);color:var(--crm-ink);white-space:pre-wrap;font-size:16px;font-weight:480;line-height:1.82;overflow-wrap:anywhere}.talk-script-notes{width:min(calc(100% - 56px),844px);margin:0 28px 28px;padding:13px 15px;border:0;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface-subtle);box-shadow:inset 0 0 0 1px var(--crm-line-soft)}.talk-script-notes>svg{margin-top:1px}.talk-script-notes b{font-size:var(--crm-type-control)}.talk-script-notes p{font-size:var(--crm-type-control);line-height:1.6}.talk-scripts-detail-empty{min-height:100%;grid-row:1 / -1;padding:30px;background:var(--crm-surface)}.talk-scripts-detail-empty svg{width:34px;height:34px}.talk-script-editor-backdrop{align-items:stretch;justify-content:flex-end;padding:0}.talk-script-editor{width:min(720px,calc(100vw - 68px));height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden;border:0;border-left:1px solid var(--crm-line);border-radius:0;box-shadow:-24px 0 70px #12151a38;animation:talk-script-editor-enter var(--crm-motion-overlay) var(--crm-ease-out) both}@keyframes talk-script-editor-enter{0%{transform:translate(22px)}to{transform:translate(0)}}.talk-script-editor>header{position:static;inset:auto;width:auto;height:auto;min-height:96px;flex:0 0 auto;padding:24px 28px 20px}.talk-script-editor>header h2{margin:2px 0 5px;font-size:var(--crm-type-screen-compact);line-height:1.2}.talk-script-editor>header>button{width:36px;height:36px;cursor:pointer}.talk-script-editor-fields{min-height:0;flex:1 1 auto;gap:16px;padding:22px 28px 26px;overflow-y:auto}.talk-script-editor-row{display:grid;grid-template-columns:minmax(170px,.72fr) minmax(0,1.28fr);gap:12px}.talk-script-editor-row>label{min-width:0;display:grid;gap:6px}.talk-script-editor-fields label>span{display:flex;align-items:center;gap:4px;color:var(--crm-ink);font-size:var(--crm-type-control)}.talk-script-editor-fields label>span>small{margin-left:auto;color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:500}.talk-script-editor-fields input,.talk-script-editor-fields select,.talk-script-editor-fields textarea{padding:9px 11px;font-size:var(--crm-type-body)}.talk-script-editor-main-field textarea{min-height:270px;line-height:1.65}.talk-script-editor>.feedback-message{flex:0 0 auto;margin:0 28px 12px}.talk-script-editor>.modal-actions{position:static;flex:0 0 auto;padding:14px 28px 18px;background:var(--crm-surface)}.talk-script-editor>.modal-actions button{min-width:92px}@media(max-width:1180px){.talk-scripts-layout{grid-template-columns:minmax(270px,340px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.talk-scripts-category-bar{grid-column:1 / -1;min-height:50px;display:block;overflow:hidden;border-right:0;border-bottom:1px solid var(--crm-line);background:var(--crm-surface-subtle)}.talk-scripts-category-bar>header{display:none}.talk-scripts-category-bar>div{display:flex;flex-direction:row;gap:4px;padding:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.talk-scripts-category-bar>div::-webkit-scrollbar{display:none}.talk-scripts-category-bar button{width:auto;min-width:max-content;min-height:44px;grid-template-columns:24px auto;padding:3px 8px 3px 5px}.talk-script-category-index{width:24px;height:24px}.talk-scripts-category-bar button.active{box-shadow:inset 0 -1px 0 var(--crm-brand)}.talk-scripts-list{border-right:1px solid var(--crm-line)}.talk-scripts-detail>header{grid-template-columns:1fr;align-items:start}.talk-scripts-detail-actions{justify-content:flex-start}}@media(max-width:760px){.talk-scripts-page{height:auto;min-height:0;padding-bottom:30px;overflow:visible}.talk-scripts-heading{min-height:0;align-items:flex-start;flex-direction:row;padding-block:10px 14px}.talk-scripts-heading-actions>span{display:none}.talk-scripts-heading-actions .primary{width:auto;white-space:nowrap}.talk-scripts-toolbar{align-items:stretch;flex-direction:column;padding:6px 9px}.talk-scripts-search{width:100%}.talk-scripts-toolbar>span{display:none}.talk-scripts-layout{min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;overflow:visible}.talk-scripts-category-bar{grid-column:1}.talk-scripts-list{max-height:340px;grid-template-rows:54px minmax(0,1fr);border-right:0;border-bottom:1px solid var(--crm-line)}.talk-scripts-list-head{min-height:54px}.talk-scripts-detail{min-height:420px;scroll-margin-top:calc(var(--crm-shell-topbar-height) + 8px);overflow:visible}.talk-scripts-detail>header{min-height:0;padding:16px}.talk-scripts-detail h2{font-size:var(--crm-type-workspace)}.talk-scripts-detail-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.talk-scripts-search>button,.talk-scripts-list-head>button,.talk-scripts-detail-actions .primary,.talk-scripts-detail-actions .ghost,.talk-script-editor>header>button{min-width:44px;min-height:44px}.talk-scripts-search>button{width:44px;height:44px}.talk-script-copy-action{grid-column:1 / -1;width:100%}.talk-script-detail-body{overflow:visible}.talk-script-content-section{padding:20px 16px 16px}.talk-script-content{font-size:var(--crm-type-section);line-height:1.75}.talk-script-notes{width:calc(100% - 32px);margin:0 16px 20px}.talk-script-editor{width:100vw}.talk-script-editor>header,.talk-script-editor-fields{padding-inline:18px}.talk-script-editor-row{grid-template-columns:1fr}.talk-script-editor>.feedback-message{margin-inline:18px}.talk-script-editor>.modal-actions{padding-inline:18px}}@media(max-width:460px){.talk-scripts-heading{flex-direction:column}.talk-scripts-heading-actions,.talk-scripts-heading-actions .primary{width:100%}.talk-script-editor>.modal-actions{display:grid;grid-template-columns:1fr 1fr}}.quote-calculator-page{max-width:1540px;margin-inline:auto}.quote-calculator-heading{align-items:flex-end;margin-bottom:12px}.quote-calculator-heading h1{margin-block:3px 5px;font-size:var(--crm-type-screen)}.quote-calculator-heading p{max-width:72ch}.quote-command-bar{min-width:0;margin-bottom:12px;display:grid;grid-template-columns:minmax(250px,.9fr) minmax(270px,1.1fr) auto;align-items:stretch;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);overflow:hidden}.quote-project-name{min-width:0;padding:9px 12px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.quote-project-name>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700;white-space:nowrap}.quote-project-name input{width:100%;height:34px;box-sizing:border-box;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface-subtle);font:inherit;font-size:var(--crm-type-control)}.quote-project-name input:focus{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0;background:var(--crm-surface)}.quote-command-bar .quote-calculator-source-note{min-width:0;margin:0;padding:9px 12px;border:0;border-left:1px solid var(--crm-line-soft);border-radius:0;background:var(--crm-surface-subtle)}.quote-command-bar .quote-calculator-source-note>div{display:grid;gap:1px}.quote-command-bar .quote-calculator-source-note b{font-size:var(--crm-type-control)}.quote-command-bar .quote-calculator-source-note span{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-reset-button{min-width:112px;margin:9px 10px;align-self:stretch;display:inline-flex;align-items:center;justify-content:center;gap:7px}.quote-reset-button svg{width:14px;height:14px}.quote-calculator-layout{grid-template-columns:minmax(0,1fr) minmax(310px,350px);gap:12px}.quote-calculator-builder{gap:0;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);overflow:hidden;background:var(--crm-surface)}.quote-calculator-section{padding:0;border-color:var(--crm-line);border-radius:0;overflow:hidden}.quote-calculator-builder>.quote-calculator-section{border:0;border-bottom:1px solid var(--crm-line)}.quote-calculator-section-head{min-height:60px;box-sizing:border-box;margin:0;padding:11px 14px;align-items:center;border-bottom:1px solid var(--crm-line-soft);background:var(--crm-surface-subtle)}.quote-calculator-section-head>div:first-child{align-items:center}.quote-calculator-section-head>div>span{width:24px;height:24px;flex-basis:24px;border-color:color-mix(in srgb,var(--crm-brand) 25%,var(--crm-line));color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.quote-calculator-section-head h2{margin:0 0 2px;font-size:var(--crm-type-section)}.quote-section-result{flex:0 0 auto;display:grid;justify-items:end;gap:1px}.quote-section-result small{color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-section-result b{color:var(--crm-brand-hover);font-size:var(--crm-type-control);font-variant-numeric:tabular-nums}.quote-door-section .door-configuration-grid{padding:10px;display:grid;grid-template-columns:repeat(5,minmax(112px,1fr));gap:7px;background:var(--crm-surface)}.quote-door-section .door-configuration-grid>button{position:relative;min-height:118px;padding:11px 8px 9px;grid-template-rows:40px auto auto;gap:6px;border-color:var(--crm-line-soft);background:var(--crm-surface);box-shadow:none;transition:border-color var(--crm-motion-fast) var(--crm-ease-standard),background var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard)}.quote-door-section .door-configuration-grid>button:hover{border-color:var(--crm-line);background:var(--crm-surface-subtle)}.quote-door-section .door-configuration-grid>button.active{border-color:var(--crm-brand);background:var(--crm-brand-soft);box-shadow:inset 0 -2px var(--crm-brand)}.quote-door-section .door-configuration-diagram{height:38px}.quote-door-section .door-configuration-diagram .door{width:22px}.quote-door-section .door-configuration-diagram .sidelite{width:11px}.quote-door-section .door-configuration-grid>button small{display:block;max-width:100%}.quote-door-section .door-configuration-grid>button em{font-size:var(--crm-type-label)}.quote-door-selected{position:absolute;top:6px;right:6px;height:18px;padding:0 5px;display:inline-flex;align-items:center;gap:2px;border-radius:var(--crm-radius-status);color:var(--crm-on-graphite);background:var(--crm-brand);font-size:var(--crm-type-label);font-style:normal;font-weight:700}.quote-door-selected svg{width:10px;height:10px}.quote-addon-workbench{min-width:0;min-height:252px;display:grid;grid-template-columns:154px minmax(0,1fr);background:var(--crm-surface)}.quote-group-tabs{min-width:0;padding:8px;display:grid;align-content:start;gap:3px;border-right:1px solid var(--crm-line);background:var(--crm-surface-subtle)}.quote-group-tabs button{width:100%;min-height:38px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid transparent;border-radius:var(--crm-radius-control);color:var(--crm-muted);background:transparent;font:inherit;font-size:var(--crm-type-control);font-weight:650;text-align:left;cursor:pointer}.quote-group-tabs button:hover{color:var(--crm-ink);background:var(--crm-surface)}.quote-group-tabs button.active{border-color:var(--crm-line);color:var(--crm-ink);background:var(--crm-surface);box-shadow:inset 2px 0 var(--crm-brand)}.quote-group-tabs button:focus-visible{outline:3px solid var(--crm-focus);outline-offset:0}.quote-group-tabs button b{min-width:18px;height:18px;padding-inline:5px;display:grid;place-items:center;border-radius:var(--crm-radius-status);color:var(--crm-on-graphite);background:var(--crm-brand);font-size:var(--crm-type-label);font-variant-numeric:tabular-nums}.quote-active-group{min-width:0;padding:8px 12px 12px}.quote-addon-table-head,.quote-addon-option{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 108px 74px;align-items:center}.quote-addon-table-head{min-height:28px;padding-inline:8px;color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700}.quote-addon-table-head span:nth-child(2),.quote-addon-table-head span:nth-child(3){text-align:right}.quote-options-section .quote-addon-options{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--crm-line)}.quote-options-section .quote-addon-option{border:0;border-bottom:1px solid var(--crm-line-soft);border-radius:0;background:var(--crm-surface)}.quote-options-section .quote-addon-option:last-child{border-bottom:0}.quote-options-section .quote-addon-option:hover{background:var(--crm-surface-subtle)}.quote-options-section .quote-addon-option.selected{border-color:var(--crm-line-soft);background:var(--crm-brand-soft)}.quote-options-section .quote-addon-option>label:first-child{min-height:44px;padding:7px 8px;grid-template-columns:16px minmax(0,1fr);gap:8px}.quote-options-section .quote-addon-option>strong{padding-right:8px;color:var(--crm-ink);font-size:var(--crm-type-control);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.quote-options-section .quote-option-quantity{min-width:0;padding:5px 0 5px 8px;display:grid;grid-template-columns:1fr;justify-items:end;gap:1px;border-left:1px solid color-mix(in srgb,var(--crm-brand) 20%,var(--crm-line))}.quote-options-section .quote-option-quantity span{display:none}.quote-options-section .quote-option-quantity input{width:58px;height:30px}.quote-option-empty{padding-right:8px;color:var(--crm-subtle);font-size:var(--crm-type-control);text-align:right}.quote-calculator-lower-grid{min-width:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:0;border-bottom:1px solid var(--crm-line)}.quote-glass-section,.quote-adjustments-section{min-height:238px;border:0;border-radius:0}.quote-adjustments-section{border-left:1px solid var(--crm-line)}.quote-glass-entry{padding:12px;grid-template-columns:minmax(100px,.75fr) minmax(150px,1.25fr) 68px;align-items:end}.quote-glass-entry .secondary{grid-column:1 / -1;width:100%}.quote-glass-list{margin:0;padding:0 12px 12px}.quote-glass-list>div{padding:7px 9px}.quote-inline-empty{margin:0 12px 12px;padding:10px;border:1px dashed var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface-subtle);font-size:var(--crm-type-meta);text-align:center}.quote-adjustments-grid{padding:12px;grid-template-columns:minmax(0,1fr) minmax(90px,.65fr);gap:9px}.quote-adjustment-label{grid-column:1 / -1}.quote-adjustment-hint{margin:0 12px 12px;padding:9px 10px;display:flex;align-items:flex-start;gap:7px;border-top:1px solid var(--crm-line-soft);color:var(--crm-muted);font-size:var(--crm-type-label);line-height:1.45}.quote-adjustment-hint svg{width:14px;height:14px;flex:0 0 auto;color:var(--crm-brand)}.quote-calculator-notes{padding:0;border:0;border-radius:0;overflow:hidden}.quote-calculator-notes summary{min-height:42px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style-position:inside}.quote-calculator-notes summary span{margin-left:auto;color:var(--crm-muted);font-size:var(--crm-type-label)}.quote-calculator-notes ul{margin:0;padding:4px 18px 14px 34px;border-top:1px solid var(--crm-line-soft);background:var(--crm-surface-subtle)}.quote-calculator-summary{width:100%;display:block;inset:auto;top:calc(var(--crm-shell-topbar-height) + 10px);padding:0;border-color:var(--crm-on-graphite-line);border-radius:var(--crm-radius-surface);color:var(--crm-on-graphite);background:var(--crm-graphite);box-shadow:0 14px 34px color-mix(in srgb,var(--crm-graphite) 18%,transparent)}.quote-summary-head{position:relative;padding:18px 18px 16px;display:block;border-bottom-color:var(--crm-on-graphite-line);background:var(--crm-graphite)}.quote-summary-kicker{display:flex;align-items:center;gap:7px;color:var(--crm-on-graphite-muted)}.quote-summary-kicker svg{width:16px;height:16px;color:var(--crm-brand-bright)}.quote-summary-kicker span{color:inherit;font-size:var(--crm-type-label);font-weight:700}.quote-summary-count{position:absolute;top:17px;right:18px;height:22px;padding:0 8px;display:inline-flex;align-items:center;border:1px solid var(--crm-on-graphite-line);border-radius:var(--crm-radius-status);color:var(--crm-on-graphite-muted);font-size:var(--crm-type-label)}.quote-summary-head h2{margin:14px 0 3px;color:var(--crm-on-graphite);font-size:var(--crm-type-workspace)}.quote-summary-head p{min-height:17px;margin:0;color:var(--crm-on-graphite-muted)}.quote-summary-total-preview{margin-top:17px;padding-top:14px;display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px solid var(--crm-on-graphite-line)}.quote-summary-total-preview span{color:var(--crm-on-graphite-muted);font-size:var(--crm-type-control);white-space:nowrap}.quote-summary-total-preview strong{color:var(--crm-on-graphite);font-size:var(--crm-type-screen-compact);font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}.quote-calculator-summary .quote-summary-lines{max-height:min(360px,calc(100dvh - 430px));padding:5px 18px;background:var(--crm-graphite-raised);scrollbar-color:var(--crm-on-graphite-line) transparent}.quote-calculator-summary .quote-summary-lines>div{padding-block:9px;border-bottom-color:var(--crm-on-graphite-line)}.quote-calculator-summary .quote-summary-lines b,.quote-calculator-summary .quote-summary-lines strong{color:var(--crm-on-graphite)}.quote-calculator-summary .quote-summary-lines b{font-weight:600}.quote-calculator-summary .quote-summary-lines small{color:var(--crm-on-graphite-muted)}.quote-calculator-summary .quote-summary-totals{padding:13px 18px 15px;border-top-color:var(--crm-on-graphite-line);background:var(--crm-graphite)}.quote-calculator-summary .quote-summary-totals>div{color:var(--crm-on-graphite-muted)}.quote-calculator-summary .quote-summary-totals b{color:var(--crm-on-graphite)}.quote-calculator-summary .quote-summary-totals .quote-grand-total{border-top-color:var(--crm-on-graphite-line);color:var(--crm-on-graphite)}.quote-calculator-summary .quote-grand-total strong{color:var(--crm-brand-bright);font-size:var(--crm-type-workspace)}.quote-calculator-summary .quote-copy-button{width:calc(100% - 36px);margin:14px 18px 9px;box-shadow:none}.quote-calculator-summary .quote-save-customer-button,.quote-calculator-summary .quote-save-library-button{width:calc(100% - 36px);margin:0 18px;justify-content:center}.quote-calculator-summary .quote-summary-disclaimer{color:var(--crm-on-graphite-muted)}.quote-calculator-summary .quote-summary-disclaimer svg{color:color-mix(in srgb,var(--crm-success) 62%,var(--crm-on-graphite))}@media(max-width:1240px){.quote-calculator-layout{grid-template-columns:minmax(0,1fr) 310px}.quote-door-section .door-configuration-grid{grid-template-columns:repeat(3,minmax(118px,1fr))}.quote-calculator-lower-grid{grid-template-columns:1fr}.quote-glass-section,.quote-adjustments-section{min-height:0}.quote-adjustments-section{border-top:1px solid var(--crm-line);border-left:0}}@media(max-width:980px){.quote-command-bar{grid-template-columns:minmax(0,1fr) auto}.quote-command-bar .quote-calculator-source-note{grid-column:1 / -1;grid-row:2;border-top:1px solid var(--crm-line-soft);border-left:0}.quote-calculator-layout{grid-template-columns:1fr}.quote-calculator-summary{position:static}.quote-calculator-summary .quote-summary-lines{max-height:none}.quote-door-section .door-configuration-grid{grid-template-columns:repeat(5,minmax(105px,1fr))}}@media(max-width:760px){.quote-calculator-heading{display:block}.quote-command-bar{grid-template-columns:1fr}.quote-project-name{grid-template-columns:1fr;gap:5px}.quote-reset-button{grid-row:3;min-height:36px}.quote-door-section .door-configuration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-addon-workbench{grid-template-columns:1fr}.quote-group-tabs{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--crm-line)}.quote-group-tabs button{width:auto;flex:0 0 auto;white-space:nowrap}.quote-group-tabs button.active{box-shadow:inset 0 -2px var(--crm-brand)}.quote-addon-table-head,.quote-addon-option{grid-template-columns:minmax(0,1fr) 98px 66px}}@media(max-width:520px){.quote-calculator-section-head{align-items:flex-start}.quote-section-result{padding-top:2px}.quote-door-section .door-configuration-grid{grid-template-columns:1fr 1fr}.quote-door-section .door-configuration-grid>button{min-height:108px;padding-inline:6px;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;justify-items:start;text-align:left}.quote-door-section .door-configuration-grid>button em{grid-column:1 / -1;justify-self:stretch;padding-top:5px;border-top:1px solid var(--crm-line-soft);text-align:right}.quote-door-section .door-configuration-grid>button>span{text-align:left}.quote-door-selected{display:none}.quote-active-group{padding-inline:8px}.quote-addon-table-head{display:none}.quote-options-section .quote-addon-options{border-top:0}.quote-addon-option{grid-template-columns:minmax(0,1fr) 66px}.quote-options-section .quote-addon-option>strong{padding-block:6px}.quote-options-section .quote-option-quantity,.quote-option-empty{grid-column:2;padding-bottom:7px}.quote-glass-entry,.quote-adjustments-grid{grid-template-columns:1fr}.quote-adjustment-label,.quote-glass-entry .secondary{grid-column:auto}.quote-summary-total-preview{align-items:flex-end;flex-direction:column;gap:4px}}.meta-settings-card{margin-top:12px;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.meta-settings-head{min-height:68px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface-subtle)}.meta-settings-head>div{display:flex;align-items:center;gap:11px}.meta-settings-head>div>svg{width:22px;height:22px;color:var(--crm-brand)}.meta-settings-head h2{margin:0 0 3px;color:var(--crm-ink);font-size:var(--crm-type-section)}.meta-settings-head p{margin:0;color:var(--crm-muted);font-size:var(--crm-type-control)}.meta-settings-head>span{padding:4px 8px;border-radius:var(--crm-radius-status);font-size:var(--crm-type-label);font-weight:750;white-space:nowrap}.meta-settings-head>span.is-ready{color:var(--crm-success);background:color-mix(in srgb,var(--crm-success) 10%,var(--crm-surface))}.meta-settings-head>span.is-pending{color:var(--crm-warning);background:color-mix(in srgb,var(--crm-warning) 10%,var(--crm-surface))}.meta-webhook-address{margin:14px 16px 0;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface-subtle)}.meta-webhook-address>div{min-width:0;display:grid;gap:3px}.meta-webhook-address span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:750}.meta-webhook-address b{overflow:hidden;color:var(--crm-ink);font-family:var(--crm-font-sans);font-size:var(--crm-type-control);text-overflow:ellipsis;white-space:nowrap}.meta-webhook-address small{color:var(--crm-muted);font-size:var(--crm-type-meta)}.meta-settings-grid{padding:14px 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.meta-settings-grid>label{min-width:0;display:grid;gap:6px}.meta-settings-grid>label>span{color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:750}.meta-settings-grid :is(input,select){width:100%;min-width:0;height:36px;box-sizing:border-box;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-ink);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-control)}.meta-settings-grid :is(input,select):focus{border-color:var(--crm-brand);outline:3px solid var(--crm-focus);outline-offset:0}.meta-settings-grid .meta-toggle{grid-column:1 / -1;min-height:44px;padding:0 11px;grid-template-columns:auto 1fr;align-items:center;gap:9px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface-subtle);cursor:pointer}.meta-toggle input{width:16px;height:16px;padding:0;accent-color:var(--crm-brand)}.meta-toggle span{display:grid;gap:2px}.meta-toggle b{color:var(--crm-ink);font-size:var(--crm-type-control)}.meta-toggle small{color:var(--crm-muted);font-size:var(--crm-type-meta)}.meta-settings-note{margin:0 16px;padding:10px 12px;display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--crm-line-soft);color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.45}.meta-settings-note svg{width:15px;height:15px;flex:0 0 auto;color:var(--crm-success)}.meta-event-state{margin:0 16px 10px;padding:9px 11px;display:flex;align-items:center;gap:9px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);font-size:var(--crm-type-meta)}.meta-event-state>span{color:var(--crm-muted);font-weight:750}.meta-event-state b{color:var(--crm-ink);text-transform:uppercase}.meta-event-state.is-imported b{color:var(--crm-success)}.meta-event-state.is-failed b{color:var(--crm-danger)}.meta-event-state small{overflow:hidden;margin-left:auto;text-overflow:ellipsis;white-space:nowrap}.meta-settings-actions{padding:12px 16px 16px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--crm-line)}.meta-settings-actions button svg{width:15px;height:15px}@media(max-width:860px){.meta-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.meta-settings-head,.meta-webhook-address{align-items:flex-start;flex-direction:column}.meta-settings-grid{grid-template-columns:1fr}.meta-settings-actions{justify-content:stretch}.meta-settings-actions button{flex:1}.meta-event-state{align-items:flex-start;flex-wrap:wrap}.meta-event-state small{width:100%;margin-left:0;white-space:normal}}.quote-save-customer-button{width:100%;justify-content:center;margin-top:10px}.calculated-quote-picker-backdrop{display:grid;place-items:center;padding:24px;background:#12151a94;animation:none}.calculated-quote-picker{width:min(720px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench)}.modal-backdrop>.calculated-quote-picker{opacity:1;filter:none;transform:none;animation:none}.calculated-quote-picker__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 24px 18px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.calculated-quote-picker__header>div{min-width:0}.calculated-quote-picker__header h2{margin:4px 0 6px}.calculated-quote-picker__header p{max-width:560px;margin:0;color:var(--crm-muted);line-height:1.55}.calculated-quote-picker__close{flex:none;display:grid;place-items:center;width:38px;height:38px;padding:0;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);box-shadow:none}.calculated-quote-picker__close:hover:not(:disabled){color:var(--crm-brand);border-color:var(--crm-line);background:var(--crm-brand-soft)}.calculated-quote-picker__close svg{width:18px;height:18px}.calculated-quote-image-picker{position:relative;display:block;margin:16px 24px 0;cursor:pointer}.calculated-quote-image-picker>input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.calculated-quote-image-picker>input:disabled{cursor:not-allowed}.calculated-quote-image-empty,.calculated-quote-image-preview{min-height:70px;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px dashed var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface-subtle)}.calculated-quote-image-picker:hover .calculated-quote-image-empty{border-color:var(--crm-brand);color:var(--crm-brand-hover);background:var(--crm-brand-soft)}.calculated-quote-image-empty svg{width:24px;height:24px;color:var(--crm-brand)}.calculated-quote-image-empty span,.calculated-quote-image-preview span{min-width:0;display:grid;gap:3px}.calculated-quote-image-empty b,.calculated-quote-image-preview b{color:var(--crm-ink);font-size:var(--crm-type-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calculated-quote-image-empty small,.calculated-quote-image-preview small{color:var(--crm-muted);font-size:var(--crm-type-label)}.calculated-quote-image-preview .quote-library-image{flex:0 0 64px;width:64px;aspect-ratio:1;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.calculated-quote-image-preview .quote-library-image img{object-fit:cover}.calculated-quote-picker__search{width:auto;min-width:0;height:44px;margin:18px 24px 12px}.calculated-quote-picker__search input{min-width:0;height:100%}.quote-document-editor{margin:0 0 18px;border:1px solid var(--border, var(--crm-quote-tone-3));border-radius:var(--crm-radius-surface);background:var(--crm-surface);overflow:hidden}.quote-document-editor>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;cursor:pointer;background:var(--crm-quote-tone-4);border-bottom:1px solid var(--crm-quote-tone-5)}.quote-document-editor>summary::-webkit-details-marker{display:none}.quote-document-editor>summary span{display:inline-flex;align-items:center;gap:9px;font-weight:750;color:var(--crm-quote-tone-6)}.quote-document-editor>summary svg{width:18px;color:var(--crm-quote-tone-7)}.quote-document-editor>summary small{color:var(--crm-quote-tone-8)}.quote-document-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;padding:18px}.quote-document-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.quote-document-contact .wide{grid-column:1 / -1}.quote-document-contact label,.quote-document-specs label,.quote-document-image-picker{display:flex;flex-direction:column;gap:6px}.quote-document-contact label>span,.quote-document-specs label>span,.quote-document-image-picker>span{font-size:12px;font-weight:700;color:var(--crm-quote-tone-9)}.quote-document-contact input,.quote-document-specs input,.quote-document-specs textarea{width:100%;border:1px solid var(--crm-quote-tone-10);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-quote-tone-11);padding:10px 11px;font:inherit}.quote-document-contact input:focus,.quote-document-specs input:focus,.quote-document-specs textarea:focus{outline:2px solid rgba(220,30,45,.13);border-color:var(--crm-quote-tone-7)}.quote-document-image-picker{cursor:pointer}.quote-document-image-picker>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.quote-document-image-picker>div,.quote-document-image-picker>img{width:100%;height:174px;border:1px dashed var(--crm-quote-tone-12);border-radius:10px;background:var(--crm-quote-tone-4)}.quote-document-image-picker>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--crm-quote-tone-13);text-align:center}.quote-document-image-picker>div svg{width:26px;color:var(--crm-quote-tone-7)}.quote-document-image-picker>div small{font-size:11px}.quote-document-image-picker>img{object-fit:contain}.quote-document-image-picker>em{font-size:11px;color:var(--crm-quote-tone-14);font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-document-specs{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quote-document-specs textarea{min-height:78px;resize:vertical;line-height:1.45}.quote-document-fixed-fields{align-items:end}.quote-document-fixed-fields .quote-document-notes{grid-column:1 / -1}.quote-pdf-button{width:100%;margin-top:8px;background:var(--crm-quote-tone-6)!important;border-color:var(--crm-quote-tone-6)!important}.quote-pdf-button:hover{background:var(--crm-quote-tone-15)!important}.quote-document-page{padding-bottom:28px}.quote-document-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.quote-document-standalone{margin:0}.quote-document-standalone>header{min-height:58px;padding:11px 14px;border-bottom:1px solid var(--crm-line);display:flex;align-items:center;justify-content:space-between;gap:16px}.quote-document-standalone>header>div{display:flex;align-items:center;gap:10px}.quote-document-standalone>header svg{width:20px;color:var(--crm-brand)}.quote-document-standalone>header h2,.quote-document-standalone>header p{margin:0}.quote-document-standalone>header h2{font-size:16px;color:var(--crm-ink)}.quote-document-standalone>header p,.quote-document-standalone>header>span{margin-top:2px;font-size:11px;color:var(--crm-muted)}.quote-document-standalone>header>span{margin:0;padding:4px 8px;border-radius:999px;background:var(--crm-brand-soft);color:var(--crm-brand-hover);font-weight:700;white-space:nowrap}.quote-document-price-panel{position:sticky;top:68px;padding:18px;border-radius:10px;background:var(--crm-graphite);color:var(--crm-surface)}.quote-document-price-panel h2{margin:4px 0 6px;font-size:18px}.quote-document-price-panel>p{margin:0 0 18px;color:var(--crm-line);font-size:12px;line-height:1.5}.quote-document-price-panel label{display:grid;gap:6px;margin-top:12px;font-size:11px;font-weight:700;color:var(--crm-line)}.quote-document-price-panel input{width:100%;height:38px;padding:0 10px;border:1px solid var(--crm-muted);border-radius:6px;background:var(--crm-graphite-raised);color:var(--crm-surface);font:inherit}.quote-document-price-panel input:focus{outline:2px solid var(--crm-brand);outline-offset:2px;border-color:var(--crm-brand)}.quote-document-totals{margin:18px 0 12px;border-top:1px solid var(--crm-muted)}.quote-document-totals>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--crm-muted);font-size:12px}.quote-document-totals>div:last-child{padding:14px 0;color:var(--crm-surface)}.quote-document-totals strong{color:var(--crm-brand);font-size:18px;font-variant-numeric:tabular-nums}.quote-document-price-panel .quote-pdf-button{height:40px;background:var(--crm-brand)!important;border-color:var(--crm-brand)!important}.quote-document-price-panel .quote-pdf-button:hover{background:var(--crm-brand-hover)!important}.quote-document-price-panel>small{display:flex;align-items:flex-start;gap:7px;margin-top:12px;color:var(--crm-line);line-height:1.45}.quote-document-price-panel>small svg{width:15px;flex:0 0 auto;color:var(--crm-success)}@media(max-width:1120px){.quote-document-page-layout{grid-template-columns:1fr}.quote-document-price-panel{position:static}}@media(max-width:1050px){.quote-document-grid{grid-template-columns:1fr}.quote-document-image-picker{max-width:360px}.quote-document-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.quote-document-editor>summary{align-items:flex-start;flex-direction:column}.quote-document-grid{padding:14px}.quote-document-contact,.quote-document-specs{grid-template-columns:1fr}.quote-document-contact .wide{grid-column:auto}}.calculated-quote-picker>.feedback-message{margin:0 24px 12px}.quote-draft-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);margin-bottom:var(--crm-space-4);padding-block:var(--crm-space-3);border-bottom:1px solid var(--crm-line);color:var(--crm-muted);font-size:var(--crm-type-body)}.quote-draft-toolbar button{flex-shrink:0}.quote-document-page-layout{grid-template-columns:minmax(0,1fr) 300px}.quote-document-price-panel label>span{color:var(--crm-on-graphite-muted)}.quote-document-price-panel .quote-document-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:var(--crm-space-3)}.quote-document-price-panel .quote-document-totals strong{color:var(--crm-on-graphite);white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:1100px){.quote-document-page-layout{grid-template-columns:minmax(0,1fr)}.quote-document-price-panel{position:static}}.reference-crm-detail .followup-card{display:block;padding:var(--crm-space-5);background:var(--crm-surface);border:1px solid var(--crm-line);box-shadow:none}.reference-crm-detail .followup-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 var(--crm-space-4)}.reference-crm-detail .followup-title h3{margin:0;font-size:var(--crm-type-section)}.reference-crm-detail .followup-title>small{display:block;color:var(--crm-muted)}.reference-crm-detail .followup-compact-grid label>span{display:block;margin-bottom:var(--crm-space-1);font-size:var(--crm-type-control);font-weight:650;color:var(--crm-ink)}.reference-crm-detail .followup-compact-grid .followup-content textarea{height:auto;min-height:80px;resize:vertical;line-height:1.6}.reference-crm-detail .followup-compact-grid :is(input,select){height:var(--crm-control-height)}.lead-detail .followup-compact-grid,.followup-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:var(--crm-space-4)}.followup-compact-grid .followup-content{grid-column:1 / -1}.followup-compact-grid .next-followup-field{grid-column:1 / -1;display:grid;gap:var(--crm-space-2)}.followup-compact-grid .next-followup-field small{font-size:var(--crm-type-control);line-height:1.5;color:var(--crm-muted)}.followup-compact-grid .followup-save{grid-column:1 / -1;justify-self:end;min-width:120px}.followup-compact-grid :is(select,input,textarea){min-width:0;width:100%}@media(max-width:680px){.quote-draft-toolbar{align-items:flex-start;flex-direction:column}.lead-detail .followup-compact-grid,.followup-compact-grid{grid-template-columns:minmax(0,1fr)}.followup-compact-grid .followup-save{width:100%}}.calculated-quote-picker__state{min-height:180px;display:grid;place-items:center;padding:24px;background:var(--crm-surface)}.calculated-quote-customer-list{min-height:0;overflow:auto;display:grid;align-content:start;padding:4px 24px 12px;background:var(--crm-surface)}.calculated-quote-customer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;min-height:78px;padding:14px 0;border-bottom:1px solid var(--crm-line)}.calculated-quote-customer-row__info{min-width:0;display:grid;gap:4px}.calculated-quote-customer-row b,.calculated-quote-customer-row span,.calculated-quote-customer-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calculated-quote-customer-row b{color:var(--crm-ink)}.calculated-quote-customer-row span,.calculated-quote-customer-row small{color:var(--crm-muted)}.calculated-quote-customer-row button{flex:none;min-width:116px;height:38px;white-space:nowrap;justify-content:center}.calculated-quote-picker__footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--crm-line);background:var(--crm-surface)}.calculated-quote-picker__footer small{color:var(--crm-muted)}@media(max-width:560px){.calculated-quote-picker-backdrop{padding:10px}.calculated-quote-picker{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.calculated-quote-picker__header,.calculated-quote-picker__footer{padding:16px}.calculated-quote-picker__header{gap:12px}.calculated-quote-image-picker{margin-inline:16px}.calculated-quote-picker__search{margin:14px 16px 10px}.calculated-quote-customer-list{padding-inline:16px}.calculated-quote-customer-row{align-items:stretch;grid-template-columns:minmax(0,1fr)}.calculated-quote-customer-row button{width:100%}.calculated-quote-picker__footer{align-items:stretch;flex-direction:column}}.home-visit-page{max-width:none;overflow:hidden}.home-visit-page .home-visit-create{margin:18px 0;padding:20px;background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface)}.home-visit-page .home-visit-create header h2{margin:0 0 4px;font-size:var(--crm-type-workspace)}.home-visit-page .home-visit-create header p{margin:0 0 16px;color:var(--crm-muted)}.home-visit-page label{display:grid;gap:6px;font-size:var(--crm-type-body)}.home-visit-page input,.home-visit-page select,.home-visit-page textarea{min-width:0;min-height:var(--crm-control-height);padding:8px 10px;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit}.home-visit-page .home-visit-customer-search{position:relative}.home-visit-page .home-visit-lead-results{position:absolute;z-index:20;width:min(620px,calc(100% - 40px));max-height:240px;overflow:auto;padding:6px;background:var(--crm-surface);border:1px solid var(--crm-line);box-shadow:var(--crm-shadow-workbench)}.home-visit-page .home-visit-lead-results button{display:grid;width:100%;gap:3px;padding:10px;text-align:left;color:var(--crm-ink);background:transparent;border:0;border-radius:var(--crm-radius-control)}.home-visit-page .home-visit-lead-results button:hover,.home-visit-page .home-visit-lead-results button.selected{background:var(--crm-brand-soft)}.home-visit-page .home-visit-lead-results span{color:var(--crm-muted);font-size:var(--crm-type-meta)}.home-visit-page .home-visit-selected{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;color:var(--crm-ink);background:var(--crm-brand-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--crm-brand) 28%,var(--crm-line))}.home-visit-page .home-visit-selected span,.home-visit-page .home-visit-selected small{color:var(--crm-muted);font-size:var(--crm-type-meta)}.home-visit-page .home-visit-selected button{margin-left:auto;padding:4px 8px;color:var(--crm-brand-hover);background:transparent;border:0;font:inherit;cursor:pointer}.home-visit-page .home-visit-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.home-visit-page .home-visit-notes{grid-column:1/-1}.home-visit-page .home-visit-create footer{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:16px;color:var(--crm-muted)}.home-visit-page .home-visit-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:18px 0 14px}.home-visit-page .home-visit-toolbar label:first-child{min-width:240px;flex:1}.home-visit-page .home-visit-message{margin:8px 0;color:var(--crm-success)}.home-visit-page .home-visit-loading{margin:8px 0;color:var(--crm-muted);font-size:var(--crm-type-meta)}.home-visit-page .home-visit-board{display:grid;grid-template-columns:repeat(5,minmax(240px,1fr));gap:12px;align-items:start;padding:0 0 14px;overflow-x:auto}.home-visit-page .home-visit-column{min-width:0}.home-visit-page .home-visit-column>header{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding-top:7px;border-top:2px solid var(--crm-graphite)}.home-visit-page .home-visit-column>header h2{margin:0;font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em;color:var(--crm-ink)}.home-visit-page .home-visit-column>header b{margin-left:auto;padding:1px 7px;border-radius:var(--crm-radius-status);background:var(--crm-surface-subtle);color:var(--crm-muted);font-size:var(--crm-type-meta);font-variant-numeric:tabular-nums}.home-visit-page .home-visit-stack{display:grid;align-content:start;gap:8px;min-width:0}.home-visit-page .home-visit-column-empty{margin:0;padding:14px 10px;border:1px dashed var(--crm-line);border-radius:var(--crm-radius-surface);color:var(--crm-subtle);font-size:var(--crm-type-meta);text-align:center}.home-visit-page .home-visit-card{position:relative;min-width:0;max-width:100%;display:grid;gap:7px;padding:10px 12px;background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);font-size:var(--crm-type-control)}.home-visit-page .home-visit-card.is-overdue{border-left:2px solid var(--crm-brand);padding-left:10px}.home-visit-page .home-visit-card.is-today{border-color:color-mix(in srgb,var(--crm-warning) 45%,var(--crm-line))}.home-visit-page .home-visit-card-head{display:flex;align-items:flex-start;gap:8px}.home-visit-page .home-visit-card-name{flex:1;min-width:0;padding:0;text-align:left;color:var(--crm-ink);background:transparent;border:0;font:inherit;font-size:var(--crm-type-body);font-weight:750;cursor:pointer}.home-visit-page .home-visit-card-name:hover{color:var(--crm-brand-hover);text-decoration:underline;text-underline-offset:2px}.home-visit-page .home-visit-edit-trigger{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--crm-ctl-radius);background:transparent;color:var(--crm-subtle);cursor:pointer}.home-visit-page .home-visit-edit-trigger:hover{border-color:var(--crm-line);background:var(--crm-surface-subtle);color:var(--crm-ink)}.home-visit-page .home-visit-edit-trigger svg{width:14px;height:14px}.home-visit-page .home-visit-when{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.home-visit-page .home-visit-when svg{width:14px;height:14px;color:var(--crm-muted);flex-shrink:0}.home-visit-page .home-visit-when b{font-size:var(--crm-type-body);font-weight:700;color:var(--crm-ink)}.home-visit-page .home-visit-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 9px;margin:0}.home-visit-page .home-visit-facts dt{color:var(--crm-subtle);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.home-visit-page .home-visit-facts dd{margin:0;min-width:0;color:var(--crm-ink);font-size:var(--crm-type-control);overflow-wrap:anywhere}.home-visit-page .home-visit-facts .is-money{font-variant-numeric:tabular-nums;font-weight:700}.home-visit-page .home-visit-card-foot{display:flex;align-items:center;gap:8px;padding-top:8px;border-top:1px solid var(--crm-line-soft)}.home-visit-page .home-visit-card-foot .home-visit-type{margin-right:auto;padding:0;border:0;border-radius:0;background:none;color:var(--crm-subtle);font-size:var(--crm-type-label);font-style:normal;font-weight:700;letter-spacing:.045em}.home-visit-page .home-visit-card-outcomes{display:flex;gap:5px;margin-top:0}.home-visit-page .home-visit-card-outcomes button{height:var(--crm-ctl-h-xs);padding:0 9px;font-size:var(--crm-type-meta)}.home-visit-page .home-visit-card-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0;padding-top:8px;border-top:1px solid var(--crm-line-soft)}.home-visit-page .home-visit-card-editor label{margin:0;color:var(--crm-muted);font-size:var(--crm-type-label)}.home-visit-page .home-visit-card-editor>div{grid-column:1 / -1;display:flex;gap:6px;margin-top:4px}.home-visit-page .home-visit-card-editor button{flex:1;justify-content:center}.quick-action{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px;border-radius:var(--crm-radius-control);border:1px solid var(--crm-line);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:10px;font-weight:650;cursor:pointer}.quick-action svg{width:13px;height:13px}.quick-action:hover{border-color:var(--crm-brand);color:var(--crm-brand-hover)}.quick-action:disabled{opacity:.5;cursor:not-allowed}.quick-primary{background:var(--crm-brand);border-color:var(--crm-brand);color:var(--crm-surface)}.quick-primary:hover{background:var(--crm-brand-hover)}.quick-danger{color:var(--crm-danger);border-color:color-mix(in srgb,var(--crm-danger) 40%,var(--crm-line))}.quick-danger:hover{background:var(--crm-brand-soft);border-color:var(--crm-danger)}.quick-more{border-style:dashed}.quick-call{text-decoration:none}.visit-operator-type-section{margin-bottom:16px}.visit-operator-type-heading{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:var(--crm-type-body);font-weight:750;color:var(--crm-ink)}.visit-operator-type-heading span{padding:1px 6px;border-radius:var(--crm-radius-status);background:var(--crm-brand-soft);color:var(--crm-brand);font-size:9px;font-weight:700}.visit-schedule-sheet{display:grid;gap:12px;width:min(380px,calc(100vw - 32px));padding:18px;background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);box-shadow:var(--crm-shadow-workbench)}.visit-schedule-sheet header{display:flex;align-items:center;gap:8px}.visit-schedule-sheet header span{font-size:var(--crm-type-meta);color:var(--crm-muted)}.visit-schedule-sheet header h2{flex:1;margin:0;font-size:var(--crm-type-section)}.visit-schedule-sheet header button{width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:var(--crm-muted);cursor:pointer;font-size:18px}.visit-schedule-sheet label{display:grid;gap:4px;font-size:var(--crm-type-meta);color:var(--crm-muted)}.visit-schedule-sheet input,.visit-schedule-sheet textarea{padding:8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit;font-size:var(--crm-type-body)}.visit-schedule-sheet footer{display:flex;gap:8px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--crm-line-soft)}.visit-error{padding:6px 8px;border-radius:var(--crm-radius-control);background:var(--crm-brand-soft);color:var(--crm-danger);font-size:var(--crm-type-meta)}.quick-scheduled{background:color-mix(in srgb,var(--crm-warning) 12%,var(--crm-surface));border-color:color-mix(in srgb,var(--crm-warning) 30%,var(--crm-line));color:var(--crm-warning)}.quick-scheduled:hover{background:color-mix(in srgb,var(--crm-warning) 20%,var(--crm-surface))}.quick-deposit{background:color-mix(in srgb,var(--crm-success) 10%,var(--crm-surface));border-color:color-mix(in srgb,var(--crm-success) 30%,var(--crm-line));color:var(--crm-success)}.quick-deposit:hover{background:color-mix(in srgb,var(--crm-success) 18%,var(--crm-surface))}.task-orders-page{max-width:none}.task-orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;flex-wrap:wrap}.task-orders-filters{display:flex;gap:6px;flex-wrap:wrap}.task-orders-filters button{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:var(--crm-type-label);font-weight:650;cursor:pointer}.task-orders-filters button:hover{border-color:var(--crm-brand);color:var(--crm-brand-hover)}.task-orders-filters button.active{background:var(--crm-brand-soft);border-color:var(--crm-brand);color:var(--crm-brand-hover)}.task-orders-filters button span{padding:1px 5px;border-radius:var(--crm-radius-status);background:var(--crm-line-soft);color:var(--crm-muted);font-size:9px}.task-orders-search{display:flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);min-width:220px}.task-orders-search svg{width:14px;color:var(--crm-muted);flex-shrink:0}.task-orders-search input{border:0;outline:0;background:transparent;font:inherit;font-size:var(--crm-type-control);min-width:0;flex:1}.task-orders-loading{color:var(--crm-muted);font-size:var(--crm-type-meta);padding:20px 0}.task-orders-empty{display:grid;place-items:center;gap:8px;min-height:200px;color:var(--crm-muted)}.task-orders-empty svg{width:32px;color:var(--crm-success)}.task-orders-table-wrap{overflow-x:auto}.task-orders-table{width:100%;border-collapse:collapse;font-size:var(--crm-type-control)}.task-orders-table th{height:36px;padding:0 10px;text-align:left;color:var(--crm-muted);font-weight:700;font-size:var(--crm-type-meta);border-bottom:1px solid var(--crm-line);background:var(--crm-surface-subtle);white-space:nowrap}.task-orders-table td{padding:8px 10px;border-bottom:1px solid var(--crm-line-soft);vertical-align:middle}.task-orders-table tr:hover td{background:var(--crm-surface-subtle)}.task-orders-table tr.is-editing td{background:var(--crm-brand-soft)}.task-orders-name{min-width:120px}.task-orders-name b{display:block;font-weight:700}.task-orders-name small{display:block;color:var(--crm-muted);font-size:9px;margin-top:1px}.task-orders-quote{white-space:nowrap;font-variant-numeric:tabular-nums}.task-orders-project span{display:block}.task-orders-project small{display:block;color:var(--crm-muted);font-size:9px;margin-top:1px}.task-orders-date{white-space:nowrap}.task-orders-date.is-empty span{color:var(--crm-danger)}.task-orders-date.is-overdue span{color:var(--crm-danger);font-weight:700}.task-orders-date input{height:28px;padding:0 6px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit;font-size:var(--crm-type-label)}.task-orders-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.task-orders-amount.is-empty span{color:var(--crm-muted)}.task-orders-date.urgency-overdue span{color:var(--crm-danger);font-weight:700}.task-orders-date.urgency-urgent span{color:var(--crm-warning);font-weight:700}.task-orders-date.urgency-soon span{color:var(--crm-warning)}.task-orders-date.urgency-missing span{color:var(--crm-danger)}.task-orders-days{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:var(--crm-radius-status);font-size:9px;font-style:normal;font-weight:700}.task-orders-date.urgency-overdue .task-orders-days{background:transparent;padding-left:0;color:var(--crm-danger)}.task-orders-date.urgency-urgent .task-orders-days{background:color-mix(in srgb,var(--crm-warning) 12%,transparent);color:var(--crm-warning)}.task-orders-date.urgency-soon .task-orders-days{background:color-mix(in srgb,var(--crm-warning) 8%,transparent);color:var(--crm-warning)}tr.row-overdue td:first-child{box-shadow:inset 2px 0 0 var(--crm-brand)}tr.row-urgent td:first-child{box-shadow:inset 2px 0 color-mix(in srgb,var(--crm-warning) 65%,var(--crm-line))}.task-orders-alert{display:flex;align-items:center;gap:10px;margin:12px 0;padding:10px 14px;background:color-mix(in srgb,var(--crm-warning) 8%,var(--crm-surface));border:1px solid color-mix(in srgb,var(--crm-warning) 25%,var(--crm-line));border-radius:var(--crm-radius-control)}.task-orders-alert svg{width:18px;color:var(--crm-warning);flex-shrink:0}.task-orders-alert div{flex:1;min-width:0}.task-orders-alert b{display:block;font-size:var(--crm-type-control);color:var(--crm-ink)}.task-orders-alert span{display:block;font-size:9px;color:var(--crm-muted);margin-top:1px}.task-orders-alert button{height:28px;padding:0 10px;border:1px solid var(--crm-warning);border-radius:var(--crm-radius-control);background:transparent;color:var(--crm-warning);font:inherit;font-size:var(--crm-type-label);font-weight:650;cursor:pointer}.task-orders-alert button:hover{background:color-mix(in srgb,var(--crm-warning) 12%,transparent)}.task-orders-owner{white-space:nowrap;color:var(--crm-muted)}.task-orders-actions{white-space:nowrap}.task-orders-actions button{height:28px;padding:0 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:var(--crm-type-meta);font-weight:650;cursor:pointer}.task-orders-actions button:hover{border-color:var(--crm-brand);color:var(--crm-brand-hover)}.task-orders-actions .primary{background:var(--crm-brand);border-color:var(--crm-brand);color:var(--crm-surface)}.task-orders-actions .secondary{margin-left:4px}.task-orders-actions div{display:flex;gap:4px}@media(max-width:700px){.task-orders-toolbar{flex-direction:column;align-items:stretch}.task-orders-search{min-width:auto}}.home-visit-page .home-visit-empty{display:grid;place-items:center;gap:10px;min-height:300px;background:var(--crm-surface);border-radius:var(--crm-radius-surface)}.home-visit-boards{display:flex;flex-direction:column;gap:24px}.home-visit-type-heading{margin:0 0 10px;font-size:var(--crm-type-body);font-weight:750;color:var(--crm-ink)}.home-visit-type{padding:1px 5px;border-radius:var(--crm-radius-status);background:var(--crm-brand-soft);color:var(--crm-brand);font-size:9px;font-style:normal;font-weight:700}.home-visit-board{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:8px;min-height:auto;padding:0 0 10px;overflow-x:auto}@media(max-width:900px){.home-visit-page .home-visit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-visit-boards{gap:16px}}@media(max-width:600px){.home-visit-page{padding:12px 10px 28px}.home-visit-page .title-row h1{font-size:20px}.home-visit-page .home-visit-form-grid{grid-template-columns:1fr}.home-visit-page .home-visit-notes{grid-column:auto}.home-visit-board{grid-template-columns:1fr;gap:6px}.home-visit-page .home-visit-toolbar{flex-direction:column;align-items:stretch;gap:8px}.home-visit-page .home-visit-toolbar label{min-width:auto}.home-visit-page .home-visit-lead-results{width:calc(100% - 32px)}.home-visit-type-heading{font-size:var(--crm-type-control)}.home-visit-page .home-visit-card{padding:8px}.home-visit-page .home-visit-card-name{font-size:var(--crm-type-meta)}}.visit-operator{display:grid;gap:14px}.visit-operator-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.visit-operator-metrics button{min-height:60px;display:grid;align-content:center;gap:3px;padding:8px;color:var(--crm-muted);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);text-align:left;cursor:pointer}.visit-operator-metrics button.active{color:var(--crm-brand-hover);background:var(--crm-brand-soft);border-color:color-mix(in srgb,var(--crm-brand) 38%,transparent);box-shadow:inset 0 2px 0 var(--crm-brand)}.visit-operator-metrics b{color:inherit;font-size:var(--crm-type-metric);line-height:1;font-variant-numeric:tabular-nums}.visit-operator-metrics span{font-size:var(--crm-type-meta);font-weight:700}.visit-operator-list{display:grid;gap:12px}.visit-operator-card{padding:10px;background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control)}.visit-operator-card.is-done{opacity:.6}.visit-operator-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.visit-operator-card-info{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.visit-operator-card-info b{font-size:var(--crm-type-control);font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.visit-operator-card-info span{font-size:9px;color:var(--crm-muted);white-space:nowrap}.visit-operator-card-info em{font-size:9px;color:var(--crm-subtle);font-style:normal;white-space:nowrap}.visit-operator-card-meta{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:5px;color:var(--crm-muted);font-size:9px}.visit-operator-card-meta span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.visit-operator-card-meta svg{width:11px;height:11px}.visit-operator-card-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;padding-top:8px;border-top:1px solid var(--crm-line-soft)}.visit-operator-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.visit-operator-photo{min-width:0;margin:0;overflow:hidden;background:var(--crm-surface-subtle);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control)}.visit-operator-photo img,.visit-operator-photo>span{width:100%;height:188px;display:grid;place-items:center;object-fit:contain;object-position:center;padding:8px}.visit-operator-photo img{background:var(--crm-surface)}.visit-operator-photo>span{color:var(--crm-muted)}.visit-operator-photo svg{width:24px;height:24px}.visit-operator-photo figcaption{padding:6px 8px;color:var(--crm-muted);background:var(--crm-surface);border-top:1px solid var(--crm-line);font-size:var(--crm-type-meta);font-weight:700}.visit-operator-document{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:10px;color:var(--crm-ink);background:var(--crm-surface-subtle);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control)}.visit-operator-document>svg{width:38px;height:38px;padding:8px;color:var(--crm-surface);background:var(--crm-brand);border-radius:var(--crm-radius-control)}.visit-operator-document b,.visit-operator-document span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-operator-document b{font-size:var(--crm-type-control)}.visit-operator-document span{margin-top:2px;color:var(--crm-muted);font-size:var(--crm-type-meta)}.visit-operator-empty{min-height:180px;display:grid;place-items:center;margin:0;color:var(--crm-muted);background:var(--crm-surface);border:1px dashed var(--crm-line);border-radius:var(--crm-radius-surface)}.visit-confirm-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6000;display:grid;align-items:end;background:#12151a94}.visit-confirm-sheet{width:min(720px,100%);margin:0 auto;display:grid;gap:14px;max-height:min(760px,calc(100vh - 32px));overflow:auto;padding:16px 16px max(18px,env(safe-area-inset-bottom));color:var(--crm-ink);background:var(--crm-surface);border-radius:var(--crm-radius-surface) var(--crm-radius-surface) 0 0;box-shadow:0 -18px 44px #12151a3d}.visit-confirm-sheet header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.visit-confirm-sheet header span{color:var(--crm-brand-hover);font-size:var(--crm-type-label);font-weight:800}.visit-confirm-sheet h2{margin:3px 0 0;font-size:18px}.visit-confirm-sheet header button{width:44px;height:44px;padding:0;color:var(--crm-ink);background:var(--crm-surface-subtle);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font-size:var(--crm-type-screen);line-height:1}.visit-confirm-statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.visit-confirm-statuses button{min-height:44px;color:var(--crm-ink);background:var(--crm-surface-subtle);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit;font-size:var(--crm-type-control);font-weight:750}.visit-confirm-statuses button.active{color:var(--crm-surface);background:var(--crm-brand);border-color:var(--crm-brand)}.visit-confirm-sheet label{display:grid;gap:7px;color:var(--crm-muted);font-size:var(--crm-type-control);font-weight:750}.visit-confirm-sheet textarea,.visit-confirm-sheet input{width:100%;min-height:44px;padding:10px 11px;color:var(--crm-ink);background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);font:inherit;font-size:16px}.visit-confirm-sheet textarea{line-height:1.5;resize:vertical}.visit-confirm-photo span{min-height:44px;display:flex;align-items:center;padding:0 11px;color:var(--crm-muted);background:var(--crm-surface-subtle);border:1px dashed var(--crm-line);border-radius:var(--crm-radius-control);overflow-wrap:anywhere}.visit-confirm-sheet footer{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}.visit-confirm-sheet [role=alert]{color:var(--crm-danger);overflow-wrap:anywhere}.visit-confirm-sheet button:disabled{opacity:.55;cursor:not-allowed}.visit-confirm-sheet [role=status]{overflow-wrap:anywhere}.visit-confirm-sheet footer button{min-height:46px;justify-content:center}@media(max-width:700px){.home-visit-page .title-row{align-items:flex-start;gap:10px}.visit-operator-metrics{position:sticky;top:0;z-index:5;padding:8px 0;background:var(--crm-canvas)}.visit-operator-card{padding:8px}.visit-operator-card-row{flex-direction:column;align-items:stretch;gap:6px}.visit-operator-card-info{gap:4px}.visit-operator-card-actions{justify-content:flex-start;gap:3px}.quick-action{height:30px;padding:0 7px;font-size:9px}.visit-operator-photos{grid-template-columns:1fr}.visit-operator-photo img,.visit-operator-photo>span{height:220px}.visit-operator-type-heading{font-size:var(--crm-type-control)}.task-orders-toolbar{flex-direction:column;align-items:stretch}.task-orders-search{min-width:auto}.task-orders-table thead{display:none}.task-orders-table,.task-orders-table tbody,.task-orders-table tr,.task-orders-table td{display:block;width:100%}.task-orders-table tr{margin-bottom:10px;padding:10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.task-orders-table tr.is-editing{background:var(--crm-brand-soft)}.task-orders-table td{padding:3px 0;border-bottom:0}.task-orders-name b{font-size:var(--crm-type-body)}.task-orders-date input{width:100%}.task-orders-actions div{flex-wrap:wrap}}@media(min-width:701px)and (max-width:1024px){.visit-operator-card-actions{gap:3px}.quick-action{height:26px;padding:0 6px;font-size:9px}.task-orders-table{font-size:var(--crm-type-meta)}}.crm-master-detail span[style*="font-size: 10px"],.crm-master-detail small[style*="font-size: 10px"],.crm-master-detail em[style*="font-size: 10px"],.crm-master-detail label>span,.crm-master-detail .detail-item span,.crm-master-detail .detail-item b,.crm-master-detail .profile-editor label>span,.crm-master-detail .profile-notes,.crm-master-detail .followup-card label>span,.crm-master-detail .followup-card select,.crm-master-detail .followup-card input,.crm-master-detail .followup-card textarea,.crm-master-detail .project-form-grid label>span,.crm-master-detail .project-form-grid input,.crm-master-detail .project-form-grid textarea,.crm-master-detail .project-form-grid select,.crm-master-detail .matrix-cell-tools small,.crm-master-detail .matrix-cell-tools button,.crm-master-detail .project-matrix-cell label>span,.crm-master-detail .project-matrix-cell>small,.crm-master-detail .project-matrix-cell input,.crm-master-detail .project-matrix-cell textarea,.crm-master-detail .project-matrix-cell select,.crm-master-detail .project-actions>div,.crm-master-detail .project-actions .primary,.crm-master-detail .door-photo figcaption span,.crm-master-detail .door-photo figcaption small,.crm-master-detail .door-photo-head small,.crm-master-detail .measurement-group label small{font-size:11px!important}.dashboard-won-performance{overflow:hidden}.dashboard-won-head{display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);padding:14px 18px;border-bottom:1px solid var(--crm-line-soft)}.dashboard-won-head>div{display:flex;align-items:center;gap:10px}.dashboard-won-head>div>svg{width:20px;height:20px;color:var(--crm-success)}.dashboard-won-head h2{margin:0;font-size:var(--crm-type-section)}.dashboard-won-head p{margin:2px 0 0;color:var(--crm-muted);font-size:var(--crm-type-meta)}.dashboard-won-head button{height:30px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);background:var(--crm-surface);font:inherit;font-size:var(--crm-type-label);font-weight:650;cursor:pointer}.dashboard-won-head button:hover{color:var(--crm-brand-hover);border-color:var(--crm-brand)}.dashboard-won-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.dashboard-won-metrics>div{display:flex;align-items:center;gap:10px;padding:14px 16px;border-right:1px solid var(--crm-line-soft)}.dashboard-won-metrics>div:last-child{border-right:0}.dashboard-won-metrics>div>svg{width:18px;height:18px;flex-shrink:0;color:var(--crm-muted)}.dashboard-won-metrics b{display:block;font-size:var(--crm-type-workspace);font-variant-numeric:tabular-nums;color:var(--crm-ink)}.dashboard-won-metrics span{display:block;margin-top:1px;font-size:var(--crm-type-meta);color:var(--crm-muted)}.dashboard-won-ranking{padding:0 18px 14px}.dashboard-won-ranking h3{margin:0 0 8px;font-size:var(--crm-type-control);color:var(--crm-muted)}.dashboard-won-ranking ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.dashboard-won-ranking li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--crm-radius-control);background:var(--crm-surface-subtle)}.dashboard-won-ranking .rank-num{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--crm-line);color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:800}.dashboard-won-ranking li:first-child .rank-num{background:var(--crm-brand-soft);color:var(--crm-brand)}.dashboard-won-ranking .rank-name{flex:1;font-weight:700;font-size:var(--crm-type-control)}.dashboard-won-ranking .rank-deals{color:var(--crm-muted);font-size:var(--crm-type-meta)}.dashboard-won-ranking .rank-total{font-weight:750;font-size:var(--crm-type-control);font-variant-numeric:tabular-nums}@media(max-width:700px){.dashboard-won-metrics{grid-template-columns:repeat(2,1fr)}.dashboard-won-metrics>div:nth-child(2){border-right:0}.dashboard-won-metrics>div:nth-child(1),.dashboard-won-metrics>div:nth-child(2){border-bottom:1px solid var(--crm-line-soft)}}.contact-sub-label{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:var(--crm-radius-status);background:var(--crm-brand-soft);color:var(--crm-brand);font-size:var(--crm-type-meta);font-style:normal;font-weight:650}@media(min-width:1200px){.dashboard-won-metrics{gap:0}.dashboard-won-metrics>div{padding:16px 20px}.task-orders-table th{padding:0 14px}.task-orders-table td{padding:10px 14px}.task-orders-toolbar{gap:16px}.home-visit-board{gap:14px}.home-visit-card{padding:12px}.home-visit-card-head button{font-size:var(--crm-type-control)}.customers-page:not(.customer-detail-page) .customer-table td{padding:10px 12px}.quote-library-toolbar-row{padding:10px 14px}}@media(min-width:1440px){.content{max-width:1600px}.home-visit-board{grid-template-columns:repeat(2,minmax(280px,1fr))}}.notification-bell{position:relative}.notification-bell>.icon{position:relative}.notification-badge{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;display:inline-grid;place-items:center;border-radius:var(--crm-radius-status);background:var(--crm-brand);color:var(--crm-surface);font-size:9px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.notification-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:360px;max-width:calc(100vw - 24px);max-height:min(480px,72vh);display:flex;flex-direction:column;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);box-shadow:var(--crm-shadow-workbench);overflow:hidden;animation:notification-pop var(--crm-motion-normal) var(--crm-ease-out)}@keyframes notification-pop{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-panel>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:13px 15px;border-bottom:1px solid var(--crm-line-soft)}.notification-panel>header span{font-size:var(--crm-type-section);font-weight:700;color:var(--crm-ink)}.notification-panel>header b{font-size:var(--crm-type-meta);font-weight:600;color:var(--crm-muted);white-space:nowrap}.notification-list{margin:0;padding:5px;list-style:none;overflow-y:auto}.notification-list li+li{border-top:1px solid var(--crm-line-soft)}.notification-list button{width:100%;display:grid;grid-template-columns:30px 1fr 16px;gap:10px;align-items:center;padding:10px 8px;border:0;border-radius:var(--crm-radius-control);background:transparent;text-align:left;cursor:pointer}.notification-list button:hover{background:var(--crm-surface-subtle)}.notification-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px}.notification-icon.danger{background:var(--crm-brand-soft);color:var(--crm-brand)}.notification-icon.warning{background:color-mix(in srgb,var(--crm-warning) 14%,transparent);color:var(--crm-warning)}.notification-icon.success{background:color-mix(in srgb,var(--crm-success) 14%,transparent);color:var(--crm-success)}.notification-icon.today{background:var(--crm-brand-soft);color:var(--crm-brand-hover)}.notification-icon.neutral,.notification-icon.upcoming{background:var(--crm-surface-subtle);color:var(--crm-muted)}.notification-body{min-width:0;display:grid;gap:1px}.notification-body b{font-size:var(--crm-type-body);color:var(--crm-ink);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-body em{font-size:var(--crm-type-control);color:var(--crm-ink);font-style:normal;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-do{display:inline-block;margin-left:7px;padding-left:7px;border-left:1px solid var(--crm-line);color:var(--crm-brand-hover);font-style:normal;font-weight:700}.notification-body small{font-size:var(--crm-type-meta);color:var(--crm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-list button>svg{width:14px;height:14px;color:var(--crm-subtle);flex-shrink:0}.notification-empty{padding:34px 16px;display:grid;place-items:center;gap:8px;color:var(--crm-muted)}.notification-empty svg{width:26px;height:26px;color:var(--crm-subtle)}.notification-empty p{margin:0;font-size:var(--crm-type-body)}.notification-error{margin:0;padding:12px 15px;color:var(--crm-danger);font-size:var(--crm-type-control)}.notification-panel>footer{padding:8px;border-top:1px solid var(--crm-line-soft)}.notification-panel>footer button{width:100%;padding:8px;border:0;border-radius:var(--crm-radius-control);background:transparent;color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);cursor:pointer}.notification-panel>footer button:hover{background:var(--crm-surface-subtle);color:var(--crm-ink)}.next-action-banner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:2px 0 4px;padding:11px 14px;border:1px solid var(--crm-line-soft);border-radius:var(--crm-radius-control);background:var(--crm-surface)}.next-action-banner.tone-danger{border-color:color-mix(in srgb,var(--crm-brand) 30%,transparent);background:var(--crm-brand-soft)}.next-action-banner.tone-warning{border-color:color-mix(in srgb,var(--crm-warning) 30%,transparent);background:color-mix(in srgb,var(--crm-warning) 8%,var(--crm-surface))}.next-action-banner.tone-success{border-color:color-mix(in srgb,var(--crm-success) 30%,transparent);background:color-mix(in srgb,var(--crm-success) 8%,var(--crm-surface))}.next-action-banner.tone-today{border-color:color-mix(in srgb,var(--crm-brand) 24%,transparent);background:var(--crm-brand-soft)}.next-action-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:var(--crm-brand-soft);color:var(--crm-brand)}.next-action-banner.tone-warning .next-action-icon{background:color-mix(in srgb,var(--crm-warning) 14%,transparent);color:var(--crm-warning)}.next-action-banner.tone-success .next-action-icon{background:color-mix(in srgb,var(--crm-success) 14%,transparent);color:var(--crm-success)}.next-action-copy{min-width:0;display:grid;gap:1px}.next-action-copy b{font-size:var(--crm-type-meta);color:var(--crm-muted);font-weight:650}.next-action-copy strong{font-size:var(--crm-type-body);color:var(--crm-ink);font-weight:750}.next-action-copy small{font-size:var(--crm-type-meta);color:var(--crm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.next-action-banner>svg{width:16px;height:16px;color:var(--crm-subtle);flex-shrink:0}.import-auto-assign{padding:0;overflow:hidden}.import-auto-assign>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 16px}.import-auto-assign.is-on>header{border-bottom:1px solid var(--crm-line-soft)}.import-auto-assign-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--crm-surface-subtle);color:var(--crm-muted)}.import-auto-assign.is-on .import-auto-assign-icon{background:var(--crm-brand-soft);color:var(--crm-brand)}.import-auto-assign-title{display:grid;gap:2px;min-width:0}.import-auto-assign-title b{font-size:var(--crm-type-body);color:var(--crm-ink);font-weight:700}.import-auto-assign-title small{font-size:var(--crm-type-meta);color:var(--crm-muted)}.import-auto-assign-switch{position:relative;display:inline-flex;cursor:pointer}.import-auto-assign-switch input{position:absolute;width:0;height:0;opacity:0}.import-auto-assign-switch>span{position:relative;width:40px;height:22px;border-radius:var(--crm-radius-status);background:var(--crm-disabled);transition:background var(--crm-motion-fast) var(--crm-ease-standard)}.import-auto-assign-switch>span:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:var(--crm-surface);box-shadow:0 1px 3px color-mix(in srgb,var(--crm-ink) 24%,transparent);transition:transform var(--crm-motion-fast) var(--crm-ease-standard)}.import-auto-assign-switch input:checked+span{background:var(--crm-brand)}.import-auto-assign-switch input:checked+span:after{transform:translate(18px)}.import-auto-assign-switch input:focus-visible+span{box-shadow:0 0 0 3px var(--crm-focus)}.import-auto-assign-body{display:grid;gap:12px;padding:14px 16px}.import-auto-assign-field{display:grid;gap:7px}.import-auto-assign-field>span{font-size:var(--crm-type-meta);font-weight:700;color:var(--crm-muted)}.import-auto-assign-seg{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface-subtle);width:fit-content}.import-auto-assign-seg button{padding:6px 14px;border:0;border-radius:calc(var(--crm-radius-control) - 2px);background:transparent;color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);font-weight:650;cursor:pointer}.import-auto-assign-seg button:hover{color:var(--crm-ink)}.import-auto-assign-seg button.active{background:var(--crm-surface);color:var(--crm-brand-hover);box-shadow:0 1px 3px color-mix(in srgb,var(--crm-ink) 12%,transparent)}.import-auto-assign-members{display:flex;flex-wrap:wrap;gap:6px}.import-auto-assign-members button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 11px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-status);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);font-weight:650;cursor:pointer}.import-auto-assign-members button:hover{border-color:var(--crm-brand);color:var(--crm-brand-hover)}.import-auto-assign-members button.active{border-color:color-mix(in srgb,var(--crm-brand) 38%,transparent);background:var(--crm-brand-soft);color:var(--crm-brand-hover)}.import-auto-assign-members button svg{width:12px;height:12px}.import-auto-assign-members small{font-size:var(--crm-type-meta);color:var(--crm-warning)}.import-auto-assign-note{display:flex;align-items:center;gap:6px;margin:0 16px 13px;padding:8px 10px;border-radius:var(--crm-radius-control);font-size:var(--crm-type-control)}.import-auto-assign-note svg{width:14px;height:14px;flex-shrink:0}.import-auto-assign-note.ok{background:color-mix(in srgb,var(--crm-success) 10%,transparent);color:var(--crm-success)}.import-auto-assign-note.err{background:var(--crm-brand-soft);color:var(--crm-danger)}.import-auto-assign-error{display:flex;align-items:center;gap:6px;color:var(--crm-danger);font-size:var(--crm-type-control)}.import-auto-assign-error svg{width:14px;height:14px}.import-autoassign-detail{color:var(--crm-brand-hover);font-weight:650}.task-orders-stage select{width:100%;min-width:92px;height:30px;padding:0 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);font-weight:650;cursor:pointer}.task-orders-stage select.is-set{border-color:color-mix(in srgb,var(--crm-success) 34%,transparent);background:color-mix(in srgb,var(--crm-success) 8%,var(--crm-surface));color:var(--crm-success)}.task-orders-desk{margin:14px 0 0;display:flex;flex-wrap:wrap;border-top:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line);background:var(--crm-surface)}.task-orders-desk>div{flex:1 1 118px;min-width:0;padding:9px 14px;border-left:1px solid var(--crm-line-soft)}.task-orders-desk>div:first-child{border-left:0}.task-orders-desk dt{font-size:var(--crm-type-label);letter-spacing:.045em;font-weight:700;color:var(--crm-muted)}.task-orders-desk dd{margin:2px 0 0;font-size:var(--crm-type-workspace);font-weight:750;color:var(--crm-ink);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-orders-desk .is-owed dd{color:var(--crm-brand-hover)}.stage-track{display:grid;gap:5px;min-width:0}.stage-track-label{font-size:var(--crm-type-table);font-weight:700;color:var(--crm-muted)}.stage-track-label.is-set{color:var(--crm-ink)}.stage-track-rail{display:flex;min-width:0;gap:3px}.stage-track-node{position:relative;flex:1 1 0;min-width:0;height:4px;padding:0;border:0;border-radius:1px;background:var(--crm-line);cursor:pointer;transition:background var(--crm-motion-fast) var(--crm-ease-standard)}.stage-track-node:after{content:"";position:absolute;left:0;right:0;top:-10px;bottom:-10px}.stage-track-node.is-done{background:var(--crm-graphite)}.stage-track-node.is-current{background:var(--crm-brand)}.stage-track.is-none .stage-track-node.is-current{background:var(--crm-line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--crm-ink) 32%,transparent)}.stage-track-node.is-next{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--crm-brand) 45%,var(--crm-line))}.stage-track-node:hover{background:color-mix(in srgb,var(--crm-brand) 55%,var(--crm-line))}.stage-track-node:focus-visible{outline:2px solid var(--crm-focus);outline-offset:3px}.stage-track-node:disabled{cursor:progress;opacity:.55}.task-orders-payment{min-width:172px}.payment-toggle{position:relative;width:100%;display:grid;align-items:center;gap:5px 8px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"figures figures" "rule due";padding:5px 26px 5px 8px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-ink);font:inherit;text-align:left;cursor:pointer}.payment-toggle:hover,.payment-toggle.is-open{border-color:var(--crm-brand)}.payment-toggle.is-open{background:var(--crm-brand-soft)}.payment-toggle>svg{position:absolute;right:8px;top:50%;width:14px;height:14px;color:var(--crm-subtle);transform:translateY(-50%);transition:transform var(--crm-motion-fast) var(--crm-ease-standard)}.payment-toggle.is-open>svg{transform:translateY(-50%) rotate(180deg)}.op-figures{grid-area:figures;display:flex;align-items:baseline;gap:4px;min-width:0}.op-figures b{font-size:var(--crm-type-table);font-weight:700;font-variant-numeric:tabular-nums}.op-figures small{font-size:var(--crm-type-meta);color:var(--crm-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.op-rule{grid-area:rule;display:block;height:2px;border-radius:1px;background:var(--crm-line);overflow:hidden}.op-rule i{display:block;height:100%;background:var(--crm-graphite);transition:width var(--crm-motion-normal) var(--crm-ease-standard)}.payment-toggle.is-settled .op-rule i{background:var(--crm-success)}.op-due{grid-area:due;justify-self:end;font-size:var(--crm-type-meta);font-weight:700;color:var(--crm-warning);font-variant-numeric:tabular-nums;white-space:nowrap}.payment-toggle.is-settled .op-due{color:var(--crm-success);font-weight:600}.order-payment-row>td{padding:0!important;background:var(--crm-surface-subtle)}.order-payment-panel{padding:14px 16px 16px;display:grid;gap:12px}.order-payment-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-payment-panel>header>div{display:grid;gap:3px;min-width:0}.order-payment-panel>header b{font-size:var(--crm-type-body);color:var(--crm-ink)}.order-payment-panel>header small{font-size:var(--crm-type-meta);color:var(--crm-muted);font-variant-numeric:tabular-nums}.order-payment-panel>header em{font-style:normal;font-weight:700}.op-paid{color:var(--crm-ink)}.order-payment-panel>header button{flex-shrink:0;height:28px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);cursor:pointer}.order-payment-panel>header button:hover{color:var(--crm-ink);border-color:var(--crm-brand)}.op-summary{margin:0;display:flex;flex-wrap:wrap;border:1px solid var(--crm-line-soft);background:var(--crm-surface)}.op-summary>div{flex:1 1 96px;min-width:0;padding:7px 11px;border-left:1px solid var(--crm-line-soft)}.op-summary>div:first-child{border-left:0}.op-summary dt{font-size:var(--crm-type-label);letter-spacing:.045em;font-weight:700;color:var(--crm-muted)}.op-summary dd{margin:2px 0 0;font-size:var(--crm-type-table);font-weight:700;color:var(--crm-ink);font-variant-numeric:tabular-nums}.op-summary .is-owed dd{color:var(--crm-warning)}.op-summary .is-settled dd{color:var(--crm-success)}.op-table{width:100%;border-collapse:collapse;border:1px solid var(--crm-line-soft);background:var(--crm-surface);font-size:var(--crm-type-table)}.op-table th{height:26px;padding:0 10px;text-align:left;font-size:var(--crm-type-label);letter-spacing:.045em;font-weight:700;color:var(--crm-muted);border-bottom:1px solid var(--crm-line);white-space:nowrap}.op-table td{padding:7px 10px;border-bottom:1px solid var(--crm-line-soft);color:var(--crm-muted)}.op-table tbody tr:last-child td{border-bottom:0}.op-table .op-money,.op-table th:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.op-table .op-money{color:var(--crm-ink);font-weight:700;white-space:nowrap}.op-kind{display:inline-block;padding:1px 7px;border:1px solid var(--crm-line-soft);border-radius:var(--crm-radius-status);background:var(--crm-surface-subtle);color:var(--crm-ink);font-size:var(--crm-type-meta);font-weight:700}.op-note{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--crm-subtle)}.op-by{white-space:nowrap}.op-delete{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:var(--crm-radius-control);background:transparent;color:var(--crm-subtle);cursor:pointer}.op-delete:hover{background:var(--crm-brand-soft);color:var(--crm-danger)}.op-delete:focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px;color:var(--crm-danger)}.op-delete svg{width:14px;height:14px}.op-empty{margin:0;padding:14px;border:1px dashed var(--crm-line);color:var(--crm-muted);font-size:var(--crm-type-control);text-align:center}.order-payment-form{display:grid;grid-template-columns:92px 120px 140px 120px 1fr auto;gap:8px;align-items:center}.order-payment-form :is(select,input){height:32px;padding:0 9px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-ink);font:inherit;font-size:var(--crm-type-control)}.order-payment-form button{height:32px;display:inline-flex;align-items:center;gap:5px;padding:0 13px;font-size:var(--crm-type-control);white-space:nowrap}.order-payment-form button svg{width:13px;height:13px}@media(max-width:1400px){.order-payment-list li{grid-template-columns:62px 100px 96px 1fr 34px}.order-payment-list li .op-by{display:none}}@media(max-width:1100px){.order-payment-list li{grid-template-columns:62px 1fr 90px 34px}.order-payment-list li .op-note{display:none}.order-payment-form{grid-template-columns:84px 110px 1fr 1fr}}@media(max-width:780px){.order-payment-form{grid-template-columns:1fr 1fr}.order-payment-form button{grid-column:1 / -1;justify-content:center}}.content.crm-refine button{height:var(--crm-ctl-h);display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid var(--crm-ctl-line);border-radius:var(--crm-ctl-radius);background:var(--crm-surface);color:var(--crm-ink);font:inherit;font-size:var(--crm-type-control);font-weight:650;letter-spacing:.01em;box-shadow:var(--crm-ctl-lift);cursor:pointer;transition:background var(--crm-motion-fast) var(--crm-ease-standard),border-color var(--crm-motion-fast) var(--crm-ease-standard),color var(--crm-motion-fast) var(--crm-ease-standard),transform var(--crm-motion-instant) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard)}.content.crm-refine button:hover:not(:disabled){border-color:color-mix(in srgb,var(--crm-brand) 42%,var(--crm-ctl-line));color:var(--crm-brand-hover);background:color-mix(in srgb,var(--crm-brand) 4%,var(--crm-surface))}.content.crm-refine button:active:not(:disabled){transform:translateY(1px);box-shadow:none}.content.crm-refine button:focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px}.content.crm-refine button:disabled{background:var(--crm-disabled);border-color:var(--crm-line-soft);color:var(--crm-disabled-ink);box-shadow:none;cursor:not-allowed}.content.crm-refine button svg{width:14px;height:14px;flex-shrink:0}.content.crm-refine button.primary,.crm-refine button.is-solid{height:var(--crm-ctl-h);padding:0 14px;border-radius:var(--crm-ctl-radius);border-color:var(--crm-brand-hover);background:var(--crm-brand);color:var(--crm-surface);box-shadow:var(--crm-ctl-primary-lift),var(--crm-ctl-bevel)}.content.crm-refine button.primary:hover:not(:disabled),.crm-refine button.is-solid:hover:not(:disabled){background:var(--crm-brand-hover);border-color:var(--crm-brand-hover);color:var(--crm-surface);transform:translateY(-1px);box-shadow:0 4px 13px color-mix(in srgb,var(--crm-brand) 34%,transparent),var(--crm-ctl-bevel)}.content.crm-refine button.primary:active:not(:disabled),.crm-refine button.is-solid:active:not(:disabled){transform:translateY(0);box-shadow:var(--crm-ctl-primary-press)}.content.crm-refine button.primary:disabled,.crm-refine button.is-solid:disabled{background:var(--crm-disabled);border-color:var(--crm-line-soft);color:var(--crm-disabled-ink);box-shadow:none}.content.crm-refine button.ghost,.crm-refine button.is-quiet{height:var(--crm-ctl-h);padding:0 12px;border-radius:var(--crm-ctl-radius);border-color:transparent;background:transparent;color:var(--crm-muted);box-shadow:none}.content.crm-refine button.ghost:hover:not(:disabled),.crm-refine button.is-quiet:hover:not(:disabled){background:color-mix(in srgb,var(--crm-canvas) 70%,var(--crm-surface));border-color:var(--crm-line-soft);color:var(--crm-ink)}.content.crm-refine .crm-ctl-sm,.crm-refine td button,.crm-refine th button{height:var(--crm-ctl-h-sm);padding:0 10px;font-size:var(--crm-type-meta)}.content.crm-refine :is(input,select,textarea){min-height:var(--crm-ctl-h);padding:0 10px;border:1px solid var(--crm-ctl-line);border-radius:var(--crm-ctl-radius);background:var(--crm-surface);color:var(--crm-ink);font:inherit;font-size:var(--crm-type-control);transition:border-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard)}.content.crm-refine :is(input,select,textarea):focus{outline:none;border-color:var(--crm-brand);box-shadow:var(--crm-ctl-ring)}.content.crm-refine :is(input,select,textarea)::placeholder{color:var(--crm-subtle)}.content.crm-refine :is(input,select,textarea):disabled{background:var(--crm-disabled);color:var(--crm-disabled-ink);border-color:var(--crm-line-soft)}.content.crm-refine input[type=date],.crm-refine input[type=number]{font-variant-numeric:tabular-nums}.content.crm-refine table th{height:32px;border-bottom:1px solid var(--crm-line);background:var(--crm-surface);color:var(--crm-muted);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.content.crm-refine table td{border-bottom:1px solid var(--crm-line-soft)}.content.crm-refine table tbody tr{transition:background var(--crm-motion-fast) var(--crm-ease-standard)}.content.crm-refine table tbody tr:hover td{background:color-mix(in srgb,var(--crm-canvas) 52%,var(--crm-surface))}.content.crm-refine .task-orders-filters{padding:2px;border:1px solid var(--crm-ctl-line);border-radius:var(--crm-ctl-radius);background:var(--crm-surface)}.content.crm-refine .task-orders-filters button{height:var(--crm-ctl-h-sm);border-color:transparent;background:transparent;box-shadow:none;color:var(--crm-muted)}.content.crm-refine .task-orders-filters button:hover:not(:disabled){background:color-mix(in srgb,var(--crm-canvas) 70%,var(--crm-surface));border-color:transparent;color:var(--crm-ink)}.content.crm-refine .task-orders-filters button.active{background:var(--crm-graphite);border-color:var(--crm-graphite);color:var(--crm-on-graphite);box-shadow:inset 0 -2px 0 var(--crm-brand)}.content.crm-refine .task-orders-filters button.active span{background:var(--crm-graphite-active);color:var(--crm-on-graphite-muted)}.content.crm-refine .stage-track-node{height:4px;padding:0;border:0;border-radius:1px;background:var(--crm-line);box-shadow:none}.content.crm-refine .stage-track-node:hover{background:color-mix(in srgb,var(--crm-brand) 55%,var(--crm-line))}.content.crm-refine .stage-track-node.is-done{background:var(--crm-graphite)}.content.crm-refine .stage-track-node.is-current{background:var(--crm-brand)}.content.crm-refine .stage-track.is-none .stage-track-node.is-current{background:var(--crm-line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--crm-ink) 32%,transparent)}.content.crm-refine .stage-track-node:disabled{background:var(--crm-line);opacity:.55;cursor:progress}.content.crm-refine .payment-toggle{display:grid;height:auto;justify-content:normal;padding:5px 26px 5px 8px;background:var(--crm-surface);box-shadow:none}.content.crm-refine .payment-toggle:hover{background:var(--crm-surface)}.content.crm-refine :is(.searchbox,.task-orders-search) :is(input,select){min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.content.crm-refine :is(.searchbox,.task-orders-search) :is(input,select):focus{outline:none}.content.crm-refine :is(.searchbox,.task-orders-search){border-radius:var(--crm-ctl-radius);transition:border-color var(--crm-motion-fast) var(--crm-ease-standard),box-shadow var(--crm-motion-fast) var(--crm-ease-standard)}.content.crm-refine :is(.searchbox,.task-orders-search):focus-within{border-color:var(--crm-brand);box-shadow:var(--crm-ctl-ring)}.home-visit-flag{padding:1px 6px;border-radius:var(--crm-radius-status);background:var(--crm-surface-subtle);color:var(--crm-muted);font-size:9.5px;font-style:normal;font-weight:700}.home-visit-flag.is-plain{background:transparent;border:1px dashed var(--crm-line)}.home-visit-flag.is-today{background:var(--crm-brand-soft);color:var(--crm-brand-hover)}.home-visit-flag.is-overdue{background:var(--crm-brand);color:var(--crm-surface)}.home-visit-missing{padding:0;border:0;background:none;color:var(--crm-warning);font:inherit;font-size:var(--crm-type-control);font-weight:700;text-decoration:underline dotted;text-underline-offset:2px;cursor:pointer}.home-visit-missing:hover{color:var(--crm-brand-hover)}.home-visit-types{display:flex;gap:0;margin:4px 0 14px;padding:2px;width:max-content;max-width:100%;border:1px solid var(--crm-ctl-line);border-radius:var(--crm-ctl-radius);background:var(--crm-surface)}.home-visit-types button{display:inline-flex;align-items:center;gap:5px;height:var(--crm-ctl-h-sm);padding:0 11px;border:0;border-radius:calc(var(--crm-ctl-radius) - 2px);background:transparent;color:var(--crm-muted);font:inherit;font-size:var(--crm-type-control);font-weight:650;cursor:pointer}.home-visit-types button:hover{background:color-mix(in srgb,var(--crm-canvas) 70%,var(--crm-surface));color:var(--crm-ink)}.home-visit-types button.active{background:var(--crm-graphite);color:var(--crm-on-graphite);box-shadow:inset 0 -2px 0 var(--crm-brand)}.home-visit-types button span{padding:1px 5px;border-radius:var(--crm-radius-status);background:var(--crm-line-soft);color:var(--crm-muted);font-size:9px;font-variant-numeric:tabular-nums}.home-visit-types button.active span{background:var(--crm-graphite-active);color:var(--crm-on-graphite-muted)}@media(max-width:1280px){.home-visit-page .home-visit-board{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.home-visit-page .home-visit-board,.home-visit-page .home-visit-card-editor{grid-template-columns:1fr}}.content.crm-refine :is(.home-visit-card-name,.home-visit-missing,.home-visit-edit-trigger){min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;justify-content:flex-start;letter-spacing:0;font-weight:700}.content.crm-refine .home-visit-edit-trigger{width:26px;height:26px;display:grid;place-items:center;border-radius:var(--crm-ctl-radius);color:var(--crm-subtle)}.content.crm-refine .home-visit-edit-trigger:hover{background:var(--crm-surface-subtle);box-shadow:inset 0 0 0 1px var(--crm-line);color:var(--crm-ink)}.content.crm-refine .home-visit-card-name{flex:1;min-width:0;text-align:left;font-size:var(--crm-type-body);color:var(--crm-ink)}.content.crm-refine .home-visit-card-name:hover{color:var(--crm-brand-hover);text-decoration:underline;text-underline-offset:2px}.content.crm-refine .home-visit-missing{color:var(--crm-warning);font-size:var(--crm-type-control);text-decoration:underline dotted;text-underline-offset:2px}.content.crm-refine .home-visit-missing:hover{color:var(--crm-brand-hover);background:transparent}.home-visit-outcome{padding:1px 7px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-status);color:var(--crm-muted);font-size:9.5px;font-style:normal;font-weight:700}.home-visit-outcome.is-won{border-color:color-mix(in srgb,var(--crm-success) 34%,var(--crm-line));color:var(--crm-success)}.home-visit-outcome.is-paused{border-color:color-mix(in srgb,var(--crm-warning) 34%,var(--crm-line));color:var(--crm-warning)}.home-visit-outcome.is-lost{border-color:color-mix(in srgb,var(--crm-danger) 30%,var(--crm-line));color:var(--crm-danger)}.home-visit-page .visit-operator-card{max-width:780px}.home-visit-page .meta-address.is-missing{color:var(--crm-warning);font-weight:700}.quick-handoff{border-color:color-mix(in srgb,var(--crm-warning) 34%,var(--crm-line));color:var(--crm-warning)}.quick-handoff:hover{border-color:var(--crm-warning);color:var(--crm-warning);background:color-mix(in srgb,var(--crm-warning) 8%,var(--crm-surface))}.quick-deposit{border-color:var(--crm-brand);background:var(--crm-brand);color:var(--crm-surface)}.quick-deposit:hover{background:var(--crm-brand-hover);border-color:var(--crm-brand-hover);color:var(--crm-surface)}.quick-handoff-done{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px dashed var(--crm-line);border-radius:var(--crm-radius-control);color:var(--crm-muted);font-size:var(--crm-type-meta);font-weight:650}.deposit-sheet{width:min(420px,calc(100vw - 32px))}.deposit-sheet-note{margin:-4px 0 0;color:var(--crm-muted);font-size:var(--crm-type-meta);line-height:1.5}.deposit-sheet-fields{display:grid;gap:10px}.deposit-sheet-error{margin:0;color:var(--crm-danger);font-size:var(--crm-type-meta)}.deposit-sheet footer{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}.home-visit-page .home-visit-card{box-sizing:border-box}.home-visit-page .home-visit-card-foot{flex-wrap:wrap;row-gap:6px}.home-visit-page .home-visit-card-foot :is(.home-visit-type,.home-visit-outcome,.home-visit-card-outcomes){flex-shrink:0;white-space:nowrap}.home-visit-page .home-visit-card-outcomes{margin-left:auto}.task-orders-page .install-window{display:grid;gap:1px}.task-orders-page .install-window b{font-size:var(--crm-type-table);font-weight:700;color:var(--crm-ink);font-variant-numeric:tabular-nums}.task-orders-page .install-window small{font-size:9.5px;color:var(--crm-subtle)}@media(max-width:700px){.task-orders-page .task-orders-table-wrap{overflow-x:visible}.task-orders-page .task-orders-table,.task-orders-page .task-orders-table tbody{display:block}.task-orders-page .task-orders-table thead{display:none}.task-orders-page .task-orders-table tr{display:grid;margin-bottom:10px;padding:0 12px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.task-orders-page .task-orders-table tbody tr:hover td{background:transparent}.task-orders-page .task-orders-table td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:0}.task-orders-page .task-orders-table td:before{content:attr(data-label);flex:0 0 auto;color:var(--crm-subtle);font-size:var(--crm-type-label);font-weight:700;letter-spacing:.045em}.task-orders-page .task-orders-table td>*{flex:1 1 auto;min-width:0;text-align:right;overflow-wrap:anywhere}.task-orders-page .task-orders-table td.task-orders-name{gap:10px;padding:11px 0 9px;border-bottom:1px solid var(--crm-line-soft)}.task-orders-page .task-orders-table td.task-orders-name:before,.task-orders-page .task-orders-table td[colspan]:before{display:none}.task-orders-page .task-orders-table td.task-orders-name>*{flex:0 1 auto;text-align:left}.task-orders-page .task-orders-table td.task-orders-name small{margin-left:auto;color:var(--crm-subtle);font-variant-numeric:tabular-nums}.task-orders-page .task-orders-table td.task-orders-stage>*{display:flex;align-items:center;gap:9px;text-align:left}.task-orders-page .task-orders-table .stage-track-label{flex:0 0 auto;min-width:3.2em}.task-orders-page .task-orders-table .stage-track-rail{flex:1 1 auto}.task-orders-page .task-orders-table td.task-orders-payment{display:block}.task-orders-page .task-orders-table td.task-orders-payment:before{display:block;margin-bottom:5px}.task-orders-page .task-orders-payment .payment-toggle{width:100%}.task-orders-page .task-orders-table td.task-orders-actions{display:block;padding-top:9px}.task-orders-page .task-orders-table td.task-orders-actions:before{display:none}.task-orders-page .task-orders-actions :is(button,div){display:flex;width:100%;gap:8px}.task-orders-page .task-orders-actions button{flex:1;justify-content:center}.task-orders-page .task-orders-table tr.order-payment-row td{display:block;padding:0}.task-orders-page .order-payment-panel{padding:12px 0}.task-orders-page .op-table th:nth-child(5),.task-orders-page .op-table th:nth-child(6),.task-orders-page .op-note,.task-orders-page .op-by{display:none}.task-orders-page .op-table :is(th,td){padding-left:7px;padding-right:7px}.task-orders-page .task-orders-filters{width:100%;gap:1px}.task-orders-page .task-orders-filters button{flex:1 1 calc(33.333% - 2px);justify-content:center;white-space:nowrap}.content.crm-refine .task-orders-filters{background:var(--crm-line-soft)}.content.crm-refine .task-orders-filters button{background:var(--crm-surface)}.content.crm-refine .task-orders-filters button:hover:not(:disabled){background:color-mix(in srgb,var(--crm-canvas) 55%,var(--crm-surface))}.content.crm-refine .task-orders-filters button.active{background:var(--crm-graphite)}}@media(max-width:700px){.home-visit-page .home-visit-board{gap:8px}.home-visit-page .home-visit-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:8px;margin:12px 0 10px}.home-visit-page .home-visit-toolbar label{flex:1 1 100%;min-width:0}.home-visit-page .home-visit-toolbar>button{flex:1 1 0;order:9}.home-visit-page .home-visit-toolbar :is(input,select){width:100%}.home-visit-page .home-visit-toolbar-caption{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.home-visit-page .home-visit-column.is-empty>header{margin-bottom:0;padding-top:5px;border-top-width:1px;border-top-color:var(--crm-line)}.home-visit-page .home-visit-column.is-empty .home-visit-stack{display:none}.home-visit-page .home-visit-types{width:100%;gap:1px;background:var(--crm-line-soft)}.home-visit-page .home-visit-types button{flex:1 1 0;justify-content:center;white-space:nowrap;background:var(--crm-surface)}.home-visit-page .home-visit-types button:hover{background:color-mix(in srgb,var(--crm-canvas) 55%,var(--crm-surface))}.home-visit-page .home-visit-types button.active{background:var(--crm-graphite)}}@media(max-width:700px){.content.crm-refine :is(button,input,select,textarea):not(.stage-track-node){min-height:44px}.content.crm-refine .stage-track-node{height:8px;border-radius:2px}.content.crm-refine .stage-track-node:after{top:-14px;bottom:-14px}.content.crm-refine .home-visit-edit-trigger,.content.crm-refine .op-delete{width:40px;height:40px}.content.crm-refine :is(.visit-confirm-sheet,.deposit-sheet) :is(input,select,textarea){min-height:44px;padding:10px 11px;font-size:16px}}.contact-actions{display:inline-flex;align-items:center;gap:8px;min-width:0}.contact-actions .contact-call{min-width:0;overflow:hidden;display:inline-flex;align-items:center;gap:5px;color:var(--crm-ink);font-size:var(--crm-type-table);font-weight:700;line-height:1.25;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.contact-actions .contact-call>svg{flex:none;opacity:.6}.contact-actions .contact-call:hover{text-decoration:underline}.contact-actions .contact-whatsapp{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--crm-line-soft);border-radius:8px;color:var(--crm-muted)}.contact-actions .contact-whatsapp:hover,.contact-actions .contact-whatsapp:focus-visible{border-color:var(--crm-line);color:var(--crm-ink)}.detail.contact-actions{gap:10px}.reference-summary-item .detail.contact-actions{flex-wrap:wrap}.reference-summary-item .detail.contact-actions .contact-call{overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere}@media(max-width:700px){.customer-mobile-list>article>.contact-actions{grid-column:2;min-height:44px;padding-bottom:8px}.contact-actions .contact-call{min-height:40px;display:inline-flex;align-items:center;font-size:14px}.contact-actions .contact-whatsapp{width:40px;height:40px}}.report-range-picker{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;margin-top:16px;padding:12px 14px;border:1px solid var(--crm-line-soft);border-radius:12px;background:var(--crm-surface)}.report-range-presets{display:inline-flex;gap:6px}.report-range-presets button{border:1px solid var(--crm-line);border-radius:20px;padding:7px 12px;background:var(--crm-surface);color:var(--crm-muted);font-size:12px;font-weight:600;cursor:pointer}.report-range-presets button.active{border-color:var(--crm-ink);background:var(--crm-ink);color:var(--crm-surface)}.report-range-picker label{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--crm-muted)}.report-range-picker input[type=date]{min-height:34px;padding:4px 8px;border:1px solid var(--crm-line);border-radius:8px;background:var(--crm-surface);font-size:12px}.report-range-clear{border:0;background:none;color:var(--crm-muted);font-size:11px;text-decoration:underline;cursor:pointer}.report-range-note,.report-scope-note{flex-basis:100%;margin:0;font-size:11px;color:var(--crm-muted);line-height:1.5}.report-scope-note{margin:10px 2px 0}@media(max-width:700px){.report-range-picker input[type=date]{min-height:40px;font-size:16px}.report-range-presets button{min-height:40px}}.revenue-card{margin-top:14px}.revenue-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.revenue-column{min-width:0}.revenue-column h3{margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--crm-muted)}.revenue-column h4{margin:16px 0 6px;font-size:11px;font-weight:600;color:var(--crm-subtle)}.revenue-empty{margin:0;font-size:12px;color:var(--crm-muted)}.revenue-money-list{margin:0;padding:0;list-style:none;display:grid;gap:1px;background:var(--crm-line-soft);border:1px solid var(--crm-line-soft);border-radius:10px;overflow:hidden}.revenue-money-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:baseline;gap:10px;padding:8px 11px;background:var(--crm-surface);font-size:13px}.revenue-money-list li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.revenue-money-list li>b{font-variant-numeric:tabular-nums;font-weight:600}.revenue-money-list li>small{color:var(--crm-muted);font-size:11px}.revenue-owed-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.revenue-owed-list>li{border:1px solid var(--crm-line-soft);border-radius:10px;padding:10px 11px;background:var(--crm-surface-subtle)}.revenue-owed-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.revenue-owed-head b{font-size:var(--crm-type-metric);font-variant-numeric:tabular-nums}.revenue-owed-head span{font-size:11px;color:var(--crm-muted)}.revenue-owed-list dl{margin:8px 0 0;display:grid;gap:3px}.revenue-owed-list dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px}.revenue-owed-list dt{color:var(--crm-muted)}.revenue-owed-list dd{margin:0;font-variant-numeric:tabular-nums}.revenue-caveat dt{color:var(--crm-warning)}.profit-card{margin-top:14px}.profit-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.profit-list>li{border:1px solid var(--crm-line-soft);border-radius:10px;padding:10px 11px;background:var(--crm-surface-subtle)}.profit-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.profit-head b{font-size:var(--crm-type-metric);font-variant-numeric:tabular-nums}.profit-head b.is-profit{color:var(--crm-success)}.profit-head b.is-loss{color:var(--crm-danger)}.profit-head span{font-size:11px;color:var(--crm-muted)}.profit-list dl{margin:8px 0 0;display:grid;gap:3px}.profit-list dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px}.profit-list dt{color:var(--crm-muted)}.profit-list dd{margin:0;font-variant-numeric:tabular-nums}.profit-caveat{margin:8px 0 0;font-size:11px;color:var(--crm-warning)}.supplier-spend-card{margin-top:14px}.supplier-spend-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.supplier-spend-list>li{padding:8px 10px;border:1px solid var(--crm-line-soft);border-radius:10px;background:var(--crm-surface-subtle)}.supplier-spend-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.supplier-spend-head b{font-size:var(--crm-type-body)}.supplier-spend-head b.is-unnamed{color:var(--crm-warning);font-style:italic;font-weight:500}.supplier-spend-head span{font-variant-numeric:tabular-nums;font-weight:700}.supplier-spend-list small{display:block;margin-top:2px;font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-alert{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--crm-danger) 30%,var(--crm-line));border-radius:var(--crm-radius-control);background:color-mix(in srgb,var(--crm-danger) 6%,transparent);color:var(--crm-danger);font-size:var(--crm-type-body)}.calendar-alert svg{width:18px;height:18px;flex:none}.calendar-alert div{display:grid;gap:2px}.calendar-alert span{color:color-mix(in srgb,var(--crm-danger) 70%,var(--crm-ink));font-size:var(--crm-type-meta)}.calendar-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.calendar-nav{display:flex;align-items:center;gap:4px}.calendar-nav button,.calendar-today{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-ink);font-size:var(--crm-type-body);cursor:pointer}.calendar-nav button:hover,.calendar-today:hover{border-color:var(--crm-brand);color:var(--crm-brand)}.calendar-month-title{display:flex;align-items:center;gap:7px;margin:0;font-size:var(--crm-type-workspace)}.calendar-month-title svg{width:17px;height:17px;color:var(--crm-brand)}.calendar-summary{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 0 auto}.calendar-summary>div{display:grid;gap:2px;text-align:right}.calendar-summary dt{font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-summary dd{margin:0;font-size:var(--crm-type-metric);font-weight:700;font-variant-numeric:tabular-nums}.calendar-summary .is-overdue dd{color:var(--crm-danger)}.calendar-summary .is-pending dd{color:var(--crm-warning)}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;margin-top:14px;align-items:start}.calendar-grid{border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface);overflow:hidden}.calendar-weekhead,.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekhead{border-bottom:1px solid var(--crm-line-soft);background:var(--crm-surface-subtle)}.calendar-weekhead span{padding:7px 8px;font-size:var(--crm-type-meta);color:var(--crm-muted);text-align:center}.calendar-week+.calendar-week{border-top:1px solid var(--crm-line-soft)}.content.installation-calendar-page .calendar-cell{display:grid;gap:3px;align-content:start;align-items:start;justify-content:stretch;min-height:96px;height:auto;padding:6px 7px;border:0;border-right:1px solid var(--crm-line-soft);border-radius:0;background:transparent;color:var(--crm-ink);font-size:var(--crm-type-body);font-weight:400;letter-spacing:normal;text-align:left;cursor:pointer}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell:hover{background:var(--crm-surface-subtle)}.calendar-cell.is-outside{color:var(--crm-muted);background:var(--crm-surface-subtle)}.calendar-cell.is-outside .calendar-cell-day{opacity:.55}.calendar-cell.is-today{background:color-mix(in srgb,var(--crm-ink) 4%,transparent)}.calendar-cell.is-today .calendar-cell-day{padding:0 5px;border-radius:999px;background:var(--crm-ink);color:var(--crm-surface)}.calendar-cell.is-selected{background:color-mix(in srgb,var(--crm-ink) 8%,transparent)}.calendar-cell.is-overdue{box-shadow:inset 3px 0 0 var(--crm-danger)}.calendar-cell.is-overdue .calendar-cell-day{color:var(--crm-danger)}.calendar-cell-day{font-size:var(--crm-type-body);font-weight:700;font-variant-numeric:tabular-nums}.calendar-cell-date{display:none;font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-cell-count{display:none;font-size:var(--crm-type-meta);color:var(--crm-ink);font-weight:700}.calendar-chips{display:grid;gap:2px}.calendar-chips b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;padding:2px 5px;border-radius:5px;background:color-mix(in srgb,var(--crm-ink) 7%,transparent);color:var(--crm-ink)}.calendar-chips b.is-done{background:color-mix(in srgb,var(--crm-success) 14%,transparent);color:var(--crm-muted);text-decoration:line-through}.calendar-cell-more{font-size:11px;color:var(--crm-muted)}.calendar-detail{display:block;width:auto;position:sticky;top:calc(var(--crm-shell-topbar-height) + 12px);padding:12px 14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.calendar-detail h3{margin:0;color:var(--crm-ink);font-size:var(--crm-type-body)}.calendar-detail-list,.calendar-unscheduled-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:10px}.calendar-detail-list>li{padding-top:10px;border-top:1px dashed var(--crm-line-soft)}.calendar-detail-list>li:first-child{border-top:0;padding-top:4px}.calendar-detail-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.content.installation-calendar-page .calendar-detail-name{display:inline;min-width:0;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--crm-ink);font:inherit;font-weight:700;letter-spacing:normal;text-align:left;cursor:pointer}.calendar-detail-name:hover{color:var(--crm-brand);text-decoration:underline}.calendar-detail-when{margin:2px 0 0;font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-detail-when.is-overdue{color:var(--crm-danger);font-weight:700}.calendar-detail-line{display:flex;align-items:center;gap:5px;margin:3px 0 0;font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-detail-line svg{width:12px;height:12px;flex:none}.calendar-detail-line a{color:var(--crm-brand);text-decoration:none}.calendar-detail-empty{margin:10px 0 0;font-size:var(--crm-type-meta);color:var(--crm-muted)}.calendar-stage{flex:none;padding:2px 7px;border-radius:999px;font-size:11px;background:var(--crm-surface-subtle);color:var(--crm-muted);border:1px solid var(--crm-line-soft)}.calendar-stage.stage-已完成{background:color-mix(in srgb,var(--crm-success) 12%,transparent);color:var(--crm-success);border-color:transparent}.calendar-stage.stage-待安装{background:color-mix(in srgb,var(--crm-warning) 14%,transparent);color:var(--crm-warning);border-color:transparent}.calendar-unscheduled{margin-top:16px;padding:12px 14px;border:1px solid var(--crm-line);border-radius:var(--crm-radius-surface);background:var(--crm-surface)}.calendar-unscheduled-list>li{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;font-size:var(--crm-type-meta);color:var(--crm-muted)}.content.installation-calendar-page .calendar-unscheduled-list button{display:inline;min-width:0;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--crm-ink);font:inherit;font-weight:700;letter-spacing:normal;text-align:left;cursor:pointer}.calendar-unscheduled-list button:hover{color:var(--crm-brand);text-decoration:underline}@media(max-width:1080px){.calendar-layout{grid-template-columns:minmax(0,1fr)}.calendar-detail{position:static}}@media(max-width:720px){.calendar-summary{margin-left:0;width:100%;gap:12px}.calendar-summary>div{text-align:left;flex:1 1 auto}.content.installation-calendar-page .calendar-cell{min-height:62px;padding:5px 4px}.calendar-chips,.calendar-cell-more{display:none}.calendar-cell-date,.calendar-cell-count{display:block}.calendar-cell.is-overdue{box-shadow:inset 0 0 0 1px var(--crm-danger)}}.revenue-note{margin:14px 0 0;font-size:11px;line-height:1.5;color:var(--crm-muted)}@media(max-width:860px){.revenue-body{grid-template-columns:minmax(0,1fr);gap:16px}}@media(max-width:700px){.reference-project-titlebar{align-items:flex-start;flex-wrap:wrap;height:auto;min-height:0}.reference-project-actions{flex-wrap:wrap;justify-content:flex-start}}.detail-load-error{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--crm-warning);border-radius:10px;background:var(--crm-surface-subtle);margin:10px 12px 0}.detail-load-error>div{display:grid;gap:2px;min-width:0}.detail-load-error b{font-size:13px;color:var(--crm-ink)}.detail-load-error span{font-size:11px;line-height:1.5;color:var(--crm-muted)}.detail-load-error button{flex:none;min-height:32px;padding:0 12px;border:1px solid var(--crm-line);border-radius:8px;background:var(--crm-surface);color:var(--crm-ink);font-size:12px;font-weight:600;cursor:pointer}.reference-project-actions>button:disabled{opacity:.45;cursor:progress}.lead-payment-section{grid-column:1 / -1;border-top:1px solid var(--crm-line);border-right:0}.lead-payment-section .reference-column-body{padding:10px 12px 12px}.lead-payment-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:1px;background:var(--crm-line-soft);border:1px solid var(--crm-line-soft);border-radius:8px;overflow:hidden}.lead-payment-list li{display:grid;grid-template-columns:minmax(72px,auto) minmax(0,1fr) auto;align-items:baseline;gap:10px;padding:7px 10px;background:var(--crm-surface);font-size:12px}.lead-payment-list b{font-variant-numeric:tabular-nums}.lead-payment-list small{color:var(--crm-muted);font-size:11px}.lead-payment-caveat{margin:10px 0 0;padding:8px 10px;border-left:3px solid var(--crm-warning);background:var(--crm-surface-subtle);color:var(--crm-muted);font-size:11px;line-height:1.6}.lead-payment-empty{margin:10px 0 0;color:var(--crm-muted);font-size:12px}.lead-payment-link{display:inline-block;margin-top:10px;color:var(--crm-ink);font-size:12px;font-weight:600;text-underline-offset:3px}.lead-payment-section dd.is-owed{color:var(--crm-danger)}.lead-payment-section dd.is-settled{color:var(--crm-success)}.lead-payment-section dd.is-unknown{color:var(--crm-warning)}.email-history em.failed{background:color-mix(in srgb,var(--crm-danger) 12%,var(--crm-surface));color:var(--crm-danger);font-weight:700}.email-history em.incoming{background:var(--crm-surface-subtle);color:var(--crm-muted)}.email-history em.incoming.failed{background:color-mix(in srgb,var(--crm-danger) 12%,var(--crm-surface));color:var(--crm-danger)}.email-history-row.is-failed{border-left:3px solid var(--crm-danger);padding-left:9px;margin-left:-12px}.email-history-error{color:var(--crm-danger);overflow-wrap:anywhere}.lead-cost-section{grid-column:1 / -1;border-top:1px solid var(--crm-line);border-right:0}.lead-cost-section .reference-column-body{padding:10px 12px 12px}.lead-cost-section dd.is-profit{color:var(--crm-success)}.lead-cost-section dd.is-loss{color:var(--crm-danger)}.lead-cost-section dd.is-break-even{color:var(--crm-muted)}.lead-cost-section dd.is-unknown{color:var(--crm-warning)}.lead-cost-caveat{margin:10px 0 0;padding:8px 10px;border-left:3px solid var(--crm-warning);background:var(--crm-surface-subtle);color:var(--crm-muted);font-size:11px;line-height:1.6}.lead-cost-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:1px;background:var(--crm-line-soft);border:1px solid var(--crm-line-soft);border-radius:8px;overflow:hidden}.lead-cost-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:7px 10px;background:var(--crm-surface);font-size:12px}.lead-cost-name{display:flex;align-items:baseline;gap:6px;min-width:0}.lead-cost-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-cost-name small{color:var(--crm-muted);font-size:11px}.lead-cost-amount{font-variant-numeric:tabular-nums;font-weight:600}.lead-cost-when{color:var(--crm-muted);font-size:11px}.lead-cost-delete{border:0;background:none;color:var(--crm-muted);font-size:11px;text-decoration:underline;cursor:pointer}.lead-cost-delete:hover{color:var(--crm-danger)}.lead-cost-empty{margin:10px 0 0;color:var(--crm-muted);font-size:12px}.lead-cost-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--crm-line)}.lead-cost-form input{min-width:0;min-height:34px;padding:6px 8px;border:1px solid var(--crm-line);border-radius:8px;font-size:12px;background:var(--crm-surface);color:var(--crm-ink)}.lead-cost-form button{grid-column:1 / -1;min-height:34px}.lead-cost-message{margin:8px 0 0;font-size:11px}.lead-cost-message.is-error{color:var(--crm-danger)}.lead-cost-message.is-success{color:var(--crm-success)}.matrix-quote-label{flex:none;font-size:11px;color:var(--crm-muted)}.matrix-quote-note{min-width:0;margin-bottom:8px}.reference-deal-total b{color:var(--crm-ink)}@media(max-width:899px){.won-board-page .won-row-head{display:none}.won-board-page .won-customer-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:12px 14px}.won-board-page .won-cell:before{content:attr(data-label);display:block;color:var(--crm-muted);font-size:var(--crm-type-meta)}.won-board-page .won-cell-lead{grid-column:1 / -1}.won-board-page .won-cell-lead:before{content:none}.won-board-page .won-cell.is-money{text-align:left}}@media(min-width:900px){.lead-cost-section .reference-spec-list,.lead-payment-section .reference-spec-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:8px 20px;height:auto}.lead-cost-section .reference-spec-list>div,.lead-payment-section .reference-spec-list>div{min-height:0;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;padding:2px 0 2px 10px;border-bottom:0;border-left:2px solid var(--crm-line-soft);margin-top:0}.lead-cost-section .reference-spec-list dd,.lead-payment-section .reference-spec-list dd{margin-left:0;font-size:14px;text-align:left}.lead-cost-form{grid-template-columns:repeat(5,minmax(0,1fr))}.lead-cost-form button{grid-column:auto}}@media(max-width:700px){.lead-cost-form{grid-template-columns:minmax(0,1fr)}.lead-cost-list li{grid-template-columns:minmax(0,1fr) auto;row-gap:2px}}}
