:root{--rpx:min(0.133333vw,0.69px)}*{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif}#mini-app{max-width:518px;margin:auto;min-height:100dvh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}
body {background:#f3f6f2;color:#203d31;font:calc(30 * var(--rpx))/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;}
.page{padding:calc(32 * var(--rpx)) calc(32 * var(--rpx)) calc(64 * var(--rpx));max-width:calc(900 * var(--rpx));margin:0 auto;box-sizing:border-box;}
.hero{background:#164d3c;color:#fff;border-radius:calc(24 * var(--rpx));padding:calc(36 * var(--rpx));margin:calc(14 * var(--rpx)) 0 calc(28 * var(--rpx));}
.kicker{color:#cae1cf;font-size:calc(25 * var(--rpx));margin-bottom:calc(10 * var(--rpx));}
.title{font-size:calc(46 * var(--rpx));line-height:1.3;font-weight:700;overflow-wrap:anywhere;}
.subtitle{margin-top:calc(12 * var(--rpx));color:#e7f2e7;font-size:calc(28 * var(--rpx));}
.bar,.tabs,.row,.actions{display:flex;align-items:center;gap:calc(14 * var(--rpx));}
.bar,.row{justify-content:space-between;}
.bar{color:#455f50;font-size:calc(26 * var(--rpx));min-height:calc(64 * var(--rpx));}
.actions{flex-wrap:wrap;margin-top:calc(12 * var(--rpx));}
.tabs{background:#e2eae2;padding:calc(6 * var(--rpx));border-radius:calc(14 * var(--rpx));margin-bottom:calc(24 * var(--rpx));}
.card{background:white;border:1px solid #d4dfd6;border-radius:calc(20 * var(--rpx));padding:calc(26 * var(--rpx));margin:calc(18 * var(--rpx)) 0;overflow-wrap:anywhere;}
.h2{font-size:calc(34 * var(--rpx));font-weight:650;}
.h3{font-size:calc(31 * var(--rpx));font-weight:650;}
.muted,.stamp{color:#526b5d;font-size:calc(26 * var(--rpx));}
.muted,.body{margin:calc(8 * var(--rpx)) 0;white-space:pre-wrap;}
.stamp{margin:calc(18 * var(--rpx)) 0 0;}
.label{font-weight:600;margin:calc(20 * var(--rpx)) 0 calc(8 * var(--rpx));}
.field{width:100%;box-sizing:border-box;border:1px solid #9db1a2;border-radius:calc(12 * var(--rpx));background:white;color:#163d2d;padding:calc(16 * var(--rpx)) calc(18 * var(--rpx));font-size:calc(30 * var(--rpx));height:calc(84 * var(--rpx));min-width:0;}
button{font:inherit;margin:0;border:0;background:transparent;color:#174e38;padding:0;line-height:1.5;box-sizing:border-box;}
button::after{border:0;}
.btn,.alt,.tab{border-radius:calc(12 * var(--rpx));line-height:1.4;font-weight:600;padding:calc(16 * var(--rpx)) calc(22 * var(--rpx));}
.btn{background:#146747;color:white;}
.alt{background:#edf4ec;color:#18543b;}
.wide{width:100%;margin-top:calc(22 * var(--rpx));}
.tab{flex:1;font-size:calc(28 * var(--rpx));color:#526b5d;}
.selected{background:white;color:#154e34;}
.small{padding:calc(10 * var(--rpx)) calc(16 * var(--rpx));font-size:calc(26 * var(--rpx));flex-shrink:0;}
.link{font-size:calc(26 * var(--rpx));padding:calc(11 * var(--rpx)) calc(4 * var(--rpx));}
.error,.notice,.empty{padding:calc(18 * var(--rpx)) calc(22 * var(--rpx));border-radius:calc(13 * var(--rpx));margin:calc(16 * var(--rpx)) 0;overflow-wrap:anywhere;}
.error{color:#853e25;background:#fff0e5;}
.notice{color:#265c3d;background:#e2f1df;}
.empty{color:#526b5d;background:#eaf0e8;}
button[disabled]{opacity:.55;}

.advisor-reply { height: calc(160 * var(--rpx)); }

.sales-home { background:#183f35; color:#fff; border-radius:calc(24 * var(--rpx)); padding:calc(26 * var(--rpx)); margin:calc(10 * var(--rpx)) 0 calc(24 * var(--rpx)); }
.sales-shortcuts { display:flex; gap:calc(16 * var(--rpx)); margin-top:calc(22 * var(--rpx)); }
.sales-shortcut { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; padding:calc(20 * var(--rpx)) calc(18 * var(--rpx)); border-radius:calc(14 * var(--rpx)); text-align:left; }
.sales-customers { background:#e9f3e6; color:#1a4d38; }
.sales-sweep { background:#f5e7c8; color:#5c411f; }
.sales-shortcut-title { font-size:calc(35 * var(--rpx)); font-weight:700; }
.sales-shortcut-detail { font-size:calc(25 * var(--rpx)); margin-top:calc(4 * var(--rpx)); }
.sales-service-title { margin:calc(24 * var(--rpx)) 0 calc(12 * var(--rpx)); }

.crm-c-header{margin:calc(12 * var(--rpx)) 0 calc(26 * var(--rpx));padding:calc(28 * var(--rpx)) calc(30 * var(--rpx));background:#174b3b;color:white;border-radius:calc(18 * var(--rpx));overflow-wrap:anywhere}
.crm-c-header .subtitle{display:block;margin-top:calc(8 * var(--rpx))}
.crm-c-eyebrow{font-size:calc(27 * var(--rpx));color:#d1e3d5;margin-bottom:calc(6 * var(--rpx))}
.crm-c-search,.crm-c-trail,.crm-c-buttons,.crm-c-picked,.crm-c-choices{display:flex;align-items:center;gap:calc(14 * var(--rpx))}
.crm-c-search{margin:calc(12 * var(--rpx)) 0}.crm-c-search .field{flex:1}
.crm-c-list-item,.crm-c-option,.crm-c-picked{background:white;border:1px solid #cbd9d0;border-radius:calc(15 * var(--rpx));padding:calc(20 * var(--rpx)) calc(23 * var(--rpx));margin:calc(12 * var(--rpx)) 0;width:100%;box-sizing:border-box;text-align:left;overflow-wrap:anywhere}
.crm-c-list-item,.crm-c-picked{display:flex;align-items:center;justify-content:space-between;gap:calc(14 * var(--rpx))}
.crm-c-list-title{min-width:0;font-weight:650}
.crm-c-trail,.crm-c-picked .link,.crm-c-pill{flex-shrink:0}
.crm-c-pill,.crm-c-choice{padding:calc(6 * var(--rpx)) calc(14 * var(--rpx));border-radius:calc(10 * var(--rpx));font-size:calc(25 * var(--rpx));background:#e9f0ea;color:#315944}
.crm-c-buttons button{flex:1}
.crm-c-section{font-size:calc(36 * var(--rpx));font-weight:680;margin-top:calc(32 * var(--rpx))}
.crm-c-fact{display:flex;gap:calc(18 * var(--rpx));margin-top:calc(12 * var(--rpx));font-size:calc(28 * var(--rpx))}
.crm-c-fact text:first-child{width:calc(123 * var(--rpx));flex-shrink:0;color:#587060}
.crm-c-next{border-top:1px solid #dce5dc;margin-top:calc(16 * var(--rpx));padding-top:calc(12 * var(--rpx));color:#365f47}
.crm-c-choices{flex-wrap:wrap;gap:calc(10 * var(--rpx))}.crm-c-choice{padding:calc(12 * var(--rpx)) calc(18 * var(--rpx));border:1px solid #c9d8ce}
.crm-c-active,.crm-c-picked{background:#def0e1;border-color:#619877;color:#134b32}
.crm-c-picked{padding:calc(10 * var(--rpx)) calc(18 * var(--rpx))}
.crm-c-first{margin-top:0}
.crm-c-notes{height:calc(185 * var(--rpx))}
.crm-c-follow-item{border-top:1px solid #dce5dc;margin-top:calc(12 * var(--rpx));padding-top:calc(12 * var(--rpx));overflow-wrap:anywhere}

.sweep-heading {background:#1c4a3d;color:white;padding:calc(32 * var(--rpx));border-radius:calc(20 * var(--rpx));margin:calc(12 * var(--rpx)) 0 calc(22 * var(--rpx));overflow-wrap:anywhere;}
.sweep-section,.sweep-search {display:flex;align-items:center;justify-content:space-between;gap:calc(16 * var(--rpx));margin:calc(26 * var(--rpx)) 0 calc(12 * var(--rpx));}
.sweep-search .field {flex:1;min-width:0;}
.sweep-unit {margin:calc(10 * var(--rpx)) 0;padding:calc(16 * var(--rpx));border:1px solid #ceddd2;border-radius:calc(14 * var(--rpx));background:#fff;overflow-wrap:anywhere;}
.sweep-text {height:calc(150 * var(--rpx));}
.sweep-options {display:flex;flex-wrap:wrap;gap:calc(12 * var(--rpx));margin:calc(16 * var(--rpx)) 0;}
.sweep-options button {margin:0;}
.sweep-pending {border-left:calc(6 * var(--rpx)) solid #b56d27;}

.selection-page {padding:calc(16 * var(--rpx)) calc(28 * var(--rpx)) calc(64 * var(--rpx));color:#1d322c;overflow-wrap:anywhere;}
.selection-top {margin:0 calc(2 * var(--rpx)) calc(10 * var(--rpx));}
.selection-brand {font-size:calc(28 * var(--rpx));font-weight:700;letter-spacing:calc(2 * var(--rpx));border-left:calc(7 * var(--rpx)) solid #34705a;padding-left:calc(14 * var(--rpx));}
.selection-mast {background:#193e35;color:#fff;border-radius:calc(22 * var(--rpx));padding:calc(26 * var(--rpx)) calc(28 * var(--rpx)) 0;margin-bottom:calc(22 * var(--rpx));}
.selection-mast-top,.selection-section,.selection-priceline,.selection-card-actions,.selection-area-input {display:flex;align-items:center;justify-content:space-between;gap:calc(16 * var(--rpx));}
.selection-eyebrow,.selection-advisor,.selection-receipts {font-size:calc(25 * var(--rpx));color:#d8e5dc;}
.selection-receipts {background:#2c5148;border-radius:calc(24 * var(--rpx));padding:calc(8 * var(--rpx)) calc(18 * var(--rpx));white-space:nowrap;}
.selection-company {font-size:calc(45 * var(--rpx));line-height:1.32;font-weight:700;margin:calc(12 * var(--rpx)) 0 calc(4 * var(--rpx));}
.selection-stats {display:flex;border-top:1px solid #46665c;margin-top:calc(24 * var(--rpx));padding:calc(18 * var(--rpx)) 0 calc(20 * var(--rpx));}
.selection-stat {flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding-left:calc(24 * var(--rpx));border-left:1px solid #46665c;color:#d5e5da;font-size:calc(24 * var(--rpx));text-align:left;}
.selection-stat:first-child {border-left:0;padding-left:0;}
.selection-number {font-size:calc(40 * var(--rpx));line-height:1.15;font-weight:650;color:#fff;font-variant-numeric:tabular-nums;}
.selection-tabs {margin:0 0 calc(22 * var(--rpx));gap:calc(4 * var(--rpx));}
.selection-tabs .tab {font-size:calc(27 * var(--rpx));padding:calc(14 * var(--rpx)) calc(6 * var(--rpx));}
.selection-section {margin:calc(24 * var(--rpx)) 0 calc(12 * var(--rpx));}
.selection-heading,.selection-detail-name {font-size:calc(44 * var(--rpx));font-weight:700;line-height:1.28;}
.selection-lede,.selection-location {color:#52675e;font-size:calc(27 * var(--rpx));margin:calc(8 * var(--rpx)) 0 0;}
.selection-back {margin:0 0 calc(14 * var(--rpx));border-bottom:1px solid #b6c8ba;}
.selection-tool,.selection-save {font-size:calc(26 * var(--rpx));font-weight:600;padding:calc(10 * var(--rpx)) calc(18 * var(--rpx));border-radius:calc(12 * var(--rpx));color:#215942;line-height:1.5;}
.selection-tool {background:#e1ebe2;}
.selection-save {background:transparent;border:1px solid #c6d7ca;}
.selection-is-saved {background:#e8f1e8;border-color:#c1d8c5;}
.selection-footnote,.selection-label,.selection-unit {font-size:calc(25 * var(--rpx));line-height:1.5;color:#53675d;}
.selection-card,.selection-sheet,.selection-table {border:1px solid #cfdad1;background:#fff;border-radius:calc(18 * var(--rpx));margin:calc(16 * var(--rpx)) 0;overflow:hidden;}
.selection-card,.selection-sheet {padding:calc(24 * var(--rpx));}
.selection-card-title,.selection-subject {font-weight:650;line-height:1.35;}
.selection-card-title {font-size:calc(36 * var(--rpx));}
.selection-subject {margin-top:calc(8 * var(--rpx));font-size:calc(28 * var(--rpx));}
.selection-metrics {display:flex;gap:calc(34 * var(--rpx));flex-wrap:wrap;align-items:flex-end;background:#f2f5ef;border-radius:calc(12 * var(--rpx));margin:calc(20 * var(--rpx)) 0;padding:calc(16 * var(--rpx)) calc(20 * var(--rpx));}
.selection-metrics>view {min-width:0;}
.selection-price,.selection-size {font-variant-numeric:tabular-nums;color:#214c3e;font-weight:650;}
.selection-price {font-size:calc(36 * var(--rpx));}
.selection-size {font-size:calc(30 * var(--rpx));}
.selection-card-actions {flex-wrap:wrap;}
.selection-specs {margin:calc(18 * var(--rpx)) 0;}
.selection-spec {display:flex;align-items:baseline;justify-content:space-between;gap:calc(16 * var(--rpx));padding:calc(12 * var(--rpx)) 0;border-bottom:1px solid #e1e8e1;}
.selection-spec>text:last-child {text-align:right;}
.selection-actions {display:flex;gap:calc(16 * var(--rpx));}
.selection-actions button {flex:1;min-width:0;}
.selection-compose {margin-top:calc(24 * var(--rpx));padding-top:calc(20 * var(--rpx));border-top:1px solid #dce5dc;}
.selection-note {height:calc(162 * var(--rpx));line-height:1.5;margin:calc(12 * var(--rpx)) 0;}
.selection-count {background:#e9efe7;color:#365947;border-radius:calc(24 * var(--rpx));padding:calc(5 * var(--rpx)) calc(14 * var(--rpx));font-size:calc(24 * var(--rpx));white-space:nowrap;}
.selection-choice {display:flex;width:100%;align-items:center;justify-content:space-between;gap:calc(18 * var(--rpx));text-align:left;color:#365045;border:1px solid #d5dfd6;border-radius:calc(12 * var(--rpx));padding:calc(14 * var(--rpx)) calc(18 * var(--rpx));margin-top:calc(12 * var(--rpx));font-size:calc(28 * var(--rpx));}
.selection-choice-on {background:#eff5ec;border-color:#5c8869;color:#204a32;}
.selection-check {flex-shrink:0;font-size:calc(29 * var(--rpx));}
.selection-area-input {margin:calc(8 * var(--rpx)) 0 calc(14 * var(--rpx));}
.selection-area-input .field {flex:1;}
.selection-area-input>text {color:#465f52;}
.selection-summary {color:#214b37;background:#e7f1e2;border-left:calc(5 * var(--rpx)) solid #6b916e;border-radius:calc(8 * var(--rpx));padding:calc(14 * var(--rpx)) calc(18 * var(--rpx));margin:calc(12 * var(--rpx)) 0;font-size:calc(29 * var(--rpx));line-height:1.5;font-weight:650;overflow-wrap:anywhere;word-break:break-all;}
.selection-invalid {color:#8c402f;font-size:calc(26 * var(--rpx));margin:calc(6 * var(--rpx)) 0;}
.selection-tr {display:flex;align-items:stretch;}
.selection-tr+.selection-tr {border-top:1px solid #dce4db;}
.selection-cell {width:34%;min-width:0;padding:calc(14 * var(--rpx)) calc(12 * var(--rpx));line-height:1.45;font-size:calc(26 * var(--rpx));box-sizing:border-box;word-break:break-all;}
.selection-cell:first-child {width:32%;}
.selection-cell+.selection-cell {border-left:1px solid #dce4db;}
.selection-th {background:#294f42;color:white;font-weight:600;}
.selection-row-name {color:#53665b;background:#f3f6f1;}
.selection-total,.selection-total .selection-row-name {background:#e7f1e2;color:#244e32;font-weight:700;}
.selection-cost {font-size:calc(33 * var(--rpx));color:#285540;font-weight:650;}
.selection-priceline {margin-top:calc(16 * var(--rpx));padding-top:calc(14 * var(--rpx));border-top:1px solid #dee6dd;}
.selection-reply {border-left:calc(5 * var(--rpx)) solid #7d9e83;padding:calc(10 * var(--rpx)) calc(18 * var(--rpx));background:#f0f5ee;margin-top:calc(16 * var(--rpx));}
