/* Kraftomech R2: shared lead UX with the existing proposal and brand styles. */
.login-brand{display:block}.login-brand img{width:280px;max-width:100%;height:auto;box-shadow:none;border-radius:0}.login-brand h1{margin-top:12px}header{background:#123f3f}.headnav button,.headnav select{background:#285650;border-color:#65827c}.settings-groups .settings-menu button small{display:block;font-size:12px;font-weight:400;margin-top:4px}.lead-hero{background:linear-gradient(120deg,#edf3ef,#f8f5ed);border-color:#d6dcd6}.lead-hero h2{color:#123f3f}.lead-view-actions,.lead-tools{display:flex;flex-wrap:wrap;gap:8px}.lead-view-actions button{min-height:44px}.lead-tools{margin-top:15px}.car-picker{border-color:#d6dcd6}.enquiry-car img{object-fit:contain;background:white}.car-placeholder{color:#ed1018;background:white;font-weight:800}.lead-card-cars img{object-fit:contain;background:white}.lead-location{font-size:12px;font-weight:400;opacity:.8}.attempt-table{min-width:0;width:100%}.attempt-table-wrap{overflow:auto}.attempt-summary small{font-size:12px;color:#62746c}.mobile-wip-tile.milestone{background:#e6f5ec;color:#20623d;border-color:#aad3b9}.mobile-wip-tile.other{background:#f5eee3;color:#81582f;border-color:#d8c4a7}.mobile-summary button.active,.mobile-nav button.active{color:#216b65;background:#e6eeea;border-color:#7fa699}.workflow-admin .field{margin-bottom:12px}.workflow-list{display:grid;gap:8px}.workflow-row{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #d6dcd6;border-radius:7px}.workflow-row>div{flex:1}.workflow-row small{display:block}.mobile-sync{display:flex;gap:8px;align-items:center;margin:8px 0;font-size:12px;color:#5d736b}.mobile-sync span{flex:1}.mobile-sync button{padding:5px 8px}.message-full{white-space:pre-wrap}.dialog .grid{display:flex;flex-wrap:wrap}.dialog .grid>.field{flex:1 1 calc(50% - 6px)}.dialog .grid>.wide{flex-basis:100%}.lead-view .lead-location{white-space:normal}.lead-card-head h2{overflow-wrap:anywhere}
@media(max-width:700px){
 #km-import-button{display:none!important}.mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.dialog,.dialog.km-wide,.dialog:has(.lead-view){width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border-radius:0;display:flex;flex-direction:column}.dialog .topline{position:relative;flex-shrink:0;margin:0;padding:12px 14px;min-height:58px}.dialog #modal-body{flex:1;min-height:0;overflow:auto;padding:14px;scrollbar-gutter:auto}.dialog .foot{position:static;margin:15px 0 0;padding:12px 0 0;gap:8px;flex-wrap:wrap}.dialog .foot button,.dialog .foot a{flex:1 1 120px;min-height:44px}.dialog .field input,.dialog .field select,.dialog .field textarea{font-size:16px;min-height:44px}.dialog .grid{display:grid;grid-template-columns:1fr;gap:12px}.dialog .grid>.field{width:100%;grid-column:auto}.dialog .field textarea{min-height:75px}.lead-hero{padding:12px;gap:8px}.lead-view-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.lead-view-actions button{min-width:0;font-size:12px;gap:4px}.lead-view-info{grid-template-columns:1fr 1fr}.lead-section-head{flex-wrap:wrap;gap:8px}.lead-tools>*{flex:1 1 130px;min-height:44px}.enquiry-car{align-items:flex-start}.enquiry-car img{width:85px;height:70px}.car-copy{min-width:0}.car-copy strong,.car-copy small{overflow-wrap:anywhere}.car-links{flex-wrap:wrap}.car-results{max-height:330px;overflow:auto}.car-picker button{min-height:42px}.mobile-follow-tabs button.active{background:#216b65;border-color:#216b65}.mobile-update-extra summary{color:#216b65;padding:8px 0;min-height:36px}.mobile-wip-tile{min-width:0}.mobile-wip-tile span{overflow-wrap:anywhere}.km-product-row{display:grid;grid-template-columns:1fr 1fr 34px;gap:9px;padding:12px}.km-product-row .km-picker{grid-column:1/-1;width:100%}.km-product-row>[data-remove]{min-height:44px;margin-top:22px}.km-proposal-bottom{display:grid;grid-template-columns:1fr}.km-product-info{grid-column:1/-1}.km-action-footer{position:static;display:block}.km-picker-results{top:68px;max-height:220px}.km-picker-up .km-picker-results{top:auto;bottom:100%}.km-picker-results button{min-height:48px}.km-total-preview{font-size:17px!important}.km-doc-actions button,.km-doc-actions a{min-height:42px;padding:10px}.km-doc-head{flex-wrap:wrap}.km-action-footer>.foot{flex-wrap:wrap}.notification-stack{max-height:32vh}.mobile-nav button{color:#5d736b}.mobile-summary button.active{background:#e6eeea}
}
.dialog .lead-hero{background:linear-gradient(120deg,#edf3ef,#f8f5ed)!important;color:#243c3a!important}.dialog .lead-hero h2,.dialog .lead-hero div{color:#123f3f!important}.dialog .lead-hero .pill{background:#dbe9e0;color:#215d53}.dialog .lead-hero .lead-location{color:#4b665c}@media(max-width:700px){.panel.show .dialog:has(.lead-view){width:100%;height:100dvh;max-height:100dvh;padding:0}.panel{padding:0!important}.dialog .car-copy strong{color:#123f3f}.lead-tools button{white-space:normal}}
.lead-view .lead-location::before{content:none}
