.crm-lead-action-view{background:#f5faff;color:#193b60;min-width:0}
.crm-lead-action-view .mobile-actions{margin:16px 0;border:1px solid #abc6df;border-radius:14px;background:#fff;padding:14px;box-shadow:0 3px 12px #244b7310}
.crm-lead-action-view .mobile-actions>summary{color:#194e7b;font-size:17px;font-weight:700;padding:6px 2px 14px;cursor:pointer}
.crm-lead-action-view .crm-lead-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
.crm-lead-action-view .crm-lead-action-tile,
#fieldApp.crm-lead-action-view .actions .crm-lead-action-tile,
#fieldApp.crm-lead-action-view button.crm-lead-action-tile{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;min-height:58px;height:100%;padding:13px 14px!important;border:1px solid #aec9e1!important;border-radius:11px!important;background:#f3f8fe!important;color:#214f79!important;box-shadow:0 2px 5px #224c7510;font:600 15px/1.35 'Source Sans 3',sans-serif;text-align:left;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.crm-lead-action-view .crm-lead-action-tile svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.crm-lead-action-view .crm-lead-action-tile span{min-width:0;white-space:normal}
.crm-lead-action-view .crm-lead-action-top{margin:0 0 12px;height:auto!important}
#fieldApp.crm-lead-action-view button.crm-lead-action-next,.crm-lead-action-view .crm-lead-action-next{background:#246fa9!important;border-color:#1c6095!important;color:white!important}
.crm-lead-action-view .crm-lead-action-tile:hover{filter:brightness(.97)}
.crm-lead-action-view .crm-lead-action-tile:active{transform:translateY(1px)}
.crm-lead-action-view .crm-lead-action-tile:focus-visible{outline:3px solid #71b4eb;outline-offset:3px}
.crm-lead-action-view .crm-lead-action-tile:disabled{opacity:.5;cursor:not-allowed;transform:none}
#fieldApp.crm-lead-action-view .field-top{background:#f5faff!important;color:#183e64;border-bottom:1px solid #abc6df;box-shadow:0 3px 12px #244b7310}
#fieldApp.crm-lead-action-view .field-top :is(button,a){background:#eef6ff!important;color:#245785!important;border:1px solid #abc6df!important}
#fieldApp.crm-lead-action-view .field-brand :is(b,small){color:#234d71}
#fieldApp.crm-lead-action-view .detail{border:1px solid #abc6df;background:#fff;border-radius:16px}
#fieldApp.crm-lead-action-view .field-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom));max-width:100%;overflow-x:clip}
.crm-lead-action-view .mk-detail-actions{display:block}
#fieldApp.crm-lead-action-view .bottom-nav{background:#fff!important;border-top:1px solid #abc6df}
#fieldApp.crm-lead-action-view .bottom-nav button{background:#fff;color:#426583}
#fieldApp.crm-lead-action-view .bottom-nav button.active{background:#e6f2ff!important;color:#1c6399}
@media(max-width:420px){.crm-lead-action-view .mobile-actions{padding:10px}.crm-lead-action-view .crm-lead-action-grid{gap:12px}.crm-lead-action-view .crm-lead-action-tile{padding:12px 9px!important}}
.mobile-lead-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;flex-wrap:wrap}
.mobile-lead-view-toggle{display:flex;gap:4px;padding:4px;border:1px solid #a8c5de;border-radius:10px;background:#eef6ff}
#fieldApp .mobile-lead-view-toggle button{min-height:44px;min-width:70px;padding:8px 14px;border:1px solid transparent;border-radius:7px;background:transparent;color:#215581;font-weight:700}
#fieldApp .mobile-lead-view-toggle button.active{background:#246fa9;color:#fff;border-color:#1b5f94}
.mobile-lead-view-toggle button:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}
#mobileLeadList.mobile-lead-compact-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#mobileLeadList.mobile-lead-compact-list .mobile-lead-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:12px 14px;border:1px solid #aac7df;border-radius:9px;box-shadow:none;min-width:0;background:#fff}
#mobileLeadList.mobile-lead-compact-list .mobile-lead-row>header{grid-column:1;min-width:0;margin:0}
#mobileLeadList.mobile-lead-compact-list h2{font-size:16px;line-height:1.3;margin:0;overflow-wrap:anywhere}
#mobileLeadList.mobile-lead-compact-list .mobile-lead-row>p{grid-column:1;margin:0;font-size:12px;overflow-wrap:anywhere}
#mobileLeadList.mobile-lead-compact-list dl{grid-column:1;margin:0;display:flex;gap:6px 16px;flex-wrap:wrap}
#mobileLeadList.mobile-lead-compact-list dl>div{padding:0;min-width:0}
#mobileLeadList.mobile-lead-compact-list dt,#mobileLeadList.mobile-lead-compact-list dd{font-size:12px;margin:0;overflow-wrap:anywhere}
#mobileLeadList.mobile-lead-compact-list footer{grid-column:2;grid-row:1/4;display:flex;align-items:center;gap:8px;margin:0;border:0;padding:0}
#mobileLeadList.mobile-lead-compact-list footer button{min-height:44px}
@media(max-width:560px){#mobileLeadList.mobile-lead-compact-list .mobile-lead-row{grid-template-columns:minmax(0,1fr)}#mobileLeadList.mobile-lead-compact-list footer{grid-column:1;grid-row:auto;justify-content:flex-end;margin-top:4px}#mobileLeadList.mobile-lead-compact-list dl{gap:5px 12px}}

/* My Leads: same CRM blue, clear identity, and text-labelled colour cues. */
#fieldApp #newLead,#fieldApp #mobileLeadList [data-lead-actions],#mkNewLead,.mk-lead-row-actions .action-menu>summary{background:#246fa9!important;border:1px solid #1c6095!important;color:#fff!important;border-radius:9px;box-shadow:0 2px 5px #224c7510}
#fieldApp #mobileLeadList [data-open-lead],.mobile-lead-sheet .mobile-sheet-actions button{background:#edf5fe!important;color:#215581!important;border:1px solid #aac7df!important}
#fieldApp #mobileLeadList .mobile-lead-row footer{grid-template-columns:repeat(3,minmax(0,1fr))}
#fieldApp #mobileLeadList .lead-call-button{background:#e8f7ef!important;border:1px solid #8bc9a5!important;color:#14633e!important}
#fieldApp #mobileLeadList .lead-call-button:disabled{background:#f1f3f5!important;border-color:#d5dadd!important;color:#8a949a!important;cursor:not-allowed}
#fieldApp #newLead:hover,#fieldApp #mobileLeadList [data-lead-actions]:hover{background:#1c6095!important}
#fieldApp #mobileLeadList button:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}
#mobileLeadList .mobile-lead-row{border:1px solid #abc5dd!important;border-left:4px solid var(--lead-category,#78818c)!important}
#mobileLeadList .category-green{--lead-category:#168052;--category-bg:#e6f6ed;--category-text:#14633e}
#mobileLeadList .category-yellow{--lead-category:#d78a00;--category-bg:#fff7dd;--category-text:#805600}
#mobileLeadList .category-grey{--lead-category:#78818c;--category-bg:#eef0f3;--category-text:#4e5864}
#mobileLeadList .category-red{--lead-category:#b42335;--category-bg:#fff0f1;--category-text:#a01d2d}
#mobileLeadList .priority-high{--lead-priority:#168052;--priority-bg:#e6f6ed;--priority-text:#14633e}
#mobileLeadList .priority-medium{--lead-priority:#246fa9;--priority-bg:#e8f2ff;--priority-text:#195487}
#mobileLeadList .priority-low{--lead-priority:#78818c;--priority-bg:#eef0f3;--priority-text:#4e5864}
#mobileLeadList .priority-none{--lead-priority:#b42335;--priority-bg:#fff0f1;--priority-text:#a01d2d}
#mobileLeadList h2{color:#183e64;font-weight:750;line-height:1.4}
#mobileLeadList .lead-identifiers{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:8px;font-size:12px;line-height:1.5;color:#435a70;overflow-wrap:anywhere}
#mobileLeadList .lead-identifiers b{color:#214f79;font-weight:700;margin-right:3px}
#mobileLeadList .lead-labels{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:10px;min-width:0}
#mobileLeadList.mobile-lead-compact-list .lead-labels{grid-column:1;margin-top:2px}
#mobileLeadList .lead-service,#mobileLeadList .lead-category{display:inline-flex;padding:4px 9px;border-radius:6px;border:1px solid currentColor;font-size:12px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;max-width:100%}
#fieldApp #mobileLeadList .lead-category{background:var(--category-bg)!important;border-color:var(--lead-category)!important;color:var(--category-text)!important;box-shadow:0 1px 2px #18334412}
#mobileLeadList .service-0{background:#eaf2ff;color:#215995}
#mobileLeadList .service-1{background:#f2eaff;color:#7041a4}
#mobileLeadList .service-2{background:#e4f5f1;color:#156b60}
#mobileLeadList .service-3{background:#fff1df;color:#915800}
#mobileLeadList .service-4{background:#fceaf3;color:#98406c}
#mobileLeadList .service-5{background:#e8f5fc;color:#236e95}
#mobileLeadList .service-6{background:#f1f5df;color:#59691b}
#mobileLeadList .service-7{background:#ffede5;color:#a04b23}
#mobileLeadList .service-8{background:#e9eafe;color:#4e5299}
#mobileLeadList .service-9{background:#f3eae2;color:#7e5436}
#mobileLeadList .service-none{background:#f1f3f5;color:#5c6570}
@media(max-width:560px){#mobileLeadList .lead-identifiers{gap:4px 12px}#mobileLeadList.mobile-lead-compact-list h2{font-size:18px}#mobileLeadList .lead-labels{gap:6px}#fieldApp #mobileLeadList .mobile-lead-row footer{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Follow-ups and personal to-dos use the established CRM action blue. */
#fieldApp #dayAction,#mkDayCheckIn,#mkDayCheckOut,#fieldApp #mobileAddFollowup,#mkAddFollowup,#fieldApp #newTodo,#fieldApp [data-open-assigned-task],#fieldApp [data-todo-complete],#fieldApp #followForm .primary{background:#246fa9!important;color:#fff!important;border:1px solid #1c6095!important;border-radius:9px;box-shadow:0 2px 5px #224c7510}
#fieldApp #mobileAddFollowup:hover,#mkAddFollowup:hover,#fieldApp #newTodo:hover,#fieldApp [data-open-assigned-task]:hover,#fieldApp [data-todo-complete]:hover,#fieldApp #followForm .primary:hover{background:#1c6095!important}
#fieldApp #mobileAddFollowup:focus-visible,#mkAddFollowup:focus-visible,#fieldApp #newTodo:focus-visible,#fieldApp [data-open-assigned-task]:focus-visible,#fieldApp [data-todo-complete]:focus-visible,#fieldApp #followForm .primary:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}

#fieldApp #dayAction:hover,#mkDayCheckIn:hover,#mkDayCheckOut:hover{background:#1c6095!important}
#fieldApp #dayAction:focus-visible,#mkDayCheckIn:focus-visible,#mkDayCheckOut:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}

/* More: compact blue navigation tiles with readable section headings. */
#fieldApp .mobile-more-hero{margin:0 0 16px;padding:16px 18px;border:1px solid #9fbfdd;border-left:4px solid #246fa9;border-radius:12px;background:#f1f7fd;color:#193e64;box-shadow:none}
#fieldApp .mobile-more-hero h1{font-size:23px;line-height:1.3;margin:3px 0}
#fieldApp .mobile-more-hero small{color:#246fa9}
#fieldApp .mobile-more-hero p{color:#4e6780;font-size:12px;line-height:1.5}
#fieldApp .mobile-more-hero>span{background:#dfedfb;border-color:#b2cde6;color:#246fa9}
#fieldApp .mobile-more-grid{gap:16px}
#fieldApp .mobile-more-group{border:1px solid #b5cbe0;border-radius:12px;box-shadow:none;background:#fff;padding:0 10px 10px}
#fieldApp .mobile-more-group>h2{padding:13px 4px 11px;font-size:12px;color:#234f77;letter-spacing:.05em}
#fieldApp .mobile-more-group>div{gap:8px}
#fieldApp .mobile-more-item{grid-template-columns:38px minmax(0,1fr) auto auto;min-height:70px;padding:11px!important;border:1px solid #bdd2e7!important;border-radius:9px!important;background:#f6faff!important;color:#204e76!important;box-shadow:none}
#fieldApp .mobile-more-icon{width:38px;height:38px;border:1px solid #a6c7e5;border-radius:10px;background:#e0edfb;color:#246fa9;font-size:16px}
#fieldApp .mobile-more-copy b{font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
#fieldApp .mobile-more-copy small{font-size:11px;line-height:1.45;color:#526c83;white-space:normal;overflow-wrap:anywhere}
#fieldApp .mobile-more-chevron{font-size:22px;color:#397bab}
#fieldApp .mobile-more-badge{background:#246fa9;color:#fff;min-width:25px;height:25px}
#fieldApp .mobile-more-item:hover,#fieldApp .mobile-more-item:active{border-color:#5791c0!important;background:#e9f3fd!important}
#fieldApp .mobile-more-item:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}
@media(max-width:420px){#fieldApp .mobile-more-item{gap:8px;grid-template-columns:34px minmax(0,1fr) auto auto}#fieldApp .mobile-more-icon{width:34px;height:34px}#fieldApp .mobile-more-hero{padding:13px}#fieldApp .mobile-more-grid{grid-template-columns:1fr}}

/* Slightly stronger More-menu contrast without a dark panel. */
#fieldApp .mobile-more-item{background:#e0edfa!important;border-color:#86abd0!important;color:#163f68!important}
#fieldApp .mobile-more-icon{background:#bcd6f0;border-color:#7ca5ce;color:#194f82}
#fieldApp .mobile-more-group>h2{color:#193f66;background:#edf4fb}
#fieldApp .mobile-more-copy small{color:#3d5873}
#fieldApp .mobile-more-item:hover,#fieldApp .mobile-more-item:active{background:#cddff3!important;border-color:#507fae!important}

/* CRM lists share the compact Leads visual language. */
#fieldApp .list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#fieldApp .list>.item,#fieldApp .mobile-visit-row,#fieldApp .collection-card,#fieldApp .md-activity-list>article,#fieldApp .fo-list-row{background:#fff;border:1px solid #abc5dd;border-left:3px solid #246fa9;border-radius:9px;padding:12px 14px;box-shadow:none;min-width:0}
#fieldApp .list>.item header b{font-size:16px;color:#183e64;line-height:1.4;overflow-wrap:anywhere}
#fieldApp .list>.item small{font-size:12px;line-height:1.5;color:#526b82}
#fieldApp .list>.item p{font-size:13px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
#fieldApp .list>.item .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#fieldApp .primary,#fieldApp .actions button:not(.danger),#fieldApp [data-complete],#fieldApp [data-complete-followup]{background:#246fa9!important;border:1px solid #1c6095!important;color:#fff!important;border-radius:9px;min-height:42px}
#fieldApp :is(.tabs,.mobile-tabs,.mobile-tab-strip,.status-tabs,.md-tabs) button{background:#e6f0fb!important;border:1px solid #a9c5df!important;color:#215581!important;border-radius:8px;min-height:42px;padding:9px 14px}
#fieldApp :is(.tabs,.mobile-tabs,.mobile-tab-strip,.status-tabs,.md-tabs) button:is(.active,[aria-selected="true"],[aria-pressed="true"]){background:#246fa9!important;border-color:#1c6095!important;color:#fff!important}
#fieldApp .actions button:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}
#fieldApp .actions button:disabled{opacity:.55;cursor:not-allowed}

/* Visits use the same blue tab states and actions as the other CRM lists. */
#fieldApp [data-visit-filter]{background:#e6f0fb!important;border:1px solid #a9c5df!important;color:#215581!important;min-height:42px;padding:9px 14px;border-radius:8px}
#fieldApp [data-visit-filter].active{background:#246fa9!important;border-color:#1c6095!important;color:#fff!important}
#fieldApp .mobile-visit-row footer button,#fieldApp #visitQuickCheck,#fieldApp #mobileVisitFilters{background:#e6f0fb!important;border:1px solid #a9c5df!important;color:#215581!important;min-height:42px;border-radius:8px}
#fieldApp .mobile-visit-row footer button.primary{background:#246fa9!important;border-color:#1c6095!important;color:#fff!important}
#fieldApp [data-visit-filter]:focus-visible,#fieldApp .mobile-visit-row footer button:focus-visible{outline:3px solid #77b9ee;outline-offset:2px}
