:root {
  --ink: #17223b;
  --muted: #71809a;
  --line: #e6ebf2;
  --soft: #f7f9fc;
  --blue: #1c66f2;
  --blue-dark: #1353ce;
  --blue-soft: #e9f0ff;
  --coral: #ef786e;
  --yellow: #e8a21b;
  --green: #1aa17b;
  --shadow: 0 18px 45px rgba(26, 49, 91, .09);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7f9fc; font-family: 'DM Sans', sans-serif; font-size: 15px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 245px; flex: 0 0 245px; background: #fff; border-right: 1px solid var(--line); padding: 28px 14px 18px; display: flex; flex-direction: column; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 12px 29px; }
.brand-mark { height: 32px; width: 32px; border-radius: 10px; background: var(--blue); display: flex; align-items: end; justify-content: center; gap: 3px; padding: 7px; box-shadow: 0 7px 16px rgba(28,102,242,.22); }
.brand-mark span { width: 4px; border-radius: 4px; background: #fff; }.brand-mark span:nth-child(1) { height: 8px; opacity: .72; }.brand-mark span:nth-child(2) { height: 13px; }.brand-mark span:nth-child(3) { height: 18px; opacity: .84; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.04em; }.brand-caption { color: #9ba7ba; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.workspace-switcher { border: 1px solid var(--line); border-radius: 12px; padding: 11px 10px; margin: 0 4px 23px; display: flex; align-items: center; gap: 8px; }.workspace-dot { width: 9px; height: 9px; background: #54c394; border-radius: 50%; margin-left: 2px; box-shadow: 0 0 0 4px #e9f8f0; }.workspace-switcher div { flex: 1; min-width: 0; }.workspace-switcher strong, .workspace-switcher small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.workspace-switcher strong { font-size: 12px; }.workspace-switcher small { font-size: 10px; color: #9aa7ba; margin-top: 3px; }.chevron { color: #9aa7ba; font-size: 17px; }
.side-nav { display: grid; gap: 3px; }.nav-item { color: #72809a; text-decoration: none; border-radius: 9px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 13px; transition: .18s ease; }.nav-item:hover { color: var(--ink); background: #f5f8fd; }.nav-item.active { color: var(--blue); font-weight: 700; background: var(--blue-soft); }.nav-icon { width: 18px; font-size: 17px; text-align: center; }.nav-count { margin-left: auto; background: #fff; color: var(--blue); border-radius: 20px; padding: 2px 7px; font-size: 10px; }.nav-count.muted { color: #9da9ba; }.side-section-label { color: #b6bfce; font-size: 10px; font-weight: 700; letter-spacing: .13em; margin: 31px 12px 10px; }
.sidebar-bottom { margin-top: auto; }.tip-card { display: flex; gap: 9px; background: #f4f8ff; border: 1px solid #e2ecff; border-radius: 12px; padding: 12px; color: #31558f; }.tip-icon { color: var(--blue); font-size: 18px; }.tip-card strong { font-size: 11px; }.tip-card p { color: #7188ad; font-size: 10px; line-height: 1.45; margin: 5px 0 0; }.user-profile { display: flex; gap: 9px; align-items: center; padding: 19px 5px 0; }.avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #273c69; font-size: 10px; font-weight: 700; }.user-profile div:nth-child(2) { flex: 1; }.user-profile strong, .user-profile small { display: block; }.user-profile strong { font-size: 11px; }.user-profile small { color: #9ca7b9; font-size: 10px; margin-top: 2px; }.more { color: #9ca7b9; letter-spacing: 2px; font-size: 11px; }
.main-content { flex: 1; min-width: 0; }.topbar { height: 71px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 38px; }.breadcrumbs { display: flex; gap: 11px; align-items: center; font-size: 12px; color: #9ba7ba; }.breadcrumbs strong { color: var(--ink); }.slash { color: #d3dae5; }.topbar-actions { display: flex; align-items: center; gap: 10px; }.icon-button, .help-button { border: 0; background: transparent; color: #8693a8; position: relative; font-size: 21px; }.help-button { border: 1px solid #dfe5ed; border-radius: 50%; font-size: 12px; width: 24px; height: 24px; }.notification-dot { position: absolute; width: 5px; height: 5px; background: var(--coral); border: 1px solid #fff; border-radius: 50%; top: 2px; right: 1px; }.outline-button, .primary-button, .soft-button, .filter-button { border-radius: 8px; border: 1px solid #dbe3ef; background: #fff; color: #41506a; padding: 10px 14px; font-weight: 600; font-size: 12px; transition: .18s ease; }.outline-button:hover, .soft-button:hover, .filter-button:hover { border-color: #bdcce2; background: #fbfcff; }.outline-button span { color: var(--blue); margin-right: 4px; }.primary-button { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 7px 14px rgba(28,102,242,.18); }.primary-button:hover { background: var(--blue-dark); }.soft-button { background: #f2f6fd; color: #466289; border-color: #edf2fb; }.soft-button span { font-size: 15px; vertical-align: -1px; margin-right: 4px; }
.content-wrap { padding: 35px 38px 45px; max-width: 1500px; margin: 0 auto; }.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; }.eyebrow { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .13em; }.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--blue); vertical-align: 1px; margin-right: 5px; }.page-heading h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.06em; margin: 8px 0 7px; }.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }.heading-actions { display: flex; gap: 9px; padding-bottom: 2px; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 31px 0 22px; }.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 17px 18px; min-height: 124px; }.metric-card.blue-card { background: #1c66f2; color: #fff; border-color: #1c66f2; box-shadow: 0 12px 25px rgba(28,102,242,.18); }.metric-top { display: flex; justify-content: space-between; align-items: center; }.metric-label { font-size: 10px; letter-spacing: .08em; color: #8e9bb0; font-weight: 700; }.blue-card .metric-label { color: #c5d8ff; }.metric-icon { color: var(--blue); font-size: 21px; line-height: 1; }.metric-icon.coral { color: var(--coral); }.metric-icon.yellow { color: var(--yellow); }.metric-icon.green { color: var(--green); }.metric-value { font-family: 'Space Grotesk', sans-serif; font-size: 33px; font-weight: 700; letter-spacing: -.07em; margin: 9px 0 5px; }.metric-foot { font-size: 11px; color: #95a1b2; }.blue-card .metric-foot { color: #c9d9ff; }.trend { font-weight: 700; color: var(--green); margin-right: 3px; }.trend.neutral { color: var(--yellow); }.green-text { color: var(--green); }
.workspace-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 35px rgba(32,54,92,.035); }.panel-toolbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 19px; border-bottom: 1px solid var(--line); }.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 9px; }.search-box { width: min(350px, 38vw); height: 38px; border: 1px solid #dfe6ef; border-radius: 8px; display: flex; align-items: center; padding: 0 10px; gap: 8px; color: #9ba7b9; }.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 12px; background: transparent; }.filter-button b { margin-left: 5px; padding: 2px 6px; background: var(--blue-soft); color: var(--blue); border-radius: 10px; font-size: 10px; }.result-count { color: #98a4b5; font-size: 11px; margin-right: 6px; }.view-button { border: 0; background: transparent; color: #a3afbf; font-size: 17px; }.view-button.active { color: var(--blue); }.filter-row { display: none; align-items: end; gap: 12px; padding: 14px 19px; border-bottom: 1px solid var(--line); background: #fbfcff; }.filter-row.open { display: flex; flex-wrap: wrap; }.filter-row label { display: grid; gap: 5px; color: #8592a6; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }.filter-row select { color: var(--ink); border: 1px solid #dfe6ef; border-radius: 7px; background: #fff; min-width: 148px; padding: 8px 25px 8px 9px; font-size: 12px; outline: 0; }.clear-filters { border: 0; background: transparent; color: var(--blue); padding: 9px 0; font-size: 11px; }
.table-scroll { overflow-x: auto; }.leads-table { width: 100%; min-width: 980px; border-collapse: collapse; }.leads-table th { background: #fbfcfe; color: #9aa6b8; text-align: left; font-size: 9px; letter-spacing: .09em; font-weight: 700; padding: 12px 14px; white-space: nowrap; }.leads-table td { border-top: 1px solid #edf0f5; padding: 14px; font-size: 12px; vertical-align: middle; }.leads-table tr:hover td { background: #fbfdff; }.check-col { width: 42px; padding-left: 19px !important; }.lead-main { display: flex; align-items: center; gap: 10px; min-width: 180px; }.lead-avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #e7efff; color: var(--blue); font-size: 13px; font-weight: 700; }.lead-avatar.pink { background: #fff0ee; color: var(--coral); }.lead-avatar.green { background: #e9f8f2; color: var(--green); }.lead-name { font-weight: 700; color: #27334d; }.lead-sub { color: #9aa6b7; font-size: 10px; margin-top: 3px; }.segment-tag { background: #f1f4f8; color: #66758c; border-radius: 5px; padding: 5px 8px; font-size: 10px; white-space: nowrap; }.segment-tag.aesthetic { background: #fff0ee; color: #c96960; }.location-text, .source-text { color: #66758c; }.contact-stack { display: grid; gap: 3px; white-space: nowrap; }.contact-stack span { color: #61718a; }.contact-stack a { color: var(--blue); text-decoration: none; font-size: 11px; }.signal { display: inline-flex; align-items: center; gap: 5px; color: #5e718c; white-space: nowrap; }.signal strong { font-size: 11px; }.signal small { display: block; color: #a0adbd; font-size: 10px; margin-top: 2px; }.signal-icon { color: var(--coral); font-size: 15px; }.signal-icon.good { color: var(--green); }.priority-pill { display: inline-block; border-radius: 20px; font-size: 10px; padding: 5px 8px; font-weight: 700; white-space: nowrap; }.priority-pill.high { color: #c45e54; background: #fff0ee; }.priority-pill.medium { color: #ad7c19; background: #fff7df; }.priority-pill.low { color: #5d8e77; background: #ebf8f2; }.status-select { border: 0; color: #63738c; background: transparent; font-size: 11px; outline: 0; padding: 4px 0; }.row-action { border: 0; background: transparent; color: #a9b3c2; font-size: 17px; padding: 2px 5px; }.row-action:hover { color: var(--blue); }.empty-state { text-align: center; padding: 58px 20px; }.empty-icon { display: inline-grid; place-items: center; background: var(--blue-soft); color: var(--blue); width: 44px; height: 44px; border-radius: 50%; font-size: 24px; }.empty-state h3 { margin: 12px 0 5px; font-size: 15px; }.empty-state p { color: var(--muted); margin: 0; font-size: 12px; }.table-footer { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding: 14px 19px; color: #94a0b1; font-size: 10px; }.pagination { display: flex; align-items: center; gap: 3px; }.pagination button { border: 0; background: transparent; color: #8592a6; min-width: 24px; height: 24px; border-radius: 5px; font-size: 11px; }.pagination button.current { background: var(--blue); color: #fff; }.pagination button:disabled { color: #cbd3df; }.data-note { margin-left: auto; }.compliance-note { margin-top: 18px; display: flex; gap: 10px; align-items: start; background: #f1f6ff; border: 1px solid #dfebff; border-radius: 10px; padding: 13px 15px; color: #5170a2; }.compliance-note > span { color: var(--blue); font-size: 18px; }.compliance-note div { flex: 1; }.compliance-note strong { font-size: 11px; }.compliance-note p { margin: 3px 0 0; font-size: 10px; line-height: 1.45; color: #7b91b7; }.compliance-note button { border: 0; background: transparent; color: #9bb0d2; font-size: 18px; }
.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; background: rgba(18,34,64,.28); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 10; }.drawer-backdrop.open, .modal-backdrop.open { opacity: 1; pointer-events: auto; }.lead-drawer { position: fixed; z-index: 11; top: 0; right: 0; height: 100vh; width: min(420px, 100vw); background: #fff; box-shadow: -15px 0 50px rgba(22,43,79,.15); transform: translateX(100%); transition: .28s ease; }.lead-drawer.open { transform: translateX(0); }.drawer-header, .modal-header { display: flex; justify-content: space-between; gap: 15px; padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }.drawer-header h2, .modal-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 23px; letter-spacing: -.05em; margin: 8px 0 0; }.close-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #8f9bad; font-size: 21px; line-height: 1; }.drawer-content { padding: 22px 28px; overflow-y: auto; height: calc(100% - 105px); }.drawer-tag-row { display: flex; align-items: center; gap: 8px; }.opportunity-callout { display: flex; gap: 10px; background: #f1f6ff; border: 1px solid #deebff; border-radius: 10px; padding: 13px; margin: 20px 0 25px; }.callout-symbol { color: var(--blue); font-size: 18px; }.opportunity-callout strong { font-size: 12px; color: #315a9c; }.opportunity-callout p { color: #7189b3; font-size: 11px; line-height: 1.5; margin: 4px 0 0; }.detail-section { border-top: 1px solid var(--line); padding: 21px 0; }.detail-section h3 { font-size: 12px; margin: 0 0 15px; }.detail-section dl { display: grid; gap: 12px; margin: 0; }.detail-section dl div { display: flex; justify-content: space-between; gap: 10px; }.detail-section dt { color: #98a4b5; font-size: 11px; }.detail-section dd { margin: 0; color: #455673; font-size: 11px; font-weight: 600; text-align: right; }.detail-section textarea { width: 100%; min-height: 88px; border: 1px solid #dfe6ef; border-radius: 8px; padding: 10px; resize: vertical; outline: 0; font-size: 12px; }.detail-section textarea:focus, .form-grid input:focus, .form-grid select:focus { border-color: #9ab9fb; box-shadow: 0 0 0 3px #eff4ff; }.drawer-actions { display: grid; gap: 9px; }.full { width: 100%; text-align: center; }.text-link { color: var(--blue); text-decoration: none; font-size: 11px; text-align: center; margin-top: 4px; }
.modal { position: fixed; z-index: 11; left: 50%; top: 50%; width: min(580px, calc(100vw - 32px)); background: #fff; border-radius: 15px; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }.modal-header { padding: 24px 26px 20px; }.modal-header h2 { font-size: 21px; }.modal form { padding: 24px 26px 26px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label { display: grid; gap: 6px; color: #7d8ba0; font-size: 11px; font-weight: 600; }.form-grid input, .form-grid select { width: 100%; border: 1px solid #dfe6ef; border-radius: 8px; padding: 10px; outline: 0; color: var(--ink); font-size: 12px; background: #fff; }.form-actions { display: flex; justify-content: end; gap: 8px; margin-top: 24px; }.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; background: #1f3153; color: #fff; padding: 12px 16px; border-radius: 9px; font-size: 12px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .22s ease; }.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 1050px) { .sidebar { width: 220px; flex-basis: 220px; }.content-wrap { padding-left: 25px; padding-right: 25px; }.topbar { padding: 0 25px; }.metric-grid { grid-template-columns: repeat(2, 1fr); } }
.owner-cell { display: inline-flex; align-items: center; gap: 6px; color: #5f708b; white-space: nowrap; }.owner-avatar { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #315a9c; background: #e8f0ff; font-size: 9px; font-weight: 700; }.next-contact { color: #5f708b; white-space: nowrap; font-size: 11px; }
@media (max-width: 760px) { .sidebar { display: none; }.topbar { padding: 0 16px; height: 64px; }.breadcrumbs { display: none; }.topbar-actions .icon-button, .topbar-actions .help-button, .topbar-actions .outline-button { display: none; }.content-wrap { padding: 25px 16px 35px; }.page-heading { display: block; }.heading-actions { margin-top: 18px; }.heading-actions .soft-button { display: none; }.metric-grid { gap: 9px; margin-top: 22px; }.metric-card { padding: 13px; min-height: 112px; }.metric-value { font-size: 27px; }.metric-foot { font-size: 10px; }.panel-toolbar { display: block; padding: 12px; }.toolbar-left { width: 100%; }.search-box { width: 100%; }.toolbar-right { margin-top: 12px; justify-content: space-between; }.filter-row { padding: 12px; }.filter-row select { min-width: 132px; }.table-footer { flex-wrap: wrap; }.data-note { width: 100%; margin-left: 0; }.form-grid { grid-template-columns: 1fr; } }
.hidden { display: none !important; }
.pipeline-heading { align-items: center; }
.pipeline-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 14px; color: #60718d; font-size: 12px; }
.pipeline-toolbar span:first-child { font-weight: 700; color: var(--ink); }
.pipeline-hint { color: #9aa6b7; }
.pipeline-board { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.pipeline-column { min-height: 420px; background: #f4f7fb; border: 1px solid #e6ebf2; border-radius: 12px; padding: 11px; }
.pipeline-column > header { padding: 3px 2px 12px; }
.pipeline-column > header div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pipeline-column > header strong { font-size: 12px; color: #3c4d69; }
.pipeline-column > header span { min-width: 22px; padding: 3px 6px; border-radius: 20px; background: #fff; color: var(--blue); text-align: center; font-size: 10px; font-weight: 700; }
.pipeline-column > header small { display: block; color: #98a5b8; font-size: 10px; margin-top: 5px; }
.pipeline-cards { display: grid; gap: 9px; }
.pipeline-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 10px; padding: 11px; cursor: pointer; box-shadow: 0 4px 12px rgba(32,54,92,.035); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.pipeline-card:hover { transform: translateY(-2px); border-color: #b8cdf7; box-shadow: 0 8px 18px rgba(32,54,92,.08); }
.pipeline-card-top, .pipeline-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pipeline-card > strong { display: block; color: #27334d; font-size: 12px; margin-top: 11px; }
.pipeline-card p { color: #7f8da3; font-size: 10px; margin: 5px 0 11px; line-height: 1.4; }
.pipeline-card-bottom { border-top: 1px solid #edf0f5; padding-top: 9px; color: #8996a8; font-size: 10px; }
.pipeline-status { max-width: 116px; border: 0; background: transparent; color: var(--blue); font-size: 10px; outline: 0; }
.pipeline-empty { min-height: 62px; border: 1px dashed #d6deea; border-radius: 8px; display: grid; place-items: center; text-align: center; padding: 10px; color: #a2adbc; font-size: 10px; }
.detail-section dd a { color: var(--blue); text-decoration: none; }
@media (max-width: 1250px) { .pipeline-board { grid-template-columns: repeat(3, minmax(210px, 1fr)); } }
@media (max-width: 760px) { .pipeline-board { grid-template-columns: repeat(6, minmax(220px, 1fr)); }.pipeline-toolbar { display: block; }.pipeline-hint { display: block; margin-top: 6px; } }
