:root{--ink:#14191d;--muted:#68747c;--line:#dbe3e7;--paper:#f3f6f7;--white:#fff;--red:#ef1e24;--teal:#009984;--blue:#256fb8;--amber:#d78500;--purple:#7457c9}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,sans-serif;background:var(--paper);color:var(--ink)}button,input,select,textarea{font:inherit}button,a{cursor:pointer}.field-shell{min-height:100vh;padding-bottom:86px}.field-top{position:sticky;top:0;z-index:30;height:68px;background:#121719;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;box-shadow:0 5px 18px #10182024}.field-brand{display:flex;align-items:center;gap:10px;min-width:0}.field-brand img{width:42px;height:42px;object-fit:contain;padding:5px;border-radius:12px;background:#fff}.field-brand div{min-width:0}.field-brand b,.field-brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.field-brand small{color:#b8cad2;font-size:11px;margin-top:2px}.profile{width:42px;height:42px;border:1px solid #ffffff33;border-radius:50%;background:#243036;color:#fff;font-weight:800}.profile i{display:inline-block;width:7px;height:7px;margin-left:2px;border-radius:50%;background:#22c88a}.scrim{position:fixed;inset:0;z-index:35;border:0;background:#0b121759}.profile-menu{position:fixed;z-index:40;right:12px;top:60px;width:min(310px,calc(100vw - 24px));padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 48px #08101736;display:grid;gap:8px}.profile-menu small{color:var(--muted)}.switches{display:grid;gap:6px;margin-top:8px;padding-top:10px;border-top:1px solid var(--line)}.switches>small{font-size:10px;font-weight:800;letter-spacing:.1em}.switches button,.signout{padding:11px 12px;border:0;border-radius:9px;background:#f1f5f6;text-align:left}.signout{margin-top:3px;color:#af2430}.offline{padding:8px 16px;text-align:center;background:#fff0cf;color:#755000;font-size:12px}.field-main{padding:16px;max-width:900px;margin:auto}.hero{padding:20px;background:linear-gradient(135deg,#184d77,#121719);border-radius:19px;color:#fff;margin-bottom:14px;box-shadow:0 10px 30px #17385120}.hero small,.title small{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--teal)}.hero small{color:#9bddd2}.hero h1,.title h1{margin:5px 0 0;font-size:26px}.hero p{margin:7px 0 0;color:#d3e2e9}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{min-height:126px;border:1px solid var(--line);border-bottom:4px solid var(--blue);border-radius:15px;background:#fff;padding:14px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;color:inherit;box-shadow:0 5px 20px #1833440a}.metric strong{font-size:30px;line-height:1}.metric small{font-size:11px;font-weight:800}.metric span{color:var(--muted);font-size:11px}.metric.teal{border-bottom-color:var(--teal)}.metric.amber{border-bottom-color:var(--amber)}.metric.purple{border-bottom-color:var(--purple)}.section{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.section>header,.title{display:flex;align-items:center;justify-content:space-between;gap:10px}.section h2{margin:0;font-size:18px}.section p{color:var(--muted);line-height:1.5}.quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.quick button,.title button,.actions button,.button,.form button,.more button,.more a,.retry,.sync button{border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 12px;font-weight:750;color:var(--ink);text-decoration:none}.quick button:first-child,.primary{border-color:#121719!important;background:#121719!important;color:#fff!important}.title{margin-bottom:14px}.title button{padding:9px 12px}.list{display:grid;gap:10px}.item{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 3px 14px #18334408}.item header{display:flex;justify-content:space-between;gap:9px}.item header div{min-width:0}.item b,.item small{display:block}.item header b{font-size:15px}.item header small{margin-top:4px;color:var(--muted)}.item header>span,.detail>span{height:max-content;border-radius:99px;background:#e9f2f8;color:#265d84;padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}.item p{margin:12px 0 5px}.item>small{color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.detail,.performance,.sync{padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff}.detail dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.detail dl div{min-width:0}.detail dt{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.detail dd{margin:4px 0 0;overflow-wrap:anywhere}.detail button,.detail .button{display:block;width:100%;margin-top:9px;text-align:center}.form{display:grid;gap:13px;padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff}.form label{display:grid;gap:6px;font-size:12px;font-weight:800}.form input,.form select,.form textarea{width:100%;min-height:46px;border:1px solid #cbd7dc;border-radius:10px;background:#fff;padding:11px}.form textarea{min-height:90px;resize:vertical}.performance{display:grid;gap:10px}.performance article{display:grid;grid-template-columns:1fr auto;gap:5px;padding:14px;border-radius:12px;background:#f6f8f9}.performance article strong{font-size:25px}.performance article span{grid-column:1/-1;color:var(--muted);font-size:11px}.performance article i{grid-column:1/-1;height:7px;border-radius:9px;background:#dfe8eb;overflow:hidden}.performance article i b{display:block;height:100%;border-radius:inherit;background:var(--teal)}.more{display:grid;gap:8px}.more button,.more a{display:flex;justify-content:space-between;text-align:left}.sync{text-align:center}.sync>i{display:block;width:18px;height:18px;margin:0 auto 10px;border-radius:50%;background:#d04751}.sync>i.on{background:#19b77e}.sync strong{display:block;font-size:36px}.sync button{margin-top:8px}.empty{padding:46px 15px;text-align:center;color:var(--muted)}.empty i{font-style:normal;font-size:38px}.empty h2{margin:8px 0}.retry{display:block;margin:0 auto}.bottom-nav{position:fixed;z-index:25;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--line);padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -7px 24px #0b171f12}.bottom-nav button{border:0;background:transparent;display:grid;gap:3px;place-items:center;color:#66747b;font-size:10px;min-height:52px}.bottom-nav i{font-style:normal;font-size:20px}.bottom-nav .active{color:#121719;font-weight:800}.bottom-nav .add i{width:34px;height:34px;display:grid;place-items:center;margin-top:-16px;border-radius:50%;background:#121719;color:#fff;box-shadow:0 5px 14px #1217192b}#fieldToast{position:fixed;z-index:99;left:14px;right:14px;bottom:90px;border-radius:11px;background:#121719;color:#fff;padding:12px;transform:translateY(180px);transition:.2s;box-shadow:0 8px 30px #0003}#fieldToast.show{transform:none}@media(min-width:700px){.metrics{grid-template-columns:repeat(4,1fr)}.quick{grid-template-columns:repeat(4,1fr)}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:620px;border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0}.field-main{padding:24px}.form{grid-template-columns:1fr 1fr}.form p,.form textarea,.form button{grid-column:1/-1}}
.customer-check{width:100%;min-height:50px;margin:0 0 13px;border:1px solid #132027;border-radius:12px;background:#152027;color:#fff;font-weight:800}.verification-result{grid-column:1/-1;padding:12px;border-left:5px solid #7b8990;border-radius:10px;background:#f0f4f5;font-size:12px;font-weight:800}.verification-result[data-result="EXISTING_ACTIVE"]{border-color:#c92935;background:#fff1f3;color:#98232c}.verification-result[data-result="RELATED_CR_GROUP"],.verification-result[data-result="INACTIVE_FORMER"],.verification-result[data-result="POSSIBLE_MATCH"]{border-color:#d78600;background:#fff8e7;color:#795000}.verification-result[data-result="NO_MATCH"]{border-color:#079b74;background:#effbf7;color:#06785b}.metric.green{border-bottom-color:#079b74}
.field-back{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:10px;color:#fff;text-decoration:none;font-size:20px}.mobile-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-service-grid label{display:flex;align-items:center;gap:8px;min-height:46px;padding:9px;border:1px solid var(--line);border-radius:10px}.mobile-service-grid input{width:20px;height:20px;min-height:auto}.sticky-actions{position:sticky;bottom:76px;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:#fff;border-top:1px solid var(--line);z-index:10}.mobile-actions summary{cursor:pointer;font-weight:800;padding:12px 0}.mobile-actions .actions>*{flex:1 1 140px}.field-brand img{padding:0;background:transparent;border:0}.bottom-nav i{font-size:12px;font-weight:900}
.mobile-lead-full{padding:0;border:0;background:transparent}.mobile-lead-full fieldset{display:grid;gap:13px;margin:0;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.mobile-lead-full legend{padding:0 8px;font-size:14px;font-weight:850;color:#14324c}.mobile-lead-full fieldset>p{margin:0;font-size:12px;font-weight:800}.mobile-lead-full .customer-check{margin-bottom:0}.mobile-warning{display:grid;gap:5px;padding:12px;border-left:4px solid var(--amber);border-radius:9px;background:#fff8e8;font-size:12px}.mobile-warning span{display:block;color:#6f510b}.hint{color:var(--muted);font-size:12px;line-height:1.45}.mk-selected-client{align-content:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f4f8f9}.mk-selected-client b,.mk-selected-client span{display:block}.mk-selected-client span{color:var(--muted);font-size:12px}
.mobile-client-results{display:grid;gap:6px;margin-top:6px}.mobile-client-results button{display:grid;gap:3px;width:100%;padding:11px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#f7fbfc;color:var(--ink)}.mobile-client-results button:active{background:#e9f7f7}.mobile-client-results b,.mobile-client-results span{display:block}.mobile-client-results span{color:var(--muted);font-size:12px}
.quick>button{min-height:48px;border-color:#121719!important;background:#121719!important;color:#fff!important;text-align:center}.quick>button:hover,.quick>button:focus-visible{background:#252d31!important}.quick.quick-five>button:last-child{grid-column:1/-1}@media(min-width:700px){.quick.quick-five{grid-template-columns:repeat(5,minmax(0,1fr))}.quick.quick-five>button:last-child{grid-column:auto}}
@media(min-width:700px){.mobile-lead-full fieldset{grid-template-columns:1fr 1fr}.mobile-lead-full fieldset>legend,.mobile-lead-full fieldset>.customer-check,.mobile-lead-full fieldset>.verification-result,.mobile-lead-full fieldset>.actions,.mobile-lead-full fieldset>.mobile-service-grid,.mobile-lead-full fieldset>p,.mobile-lead-full fieldset>#mobileDuplicateResult{grid-column:1/-1}}
.mobile-actions [data-mobile-parity="Edit Lead"]{display:none}
.lead-stage-pair{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.lead-stage-pair span{border:1px solid #bcd8e1;border-radius:999px;background:#eff9fa;color:#075c68;padding:6px 10px;font-size:11px;font-weight:800}.lead-stage-pair span+span{border-color:#ccd8ec;background:#f2f6fd;color:#245284}.mobile-next-stage{min-height:48px}.mobile-form-note{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#f4f8f9}.mobile-form-note span{color:var(--muted);font-size:12px}.mobile-actions .actions{display:grid;grid-template-columns:1fr 1fr}.mobile-actions .actions>*{min-height:44px;margin-top:0}.form label:has(>input[type="checkbox"]){display:flex;grid-column:1/-1;align-items:center;gap:9px;min-height:42px}.form label>input[type="checkbox"]{width:20px;min-height:20px}@media(max-width:420px){.mobile-actions .actions{grid-template-columns:1fr}.detail dl{grid-template-columns:1fr}.sticky-actions{grid-template-columns:1fr 1fr}}
.mobile-form-note{display:grid;gap:3px;padding:12px;border:1px solid #b9dde2;border-radius:12px;background:#effbfa;color:#17324a}.mobile-form-note span{font-size:12px;color:#547080}.mobile-operation-form fieldset{border:1px solid #d6e2e8;border-radius:14px;padding:12px;margin:0}.mobile-operation-form fieldset legend{padding:0 6px;font-weight:800;color:#17324a}.mobile-operation-form [data-location-state]{display:block;margin:-4px 0 4px;color:#547080}.mobile-client-results{display:grid;gap:6px;margin-top:6px}.mobile-client-results button{display:grid;text-align:left;gap:3px;padding:11px;border:1px solid #cbdde5;background:#fff;border-radius:10px}.mobile-client-results span{font-size:11px;color:#607586}
.mobile-lead-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #dbe8ea}.mobile-lead-card-actions button{min-height:44px;padding:8px 6px;font-size:13px}.mobile-lead-card>small{display:block}@media(max-width:390px){.mobile-lead-card-actions{grid-template-columns:1fr}.mobile-lead-card-actions button{width:100%}}
.mobile-plan-visit{padding:0;border:0;background:transparent}.mobile-plan-visit fieldset{display:grid;gap:12px;margin:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.mobile-plan-visit legend{padding:0 7px;font-weight:850;color:#14324c}.mobile-plan-visit .verification-result{min-height:48px;display:grid;align-content:center}.mobile-plan-visit .sticky-actions{margin-top:0}
.mobile-receipt-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-receipt-wide{grid-column:1/-1}.mobile-receipt-checklist{overflow-x:auto;border:1px solid #d8e2e6;border-radius:12px;background:#fff}.mobile-receipt-checklist table{width:100%;min-width:620px;border-collapse:collapse}.mobile-receipt-checklist th,.mobile-receipt-checklist td{padding:10px;border-right:1px solid #e3e9ec;border-bottom:1px solid #e3e9ec;text-align:left;font-size:11px}.mobile-receipt-checklist thead th{background:#f1f6f7;text-transform:uppercase}.mobile-receipt-checklist tbody th{background:#f5f8f9;white-space:nowrap}.mobile-receipt-checklist label{display:flex;align-items:center;gap:7px;margin:0}.mobile-receipt-checklist input{width:18px;height:18px}.mobile-partial-box{display:flex!important;align-items:flex-start;gap:10px;padding:14px!important;border:1px solid #efb4b4!important;border-radius:12px;background:#fff7f7}.mobile-partial-box>input{width:19px;height:19px;margin-top:2px}.mobile-partial-box span,.mobile-partial-box small{display:block}.mobile-receipt-form input[readonly],.mobile-receipt-form textarea[readonly]{background:#f4f8f9;color:#36515d}@media(max-width:640px){.mobile-receipt-form{grid-template-columns:1fr}.mobile-receipt-form>*{grid-column:1}.mobile-receipt-checklist th,.mobile-receipt-checklist td{padding:9px 7px}.mobile-receipt-checklist label span{font-size:10px}}
.field-live-actions{display:flex;gap:6px;margin-left:auto}.field-live-actions button{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#18242a;color:#fff;font-size:18px}.field-live-actions .payment-qr-quick{display:grid;min-width:44px;width:44px;height:44px;place-items:center;border-color:#63c9b5;background:linear-gradient(135deg,#087f73,#0b9e88);box-shadow:0 7px 18px #007f7040;font-size:11px;font-weight:950;letter-spacing:.04em}.mobile-planner-tabs{display:flex;gap:7px;overflow-x:auto;margin:10px 0}.mobile-planner-tabs button{border:1px solid #cfe0e6;border-radius:10px;padding:9px 12px;background:#eff8fa;color:#123c67;font-weight:700;white-space:nowrap}.mobile-planner-tabs button.active{background:#123c67;color:#fff}.mobile-planner-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 16px}.mobile-planner-summary div{border:1px solid #cfe0e6;border-bottom:4px solid #079b86;border-radius:12px;padding:10px;background:#fff}.mobile-planner-summary b,.mobile-planner-summary small{display:block}.mobile-planner-summary b{font-size:22px}.mobile-planner-summary small{font-size:10px;color:#607887}.mobile-planner-card.overdue{border-left:5px solid #d53c49}.mobile-planner-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.mobile-planner-actions button{padding:8px 10px;border:1px solid #cfe0e6;border-radius:9px;background:#eff8fa;color:#123c67;font-weight:700}.mobile-chat-row{width:100%;text-align:left}.mobile-chat-messages{display:grid;gap:9px;padding-bottom:80px}.mobile-chat-messages article{max-width:85%;background:#fff;border:1px solid #dce8ed;border-radius:14px;padding:10px}.mobile-chat-messages article.mine{margin-left:auto;background:#e5f7f1;border-color:#9ed9ca}.mobile-chat-messages p{margin:4px 0}.mobile-chat-messages small{color:#607887}.mobile-chat-send{position:fixed;left:12px;right:12px;bottom:86px;display:grid;grid-template-columns:1fr auto;gap:7px;background:#fff;padding:8px;border:1px solid #dce8ed;border-radius:13px;z-index:5}.mobile-chat-send input{border:0;padding:10px;min-width:0}
.mobile-report-quick,.mobile-report-tabs{display:flex;gap:7px;overflow-x:auto;margin:0 0 10px}.mobile-report-quick button,.mobile-report-tabs button{min-height:42px;border:1px solid #cbdce3;border-radius:10px;background:#f2f8fa;color:#173d67;padding:9px 12px;font-weight:800;white-space:nowrap}.mobile-report-quick button.active,.mobile-report-tabs button.active{background:#173d67;color:#fff;border-color:#173d67}.mobile-report-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-report-cards button{position:relative;min-height:125px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #d4e1e6;border-bottom:4px solid #079b86;border-radius:13px;background:#fff;padding:12px;text-align:left;color:var(--ink)}.mobile-report-cards small{min-height:28px;color:#5d7380;font-size:9px;font-weight:900;text-transform:uppercase}.mobile-report-cards strong{margin:7px 0;font-size:20px}.mobile-report-cards span{font-size:10px;color:#637884}.mobile-report-cards i{position:absolute;right:7px;bottom:6px;font-size:8px;font-style:normal;color:#50707c}.mobile-verified-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.mobile-verified-grid>div{display:grid;gap:4px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#f6fafb}.mobile-verified-grid span{font-size:10px;color:#5d7380}.mobile-report-record-meta{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:11px}.mobile-report-record .button{margin-top:10px}.mobile-report-exports{position:sticky;bottom:77px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:14px;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff;z-index:8}.mobile-report-exports button{min-height:44px;border:1px solid #cbdce3;border-radius:9px;background:#173d67;color:#fff;font-weight:800;font-size:11px}@media(max-width:360px){.mobile-report-cards,.mobile-verified-grid{grid-template-columns:1fr}.mobile-report-exports{grid-template-columns:1fr}}
.mobile-target-exports{grid-template-columns:1fr 1fr}
/* Mobile Complaint Register */
.mobile-register-complaint{position:sticky;top:76px;z-index:4}.mobile-complaint-filter{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;margin-bottom:12px}.mobile-complaint-filter input,.mobile-complaint-filter select,.mobile-complaint-filter button{min-width:0;min-height:44px;border:1px solid #cbd9df;border-radius:10px;background:#fff;padding:8px}.mobile-complaint-filter button{background:#0f172a;color:#fff;font-weight:700}
.mobile-complaint-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}.mobile-complaint-tabs button{white-space:nowrap;min-height:42px;border:1px solid #cbd9df;background:#fff;border-radius:12px;padding:0 14px}.mobile-complaint-tabs button.active{background:#0f172a;color:#fff}.mobile-complaint-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.mobile-complaint-summary span{display:grid;padding:12px;border:1px solid #d6e2e7;border-radius:14px;background:#f5fbfa}.mobile-complaint-summary b{font-size:1.3rem}.mobile-complaint-summary small{color:#637580}.mobile-complaint-card{width:100%;text-align:left}.mobile-complaint-card.unread{border-left:5px solid #0891b2;background:#f3fbfe}.mobile-complaint-card h3{margin:12px 0 6px}.mobile-complaint-form{padding-bottom:100px}.mobile-client-results{display:grid;gap:6px}.mobile-client-results button{display:grid;text-align:left;border:1px solid #d2dfe4;background:#fff;border-radius:10px;padding:10px}.mobile-client-results span{color:#647580}.mobile-complaint-hero{background:linear-gradient(135deg,#f2fbfa,#f5f8ff);border:1px solid #cfe0e4;border-radius:18px;padding:18px;margin-bottom:16px}.mobile-complaint-hero>span{display:inline-block;background:#e1f4ef;color:#086b5c;border-radius:999px;padding:5px 10px;font-weight:700}.mobile-complaint-hero dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-complaint-hero dl div{background:#fff;border:1px solid #dce6e9;border-radius:10px;padding:9px}.mobile-complaint-hero dt{font-size:.72rem;color:#657682}.mobile-complaint-hero dd{margin:3px 0 0;font-weight:700}.mobile-complaint-timeline{display:grid;gap:10px}.mobile-complaint-timeline article{border-left:3px solid #16a085;background:#fff;border-radius:0 12px 12px 0;padding:12px}.mobile-complaint-timeline small{display:block;color:#637580;margin-top:4px}.mobile-complaint-toolbar{position:sticky;bottom:76px;z-index:5;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;background:rgba(255,255,255,.96);border:1px solid #d6e2e7;border-radius:15px;padding:10px;margin-top:16px;box-shadow:0 12px 30px rgba(15,23,42,.12)}.mobile-complaint-toolbar button{min-height:46px}
@media(max-width:420px){.mobile-complaint-hero dl{grid-template-columns:1fr}.mobile-complaint-summary{grid-template-columns:1fr 1fr 1fr}.mobile-complaint-summary small{font-size:.66rem}}
@media(max-width:620px){.mobile-complaint-filter{grid-template-columns:1fr 1fr}.mobile-complaint-filter input{grid-column:1/-1}}
.mobile-response-open .bottom-nav{display:none}.mobile-response-open .field-main{padding:0 0 env(safe-area-inset-bottom)}.mobile-response-page{min-height:100dvh;background:#f3f7f8;padding-bottom:90px}.mobile-response-head{position:sticky;top:0;z-index:7;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #d4e1e6;background:#fff}.mobile-response-head button{width:44px;height:44px;border:1px solid #cad9df;border-radius:12px;background:#fff;font-size:20px}.mobile-response-head h1{margin:2px 0;font-size:19px}.mobile-response-head small{color:#617883}.mobile-response-head>span{max-width:90px;border-radius:999px;background:#e5f5f2;color:#086b5d;padding:6px 8px;font-size:10px;font-weight:800;text-align:center}.mobile-response-summary{display:grid;gap:5px;padding:14px;background:#fff;border-bottom:1px solid #d9e5e9}.mobile-response-summary>span,.mobile-response-summary>small{color:#607680}.mobile-response-summary details{margin-top:6px}.mobile-response-summary summary{color:#116d77;font-weight:800}.mobile-response-summary p{line-height:1.5}.mobile-response-form{display:grid;gap:10px;padding:10px}.mobile-response-form>section{display:grid;gap:11px;padding:14px;border:1px solid #d3e1e6;border-radius:14px;background:#fff}.mobile-response-form h2{margin:0;color:#173d67;font-size:15px}.mobile-response-form label{display:grid;gap:6px;font-weight:750}.mobile-response-form input,.mobile-response-form select,.mobile-response-form textarea{width:100%;min-height:48px;border:1px solid #c5d7df;border-radius:11px;background:#fff;padding:11px;font:inherit}.mobile-response-form textarea{min-height:105px;resize:vertical}.mobile-response-form textarea[name=response]{min-height:180px}.mobile-response-form label>small{color:#b02734;font-size:11px}.mobile-response-form label>small:empty{display:none}.mobile-response-form label em{justify-self:end;color:#607680;font-size:10px;font-style:normal}.mobile-response-check{display:flex!important;align-items:flex-start;gap:10px;border:1px solid #d5e2e7;border-radius:11px;background:#f7fafb;padding:11px}.mobile-response-check input{width:21px!important;height:21px;min-height:21px!important;margin:1px 0;padding:0}.mobile-response-check span{display:grid;gap:3px}.mobile-response-check small{color:#617883!important;font-weight:500}.mobile-response-check.locked{background:#f0f5f6}.mobile-response-check.action{border-color:#9ed8ce;background:#edf9f7}.mobile-response-form [data-mobile-status]{display:grid;gap:10px;padding:11px;border-left:4px solid #d88b00;border-radius:10px;background:#fff8e8}.mobile-response-form [data-mobile-action-fields]{display:grid;gap:10px}.mobile-notify-preview{margin:0;border-radius:9px;background:#edf8f6;color:#09685c;padding:10px;font-size:11px;font-weight:700}.mobile-response-error{border-left:4px solid #bf2936;border-radius:9px;background:#fff0f1;color:#a61e2b;padding:11px;font-weight:700}.mobile-response-form footer{position:fixed;z-index:8;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1.5fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #d5e2e7;background:#fff;box-shadow:0 -7px 20px #18384812}.mobile-response-form footer button{min-height:50px}.mobile-response-form :focus-visible{outline:3px solid #169c8b42;outline-offset:2px}@media(min-width:700px){.mobile-response-page{max-width:760px;margin:0 auto}.mobile-response-form{grid-template-columns:1fr 1fr}.mobile-response-form>section,.mobile-response-form>.mobile-response-error{grid-column:1/-1}.mobile-response-form footer{left:50%;right:auto;width:760px;transform:translateX(-50%)}}
.badge{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;border-radius:999px;padding:5px 8px;background:#edf3f5;color:#526c7b;font-size:10px;font-weight:800}.badge:before{content:"";width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:currentColor}.badge.verified,.badge.completed,.badge.converted,.badge.accepted{background:#e4f7f0;color:#087b5f}.badge.pending,.badge.on-hold,.badge.follow-up-required{background:#fff3d9;color:#9a6500}.badge.rejected,.badge.lost,.badge.cancelled{background:#ffe9eb;color:#b52d3a}.badge.status-not-available,.badge.not-applicable{background:#edf2f4;color:#657986}
.mobile-lead-filters{display:flex;gap:8px;overflow-x:auto;margin:-4px 0 14px}.mobile-lead-filters button{min-height:44px;white-space:nowrap;border:1px solid #cbdce3;border-radius:10px;background:#f2f8fa;color:#173d67;padding:9px 13px;font-weight:800}

/* Modern mobile CRM: leads, visits and team chat */
:root{--mobile-nav-height:76px}.field-shell{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 22px)}.field-main{width:100%;max-width:900px;overflow-x:hidden}.mobile-pipeline-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.mobile-pipeline-head>div{min-width:0}.mobile-pipeline-head>div:last-child{display:flex;gap:6px;justify-content:flex-end}.mobile-pipeline-head small{color:var(--teal);font-size:10px;font-weight:900;letter-spacing:.14em}.mobile-pipeline-head h1{margin:4px 0 0;font-size:27px}.mobile-pipeline-head button{min-height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:9px 12px;font-weight:800;white-space:nowrap}.mobile-status-chips{display:flex;gap:7px;overflow-x:auto;margin:0 -16px 12px;padding:0 16px 3px;scrollbar-width:none}.mobile-status-chips::-webkit-scrollbar{display:none}.mobile-status-chips button{flex:0 0 auto;min-height:42px;border:1px solid #cadbe2;border-radius:999px;background:#fff;color:#486371;padding:8px 13px;font-weight:800}.mobile-status-chips button.active{border-color:#123c67;background:#123c67;color:#fff}.mobile-lead-tools{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:9px}.mobile-lead-tools label{position:relative;display:block}.mobile-lead-tools label span{position:absolute;left:13px;top:12px;color:#647c88}.mobile-lead-tools input{width:100%;min-height:46px;border:1px solid #c8d9e0;border-radius:12px;background:#fff;padding:10px 12px 10px 36px}.mobile-lead-tools>button{width:46px;min-height:46px;border:1px solid #c8d9e0;border-radius:12px;background:#fff;font-size:18px}.mobile-list-count{margin:7px 2px 10px;color:#637984;font-size:11px;font-weight:800}.mobile-lead-list,.mobile-visit-list{display:grid;gap:10px}.mobile-lead-row,.mobile-visit-row{min-width:0;padding:14px;border:1px solid #d4e1e6;border-radius:16px;background:#fff;box-shadow:0 5px 18px #1833440a}.mobile-lead-row header,.mobile-visit-row header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.mobile-lead-row h2,.mobile-visit-row h2{margin:0;font-size:17px;line-height:1.2}.mobile-lead-row header small,.mobile-visit-row header small{display:block;margin-top:4px;color:#687c86}.mobile-pill{flex:0 0 auto;max-width:42%;border-radius:999px;background:#e9f4f6;color:#245e6b;padding:6px 9px;font-size:10px;font-weight:900;text-align:center}.mobile-lead-row>p,.mobile-visit-row>p{margin:11px 0;color:#435d69;font-size:12px}.mobile-lead-row>p i{padding:0 3px;color:#a1afb5;font-style:normal}.mobile-lead-row dl,.mobile-visit-row dl{display:grid;gap:6px;margin:11px 0 0;padding:10px;border-radius:11px;background:#f5f8f9}.mobile-lead-row dl div,.mobile-visit-row dl div{display:grid;grid-template-columns:95px 1fr;gap:8px}.mobile-lead-row dt,.mobile-visit-row dt{color:#6b7f89;font-size:10px}.mobile-lead-row dd,.mobile-visit-row dd{margin:0;color:#263d47;font-size:11px;font-weight:750;overflow-wrap:anywhere}.mobile-lead-row footer,.mobile-visit-row footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.mobile-lead-row footer button,.mobile-visit-row footer button{min-height:44px;border:1px solid #c9d9e0;border-radius:10px;background:#fff;font-weight:800}.mobile-visit-row.active{border-left:5px solid var(--teal)}.mobile-visit-row>small{display:block;color:#627a86}.mobile-warning{color:#855900!important}.mobile-sheet-backdrop{position:fixed;z-index:80;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#0b151b99;padding-top:env(safe-area-inset-top)}.mobile-sheet{width:min(100%,680px);max-height:calc(100dvh - env(safe-area-inset-top) - 12px);overflow:auto;border-radius:22px 22px 0 0;background:#fff;padding:16px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -18px 55px #07111742;animation:mobileSheetIn .18s ease-out}.mobile-sheet>header{position:sticky;top:-16px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-16px -16px 13px;padding:16px;border-bottom:1px solid #dce5e8;background:#fff}.mobile-sheet h2{margin:3px 0 0;font-size:20px}.mobile-sheet header small{color:var(--teal);font-size:9px;font-weight:900;letter-spacing:.13em}.mobile-sheet header>button{width:44px;height:44px;border:1px solid #cad9df;border-radius:12px;background:#f5f8f9;font-size:20px}.mobile-sheet-actions,.mobile-recipient-list{display:grid;gap:7px}.mobile-sheet-actions button,.mobile-recipient-list button{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;border:1px solid #d4e1e6;border-radius:12px;background:#fff;padding:10px 12px;color:var(--ink);font-weight:800;text-align:left}.mobile-sheet-actions button span:last-child{margin-left:auto}.mobile-sheet-cancel{width:100%;min-height:48px;margin-top:12px;border:1px solid #ccdbe1;border-radius:11px;background:#f3f7f8;font-weight:800}.mobile-filter-form,.mobile-visit-capture-form{display:grid;gap:12px}.mobile-filter-form label,.mobile-visit-capture-form label,.mobile-recipient-search{display:grid;gap:6px;color:#405965;font-size:12px;font-weight:800}.mobile-filter-form input,.mobile-filter-form select,.mobile-filter-form textarea,.mobile-visit-capture-form input,.mobile-visit-capture-form textarea,.mobile-recipient-search input{width:100%;min-height:48px;border:1px solid #c9d9e0;border-radius:11px;background:#fff;padding:11px}.mobile-filter-form textarea,.mobile-visit-capture-form textarea{min-height:94px}.mobile-location-notice,.mobile-sheet-context{border-radius:11px;background:#edf8f6;color:#32645e;padding:11px;font-size:12px;line-height:1.45}.mobile-recipient-search{margin-bottom:13px}.mobile-new-chat section{margin-top:16px}.mobile-new-chat h3{margin:0 0 8px;color:#59707c;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.mobile-recipient-list button i,.mobile-chat-list-row>i,.mobile-chat-head>i{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:50%;background:#dff3ef;color:#087361;font-style:normal;font-weight:900}.mobile-recipient-list button span{display:grid;gap:3px}.mobile-recipient-list button small{color:#667d88;font-weight:500}.mobile-muted{color:#6b7e88;font-size:12px}.mobile-chat-list{display:grid;gap:5px}.mobile-chat-list-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:66px;border:0;border-bottom:1px solid #dde6e9;background:transparent;padding:8px 2px;text-align:left}.mobile-chat-list-row span{min-width:0}.mobile-chat-list-row b,.mobile-chat-list-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-chat-list-row small{margin-top:5px;color:#667c87;font-weight:500}.mobile-chat-list-row time{display:grid;justify-items:end;gap:5px;color:#72858e;font-size:10px}.mobile-chat-list-row em{display:grid;min-width:20px;height:20px;place-items:center;border-radius:50%;background:var(--teal);color:#fff;font-style:normal;font-weight:900}.mobile-chat-screen{min-height:calc(100dvh - 170px)}.mobile-chat-head{position:sticky;top:68px;z-index:7;display:grid;grid-template-columns:44px 42px minmax(0,1fr);align-items:center;gap:9px;margin:-16px -16px 8px;padding:9px 13px;border-bottom:1px solid #d8e4e8;background:#fff}.mobile-chat-head>button{width:44px;height:44px;border:1px solid #cbd9df;border-radius:12px;background:#fff;font-size:19px}.mobile-chat-head h1{margin:0;font-size:17px}.mobile-chat-head small{color:#667b86}.mobile-chat-messages{max-height:calc(100dvh - 235px);overflow-y:auto;padding:8px 1px calc(96px + env(safe-area-inset-bottom))}.mobile-chat-messages article.theirs,.mobile-chat-messages article.mine{width:max-content;min-width:80px;max-width:84%;border-radius:15px;padding:9px 11px}.mobile-chat-messages article.theirs{background:#fff}.mobile-chat-messages article.mine{justify-self:end;margin-left:auto;background:#daf3ed}.mobile-chat-date{justify-self:center;border-radius:999px;background:#e7eef1;color:#607680;padding:5px 9px;font-size:9px;font-weight:800}.mobile-chat-send{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 6px);grid-template-columns:minmax(0,1fr) 48px;align-items:end}.mobile-chat-send textarea{width:100%;min-height:44px;max-height:110px;border:0;resize:none;padding:11px}.mobile-chat-send button{width:46px;height:46px;border-radius:50%;padding:0}.mobile-chat-screen~.bottom-nav{display:none}@keyframes mobileSheetIn{from{transform:translateY(24px);opacity:.75}to{transform:none;opacity:1}}@media(max-width:390px){.field-main{padding:12px}.mobile-status-chips{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.mobile-pipeline-head{align-items:flex-start}.mobile-pipeline-head>div:last-child{flex-wrap:wrap}.mobile-pipeline-head button{padding:8px 9px;font-size:11px}.mobile-lead-row dl div,.mobile-visit-row dl div{grid-template-columns:82px 1fr}.mobile-lead-row footer,.mobile-visit-row footer{grid-template-columns:1fr}.mobile-sheet{padding-left:13px;padding-right:13px}.mobile-sheet>header{margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}}@media(min-width:700px){.mobile-sheet{margin-bottom:12px;border-radius:22px}.mobile-lead-list,.mobile-visit-list{grid-template-columns:1fr 1fr}.mobile-lead-row footer,.mobile-visit-row footer{grid-column:1/-1}}
.mobile-lead-row h2,.mobile-visit-row h2{overflow-wrap:anywhere}.mobile-priority-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#26a36f}.priority-high .mobile-priority-dot{background:#cf3341}.priority-medium .mobile-priority-dot{background:#d78a00}.mobile-lead-row dd.overdue{color:#b52d3a}.mobile-lead-row dd.due-today{color:#9a6500}.mobile-lead-row dd.upcoming{color:#245b84}.mobile-active-visit{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;margin-bottom:12px;padding:11px;border:1px solid #8ed6c9;border-left:5px solid var(--teal);border-radius:13px;background:#edfaf7}.mobile-active-visit div{min-width:0}.mobile-active-visit small,.mobile-active-visit b,.mobile-active-visit span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-active-visit small{color:#087765;font-size:9px;font-weight:900}.mobile-active-visit span{margin-top:3px;color:#5a746f;font-size:10px}.mobile-active-visit button{min-height:44px;border:1px solid #bcd8d2;border-radius:10px;background:#fff;padding:8px;font-size:11px;font-weight:800}.mobile-check-row{display:flex!important;align-items:center;gap:9px}.mobile-check-row input{width:21px!important;min-height:21px!important}@media(max-width:390px){.mobile-active-visit{grid-template-columns:1fr 1fr}.mobile-active-visit div{grid-column:1/-1}.mobile-active-visit button{width:100%}.field-main{padding:16px}.mobile-status-chips{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}

/* Consolidated field collections */
.pending-doc-scope{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.pending-doc-scope button.active{background:#0f172a;color:#fff}.filter-select-actions{display:flex;gap:8px;margin-bottom:8px}.filter-chip-options{display:flex;flex-wrap:wrap;gap:8px;max-height:180px;overflow:auto}.filter-chip-options label{display:block}.filter-chip-options input{position:absolute;opacity:0}.filter-chip-options span{display:block;border:1px solid #cbd5e1;border-radius:999px;padding:8px 12px}.filter-chip-options input:checked+span{background:#0f766e;color:#fff;border-color:#0f766e}.commercial-new-request{width:100%;margin:12px 0}.selected-request-source{display:grid;gap:6px;padding:14px;border:1px solid #99f6e4;border-radius:14px;background:#f0fdfa;margin:12px 0}.mobile-warning{padding:12px;border:1px solid #f59e0b;background:#fffbeb;border-radius:10px}.request-source-tabs{overflow:auto}
.collection-table{border:1px solid #d8e1e8;border-radius:14px;overflow:hidden;background:#fff}.collection-table-head,.collection-table-row{display:grid;grid-template-columns:52px 130px minmax(180px,1.3fr) 145px minmax(150px,1fr) minmax(220px,1.6fr) 130px 130px;align-items:center}.collection-table-head{position:sticky;top:0;z-index:2;background:#123653;color:#fff;font-size:12px;font-weight:800}.collection-table-head>span,.collection-table-row>span{padding:10px;border-right:1px solid #d8e1e8}.collection-table-row{position:relative;border-top:1px solid #d8e1e8}.collection-table-row:nth-child(odd){background:#f8fafc}.collection-table-row small{display:block;color:#64748b;margin-top:3px}.collection-kind{font-style:normal;font-size:12px;border-radius:999px;padding:5px 8px;background:#e2e8f0}.collection-kind.document{background:#dbeafe;color:#1d4ed8}.collection-kind.money{background:#dcfce7;color:#047857}.collection-kind.combined{background:#f3e8ff;color:#7e22ce}.collection-period-cell{display:flex;flex-wrap:wrap;gap:4px}.collection-period-cell span{font-size:11px;border-radius:999px;background:#edf4f7;padding:4px 7px}.collection-row-actions{display:flex;gap:5px;flex-wrap:wrap}.collection-row-actions button{min-height:36px}.collection-expanded{grid-column:1/-1;padding:12px;background:#f8fafc;border-top:1px dashed #cbd5e1}.collection-list-pager{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px}.collection-calendar{border:1px solid #d8e1e8;border-radius:16px;background:#fff;overflow:hidden}.collection-calendar>header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-weekdays b{text-align:center;font-size:11px;color:#64748b;padding:8px}.calendar-day{min-height:66px;border:0;border-top:1px solid #e2e8f0;border-right:1px solid #e2e8f0;border-radius:0;background:#fff;padding:6px;display:flex;flex-direction:column;align-items:flex-start}.calendar-day.outside{opacity:.35}.calendar-day.today b{background:#0f766e;color:#fff;border-radius:999px;padding:3px 7px}.calendar-day.selected{box-shadow:inset 0 0 0 2px #0ea5e9;background:#f0f9ff}.calendar-day>small{font-weight:800}.calendar-day>span{display:flex;gap:3px;flex-wrap:wrap}.calendar-day i{width:7px;height:7px;border-radius:99px;background:#3b82f6}.calendar-day i.money{background:#22c55e}.calendar-day i.combined{background:#a855f7}.calendar-day i.pending{outline:2px solid #f59e0b}.calendar-day i.collected{outline:2px solid #059669}.calendar-legend{display:flex;flex-wrap:wrap;gap:9px;padding:10px;font-size:11px}.calendar-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:99px;background:#3b82f6;margin-right:4px}.calendar-legend .money:before{background:#22c55e}.calendar-legend .combined:before{background:#a855f7}.calendar-legend .pending:before{background:#f59e0b}.calendar-legend .collected:before{background:#059669}.calendar-selected{margin-top:12px}.calendar-selected>button{width:100%;display:flex;justify-content:space-between;text-align:left;margin:6px 0}.collection-skeleton{height:88px;border-radius:12px;background:linear-gradient(90deg,#eef2f6 25%,#f8fafc 45%,#eef2f6 65%);background-size:300% 100%;animation:collectionLoading 1.2s infinite}@keyframes collectionLoading{to{background-position:-100% 0}}
@media(max-width:760px){.collection-table{border:0;background:transparent}.collection-table-head{grid-template-columns:42px 92px 1fr 88px 72px}.collection-table-head span:nth-child(4),.collection-table-head span:nth-child(5),.collection-table-head span:nth-child(6){display:none}.collection-table-head span:nth-child(7){display:block;grid-column:4}.collection-table-head span:nth-child(8){display:block;grid-column:5}.collection-table-row{grid-template-columns:42px 92px minmax(0,1fr) 88px 72px;border:1px solid #d8e1e8;border-radius:12px;margin-bottom:8px;background:#fff!important}.collection-table-row>span{border-right:0;padding:8px 5px;font-size:12px}.collection-table-row>span:nth-child(4),.collection-table-row>span:nth-child(5),.collection-table-row>span:nth-child(6){display:none}.collection-table-row>span:nth-child(7){grid-column:4}.collection-table-row>span:nth-child(8){grid-column:5}.collection-row-actions button{min-width:44px;font-size:0}.collection-row-actions button:first-child:after{content:"Open";font-size:12px}.collection-row-actions button:last-child{display:none}.collection-expanded:not([hidden]){display:block;grid-column:1/-1;font-size:12px}.calendar-day{min-height:52px;padding:4px}.calendar-weekdays b{font-size:9px}.calendar-day b,.calendar-day small{font-size:11px}.collection-secondary{display:none}}
@media(max-width:760px){.collection-table-head{grid-template-columns:42px 92px 1fr 88px 92px}.collection-table-row{grid-template-columns:42px 92px minmax(0,1fr) 88px 92px}.collection-row-actions button:last-child{display:inline-flex}.collection-row-actions button:last-child:after{content:"⋯";font-size:16px}}
.collection-selected-party{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid #a8d8cf;border-radius:12px;background:#edf9f7}.collection-selected-party div{min-width:0}.collection-selected-party b,.collection-selected-party small{display:block;overflow-wrap:anywhere}.collection-selected-party small{margin-top:4px;color:#5a746f}.collection-selected-party button,.collection-selected-party>span{flex:0 0 auto;min-height:40px;border:1px solid #b9d8d2;border-radius:9px;background:#fff;padding:8px 11px;font-weight:800}.mobile-recipient-list button strong{margin-left:auto;border-radius:8px;background:#123c67;color:#fff;padding:8px 10px;font-size:11px}.mobile-recipient-list button.selected{border-color:var(--teal);background:#edf9f7}.collection-detail-edit{width:100%;min-height:48px;margin:0 0 12px;border-radius:11px}.collection-period-picker{display:grid;gap:9px}.collection-period-options{display:grid;gap:6px;max-height:230px;overflow-y:auto}.collection-period-options label{display:grid!important;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:9px;border:1px solid #d6e2e6;border-radius:10px}.collection-period-options input{width:20px!important;min-height:20px!important}.collection-period-options span{display:grid;gap:3px}.collection-period-options small{color:#657b86;font-weight:500}.collection-period-chips{display:flex;flex-wrap:wrap;gap:6px}.collection-period-chips button{min-height:36px;border:1px solid #9ed6cb;border-radius:999px;background:#eaf8f5;color:#087565;padding:7px 10px;font-weight:800}.collection-period-grid{overflow:hidden;padding:0!important}.collection-period-grid legend{margin-left:9px;color:#123c67}.month-grid{overflow-x:auto}.month-grid-head,.month-grid-row{display:grid;grid-template-columns:minmax(145px,1.5fr) repeat(4,minmax(72px,1fr));min-width:460px;border-bottom:1px solid #dce6e9}.month-grid-head{position:sticky;top:0;z-index:2;background:#123c67;color:#fff}.month-grid-head>b,.month-grid-head label,.month-grid-row>b,.month-grid-row label{display:grid;min-height:46px;place-items:center;padding:7px;text-align:center}.month-grid-head label{grid-template-columns:20px 1fr;color:#fff;font-size:10px}.month-grid-head input,.month-grid-row input{width:22px!important;min-height:22px!important;margin:0}.month-grid-row>b{place-items:center start;background:#f2f7f8;font-size:11px}.month-grid-row label{border-left:1px solid #e0e8eb}.collection-packaging{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.collection-packaging label{display:flex;align-items:center;gap:8px;min-height:48px;border:1px solid #d3e1e6;border-radius:10px;padding:9px}.collection-packaging input{width:22px!important;min-height:22px!important}.component-locked{border-color:#9dd8cd!important;background:#f5fbfa!important}.component-locked h2{display:flex;align-items:center;justify-content:space-between;gap:8px}.component-readonly{display:grid;gap:7px;padding:12px;border-radius:11px;background:#fff}.component-readonly p{margin:0;color:#405965}
.collection-counters{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:7px;overflow-x:auto;margin:0 -16px 13px;padding:0 16px 4px}.collection-counters div{display:grid;gap:3px;min-height:66px;padding:11px;border:1px solid #d4e2e7;border-radius:13px;background:#fff}.collection-counters b{font-size:20px}.collection-counters small{color:#617783;font-size:9px;font-weight:800}.collection-view-toggle{display:flex;justify-content:flex-end;gap:5px;margin-bottom:10px}.collection-view-toggle button{min-height:40px;border:1px solid #cbdbe1;border-radius:9px;background:#fff;padding:7px 12px;font-weight:800}.collection-view-toggle button.active{background:#123c67;color:#fff}.mobile-collection-list{display:grid;gap:10px}.mobile-collection-card{display:grid;gap:8px;min-width:0;padding:14px;border:1px solid #d2e0e5;border-radius:16px;background:#fff;box-shadow:0 5px 18px #1833440a}.mobile-collection-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.mobile-collection-card h2{margin:0;font-size:17px;overflow-wrap:anywhere}.mobile-collection-card header small,.mobile-collection-card>small{color:#667b86}.mobile-collection-card p,.mobile-collection-card div{margin:0;color:#334e5a;font-size:12px}.mobile-collection-card footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-collection-card footer button,.mobile-collection-card footer .button{display:grid;min-height:44px;place-items:center;border:1px solid #c9d9df;border-radius:10px;background:#fff;color:var(--ink);font-weight:800;text-decoration:none}.collection-date-heading{margin:10px 2px 0;color:#47616e;font-size:12px}.mobile-collection-workflow{min-height:calc(100dvh - 180px);padding-bottom:82px}.mobile-collection-workflow>header{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;margin-bottom:8px}.mobile-collection-workflow>header button{width:44px;height:44px;border:1px solid #ccdbe1;border-radius:11px;background:#fff;font-size:20px}.mobile-collection-workflow>header small{color:var(--teal);font-size:9px;font-weight:900;letter-spacing:.1em}.mobile-collection-workflow h1{margin:3px 0;font-size:22px}.collection-progress{height:5px;margin:8px 0 16px;border-radius:99px;background:#dfe8eb}.collection-progress i{display:block;height:100%;border-radius:99px;background:var(--teal)}.collection-progress i.p1{width:25%}.collection-progress i.p2{width:50%}.collection-progress i.p3{width:75%}.collection-progress i.p4{width:100%}.mobile-collection-workflow>footer{position:fixed;z-index:15;left:0;right:0;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding:10px 16px;border-top:1px solid #d8e3e7;background:#fff}.mobile-collection-workflow>footer button{min-height:48px}.mobile-collection-workflow>footer button:only-child{grid-column:2}.collection-type-cards{display:grid;gap:10px}.collection-type-cards button{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;min-height:76px;border:1px solid #cbdce2;border-radius:15px;background:#fff;padding:12px;text-align:left}.collection-type-cards button.selected{border:2px solid var(--teal);background:#edf9f7}.collection-type-cards i{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:#e6f5f2;color:#087765;font-style:normal;font-weight:900}.collection-type-cards span{display:grid;gap:4px}.collection-type-cards small{color:#647a85}.mobile-collection-detail,.collection-review{display:grid;gap:12px}.mobile-collection-detail section,.collection-review section{display:grid;gap:11px;padding:14px;border:1px solid #d3e1e6;border-radius:15px;background:#fff}.mobile-collection-detail h2,.collection-review h2{margin:0;font-size:16px}.mobile-collection-detail label{display:grid;gap:6px;color:#405965;font-size:12px;font-weight:800}.mobile-collection-detail input,.mobile-collection-detail select,.mobile-collection-detail textarea{width:100%;min-height:48px;border:1px solid #c9d9e0;border-radius:11px;background:#fff;padding:10px}.mobile-collection-detail textarea{min-height:82px}.mobile-collection-detail fieldset{display:grid;gap:7px;margin:0;padding:10px;border:1px solid #d4e2e7;border-radius:12px}.mobile-collection-detail legend{padding:0 5px;font-size:11px;font-weight:800}.collection-category{grid-template-columns:22px minmax(0,1fr) 74px!important;align-items:center}.collection-category input[type=checkbox]{width:20px;min-height:20px}.collection-category input[type=number]{min-height:40px}.collection-months{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.collection-months label{display:flex;align-items:center;gap:4px;border:1px solid #d5e2e7;border-radius:8px;padding:6px}.collection-months input{width:18px;min-height:18px}.collection-success{display:grid;justify-items:center;gap:12px;padding:30px 10px;text-align:center}.collection-success>i{display:grid;width:72px;height:72px;place-items:center;border-radius:50%;background:#e3f7f0;color:#08775f;font-size:34px;font-style:normal}.collection-success h1,.collection-success p{margin:0}.collection-success .button,.collection-success button{min-height:48px;border-radius:11px;padding:12px 16px;text-decoration:none}@media(min-width:700px){.mobile-collection-list{grid-template-columns:1fr 1fr}.mobile-collection-detail{grid-template-columns:1fr 1fr}.mobile-collection-detail section:first-child,.collection-review{grid-column:1/-1}}@media(max-width:390px){.collection-months{grid-template-columns:repeat(3,1fr)}.mobile-collection-card footer{grid-template-columns:1fr}.mobile-collection-workflow>footer{padding-left:16px;padding-right:16px}}

/* Unified desktop/Mobile CRM notification experience */
.field-live-actions button{position:relative}.mobile-notification-badge{position:absolute;right:-4px;top:-5px;display:grid;min-width:20px;height:20px;place-items:center;border:2px solid #0d171b;border-radius:999px;background:#ef3340;color:#fff;padding:0 4px;font-size:9px}.mobile-notification-permission,.mobile-notification-status,.mobile-notification-settings{display:grid;gap:9px;margin:12px 0;padding:15px;border:1px solid #b9dcd5;border-radius:16px;background:linear-gradient(135deg,#fff,#edf9f6)}.mobile-notification-permission p,.mobile-notification-status p{margin:0;color:#566f79;line-height:1.45}.mobile-notification-permission>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-notification-status span{color:#536b76;font-size:12px}.mobile-notification-settings{grid-template-columns:1fr 1fr}.mobile-notification-settings label{display:flex;align-items:center;gap:8px;min-height:44px}.mobile-notification-settings input{width:21px;min-height:21px}.mobile-notification-settings button{grid-column:1/-1}.mobile-notification-toolbar{display:flex;align-items:center;justify-content:space-between;margin:10px 0}.mobile-notification-item{padding:0!important;overflow:hidden}.mobile-notification-item.unread{border-left:5px solid var(--teal);background:#effbf8}.mobile-notification-item>button{display:block;width:100%;border:0;background:transparent;padding:14px;text-align:left}.mobile-notification-banner{position:fixed;z-index:10000;left:12px;right:12px;top:calc(10px + env(safe-area-inset-top));display:grid;gap:6px;max-width:520px;margin:auto;padding:15px;border:1px solid #8fcfc2;border-left:5px solid var(--teal);border-radius:15px;background:#fff;box-shadow:0 18px 50px #071d2b55;opacity:0;pointer-events:none;transform:translateY(-18px);transition:.2s ease}.mobile-notification-banner.show{opacity:1;pointer-events:auto;transform:none}.mobile-notification-banner small{color:var(--teal);font-size:9px;font-weight:900;letter-spacing:.1em}.mobile-notification-banner p{margin:0;color:#576e78;line-height:1.4}.mobile-notification-banner>div{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:4px}.mobile-notification-banner button{min-height:44px}

/* BenefitPay Payment QR */
body.mobile-sheet-open{overflow:hidden;touch-action:none}.payment-qr-sheet{width:min(94vw,560px);max-height:min(92dvh,820px);overflow:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.payment-qr-instruction{margin:4px 0 14px;color:#4f6874;line-height:1.5}.payment-qr-image{display:grid;width:min(100%,430px);margin:0 auto 14px;place-items:center;border:1px solid #d3dfe4;border-radius:18px;background:#fff;padding:10px;cursor:zoom-in}.payment-qr-image img{display:block;width:100%;height:auto;max-height:54dvh;object-fit:contain;border-radius:10px}.payment-qr-account{display:grid;gap:1px;margin:0 0 14px;overflow:hidden;border:1px solid #d5e2e6;border-radius:14px;background:#e5edef}.payment-qr-account>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;background:#fff;padding:11px 13px}.payment-qr-account dt{color:#657b85;font-size:11px}.payment-qr-account dd{margin:0;color:#122f3e;font-weight:850;overflow-wrap:anywhere}.payment-qr-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.payment-qr-actions button{min-height:48px;border:1px solid #bfcfd6;border-radius:11px;background:#fff;color:#153344;font-weight:850}.payment-qr-actions button:nth-child(-n+2){background:#101b2c;color:#fff}.payment-qr-actions button:disabled{opacity:.45}.payment-qr-missing{margin:12px 0;padding:22px;border:1px solid #f0b3b8;border-radius:14px;background:#fff3f4;color:#a72834;text-align:center}.payment-qr-zoom{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;background:#06121bea;padding:calc(20px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom))}.payment-qr-zoom img{display:block;max-width:min(96vw,760px);max-height:88dvh;border-radius:16px;background:#fff;object-fit:contain}.payment-qr-zoom button{position:absolute;right:calc(14px + env(safe-area-inset-right));top:calc(14px + env(safe-area-inset-top));width:48px;height:48px;border:1px solid #ffffff66;border-radius:14px;background:#101b2c;color:#fff;font-size:28px}@media(max-width:420px){.payment-qr-account>div{grid-template-columns:1fr;gap:4px}.payment-qr-actions{grid-template-columns:1fr}.payment-qr-image img{max-height:46dvh}}

/* Modern grouped More workspace */
.mobile-more-hero{display:flex;align-items:center;justify-content:space-between;margin:-16px -16px 16px;padding:22px 18px 20px;background:linear-gradient(135deg,#102f4d,#087f75);color:#fff}.mobile-more-hero small{color:#9fe3d8;font-size:9px;font-weight:900;letter-spacing:.16em}.mobile-more-hero h1{margin:4px 0 3px;font-size:28px}.mobile-more-hero p{margin:0;color:#d5ece8;font-size:11px}.mobile-more-hero>span{display:grid;width:44px;height:44px;place-items:center;border:1px solid #ffffff38;border-radius:14px;background:#ffffff12;letter-spacing:2px}.mobile-more-grid{display:grid;gap:14px}.mobile-more-group{overflow:hidden;border:1px solid #d2e1e6;border-radius:17px;background:#fff;box-shadow:0 7px 22px #1632440a}.mobile-more-group>h2{margin:0;padding:11px 14px 8px;color:#52707d;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.mobile-more-group>div{display:grid}.mobile-more-item{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:11px;min-height:68px;border:0!important;border-top:1px solid #e7eef0!important;border-radius:0!important;background:#fff!important;padding:10px 13px!important;color:#152b37!important;text-align:left!important}.mobile-more-item:first-child{border-top:0!important}.mobile-more-item:active{background:#eff9f7!important}.mobile-more-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#e4f6f2,#edf4fa);color:#08796d;font-size:15px;font-weight:900}.mobile-more-copy{display:grid;min-width:0;gap:3px}.mobile-more-copy b{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mobile-more-copy small{overflow:hidden;color:#6a7f88;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mobile-more-badge{display:grid;min-width:27px;height:27px;place-items:center;border-radius:999px;background:#173d67;color:#fff;padding:0 7px;font-size:10px}.mobile-more-chevron{color:#79909a;font-size:24px;font-weight:400}.mobile-more-grid+.switches{margin-top:16px;border:1px solid #d2e1e6;border-radius:15px;background:#fff;padding:13px}@media(min-width:700px){.mobile-more-hero{margin:-24px -24px 20px}.mobile-more-grid{grid-template-columns:1fr 1fr;align-items:start}}@media(max-width:360px){.mobile-more-item{grid-template-columns:38px minmax(0,1fr) auto auto;gap:8px;padding-inline:10px!important}.mobile-more-icon{width:38px;height:38px}.mobile-more-copy b{font-size:12px}}
.field-duty-title p{margin:.25rem 0 0;color:var(--muted,#667784);font-size:.92rem}.field-duty-privacy{display:grid;gap:.35rem;margin:0 1.25rem 1rem;padding:1rem;border:1px solid #b7ddd8;border-left:4px solid #049b89;border-radius:16px;background:#f1fbf9;color:#183b3b}.field-duty-privacy span{font-size:.86rem;line-height:1.45;color:#526b70}.field-duty-status{display:grid;gap:1rem;margin:0 1.25rem 1rem;padding:1.15rem;border:1px solid #d5e0e4;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(21,42,53,.06)}.field-duty-status.active{border-color:#5dcab9;background:linear-gradient(145deg,#f4fffd,#fff)}.field-duty-status small,.field-duty-visits>div>small,.field-duty-visit small{color:#078b7e;font-size:.7rem;font-weight:800;letter-spacing:.12em}.field-duty-status h2,.field-duty-visits h2{margin:.35rem 0 .8rem;font-size:1.35rem}.field-duty-status dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0}.field-duty-status dl div{padding:.7rem;border-radius:12px;background:#f4f7f8}.field-duty-status dt{font-size:.68rem;color:#71818a}.field-duty-status dd{margin:.2rem 0 0;font-size:.78rem;font-weight:750;color:#152a36}.field-duty-consent{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem;border-radius:14px;background:#f7f9fa;font-size:.86rem;line-height:1.4}.field-duty-consent input{width:22px;height:22px;flex:0 0 auto}.field-duty-end{min-height:48px;border-color:#d43b48!important;background:#fff1f2!important;color:#a51e2d!important;font-weight:800}.field-duty-visits{display:grid;gap:.75rem;margin:0 1.25rem 6.5rem}.field-duty-visit{display:grid;gap:.8rem;padding:1rem;border:1px solid #d5e0e4;border-radius:18px;background:#fff}.field-duty-visit>div:first-child{display:grid;gap:.25rem}.field-duty-visit b{font-size:1rem}.field-duty-visit span{font-size:.82rem;color:#667784}.field-duty-visit-actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.field-duty-visit-actions button,.field-duty-visit-actions a{display:grid;place-items:center;min-height:44px;border:1px solid #c9d7dc;border-radius:12px;background:#fff;color:#122738;text-decoration:none;font-weight:750}@media(max-width:390px){.field-duty-status dl{grid-template-columns:1fr}.field-duty-privacy,.field-duty-status,.field-duty-visits{margin-left:.85rem;margin-right:.85rem}}
