/* V2 contact profile — retain original approved layout, harmonize colors only */
#detail .drawer{background:#f7f8fc!important;color:#26314b}
#detail .drawerhead{background:#f7f8fc!important;border-color:#e5e9f2!important}
#detail .drawer>.profile h2{color:#202b46!important}
#detail .drawer>.profile .avatar{background:#eae5ff!important;color:#634bd7!important}
#detail .crm-profile-hero{background:#fff!important;border:1px solid #e3e8f2!important;border-radius:18px!important;box-shadow:0 4px 17px #26355308!important}
#detail .crm-hero-eyebrow{color:#806bca!important}
#detail .crm-hero-contact .label,#detail .crm-hero-meta span{color:#8792a8!important}
#detail .crm-hero-contact a,#detail .crm-hero-contact strong,#detail .crm-hero-meta strong{color:#25324d!important}
#detail .crm-financial-card{background:#f3f2fa!important;border:1px solid #e8e6f2!important;border-radius:15px!important}
#detail .crm-financial-card>strong{color:#27314d!important}
#detail .crm-financial-card:first-child{background:#f0edff!important;border-color:#e5dfff!important}
#detail .crm-financial-card:nth-child(2){background:#eef7f4!important;border-color:#dceee8!important}
#detail .crm-tabs{background:#f7f8fc!important;border-color:#e4e9f2!important}
#detail .crm-tabs button{color:#62708a!important;border-radius:10px!important}
#detail .crm-tabs button[aria-pressed="true"]{background:#eae5ff!important;color:#6046d3!important}
#detail .crm-tab-panel>.panel,#detail .crm-tab-panel>details{background:#fff!important;border:1px solid #e3e8f2!important;border-radius:16px!important}
#detail .crm-status-pill{border-radius:8px!important}
#detail .drawer .close{background:#fff!important;color:#756a9b!important;border-color:#e3e8f2!important}

#detail .crm-other-list-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
#detail .crm-other-list-tag{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border-radius:7px;background:#fff;color:#387b69;border:1px solid #cde7de;font-size:10px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}

/* Contact identity: status badges belong beside the name and manager. */
#detail .drawer>.profile .profile-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
#detail .drawer>.profile .profile-title .status,#detail .drawer>.profile .profile-title .crm-status-pill{display:inline-flex;align-items:center;white-space:nowrap;margin:0;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;line-height:1.35}
#detail .drawer>.profile .profile-title .crm-whitelisted{background:#e4f6ed;color:#087b53;border:1px solid #ccebdc}
@media(max-width:600px){#detail .drawer>.profile .profile-title .status,#detail .drawer>.profile .profile-title .crm-status-pill{font-size:11px;padding:5px 9px}}
