/* A light visual tie to the IntelAgents CRM: charcoal surfaces and a clearer orange accent. */
.sidebar{background:#151515;color:#f8f8f8}
.brand-row{background:#242424;border-bottom-color:#ffffff1a}
.demo-pill{color:#ff8a00;border-color:#ff8a0066}
.eyebrow,.map-label,.detail-kicker,.preview-label span:last-child{color:#ff8a00}
.sidebar-intro h1 em{color:#ff8a00}
.sidebar-intro p,.summary-line,.contact-row small{color:#ababab}
.city-wrap,.search-wrap{background:#252525;border-color:#3b3b3b}
.city-wrap option{background:#252525}
.city-wrap span,.list-heading,.row-index{color:#999}
.contact-row{border-top-color:#ffffff16}
.contact-row:hover,.contact-row:focus-visible{background:#252525}
.contact-row.active{background:#2c2c2c;box-shadow:inset 3px 0 #ff8a00}
.row-avatar{background:#303030;color:#d3d3d3}
.contact-row.active .row-avatar{background:#ff8a00;color:#171717}
.sidebar-footer{border-top-color:#ffffff1a;color:#999}
.footer-pulse,.map-pin,.legend-pin{background:#ff8a00}
.map-pin:hover,.map-pin.selected{background:#262626}
.quick-call,.phone-call{background:#ff8a00;color:#171717}
.quick-call:hover,.phone-call:hover{background:#ffa333}
.detail-tag{background:#f0f0f0;color:#555}
.detail-tabs{background:#ededed}
.detail-tab[aria-selected="true"]{color:#222}
.phone-screen{background:linear-gradient(160deg,#303030,#151515)}
.phone-avatar{background:#ff8a00;color:#171717}
/* IntelAgents wordmark and restrained field palette. */
.sidebar{background:#0c0c0d}
.brand-row{background:#050505;border-bottom:1px solid #ffffff23}
.brand{gap:12px;color:#fff;font-size:13px;font-weight:500;letter-spacing:.23em;white-space:nowrap}
.brand img{filter:grayscale(1) brightness(0) invert(1);width:34px;height:34px}
.brand-light{font-weight:500}
.demo-pill{background:#171717}
.sidebar-intro h1{color:#fff}
.contact-row.is-called .row-copy strong{text-decoration:line-through;text-decoration-color:#ff8a00a8;text-decoration-thickness:1px;color:#c9c9c9}
.contact-row.is-called .row-index{color:#ff8a00;font-size:16px}
.detail-card{background:#151516;border-color:#ffffff25;color:#f7f7f7;box-shadow:0 20px 65px #0009}
.detail-card h2{color:#fff}
.detail-tag{background:#292929;color:#c9c9c9}
.detail-field label,.notes-label,.mobile-section-heading{color:#a7a7a7}
.detail-field span,.detail-field a{color:#e3e3e3}
.detail-field svg{stroke:#ff8a00}
.detail-note{color:#999}
.detail-tabs{background:#252525}
.detail-tab{color:#aaa}
.detail-tab[aria-selected="true"]{background:#393939;color:#fff;box-shadow:none}
.detail-panel+.detail-panel{border-top-color:#ffffff24}
.phone-stage{background:radial-gradient(circle at 50% 35%,#353535,#222 68%)}
.notes-input{background:#222;border-color:#4a4a4a;color:#fff}
.notes-input::placeholder{color:#858585}
.notes-save-state{color:#a3b7a5}
.detail-actions-row{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin-top:12px}
.detail-actions-row .quick-call{margin:0;min-height:43px;flex:1;justify-content:center}
.called-toggle{min-height:43px;border:1px solid #ffffff4a;border-radius:6px;background:#262626;color:#f4f4f4;padding:9px 13px;font:700 11px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.called-toggle:hover,.called-toggle:focus-visible{background:#3b3b3b}
.called-toggle[aria-pressed="true"]{border-color:#ff8a00;color:#ff8a00;background:#352414}
.phone-type{color:#b8b8b8;font-size:11px;margin:11px 0 0}
.dnc-info{padding:9px 10px;background:#3b2022;border-left:2px solid #e05c60;color:#ffd5d6;font-size:10px;line-height:1.4;margin:10px 0 0}
.email-list{margin-top:14px}
.email-list .preview-label{margin-bottom:6px}
.phone-email{color:#ffaf72;margin:5px 0}
.extra-numbers a{background:#2c2c2c;color:#f0f0f0;padding:7px 9px}
.map-marker{background:transparent;border:0;--pin:#ff8a00;filter:drop-shadow(0 3px 4px #0009)}
.map-marker.is-dnc{--pin:#d94f55}
.map-marker.is-no-phone{--pin:#8d9296}
.map-marker .pin-body{position:absolute;left:5px;top:3px;width:20px;height:20px;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);background:var(--pin);border:2px solid #fff;box-shadow:inset 0 0 0 1px #0002}
.map-marker .pin-core{position:absolute;inset:5px;border-radius:50%;background:#fff}
.map-marker .pin-called{display:none;position:absolute;right:-2px;top:-2px;width:15px;height:15px;place-items:center;border:1px solid #111;border-radius:50%;background:#fff;color:#141414;font:900 10px/1 'DM Sans',sans-serif}
.map-marker.is-called .pin-called{display:grid}
.map-marker.is-selected{z-index:1000!important;filter:drop-shadow(0 4px 8px #000c)}
.map-marker.is-selected .pin-body{width:25px;height:25px;left:2px;top:0;border-width:3px}
.map-marker.is-selected .pin-core{inset:6px}
.map-legend{display:flex;flex-wrap:wrap;gap:8px 12px;max-width:360px;padding:10px 12px;background:#111e;color:#eee;border:1px solid #ffffff35;box-shadow:0 8px 24px #0007;backdrop-filter:blur(10px)}
.map-legend .legend-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.legend-swatch{display:inline-block;width:10px;height:10px;border-radius:50% 50% 50% 2px;transform:rotate(-45deg);border:1px solid #fff;background:#ff8a00}
.legend-swatch.dnc{background:#d94f55}
.legend-swatch.no-phone{background:#8d9296}
.legend-called{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#fff;color:#171717;font-style:normal;font-weight:900}
.map-legend small{width:100%;font-size:9px;color:#d2d2d2;line-height:1.35}
.leaflet-control-attribution{background:#111d!important;color:#e7e7e7!important;border-radius:0 4px 0 0;padding:2px 5px!important;font:9px/1.25 'DM Sans',sans-serif!important}
.leaflet-control-attribution a{color:#fff!important}
@media(max-width:650px){
  .app-shell{background:#0c0c0d}
  .brand-row{padding:0 14px}
  .brand{font-size:11px;letter-spacing:.19em;gap:9px}
  .brand img{width:31px;height:31px}
  .demo-pill{font-size:8px;padding:5px 7px}
  .city-wrap,.search-wrap{height:44px}
  .contact-row{min-height:56px}
  .map-topline button{min-height:42px}
  .map-legend{position:relative;left:auto;bottom:auto;max-width:none;gap:7px 11px;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;padding:9px 12px}
  .map-legend small{font-size:8px}
  .detail-card{border-top:1px solid #ffffff25}
  .detail-actions-row{position:sticky;top:0;z-index:600;background:#151516;padding:8px 0;margin-top:5px}
  .detail-actions-row .quick-call{flex:1 1 56%;min-width:0}
  .called-toggle{min-height:44px}
  .leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important}
}
