:root { --ink: #1c1933; --muted: #77758b; --line: #e9e7f0; --surface: #fff; --canvas: #f8f8fc; --purple: #7357ed; --purple-dark: #6045db; --soft-purple: #eeeaff; --green: #1d9a70; --soft-green: #e5f7ef; --orange: #f2945c; --soft-orange: #fff0e7; --blue: #4c9fe8; --soft-blue: #e8f4ff; --source-instagram: #7357ed; --source-x: #4c9fe8; --source-facebook: #f2945c; --source-referrals: #d9d8df; --shadow: 0 8px 24px rgba(38, 26, 85, .045); }
* { box-sizing: border-box; }
*:focus-visible { outline: 3px solid rgba(115, 87, 237, .42); outline-offset: 3px; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .55; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--font-family, 'DM Sans', sans-serif); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 238px; padding: 29px 18px 20px; background: #fff; border-right: 1px solid var(--line); z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 0 13px; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.8px; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--purple); font-size: 16px; }
.nav-list { display: grid; gap: 6px; margin-top: 57px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 9px; color: #79768a; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--soft-purple); }
.nav-icon { display: inline-grid; place-items: center; width: 19px; color: currentColor; font-size: 18px; line-height: 1; }
.nav-count { margin-left: auto; padding: 3px 8px; border-radius: 10px; color: var(--purple); background: #fff; font-size: 11px; }
.sidebar-footer { margin-top: auto; }
.workspace-card { position: relative; display: flex; align-items: center; gap: 9px; margin: 32px 4px 0; padding: 12px 8px; border-top: 1px solid var(--line); }
.workspace-menu { position: absolute; right: 0; bottom: 55px; display: grid; width: 175px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 28px rgba(38, 26, 85, .14); z-index: 6; }.workspace-menu[hidden] { display: none; }.workspace-menu button { padding: 9px 10px; border: 0; border-radius: 5px; color: var(--ink); background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; text-align: left; }.workspace-menu button:hover { color: var(--purple); background: var(--soft-purple); }.dark-theme .workspace-menu { border-color: var(--line); }
.workspace-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.workspace-copy strong { font-size: 12px; white-space: nowrap; }
.workspace-copy small { color: var(--muted); font-size: 10px; }
.main-content { width: calc(100% - 238px); margin-left: 238px; }
.topbar { display: flex; align-items: center; justify-content: flex-end; height: 72px; padding: 0 42px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-brand { display: none; }
.topbar-actions, .user-menu { display: flex; align-items: center; gap: 14px; }
.user-menu { gap: 9px; color: #535064; font-size: 13px; font-weight: 600; }
.sign-out-button { margin-left: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }.sign-out-button:hover { color: var(--purple); border-color: #c9c0ff; background: var(--soft-purple); }
.chevron { color: #a09eae; font-size: 16px; }
.avatar { display: inline-grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; color: #fff; background: #54409d; font-size: 11px; font-weight: 700; }
.avatar-small { width: 28px; height: 28px; font-size: 9px; }
.icon-button, .more-button, .close-button { border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.notification-button { position: relative; font-size: 22px; }
.notification-button i { position: absolute; top: 5px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: #ef5e71; }
.notification-button i[hidden] { display: none; }
.notification-wrap { position: relative; }
.notification-panel { position: absolute; top: 42px; right: -8px; z-index: 8; width: min(360px, calc(100vw - 30px)); padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 16px 38px rgba(38, 26, 85, .16); }
.notification-panel[hidden] { display: none; }
.notification-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 11px; border-bottom: 1px solid var(--line); }
.notification-panel-heading > div { display: grid; gap: 3px; }
.notification-panel-heading strong { color: var(--ink); font-size: 13px; }
.notification-panel-heading small { color: var(--muted); font-size: 10px; }
.notification-close { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.notification-list { display: grid; max-height: 330px; overflow-y: auto; }
.notification-item { display: flex; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread { background: linear-gradient(90deg, var(--soft-purple), transparent); }
.notification-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--purple); background: var(--soft-purple); font-size: 12px; }
.notification-item div { min-width: 0; }
.notification-item strong { color: var(--ink); font-size: 11px; }
.notification-item p { margin: 3px 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.notification-item small, .notification-empty { color: var(--muted); font-size: 9px; }
.notification-empty { margin: 18px 2px; text-align: center; }
.page-wrap { max-width: 1440px; margin: 0 auto; padding: 38px 43px 60px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.eyebrow { margin: 0 0 9px; color: #a09db0; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-family: Manrope, sans-serif; font-size: clamp(28px, 3vw, 36px); letter-spacing: -1.3px; line-height: 1.12; }
.wave { color: var(--orange); font-size: .72em; }
.subheading, .panel-heading p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 16px; border: 0; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--purple); box-shadow: 0 5px 12px rgba(115, 87, 237, .18); }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { color: var(--ink); background: #f3f2f7; }
.button-light { color: var(--purple); background: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-bottom: 19px; }
.metric-card, .panel { background: var(--surface); border: 1px solid #edeaf3; border-radius: 10px; box-shadow: var(--shadow); }
.metric-card { padding: 19px 20px 17px; }
.metric-top, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.metric-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.metric-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; font-weight: 800; }
.metric-icon.purple { color: var(--purple); background: var(--soft-purple); }
.metric-icon.blue { color: var(--blue); background: var(--soft-blue); }
.metric-icon.orange { color: var(--orange); background: var(--soft-orange); }
.metric-icon.green { color: var(--green); background: var(--soft-green); }
.metric-value { display: block; margin: 13px 0 11px; font-family: Manrope, sans-serif; font-size: 26px; letter-spacing: -.8px; }
.metric-change { font-size: 11px; font-weight: 700; }
.metric-change.positive { color: var(--green); }
.metric-change small { margin-left: 5px; color: #aaa7b6; font-size: 10px; font-weight: 500; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 19px; margin-bottom: 19px; }
.panel { padding: 22px 23px; }
.panel-heading { margin-bottom: 19px; }
h2 { margin-bottom: 5px; font-family: Manrope, sans-serif; font-size: 15px; letter-spacing: -.3px; }
.select-button, .filter-button { border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #fff; cursor: pointer; font-size: 11px; }
.select-button { padding: 8px 10px; }
.select-button span { padding-left: 10px; }
.bar-chart { display: flex; height: 195px; margin-top: 8px; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; width: 26px; padding: 0 0 25px; color: #aeabb9; font-size: 9px; }
.bar-area { position: relative; flex: 1; }
.grid-lines { position: absolute; inset: 0 0 26px; display: flex; flex-direction: column; justify-content: space-between; }
.grid-lines i { display: block; width: 100%; height: 1px; background: #f0eef4; }
.bars { position: absolute; inset: 0 0 0; display: flex; align-items: end; justify-content: space-around; gap: 5%; padding: 0 2% 0; }
.bar-group { display: flex; align-items: end; justify-content: center; gap: 4px; width: 9%; height: 100%; position: relative; padding-bottom: 25px; }
.bar-group b { display: block; width: 8px; min-height: 4px; border-radius: 4px 4px 0 0; background: var(--purple); }
.bar-group b.secondary { background: #d7ccff; }
.bar-group small { position: absolute; bottom: 1px; color: #aaa7b6; font-size: 9px; white-space: nowrap; }
.chart-legend { display: flex; justify-content: center; gap: 23px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.chart-legend span, .source-list span { display: flex; align-items: center; gap: 7px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.primary-dot, .purple-dot { background: var(--purple); }.secondary-dot { background: #d7ccff; }.blue-dot { background: var(--blue); }.orange-dot { background: var(--orange); }.gray-dot { background: #d9d8df; }.source-dot[data-source-color="instagram"] { background: var(--source-instagram); }.source-dot[data-source-color="x"] { background: var(--source-x); }.source-dot[data-source-color="facebook"] { background: var(--source-facebook); }.source-dot[data-source-color="referrals"] { background: var(--source-referrals); }
.more-button { font-size: 15px; letter-spacing: 2px; }
.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 190px; }
.donut-chart { display: grid; place-items: center; width: 142px; height: 142px; border-radius: 50%; background: #c9c7d2; }
.donut-hole { display: grid; place-items: center; align-content: center; width: 95px; height: 95px; border-radius: 50%; background: #fff; }
.donut-hole strong { font-family: Manrope, sans-serif; font-size: 22px; }.donut-hole span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.source-list { display: grid; gap: 13px; min-width: 128px; color: var(--muted); font-size: 10px; }.source-list b { margin-left: auto; color: var(--ink); font-weight: 700; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 19px; margin-bottom: 19px; }
.text-link { color: var(--purple); font-size: 11px; font-weight: 700; }.text-link span { padding-left: 4px; font-size: 15px; }
.pipeline-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 108px; }
.pipeline-stage { display: grid; gap: 6px; min-width: 72px; }.stage-dot { width: 8px; height: 8px; border-radius: 50%; }.purple-bg { background: var(--purple); }.blue-bg { background: var(--blue); }.orange-bg { background: var(--orange); }.green-bg { background: var(--green); }
.pipeline-stage small { color: var(--muted); font-size: 10px; }.pipeline-stage strong { font-family: Manrope, sans-serif; font-size: 23px; }.pipeline-stage em { color: var(--muted); font-size: 10px; font-style: normal; }.flow-arrow { color: #c4c1cf; font-size: 19px; }
.trend-value { padding: 5px 8px; border-radius: 5px; color: var(--green); background: var(--soft-green); font-size: 10px; font-weight: 700; }.trend-chart { width: 100%; height: 130px; overflow: visible; }.trend-area { fill: url(#trend-fill); }.trend-line { fill: none; stroke: var(--purple); stroke-linecap: round; stroke-width: 3; }.trend-chart circle { fill: #fff; stroke: var(--purple); stroke-width: 3; }.trend-labels { display: flex; justify-content: space-between; color: #aaa7b6; font-size: 9px; }
.leads-panel { padding-bottom: 5px; }.leads-heading { align-items: center; }.table-actions { display: flex; align-items: center; gap: 10px; }.search-box { display: flex; align-items: center; gap: 7px; width: 145px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }.filter-button { padding: 7px 9px; }.filter-count { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; color: var(--purple); background: var(--soft-purple); font-size: 9px; }
.live-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #dcefe6; border-radius: 7px; background: #f7fcf9; }.live-indicator { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--green); font-size: 11px; }.live-indicator strong { white-space: nowrap; }.live-status { overflow: hidden; color: #79a290; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.live-pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #28b47e; }.live-pulse::after { position: absolute; inset: -4px; border: 1px solid #28b47e; border-radius: 50%; content: ''; opacity: .35; animation: pulse 1.8s infinite; }.live-test-button { min-height: 29px; padding: 0 10px; color: var(--green); background: #e5f7ef; font-size: 10px; white-space: nowrap; }.live-test-button:hover { background: #d8f2e6; } @keyframes pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.2); opacity: 0; } }
.table-scroll { overflow-x: auto; } table { width: 100%; border-collapse: collapse; min-width: 710px; } th { padding: 12px 12px 11px; border-bottom: 1px solid var(--line); color: #aaa7b6; font-size: 10px; font-weight: 600; text-align: left; } td { padding: 13px 12px; border-bottom: 1px solid #f1eff5; color: #5c596a; font-size: 11px; } tbody tr:hover { background: #fbfaff; }.lead-cell { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }.lead-avatar { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #907de6; font-size: 9px; }.lead-avatar.alt { background: #70b99f; }.lead-avatar.orange { background: #e6a176; }.lead-avatar.blue { background: #78aedd; }.status { display: inline-block; padding: 5px 8px; border-radius: 5px; font-size: 9px; font-weight: 700; }.status.new { color: var(--purple); background: var(--soft-purple); }.status.contacted { color: #237bb6; background: var(--soft-blue); }.status.qualified { color: #be6b25; background: var(--soft-orange); }.status.won { color: var(--green); background: var(--soft-green); }.row-actions { position: relative; }.row-action { padding: 4px 7px; border: 0; border-radius: 5px; color: #aaa7b6; background: transparent; cursor: pointer; font-size: 15px; line-height: 1; }.row-action:hover, .row-action[aria-expanded="true"] { color: var(--purple); background: var(--soft-purple); }.row-menu { position: absolute; top: 25px; right: 0; display: grid; width: 155px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 28px rgba(38, 26, 85, .14); z-index: 5; }.row-menu[hidden] { display: none; }.row-menu-action { padding: 8px 9px; border: 0; border-radius: 5px; color: var(--ink); background: transparent; cursor: pointer; font-size: 10px; text-align: left; }.row-menu-action:hover { color: var(--purple); background: var(--soft-purple); }.row-menu-action.danger { color: #d95767; }.row-menu-action.danger:hover { background: #fff0f2; }
.integration-banner { display: flex; align-items: center; gap: 16px; margin-top: 19px; padding: 20px 22px; border-radius: 10px; color: #fff; background: linear-gradient(100deg, #6f54e8, #9277f1); box-shadow: 0 8px 25px rgba(115, 87, 237, .17); }.integration-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.16); font-size: 21px; }.integration-banner h2 { margin-bottom: 4px; color: #fff; }.integration-banner p { margin-bottom: 0; color: rgba(255,255,255,.76); font-size: 11px; }.integration-banner .button { margin-left: auto; }
.settings-view { max-width: 1120px; margin: 0 auto; padding: 38px 43px 60px; }.settings-view[hidden] { display: none; }.settings-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 29px; }.version-badge { padding: 6px 9px; border: 1px solid #d9d4fa; border-radius: 5px; color: var(--purple); background: var(--soft-purple); font-size: 10px; font-weight: 800; }.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.settings-card { padding: 22px; border: 1px solid #edeaf3; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }.settings-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }.settings-card-heading h2 { margin-bottom: 5px; }.settings-card-heading p { margin-bottom: 0; color: var(--muted); font-size: 11px; }.settings-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font-weight: 800; }.purple-symbol { color: var(--purple); background: var(--soft-purple); }.blue-symbol { color: var(--blue); background: var(--soft-blue); }.orange-symbol { color: var(--orange); background: var(--soft-orange); }.green-symbol { color: var(--green); background: var(--soft-green); }.pink-symbol { color: #d8558b; background: #fff0f6; }.settings-form { display: grid; gap: 13px; }.settings-form label { display: grid; gap: 6px; color: #5c596a; font-size: 10px; font-weight: 700; }.settings-form input, .settings-form select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; outline-color: var(--purple); color: var(--ink); background: #fff; font-size: 11px; }.settings-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.settings-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 3px; }.settings-actions .button { min-height: 32px; padding: 0 11px; font-size: 10px; }.toggle-row { display: flex !important; flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; }.toggle-row span { display: grid; gap: 3px; }.toggle-row strong { color: var(--ink); font-size: 11px; }.toggle-row small { color: var(--muted); font-size: 10px; font-weight: 400; }.toggle-input { position: relative; flex: 0 0 auto; width: 34px !important; height: 20px; padding: 0 !important; border: 0 !important; border-radius: 12px !important; appearance: none; background: #d9d7e2 !important; cursor: pointer; transition: background .2s; }.toggle-input::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; content: ''; transition: transform .2s; }.toggle-input:checked { background: var(--purple) !important; }.toggle-input:checked::after { transform: translateX(14px); }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(27, 22, 49, .45); z-index: 10; }.modal-backdrop[hidden] { display: none; }.modal { width: min(100%, 440px); padding: 25px; border-radius: 13px; background: #fff; box-shadow: 0 20px 70px rgba(27, 22, 49, .22); }.modal-header { display: flex; justify-content: space-between; margin-bottom: 22px; }.modal-header h2 { font-size: 22px; }.close-button { font-size: 25px; line-height: 1; }.modal form { display: grid; gap: 15px; }.modal label { display: grid; gap: 7px; color: #5c596a; font-size: 11px; font-weight: 700; }.modal input, .modal select { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--purple); color: var(--ink); background: #fff; font-size: 12px; }.color-field { display: flex !important; flex-direction: row; align-items: center; justify-content: space-between; }.color-field input[type="color"] { width: 42px; height: 30px; padding: 3px; cursor: pointer; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 7px; }.toast { position: fixed; right: 24px; bottom: 24px; padding: 12px 16px; border-radius: 8px; color: #fff; background: #282443; box-shadow: 0 9px 25px rgba(27, 22, 49, .2); font-size: 12px; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 20; }.toast.show { opacity: 1; transform: translateY(0); }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1120px) { .sidebar { width: 198px; }.main-content { width: calc(100% - 198px); margin-left: 198px; }.page-wrap { padding-right: 25px; padding-left: 25px; }.donut-wrap { gap: 15px; }.donut-chart { width: 125px; height: 125px; }.donut-hole { width: 84px; height: 84px; } }
@media (max-width: 850px) { .sidebar { position: static; width: 64px; padding: 20px 8px; }.sidebar .brand span:last-child, .sidebar .nav-link:not(.active)::after, .sidebar .nav-link { font-size: 0; justify-content: center; }.sidebar .brand { padding: 0; justify-content: center; }.sidebar .nav-list { margin-top: 42px; }.sidebar .nav-link { padding: 12px 8px; }.sidebar .nav-icon { font-size: 18px; }.sidebar .nav-count, .sidebar-footer .nav-link, .workspace-card { display: none; }.main-content { width: calc(100% - 64px); margin-left: 0; }.topbar { padding: 0 25px; }.user-name, .chevron { display: none; }.metrics-grid { grid-template-columns: repeat(2, 1fr); }.chart-grid, .lower-grid { grid-template-columns: 1fr; }.source-panel { min-height: 285px; } }
@media (max-width: 600px) { .sidebar { display: none; }.main-content { width: 100%; }.topbar { justify-content: space-between; height: 63px; padding: 0 18px; }.mobile-brand { display: inline-flex; padding: 0; font-size: 18px; }.page-wrap { padding: 28px 15px 45px; }.page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; }.page-heading .button { width: 100%; }.metrics-grid { gap: 10px; }.metric-card { padding: 15px; }.metric-value { font-size: 22px; }.metric-change small { display: none; }.panel { padding: 18px 15px; }.panel-heading { align-items: flex-start; }.leads-heading { flex-direction: column; }.table-actions { width: 100%; flex-wrap: wrap; }.search-box { flex: 1; }.table-actions .text-link { margin-left: auto; }.live-strip { align-items: flex-start; flex-direction: column; }.live-test-button { width: 100%; }.pipeline-flow { gap: 3px; }.pipeline-stage strong { font-size: 19px; }.flow-arrow { font-size: 14px; }.integration-banner { align-items: flex-start; flex-wrap: wrap; }.integration-banner .button { width: 100%; margin: 2px 0 0; }.donut-wrap { gap: 22px; }.donut-chart { width: 115px; height: 115px; }.donut-hole { width: 77px; height: 77px; }.donut-hole strong { font-size: 18px; } }
@media (max-width: 850px) { .settings-view { padding: 30px 25px 50px; }.settings-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .settings-view { padding: 28px 15px 45px; }.settings-heading { align-items: flex-start; }.settings-card { padding: 18px 15px; }.settings-form-row { grid-template-columns: 1fr; } }
.login-page { min-height: 100vh; background: radial-gradient(circle at 20% 0%, #eeeaff 0, var(--canvas) 38%, #fff 100%); }.login-shell { display: grid; place-items: center; min-height: 100vh; padding: 25px; }.login-card { width: min(100%, 420px); padding: 35px; border: 1px solid #edeaf3; border-radius: 14px; background: #fff; box-shadow: 0 18px 55px rgba(38, 26, 85, .1); }.login-brand { padding: 0; }.login-copy { margin: 56px 0 26px; }.login-copy h1 { margin-bottom: 9px; font-size: 28px; }.login-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }.login-form { display: grid; gap: 16px; }.login-form > label { display: grid; gap: 7px; color: #5c596a; font-size: 11px; font-weight: 700; }.login-form input[type="email"], .login-form input[type="password"] { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--purple); color: var(--ink); font-size: 12px; }.login-form .button { width: 100%; margin-top: 4px; }.login-options { display: flex; justify-content: space-between; align-items: center; color: var(--purple); font-size: 10px; }.remember-option { display: flex; align-items: center; gap: 5px; color: var(--muted); }.remember-option input { accent-color: var(--purple); }.login-footer { margin: 23px 0 0; color: var(--muted); font-size: 11px; text-align: center; }.login-footer a, .login-options a { color: var(--purple); font-weight: 700; }
@media (max-width: 600px) { .user-menu .sign-out-button { display: none; }.login-card { padding: 26px 20px; } }

/* Login and lead table readability refinements */
.login-page { position: relative; overflow: hidden; background: radial-gradient(circle at 12% 8%, #e6e0ff 0, #f5f3ff 34%, #fbfbfe 72%, #fff 100%); }
.login-page::before, .login-page::after { position: fixed; z-index: 0; border-radius: 50%; content: ''; pointer-events: none; }
.login-page::before { width: 300px; height: 300px; top: -150px; right: -80px; background: rgba(115, 87, 237, .12); }
.login-page::after { width: 220px; height: 220px; bottom: -130px; left: -75px; background: rgba(76, 159, 232, .1); }
.login-shell { position: relative; z-index: 1; }
.login-card { width: min(100%, 448px); padding: 40px; border-color: #ded9f2; border-radius: 18px; box-shadow: 0 24px 70px rgba(38, 26, 85, .15); }
.login-brand { color: #16132b; font-size: 23px; letter-spacing: -.9px; }
.login-brand .brand-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #8068f2, #5f45db); box-shadow: 0 7px 16px rgba(115, 87, 237, .28); }
.login-copy { margin: 52px 0 30px; }
.login-copy .eyebrow { color: var(--purple-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-copy h1 { color: #17142d; font-family: Manrope, sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.9px; line-height: 1.12; }
.login-copy > p:last-child { color: #55516b; font-size: 14px; line-height: 1.55; }
.login-form { gap: 18px; }
.login-form > label { color: #302c48; font-size: 12px; }
.login-form > label[hidden] { display: none; }
.login-form input[type="text"], .login-form input[type="email"], .login-form input[type="password"] { width: 100%; padding: 13px 14px; border: 1px solid #d8d5e5; border-radius: 9px; background: #fcfcff; color: var(--ink); font-size: 13px; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-form input[type="text"]:focus, .login-form input[type="email"]:focus, .login-form input[type="password"]:focus { border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(115, 87, 237, .12); outline: 0; }
.modal textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--purple); color: var(--ink); background: var(--surface); font-size: 12px; resize: vertical; }
.login-form .button { min-height: 44px; margin-top: 5px; border-radius: 9px; font-size: 13px; }
.form-error { margin: 0; padding: 11px 12px; border: 1px solid #f0b8c0; border-radius: 8px; color: #a62d43; background: #fff0f2; font-size: 12px; font-weight: 700; line-height: 1.45; }
.form-notice { margin: 0; padding: 11px 12px; border: 1px solid #c9c0ff; border-radius: 8px; color: #5140ad; background: #f1eeff; font-size: 12px; font-weight: 700; line-height: 1.45; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 84px !important; }
.password-toggle { position: absolute; top: 50%; right: 8px; min-width: 60px; min-height: 34px; padding: 5px 9px; border: 1px solid #c9c0ff; border-radius: 7px; color: #5039b5; background: #eeeaff; cursor: pointer; font-size: 13px; font-weight: 800; transform: translateY(-50%); }
.password-toggle:hover, .password-toggle:focus-visible { border-color: #7357ed; background: #ddd5ff; }
.login-page { color-scheme: light; }
.login-page .login-form input[type="text"], .login-page .login-form input[type="email"], .login-page .login-form input[type="password"] { color: #17142d; background: #fff; font-size: 16px; font-weight: 600; }
.login-page .login-form input::placeholder { color: #666276; opacity: 1; }
.login-page .password-field input[type="password"] { letter-spacing: .08em; }
.login-page .password-field input::placeholder { letter-spacing: normal; }
.login-page .password-field input[type="text"] { letter-spacing: normal; }
.login-page .login-form input:-webkit-autofill { -webkit-text-fill-color: #17142d; box-shadow: 0 0 0 1000px #fff inset; }
.login-options { font-size: 11px; }
.login-footer { margin-top: 27px; color: #625e74; font-size: 12px; }
.toast.error { color: #fff; background: #b52f49; box-shadow: 0 12px 30px rgba(181, 47, 73, .28); }
.toast.success { color: #fff; background: #187653; }
.login-footer a, .login-options a { color: var(--purple-dark); }
.leads-panel table { min-width: 920px; }
.leads-panel table th:nth-child(2), .leads-panel table td:nth-child(2) { width: 350px; min-width: 350px; }
.leads-panel table td:nth-child(2) .lead-cell { min-width: 310px; white-space: nowrap; }

@media (max-width: 600px) { .login-card { padding: 30px 22px; }.login-copy h1 { font-size: 28px; }.leads-panel table th:nth-child(2), .leads-panel table td:nth-child(2) { width: 260px; min-width: 260px; } }
:root { --activity-primary: #7357ed; --activity-secondary: #d7ccff; --trend-color: #7357ed; }
.chart-controls { display: flex; align-items: center; gap: 8px; }.chart-customize-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--purple); background: var(--soft-purple); cursor: pointer; font-size: 18px; line-height: 1; }.chart-customize-button:hover { color: #fff; background: var(--purple); }.bars b:not(.secondary) { background: var(--activity-primary); }.bars b.secondary { background: var(--activity-secondary); }.trend-area { fill: var(--trend-color); opacity: .18; }.trend-line { stroke: var(--trend-color); }.trend-chart circle { stroke: var(--trend-color); }
.page-wrap, .settings-view, .integrations-view { font-size: 14px; }.nav-link { font-size: 15px; }.workspace-copy strong { font-size: 13px; }.workspace-copy small { font-size: 11px; }.metric-label { font-size: 13px; }.metric-value { font-size: 29px; }.metric-change { font-size: 12px; }.metric-change small { font-size: 11px; }.subheading, .panel-heading p { font-size: 14px; }.eyebrow { font-size: 12px; }.button, .select-button, .filter-button { font-size: 13px; }.chart-legend, .source-list { font-size: 11px; }.source-list b { font-size: 11px; }.y-axis span, .bar-group small { font-size: 10px; }.pipeline-stage small, .pipeline-stage em { font-size: 11px; }.trend-labels { font-size: 10px; }.leads-panel th { font-size: 11px; }.leads-panel td { font-size: 12px; }.status { font-size: 10px; }.live-indicator, .live-status { font-size: 11px; }.settings-card-heading p { font-size: 12px; }.settings-form label { font-size: 11px; }.settings-form input, .settings-form select { font-size: 12px; }.settings-actions .button { font-size: 11px; }.integration-card p { font-size: 12px; }.workspace-menu button, .row-menu-action { font-size: 11px; }.filter-popover label, .filter-popover select { font-size: 11px; }
.app-shell, .settings-view, .integrations-view { font-weight: 500; }.nav-link, .user-menu, .metric-label, .metric-change, .panel-heading p, .subheading, .eyebrow, .text-link, .chart-legend, .source-list, .pipeline-stage small, .pipeline-stage em, .trend-labels, th, td, .integration-banner p, .settings-card-heading p, .settings-form label, .settings-form input, .settings-form select, .integration-card p { font-weight: 600; }.brand, h1, h2, .metric-value, .pipeline-stage strong, .settings-card-heading h2, .integration-card h2 { font-weight: 800; }.button, .select-button, .filter-button, .settings-tab, .version-badge, .status, .plan-status, .live-indicator strong { font-weight: 800; }.y-axis span, .bar-group small, .source-list b, .donut-hole span, .donut-hole strong { font-weight: 700; }.bar-group b { width: 12px; border-radius: 5px 5px 0 0; }.trend-line { stroke-width: 4; }.trend-chart circle { stroke-width: 4; }.flow-arrow { font-weight: 800; }.stage-dot { width: 10px; height: 10px; }.pipeline-flow { font-weight: 700; }.row-action { font-weight: 800; }.row-menu-action { font-weight: 600; }
.table-actions { position: relative; }.filter-popover { position: absolute; top: 39px; right: 0; width: 235px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 15px 35px rgba(38, 26, 85, .14); z-index: 4; }.filter-popover[hidden] { display: none; }.filter-popover form { display: grid; gap: 11px; }.filter-popover label { display: grid; gap: 5px; color: #5c596a; font-size: 10px; font-weight: 700; }.filter-popover select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; outline-color: var(--purple); color: var(--ink); background: var(--surface); font-size: 11px; }.filter-popover-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; font-size: 12px; }.close-filter { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 18px; }.filter-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 3px; }.filter-actions .button { min-height: 30px; padding: 0 10px; font-size: 10px; }.dark-theme .filter-popover { border-color: var(--line); }
.export-leads-button { border: 0; padding: 7px 2px; background: transparent; cursor: pointer; }
.page-heading-actions { display: flex; align-items: center; gap: 9px; }.import-leads-button { cursor: pointer; }.import-leads-button:hover { color: var(--purple); background: var(--soft-purple); }
@media (max-width: 600px) { .page-heading-actions { width: 100%; flex-direction: column; }.page-heading-actions .button { width: 100%; } }
.lead-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px 4px; color: var(--muted); font-size: 11px; font-weight: 700; }.lead-pagination > div { display: flex; gap: 7px; }.lead-pagination .button { min-height: 29px; padding: 0 10px; font-size: 10px; }.lead-pagination .button:disabled { cursor: not-allowed; opacity: .45; }
.select-column { width: 34px !important; min-width: 34px !important; padding-left: 4px !important; padding-right: 4px !important; }.select-column input { accent-color: var(--purple); cursor: pointer; }.bulk-lead-actions { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 9px 11px; border: 1px solid #dcd5ff; border-radius: 7px; color: var(--purple-dark); background: var(--soft-purple); font-size: 11px; }.bulk-lead-actions strong { margin-right: auto; }.bulk-lead-actions .button { min-height: 28px; padding: 0 9px; font-size: 10px; }.bulk-lead-actions[hidden] { display: none; }
.lead-details-modal { max-width: 560px; }.lead-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.lead-details-grid > div { display: grid; gap: 5px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.lead-details-grid span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }.lead-details-grid strong { overflow-wrap: anywhere; color: var(--ink); font-size: 13px; }.lead-details-wide { grid-column: 1 / -1; min-height: 70px; }.dark-theme .lead-details-grid > div { border-color: var(--line); }
.lead-activity-heading select { margin-left: auto; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--surface); font-size: 10px; }
.activity-item em { color: var(--purple-dark); font-size: 10px; font-style: normal; font-weight: 700; }
.lead-activity-section { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }.lead-activity-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--ink); font-size: 12px; font-weight: 800; }.lead-activity-heading small { color: var(--muted); font-size: 10px; font-weight: 600; }.lead-activity-timeline { display: grid; gap: 0; }.activity-item { position: relative; display: flex; gap: 10px; min-height: 48px; padding: 0 0 14px 5px; }.activity-item:not(:last-child)::before { position: absolute; top: 12px; bottom: 0; left: 9px; width: 1px; background: #dcd5ff; content: ''; }.activity-item i { position: relative; z-index: 1; flex: 0 0 auto; width: 9px; height: 9px; margin-top: 3px; border: 2px solid var(--purple); border-radius: 50%; background: var(--surface); }.activity-item div { display: grid; gap: 4px; }.activity-item strong { color: var(--ink); font-size: 11px; }.activity-item small, .activity-empty { color: var(--muted); font-size: 10px; }.activity-empty { margin: 3px 0 8px; }.activity-error { color: #a62d43; }
@media (max-width: 600px) { .lead-details-grid { grid-template-columns: 1fr; }.lead-details-wide { grid-column: auto; } }
.settings-tabs { display: flex; gap: 5px; margin-bottom: 20px; padding: 4px; width: max-content; border: 1px solid var(--line); border-radius: 8px; background: #f3f2f7; }.settings-tab { padding: 8px 15px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }.settings-tab.active { color: var(--purple); background: #fff; box-shadow: 0 2px 5px rgba(38, 26, 85, .08); }.settings-panel[hidden] { display: none; }.plan-summary { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 19px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; }.plan-summary > div { display: grid; gap: 4px; }.plan-label { color: var(--muted); font-size: 10px; }.plan-summary strong { font-size: 13px; }.plan-status { padding: 4px 7px; border-radius: 5px; color: var(--green); background: var(--soft-green); font-size: 9px; font-weight: 700; }.security-list { display: grid; gap: 11px; margin: 2px 0 18px; }.security-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }.security-list strong { color: var(--ink); font-size: 10px; }.security-muted { color: var(--orange) !important; }.security-good { color: var(--green) !important; }.data-management-copy { min-height: 76px; }.data-management-copy strong { font-size: 12px; }.data-management-copy p { max-width: 290px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.appearance-card { max-width: 600px; }.theme-fieldset { display: grid; gap: 9px; margin: 3px 0 8px; padding: 0; border: 0; }.theme-fieldset legend { margin-bottom: 3px; color: #5c596a; font-size: 10px; font-weight: 700; }.theme-option { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }.theme-option:has(input:checked) { border-color: #c9c0ff; background: var(--soft-purple); }.theme-option input { width: auto !important; accent-color: var(--purple); }.theme-option span { display: grid; gap: 3px; }.theme-option strong { color: var(--ink); font-size: 11px; }.theme-option small { color: var(--muted); font-size: 10px; font-weight: 400; }
:root[data-theme="dark"] { --ink: #f4f1ff; --muted: #aaa6bb; --line: #3a344d; --surface: #211d32; --canvas: #151321; --soft-purple: #332a55; --soft-green: #183b31; --soft-orange: #4b3324; --soft-blue: #1e3549; }.dark-theme body { background: var(--canvas); }.dark-theme .sidebar, .dark-theme .topbar { background: #181528; border-color: var(--line); }.dark-theme .metric-card, .dark-theme .panel, .dark-theme .settings-card { border-color: var(--line); }.dark-theme .donut-hole { background: var(--surface); }.dark-theme .select-button, .dark-theme .filter-button, .dark-theme .search-box, .dark-theme .settings-tabs { border-color: var(--line); background: #2a253d; }.dark-theme .settings-tab.active { background: var(--surface); }.dark-theme .modal, .dark-theme .modal input, .dark-theme .modal select, .dark-theme .settings-form input, .dark-theme .settings-form select { border-color: var(--line); color: var(--ink); background: #2a253d; }.dark-theme .integration-banner { box-shadow: none; }.dark-theme .plan-summary, .dark-theme .theme-option { border-color: var(--line); }

.source-panel .more-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--purple); background: var(--soft-purple); cursor: pointer; font-size: 18px; line-height: 1; }
.source-panel .more-button:hover { color: #fff; background: var(--purple); }
.integration-setup-modal { max-width: 520px; }.integration-setup-copy { margin: -3px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }.integration-setup-note { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.integration-setup-form { display: grid; gap: 14px; }.integration-setup-form label { display: grid; gap: 7px; color: #5c596a; font-size: 11px; font-weight: 700; }.integration-setup-form input, .integration-setup-form select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--purple); color: var(--ink); background: var(--surface); font-size: 12px; }.integration-setup-form label[hidden] { display: none; }
.integration-events-field { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }.integration-events-field[hidden] { display: none; }.integration-events-field legend { padding: 0 4px; color: var(--ink); font-size: 11px; font-weight: 800; }.integration-events-field label { display: flex; grid-template-columns: none; flex-direction: row; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 600; }.integration-events-field input { width: auto; padding: 0; accent-color: var(--purple); }.integration-webhook-result { display: grid; gap: 7px; padding: 11px; border: 1px solid #c9c0ff; border-radius: 7px; background: var(--soft-purple); }.integration-webhook-result[hidden] { display: none; }.integration-webhook-result strong { color: var(--ink); font-size: 11px; }.integration-webhook-result > div { display: flex; align-items: center; gap: 8px; }.integration-webhook-result code { overflow-wrap: anywhere; flex: 1; padding: 8px; border-radius: 5px; color: var(--ink); background: var(--surface); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }.integration-webhook-result small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.integration-key-result { display: grid; gap: 8px; padding: 11px; border: 1px solid #c9c0ff; border-radius: 7px; background: var(--soft-purple); }.integration-key-result strong { color: var(--ink); font-size: 11px; }.integration-key-result code { display: block; overflow-wrap: anywhere; padding: 8px; border-radius: 5px; color: var(--ink); background: var(--surface); font-size: 10px; }
.api-docs-panel { margin-top: 22px; padding: 24px; border: 1px solid #dcd5ff; border-radius: 12px; background: linear-gradient(135deg, var(--surface), #f7f5ff); box-shadow: var(--shadow); }.api-docs-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.api-docs-heading h2 { margin-bottom: 6px; }.api-docs-heading p:last-child { margin: 0; color: var(--muted); font-size: 12px; }.api-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.api-docs-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.api-code-line { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 8px 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.api-code-line code { overflow: hidden; flex: 1; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.copy-doc-button { flex: 0 0 auto; padding: 6px 8px; border: 0; border-radius: 5px; color: var(--purple-dark); background: var(--soft-purple); cursor: pointer; font-size: 10px; font-weight: 800; }.copy-doc-button:hover { color: #fff; background: var(--purple); }.api-docs-example { margin-top: 16px; padding: 13px; border-radius: 8px; background: #201b38; }.api-docs-example-heading { display: flex; align-items: center; justify-content: space-between; }.api-docs-example .api-docs-label { color: #c9c0ff; }.api-docs-example pre { overflow-x: auto; margin: 0; color: #f4f1ff; font: 11px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }.api-docs-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.api-docs-note strong { color: var(--ink); }.dark-theme .api-docs-panel { border-color: var(--line); background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #f4f1ff; --muted: #aaa6bb; --line: #3a344d; --surface: #211d32; --canvas: #151321; --soft-purple: #332a55; --soft-green: #183b31; --soft-orange: #4b3324; --soft-blue: #1e3549; } :root:not([data-theme="light"]) body { background: var(--canvas); } }

/* Contrast refinements for pale controls and surfaces */
.button-secondary { border: 1px solid #d7d3e4; color: var(--ink); background: #eceaf3; box-shadow: 0 2px 5px rgba(38, 26, 85, .06); }
.button-secondary:hover { border-color: #bcb3e6; color: var(--purple-dark); background: var(--soft-purple); }
.page-heading-actions .button-secondary { border-color: #c9c3dc; background: #e8e5f0; }
.search-box, .filter-button, .select-button { border-color: #d2cede; background: #fff; box-shadow: 0 1px 3px rgba(38, 26, 85, .04); }
.metric-card, .panel, .settings-card, .integration-card { border-color: #dcd9e7; }
.leads-panel .table-scroll { border: 1px solid #dcd9e7; border-radius: 8px; background: var(--surface); }
.leads-panel th { background: #f5f4f8; color: #77738a; }
.leads-panel td { border-bottom-color: #e2dfe9; }
.leads-panel tbody tr:hover { background: #f5f3fc; }
.empty-row { padding: 32px 18px; color: var(--muted); text-align: center; }
.empty-row strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.empty-lead-action { margin-left: 5px; padding: 0; border: 0; color: var(--purple); background: transparent; cursor: pointer; font-weight: 800; text-decoration: underline; }
.empty-lead-action:hover { color: var(--purple-dark); }
.dark-theme .button-secondary, :root[data-theme="dark"] .button-secondary { border-color: #51496c; color: var(--ink); background: #302a47; }
.dark-theme .page-heading-actions .button-secondary, :root[data-theme="dark"] .page-heading-actions .button-secondary { background: #342e4d; }
.dark-theme .search-box, .dark-theme .filter-button, .dark-theme .select-button, :root[data-theme="dark"] .search-box, :root[data-theme="dark"] .filter-button, :root[data-theme="dark"] .select-button { border-color: var(--line); background: #2a253d; }
.dark-theme .leads-panel th, :root[data-theme="dark"] .leads-panel th { background: #2a253d; color: #bdb7d0; }
.integrations-view { max-width: 1120px; margin: 0 auto; padding: 38px 43px 60px; }.integrations-view[hidden] { display: none; }.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.integration-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; padding: 22px; border: 1px solid #edeaf3; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }.integration-card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 10px; font-size: 18px; font-weight: 800; }.integration-card h2 { margin-bottom: 8px; }.integration-card p { min-height: 51px; margin-bottom: 12px; color: var(--muted); font-size: 11px; line-height: 1.55; }.integration-card .button { margin-top: auto; }.integration-status { display: block; min-height: 15px; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 700; }.integration-status-success { color: var(--green); }.integration-status-error { color: #b52f49; }.integration-action.connected { color: var(--green); background: var(--soft-green); }.dark-theme .integration-card { border-color: var(--line); }
@media (max-width: 850px) { .integrations-view { padding: 30px 25px 50px; }.integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .integrations-view { padding: 28px 15px 45px; }.integration-grid { grid-template-columns: 1fr; } }
.api-test-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: end; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }.api-test-form > div:first-child { align-self: start; }.api-test-form > div:first-child p { margin: -2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }.api-test-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }.api-test-form input, .api-test-form select { width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); font-size: 11px; }.api-test-form .button { min-height: 36px; white-space: nowrap; }.api-test-result { grid-column: 1 / -1; margin: 0; padding: 9px 10px; border-radius: 6px; color: var(--purple-dark); background: var(--soft-purple); font-size: 11px; font-weight: 700; }.api-test-result.success { color: var(--green); background: var(--soft-green); }.api-test-result.error { color: #a62d43; background: #fff0f2; }
@media (max-width: 850px) { .api-test-form { grid-template-columns: 1fr 1fr; }.api-test-form > div:first-child { grid-column: 1 / -1; }.api-test-form .button { width: 100%; } }
@media (max-width: 600px) { .api-test-form { grid-template-columns: 1fr; }.api-test-form > div:first-child { grid-column: auto; } }
.sr-only:not(:focus):not(:active) { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.api-key-manager { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }.api-key-manager-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.api-key-manager-heading p { margin: -2px 0 0; color: var(--muted); font-size: 11px; }.api-key-list { display: grid; gap: 8px; margin-top: 12px; }.api-key-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.api-key-row > div { display: grid; gap: 4px; min-width: 0; }.api-key-row strong { color: var(--ink); font-size: 12px; }.api-key-row code { color: var(--purple-dark); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }.api-key-row small, .api-key-empty { color: var(--muted); font-size: 10px; }.api-key-empty { margin: 12px 0 0; }.api-key-error { color: #a62d43; }.button-danger { color: #a62d43; background: #fff0f2; }.button-danger:hover { color: #fff; background: #b52f49; }
@media (max-width: 600px) { .api-docs-panel { padding: 18px 15px; }.api-docs-heading { flex-direction: column; }.api-docs-heading .button { width: 100%; }.api-docs-grid { grid-template-columns: 1fr; }.api-code-line code { font-size: 10px; } }
