:root {
  color-scheme: light;
  --ink: #192138;
  --muted: #778095;
  --subtle: #a0a8b7;
  --nav: #171f33;
  --paper: #f5f6f9;
  --line: #e7eaf0;
  --blue: #3459e6;
  --teal: #3459e6;
  --blue-soft: #eef2ff;
  --green: #267c5e;
  --orange: #9c702f;
  --red: #bf4e59;
  --radius: 14px;
  --shadow: 0 3px 16px #18234105;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(27px, 2.5vw, 36px); font-weight: 650; letter-spacing: -1.25px; line-height: 1.2; }
h2 { font-size: 17px; font-weight: 620; letter-spacing: -.3px; line-height: 1.4; }
h3 { font-size: 15px; font-weight: 600; line-height: 1.5; }
svg { height: 19px; width: 19px; flex-shrink: 0; }
button svg,a svg { pointer-events: none; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #3459e63d; outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { color: #172653; background: #dce5ff; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 200; padding: 10px 15px; background: var(--blue); color: white; border-radius: 8px; }
.skip-link:focus { top: 15px; }
.muted { color: var(--muted); }
.app-shell { display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100dvh; overflow-y: auto; padding: 28px 16px 15px; background: var(--nav); color: #b3bed3; z-index: 20; scrollbar-width: thin; scrollbar-color: #46506b transparent; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 13px; color: #f5f7ff; font-size: 24px; letter-spacing: -.8px; font-weight: 650; }
.brand svg { height: 36px; width: 36px; color: #b7c6ff; }
.brand span { line-height: 1.15; }
.brand small { display: block; margin-top: 6px; color: #8693b0; font-size: 10px; font-weight: 450; letter-spacing: .1px; }
.workspace-chip { display: flex; gap: 10px; align-items: center; padding: 14px 12px; margin: 30px 0 25px; border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff04; }
.workspace-icon { width: 34px; height: 34px; border-radius: 8px; background: #2b3856; color: #dce5ff; display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.workspace-chip strong { display: block; max-width: 143px; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 550; white-space: nowrap; color: #edf1fa; }
.workspace-chip span { display: block; font-size: 11px; color: #7f8daa; margin-top: 2px; }
.nav-label { color: #6f7d99; font-size: 10px; text-transform: uppercase; letter-spacing: 1.3px; font-weight: 650; padding: 0 14px; margin: 0 0 9px; }
.nav-group { display: grid; gap: 4px; margin-bottom: 28px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 8px; color: #a5b1c9; font-size: 13px; line-height: 1.45; transition: background .15s, color .15s; }
.nav-link svg { width: 18px; height: 18px; opacity: .75; }
.nav-link:hover { background: #ffffff06; color: #eef2ff; }
.nav-link.active { background: #3459e6; color: white; box-shadow: 0 4px 14px #00000010; font-weight: 550; }
.nav-link.active svg { opacity: 1; }
.nav-count { margin-left: auto; border-radius: 5px; background: #ffffff1a; color: #e3eaff; padding: 1px 6px; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.plan-chip { padding: 14px; border-radius: 9px; margin: 4px 0 17px; background: #ffffff04; border: 1px solid #ffffff09; }
.plan-chip strong { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: #bdc8dd; font-size: 11px; font-weight: 500; }
.plan-chip strong span:first-child { display: flex; align-items: center; gap: 6px; }
.plan-chip p { color: #75829e; line-height: 1.7; font-size: 11px; margin-top: 8px; }
.online-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: #8caf9f; }
.profile { display: flex; gap: 9px; align-items: center; padding: 15px 5px 2px; border-top: 1px solid #ffffff0c; }
.profile strong { display: block; font-size: 12px; font-weight: 550; max-width: 130px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; color: #d8dfed; }
.profile small { display: block; font-size: 11px; color: #72809b; margin-top: 3px; }
.profile .icon-button { margin-left: auto; color: #7d8ba7; width: 29px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; background: #eaf0fb; color: #5c719b; font-size: 11px; font-weight: 650; }
.profile .avatar { background: #333b53; color: #c7d3f2; }
.main-shell { min-width: 0; }
.topbar { height: 77px; padding: 0 40px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumbs { display: flex; align-items: center; gap: 17px; font-size: 12px; color: #949daf; }
.breadcrumbs strong { font-weight: 500; color: #586378; }
.breadcrumb-divider { color: #cdd3df; }
.topbar-right { display: flex; align-items: center; gap: 25px; }
.topbar-date { font-size: 12px; color: #9099aa; }
.topbar-inbox { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #647089; border-left: 1px solid var(--line); padding-left: 24px; }
.topbar-inbox svg { width: 17px; height: 17px; }
.topbar-inbox:hover { color: var(--blue); }
.topbar-pill { display: inline-flex; gap: 7px; align-items: center; font-size: 11px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.topbar .mobile-toggle { display: none; }
.main-content { padding: 36px 40px 50px; max-width: 1630px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 29px; }
.page-heading p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 660px; }
.page-heading .actions { flex-shrink: 0; }
.eyebrow { font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.5px; color: #8791a6; margin-bottom: 12px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; min-height: 41px; border: 1px solid #dfe4ed; border-radius: 8px; background: white; color: #556078; font-size: 12px; font-weight: 550; line-height: 1.5; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.button svg { width: 16px; height: 16px; }
.button:hover { background: #f8faff; border-color: #b8c6e9; color: #2447c7; }
.button.primary { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 3px 7px #3459e612; }
.button.primary:hover { background: #294cd1; border-color: #294cd1; }
.button.small { padding: 6px 10px; min-height: 32px; font-size: 11px; }
.button.danger { color: var(--red); border-color: #ebcdd1; }
.icon-button { border: 0; background: none; display: inline-grid; place-items: center; height: 34px; width: 34px; color: #8590a4; border-radius: 7px; padding: 0; }
.icon-button:hover { background: #eaf0fc; color: var(--blue); }
.icon-button svg { width: 17px; height: 17px; }
.subtle-link { color: var(--blue); font-size: 12px; font-weight: 500; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.subtle-link svg { width: 15px; height: 15px; }
.subtle-link:hover { color: #183bbd; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.panel-head { padding: 23px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-head h2 { font-size: 15px; }
.panel-head p { margin-top: 6px; font-size: 12px; color: #919aac; line-height: 1.6; }
.panel-body { padding: 25px; }
.panel-footer { border-top: 1px solid var(--line); padding: 17px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; color: #9aa3b5; }
.stack { display: grid; gap: 22px; align-content: start; min-width: 0; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1fr) 302px; gap: 25px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-bottom: 28px; }
.stat { min-height: 149px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; color: #788296; }
.stat-label svg { width: 18px; height: 18px; color: #9ba8c1; }
.stat-value { font-size: clamp(27px,2.4vw,36px); font-weight: 620; line-height: 1.2; letter-spacing: -1.1px; margin: 15px 0 8px; color: #23304b; font-variant-numeric: tabular-nums; }
.stat-detail { font-size: 11px; color: #a0a8b8; }
.stat-detail.positive { color: var(--green); }
.stat-detail.warning { color: var(--orange); }
.stat-grid .stat:first-child { border-color: #dbe3ff; background: #f1f4ff; }
.stat-grid .stat:first-child .stat-value { color: var(--blue); }
.stat-grid .stat:first-child .stat-label svg { color: #6480ea; }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e0e5ef; gap: 24px; margin-bottom: 23px; }
.feed-tabs { display: flex; gap: 28px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.feed-tab { border: 0; padding: 14px 0 16px; background: transparent; display: flex; align-items: center; gap: 9px; white-space: nowrap; color: #7f899c; font-size: 13px; border-bottom: 2px solid transparent; font-weight: 500; }
.feed-tab span { display: inline-flex; font-size: 10px; color: #8d98ae; background: #e9edf5; border-radius: 5px; padding: 1px 6px; min-width: 20px; justify-content: center; }
.feed-tab.active { color: #2849ca; border-bottom-color: var(--blue); }
.feed-tab.active span { background: #e1e8ff; color: #4b68d6; }
.feed-tab:hover { color: var(--blue); }
.feed-total { color: #9aa3b5; font-size: 12px; white-space: nowrap; }
.filters { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.filters>label { color: var(--muted); font-size: 11px; display: grid; gap: 7px; flex: 1; min-width: 130px; }
.filters .search-field { position: relative; min-width: 220px; flex: 2; }
.filters .search-field input { padding-left: 39px; }
.search-field>svg { position: absolute; width: 17px; height: 17px; left: 13px; bottom: 13px; color: #a8b1c2; }
.filters .button { min-height: 43px; }
.lead-filters { padding: 0 0 22px; border: 0; gap: 10px; }
.lead-filters .search-field { flex: 1 0 100%; }
.lead-filters .search-field input { background: #fff; height: 46px; border-color: #e0e5ee; border-radius: 9px; font-size: 13px; }
.lead-filters .search-field>svg { bottom: 14px; }
.lead-filters>label { min-width: 105px; flex: 1; }
.lead-filters select { font-size: 12px; min-height: 41px; padding-right: 22px; background: #fff; }
.lead-filters .button { min-height: 41px; }
.feed-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 1px 0 14px; color: #99a3b4; font-size: 11px; }
.feed-caption span:last-child { display: flex; align-items: center; gap: 6px; }
.feed-caption svg { width: 13px; height: 13px; transform: rotate(90deg); }
.lead-card { display: grid; grid-template-columns: minmax(0,1fr) 205px; gap: 30px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.lead-card:hover { border-color: #cfd9f2; box-shadow: 0 4px 20px #213c7408; }
.lead-card-content { min-width: 0; }
.lead-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; min-height: 23px; }
.source-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #71809a; min-width: 0; }
.source-badge>span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.source-initial { width: 24px; height: 24px; border-radius: 6px; background: #eef1f8; color: #6a7ba4; display: inline-grid; place-items: center; flex-shrink: 0; font-size: 10px; font-weight: 650; letter-spacing: -.3px; line-height: 1; }
.source-initial svg { width: 14px; height: 14px; }
.source-initial.telegram { color: #3296bd; background: #e9f5fb; }
.source-initial.hh { color: #bc5c68; background: #fbecf0; }
.source-initial.fl,.source-initial.freelance_ru { color: #479578; background: #e9f6ef; }
.source-initial.kwork { color: #8075bd; background: #f1edf9; }
.source-initial.habr { color: #5c829a; background: #eaf3f7; }
.source-initial.freelancehunt { color: #a18a49; background: #f8f3e5; }
.lead-time { color: #9aa4b4; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; white-space: nowrap; }
.lead-time svg { width: 12px; height: 12px; }
.lead-title { display: inline-block; border: 0; padding: 0; background: transparent; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -.3px; line-height: 1.5; color: #25344f; overflow-wrap: anywhere; text-decoration: none; }
.lead-title:hover { color: var(--blue); }
.lead-excerpt { color: #8490a2; font-size: 13px; line-height: 1.8; margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lead-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; color: #8c97aa; }
.lead-location { font-size: 11px; color: #909cb0; max-width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0 2px; }
.lead-assignee { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #96a0b2; }
.lead-assignee .avatar { width: 21px; height: 21px; font-size: 8px; }
.lead-card-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 6px; }
.budget { font-size: 16px; font-weight: 600; letter-spacing: -.35px; line-height: 1.6; color: #2e3e59; text-align: right; }
.budget small { display: block; color: #9da7b7; font-size: 10px; font-weight: 400; letter-spacing: 0; margin-bottom: 6px; }
.budget.unspecified>span { font-size: 14px; font-weight: 450; color: #9aa5b7; letter-spacing: 0; }
.lead-open { display: inline-flex; align-items: center; gap: 12px; padding: 8px 11px; border: 1px solid #e6ebf4; border-radius: 7px; font-size: 11px; color: #6880b5; background: #fcfdff; transition: background .15s; }
.lead-open:hover { background: #edf2ff; color: #3152d1; border-color: #d6e0fb; }
.lead-open svg { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; border-radius: 5px; border: 1px solid #e8ecf3; background: #f8f9fc; color: #8d98ac; padding: 3px 7px; font-size: 10px; line-height: 1.4; white-space: nowrap; font-weight: 450; }
.badge.blue { color: #6985d3; background: #f0f4fe; border-color: #e6ecfc; }
.badge.teal { color: #54937a; background: #eef7f1; border-color: #e0eee5; }
.badge.orange { color: #ac905c; background: #fcf7ed; border-color: #f3e9d7; }
.badge.red { color: #b27980; background: #fcf0f2; border-color: #f6e3e6; }
.panel>.lead-card.compact { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 22px 24px; grid-template-columns: minmax(0,1fr) 140px; gap: 20px; }
.panel>.lead-card.compact:last-child { border-bottom: 0; }
.lead-card.compact:hover { background: #fbfcff; }
.lead-card.compact .lead-title { font-size: 14px; letter-spacing: -.15px; }
.lead-card.compact .lead-excerpt { font-size: 12px; margin-top: 7px; }
.lead-card.compact .lead-card-top { margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.lead-card.compact .lead-card-footer { margin-top: 12px; }
.lead-card.compact .budget { font-size: 13px; }
.lead-card.compact .budget small { font-size: 9px; }
.lead-card.compact .lead-open { border: 0; padding: 0; background: none; font-size: 10px; }
.lead-card.compact .source-badge { font-size: 10px; }
.lead-card.compact .source-initial { width: 21px; height: 21px; font-size: 9px; }
.lead-card.compact .lead-location { max-width: 150px; }
.table-wrap { overflow-x: auto; width: 100%; }
.data-table { border-collapse: collapse; text-align: left; width: 100%; font-size: 12px; color: #67758d; }
.data-table th { padding: 15px 22px; background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 550; color: #8c98ad; white-space: nowrap; }
.data-table td { padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; line-height: 1.7; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { min-width: 190px; }
.data-table .lead-title { font-size: 14px; }
.data-table .lead-meta { margin-top: 9px; }
.data-table .budget { font-size: 13px; white-space: nowrap; }
input,select,textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dfe5ef; border-radius: 8px; color: #45536d; background: #fff; font-size: 14px; line-height: 1.5; transition: border-color .15s; }
input:hover,select:hover,textarea:hover { border-color: #bdcbe3; }
input::placeholder,textarea::placeholder { color: #a5afc0; }
input:focus,select:focus,textarea:focus { border-color: #93a8ec; }
select { padding-right: 27px; }
textarea { resize: vertical; min-height: 120px; }
input[type=checkbox] { width: 16px; height: 16px; min-height: 16px; accent-color: var(--blue); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field>span,.field>label { font-size: 12px; color: #64718b; font-weight: 500; }
.field small { font-size: 11px; line-height: 1.7; color: #99a4b6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.check-field { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #77859c; }
.notice { display: flex; gap: 11px; align-items: flex-start; border: 1px solid #e4eaf7; border-radius: 9px; padding: 15px 17px; font-size: 12px; line-height: 1.8; color: #7d8da9; background: #f4f7ff; }
.notice>svg { width: 16px; height: 16px; margin-top: 3px; }
.notice.warning { color: #ac894c; border-color: #eee2c9; background: #fffaf0; }
.notice.error { color: #b36674; border-color: #f0d9df; background: #fff5f7; }
.notice.neutral { color: #8a96ac; border-color: #e7ebf2; background: #f9fbff; }
.notice strong { font-weight: 550; color: #6e7c97; }
.notice .button { margin-top: 10px; }
.onboarding { display: flex; align-items: center; gap: 18px; border: 1px solid #dce5fc; background: #eef3ff; border-radius: 12px; padding: 22px 25px; margin-bottom: 26px; }
.onboarding-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #e0e9ff; color: #6a83d5; flex-shrink: 0; }
.onboarding h2 { font-size: 14px; color: #526cae; }
.onboarding p { font-size: 12px; color: #8e9fc5; margin-top: 5px; }
.onboarding .button { margin-left: auto; flex-shrink: 0; background: #fcfdff; color: #617fd1; border-color: #d0dcfb; }
.activity-list { padding: 5px 22px; }
.activity-item { display: flex; align-items: flex-start; gap: 11px; padding: 17px 0; border-bottom: 1px solid #edf0f6; }
.activity-item:last-child { border: 0; }
.activity-icon { background: #f3f5fa; width: 29px; height: 29px; border-radius: 8px; color: #9aa8c4; display: grid; place-items: center; flex-shrink: 0; }
.activity-icon svg { width: 14px; height: 14px; }
.activity-item p { color: #7c89a0; font-size: 11px; line-height: 1.7; }
.activity-item small { display: block; margin-top: 5px; color: #afb7c5; font-size: 10px; }
.source-list { padding: 3px 22px; }
.source-item { display: flex; align-items: center; gap: 10px; padding: 17px 0; border-bottom: 1px solid #edf0f6; }
.source-item:last-child { border: 0; }
.source-item .source-initial { height: 29px; width: 29px; border-radius: 8px; }
.source-item strong { display: block; font-size: 12px; font-weight: 500; color: #71819e; overflow-wrap: anywhere; }
.source-item small { display: block; font-size: 10px; color: #a6afbf; margin-top: 3px; }
.source-item .badge { margin-left: auto; }
.empty-state { max-width: 590px; margin: auto; padding: 65px 30px; text-align: center; }
.empty-icon { width: 55px; height: 55px; border-radius: 15px; display: grid; place-items: center; background: #f0f4ff; color: #8499d4; margin: 0 auto 20px; }
.empty-icon svg { width: 24px; height: 24px; }
.empty-state h3 { font-size: 17px; font-weight: 550; color: #667895; }
.empty-state p { margin: 10px 0 22px; color: #97a3b7; font-size: 13px; line-height: 1.8; }
.empty-state.compact { padding: 32px 23px; }
.empty-state.compact h3 { font-size: 14px; }
.empty-state.compact p { font-size: 12px; margin-bottom: 10px; }
.empty-state.compact .empty-icon { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; }
.empty-state.compact .empty-icon svg { width: 19px; height: 19px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 305px; gap: 24px; align-items: start; }
.detail-layout>.stack:last-child { position: sticky; top: 24px; }
.detail-title { font-size: 28px; line-height: 1.4; letter-spacing: -.7px; color: #253652; margin: 22px 0; }
.detail-description { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.9; color: #708099; }
.detail-properties { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; margin: 22px 0 27px; }
.property dt { color: #9ba6b8; font-size: 11px; margin-bottom: 7px; }
.property dd { margin: 0; color: #60718e; font-size: 14px; }
.comment { border-bottom: 1px solid #edf0f7; padding: 18px 0; }
.comment:last-child { border: 0; }
.comment-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 11px; color: #a5aec0; }
.comment-head strong { font-weight: 550; color: #7d8eaa; }
.comment p { font-size: 14px; color: #6f819f; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.task-row { padding: 20px 24px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border: 0; }
.task-body { min-width: 0; flex: 1; }
.task-row h3 { font-size: 14px; color: #667c9f; }
.task-row p { font-size: 11px; color: #9caac1; margin-top: 5px; }
.task-check { width: 21px; height: 21px; border-radius: 6px; border: 1px solid #d0dbea; background: white; flex-shrink: 0; padding: 0; display: grid; place-items: center; }
.task-check.done { background: #7c9ade; border-color: #7c9ade; color: white; }
.task-check svg { width: 14px; height: 14px; }
.done .task-body h3 { text-decoration: line-through; color: #a5b0c1; }
.board { display: grid; grid-template-columns: repeat(5,minmax(225px,1fr)); gap: 17px; overflow-x: auto; padding-bottom: 16px; }
.board-col { min-height: 320px; background: #edf0f6; border: 1px solid #e6ebf4; border-radius: 12px; padding: 14px; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 3px 17px; font-size: 12px; color: #8593ac; }
.board-col-head strong { font-weight: 550; }
.board-col-head span { font-size: 10px; background: #e2e8f3; border-radius: 5px; padding: 2px 6px; }
.deal-card { display: block; padding: 18px; background: #fff; border: 1px solid #e1e7f0; border-radius: 10px; margin-bottom: 11px; box-shadow: 0 2px 8px #1d305907; }
.deal-card:hover { border-color: #c2d0ed; }
.deal-card h3 { color: #627899; font-size: 13px; line-height: 1.7; }
.deal-card p { margin-top: 13px; color: #9aabc6; font-size: 11px; }
.deal-card .budget { margin-top: 13px; font-size: 14px; text-align: left; }
.inbox { display: grid; grid-template-columns: 310px minmax(0,1fr); height: calc(100dvh - 232px); min-height: 620px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.conversation-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.conversation-list-head { border-bottom: 1px solid var(--line); padding: 23px 20px; }
.conversation-scroll { overflow-y: auto; flex: 1; }
.conversation-item { display: block; padding: 20px; border-bottom: 1px solid #edf0f6; }
.conversation-item:hover { background: #fafcff; }
.conversation-item.active { background: #f0f4ff; box-shadow: inset 3px 0 #6c8be8; }
.conversation-item h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #5c7398; }
.conversation-item p { font-size: 12px; color: #98a8c2; margin-top: 8px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.conversation-item .lead-meta { justify-content: space-between; font-size: 10px; margin-top: 12px; color: #a9b4c9; }
.chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: 14px; color: #5d7395; }
.chat-head p { margin-top: 4px; font-size: 11px; color: #9bacc5; }
.chat-head .flex { gap: 12px; }
.chat-head .avatar { width: 39px; height: 39px; }
.chat-messages { display: flex; flex-direction: column; gap: 17px; flex: 1; overflow-y: auto; padding: 28px; background: #f8faff; }
.message { max-width: 82%; min-width: 115px; padding: 14px 18px; border: 1px solid #e4eaf5; background: #fff; border-radius: 3px 13px 13px 13px; align-self: flex-start; box-shadow: 0 2px 7px #1b315405; }
.message.outgoing { align-self: flex-end; background: #edf2ff; border-color: #dfe7fc; border-radius: 13px 3px 13px 13px; }
.message p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; color: #617a9d; }
.message-meta { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 9px; font-size: 9px; color: #a8b6cd; }
.message-media { border: 1px dashed #dce5f4; padding: 10px; border-radius: 6px; font-size: 12px; color: #93a7c4; }
.message.unknown { border-color: #ecdec3; }
.message p.message-warning { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e9dfca; font-size: 11px; color: #b09b71; }
.composer { padding: 21px 25px; border-top: 1px solid var(--line); background: #fff; }
.composer textarea { min-height: 95px; font-size: 14px; background: #fcfdff; border-color: #e2e9f5; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 12px; }
.composer-footer small { font-size: 10px; color: #a1b0c7; line-height: 1.7; }
.sources-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.source-card { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 24px; }
.source-card-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.source-card-head .source-initial { width: 35px; height: 35px; border-radius: 9px; font-size: 13px; }
.source-card-head h3 { font-size: 14px; color: #6b809f; flex: 1; }
.source-card-head .badge { font-size: 9px; }
.source-card>p { color: #9aabc2; font-size: 12px; line-height: 1.8; min-height: 43px; }
.capability-list { display: grid; gap: 13px; padding: 18px 0; margin: 15px 0 0; border-top: 1px solid #edf1f7; }
.capability { display: flex; align-items: center; justify-content: space-between; gap: 9px; font-size: 12px; color: #90a2bc; }
.capability .badge { font-size: 9px; text-align: right; }
.source-card .actions { border-top: 1px solid #edf1f7; padding-top: 17px; margin-top: 3px; }
.settings-columns { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 25px; align-items: start; }
.niche-card { padding: 23px 25px; border-bottom: 1px solid var(--line); }
.niche-card:last-child { border: 0; }
.niche-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.niche-card p { color: #9aacC4; font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tag { padding: 5px 9px; border: 1px solid #e1e8f4; background: #f8faff; color: #8da3c3; font-size: 11px; border-radius: 6px; }
.tag.exclude { background: #fdf8f5; border-color: #f0e4dc; color: #b3a087; }
.billing-price { font-size: 44px; font-weight: 620; letter-spacing: -1.5px; color: #4264b2; margin: 15px 0 8px; }
.billing-price small { font-size: 12px; letter-spacing: 0; font-weight: 400; color: #9aafcd; }
.billing-features { display: grid; gap: 14px; list-style: none; padding: 21px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.billing-features li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #89a0c1; }
.billing-features svg { color: #8ca7dd; width: 16px; height: 16px; }
.progress-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 48px; align-items: center; gap: 18px; margin-bottom: 22px; font-size: 12px; color: #8ca0c1; }
.progress-row:last-child { margin-bottom: 0; }
.progress-bar { height: 7px; border-radius: 8px; background: #f0f3fb; overflow: hidden; }
.progress-bar>span { display: block; height: 100%; border-radius: 8px; background: #8ca6e5; }
.progress-row strong { color: #7793bf; text-align: right; font-weight: 550; font-size: 12px; }
.section-tabs { display: flex; gap: 25px; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.section-tab { border: 0; background: transparent; color: #a0acc1; font-size: 13px; padding: 13px 0; border-bottom: 2px solid transparent; }
.section-tab.active { color: #5a7dd3; border-bottom-color: #7194e4; }
.auth-shell { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-story { padding: 55px clamp(35px,6vw,100px); background: var(--nav); color: white; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.auth-story:after { content: ''; position: absolute; width: 420px; height: 420px; border: 1px solid #ffffff08; border-radius: 50%; right: -205px; bottom: -60px; box-shadow: 0 0 0 70px #ffffff02,0 0 0 140px #ffffff02; pointer-events: none; }
.auth-story .brand { padding: 0; margin-bottom: clamp(60px,12vh,130px); }
.auth-story h1 { font-size: clamp(38px,4.6vw,66px); font-weight: 550; line-height: 1.12; letter-spacing: -2px; color: #f4f7ff; z-index: 1; }
.auth-story>p { color: #8e9bb6; font-size: 15px; line-height: 1.85; margin-top: 25px; max-width: 365px; z-index: 1; }
.auth-steps { display: grid; gap: 17px; margin-top: 42px; z-index: 1; }
.auth-step { display: flex; align-items: center; gap: 13px; color: #a9b7d3; font-size: 12px; }
.auth-step>span { height: 29px; width: 29px; border-radius: 8px; border: 1px solid #ffffff10; color: #7191e3; display: grid; place-items: center; font-size: 10px; }
.auth-story footer { margin-top: auto; padding-top: 70px; color: #5d6d8d; font-size: 10px; letter-spacing: 1.8px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 65px 40px; background: #fbfcff; }
.auth-form { max-width: 370px; width: 100%; }
.auth-form .eyebrow { color: #8b9dc1; }
.auth-form h2 { font-size: 29px; line-height: 1.3; letter-spacing: -.9px; margin: 12px 0; color: #334b72; }
.auth-form .subtitle { font-size: 14px; color: #95a7c1; line-height: 1.8; margin-bottom: 29px; }
.auth-form input { min-height: 47px; font-size: 14px; border-color: #e0e8f5; }
.auth-form .button.primary { width: 100%; min-height: 46px; margin-top: 10px; font-size: 13px; justify-content: space-between; padding: 12px 16px; }
.auth-form .field { margin-bottom: 21px; }
.auth-footer { font-size: 11px; line-height: 1.9; color: #a5b3c9; margin-top: 24px; }
.form-error { color: var(--red); line-height: 1.7; font-size: 12px; margin-bottom: 17px; }
.toast-region { position: fixed; bottom: 24px; right: 24px; max-width: calc(100% - 40px); z-index: 100; display: grid; gap: 10px; }
.toast { border: 1px solid #d9e3f5; border-left: 3px solid #7b9bea; border-radius: 9px; padding: 16px 20px; background: #fff; color: #738bae; box-shadow: 0 8px 35px #1b31551a; max-width: 430px; font-size: 13px; line-height: 1.7; }
.toast.error { border-left-color: var(--red); color: var(--red); }
dialog { width: min(580px,calc(100% - 32px)); max-height: calc(100dvh - 44px); padding: 0; border: 1px solid #dce5f3; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 30px 130px #101c453b; }
dialog::backdrop { background: #1a244659; backdrop-filter: blur(5px); }
.modal-head { padding: 25px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.modal-head h2 { font-size: 19px; color: #55709a; }
.modal-body { padding: 27px 28px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 11px; padding: 20px 28px; border-top: 1px solid var(--line); background: #fafcff; }
.modal-description { font-size: 13px; line-height: 1.9; margin-bottom: 23px; color: #91a5c1; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 0 20px; }
.qr-wrap img { width: 235px; height: 235px; max-width: 100%; image-rendering: pixelated; border: 12px solid #fff; border-radius: 12px; box-shadow: 0 0 0 1px #e4ebf7; margin: 18px; }
.qr-wrap p { font-size: 13px; line-height: 1.9; color: #91a6c5; max-width: 350px; }
.code-box { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f9ff; border: 1px solid #e0e8f7; border-radius: 8px; padding: 15px; font-size: 12px; line-height: 1.9; color: #7994bd; margin: 16px 0; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; color: #9baac1; font-size: 12px; }
.panel>.pagination { border-top: 1px solid var(--line); padding: 18px 24px; }
.loader { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 280px; font-size: 13px; color: #a0b0c9; }
.spinner { display: inline-block; width: 19px; height: 19px; border-radius: 50%; border: 2px solid #e3eafa; border-top-color: #87a5ec; animation: spin .8s linear infinite; }
.boot-screen { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; color: #93a6c5; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; background: var(--nav); color: #d2ddff; border-radius: 19px; font-size: 36px; letter-spacing: -4px; padding-right: 5px; }
.brand-mark>span { font-size: 25px; margin-top: -7px; }
.loading-line { width: 150px; height: 3px; background: #e0e8f8; overflow: hidden; border-radius: 5px; }
.loading-line:after { content: ''; display: block; width: 40%; height: 100%; background: #85a2ed; animation: slide 1.3s infinite ease-in-out; }
.mobile-backdrop { display: none; }
.flex { display: flex; align-items: center; gap: 9px; }
.spacer { flex: 1; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 24px; }
.text-right { text-align: right; }
.sr-only { position: absolute; height: 1px; width: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.error-wrap { padding: 30px; }
.audit-line { overflow-wrap: anywhere; }
.org-name-input { max-width: 400px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@media(min-width:1650px) { .main-content { padding: 44px 55px 60px; } .topbar { padding: 0 55px; } .dashboard-columns { grid-template-columns: minmax(0,1fr) 335px; } .lead-card { padding: 27px 30px; } }
@media(max-width:1280px) {
 .app-shell { grid-template-columns: 215px minmax(0,1fr); }
 .sidebar { padding-left: 12px; padding-right: 12px; }
 .main-content { padding: 30px 28px 45px; }
 .topbar { padding: 0 28px; }
 .nav-link { font-size: 12px; }
 .dashboard-columns { grid-template-columns: minmax(0,1fr) 270px; gap: 20px; }
 .stat { padding: 20px 17px; }
 .stat-grid { gap: 12px; }
 .lead-card { grid-template-columns: minmax(0,1fr) 178px; gap: 22px; padding: 23px; }
 .panel>.lead-card.compact { grid-template-columns: minmax(0,1fr) 110px; padding: 20px; gap: 15px; }
 .panel>.lead-card.compact .budget { font-size: 12px; }
 .lead-card.compact .source-badge>span:last-child { max-width: 150px; }
 .sources-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .inbox { grid-template-columns: 265px minmax(0,1fr); }
 .detail-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 20px; }
 .settings-columns { grid-template-columns: minmax(0,1fr) 290px; gap: 20px; }
 .lead-filters>label { min-width: 130px; }
 .lead-filters .search-field { flex-basis: 100%; }
 .feed-tabs { gap: 21px; }
}
@media(max-width:1100px) {
 .dashboard-columns { grid-template-columns: minmax(0,1fr); }
 .dashboard-columns>.stack:last-child { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .dashboard-columns>.stack:last-child>.notice { grid-column: 1/-1; }
 .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .stat { min-height: 130px; }
 .stat-value { margin-top: 12px; }
 .settings-columns { grid-template-columns: minmax(0,1fr); }
 .feed-total { display: none; }
 .page-heading { align-items: flex-start; }
 .page-heading>.actions { max-width: 230px; justify-content: flex-end; }
 .detail-layout { grid-template-columns: minmax(0,1fr); }
 .detail-layout>.stack:last-child { position: static; grid-template-columns: 1fr 1fr; }
 .detail-layout>.stack:last-child>.notice { grid-column: 1/-1; }
 .topbar-date { display: none; }
 .lead-title { font-size: 16px; }
 .inbox { grid-template-columns: 235px minmax(0,1fr); }
 .chat-head,.composer { padding: 18px; }
 .chat-messages { padding: 20px; }
}
@media(max-width:800px) {
 .app-shell { display: block; }
 .sidebar { position: fixed; width: 238px; left: -255px; transition: left .2s; box-shadow: 15px 0 50px #101a3426; }
 .sidebar.open { left: 0; }
 .mobile-backdrop.open { display: block; position: fixed; inset: 0; background: #15254477; z-index: 19; }
 .topbar .mobile-toggle { display: inline-grid; }
 .topbar { height: 66px; padding: 0 20px; }
 .topbar-right { gap: 13px; }
 .topbar-inbox { border: 0; padding-left: 0; }
 .topbar-inbox span { display: none; }
 .breadcrumbs { font-size: 11px; gap: 12px; }
 .main-content { padding: 28px 21px 40px; }
 .page-heading { gap: 20px; }
 .page-heading p { font-size: 13px; }
 .page-heading>.actions { max-width: 180px; }
 .sources-grid { gap: 14px; }
 .auth-story { padding: 45px 30px; }
 .auth-story h1 { font-size: 38px; }
 .auth-form-wrap { padding: 50px 27px; }
 .auth-form h2 { font-size: 25px; }
 .inbox { height: calc(100dvh - 221px); }
}
@media(max-width:600px) {
 .main-content { padding: 24px 16px 35px; }
 .topbar { padding: 0 13px; height: 62px; }
 .breadcrumbs { gap: 9px; }
 h1 { font-size: 29px; }
 .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 10px; }
 .page-heading { flex-wrap: wrap; margin-bottom: 23px; gap: 16px; }
 .page-heading>div:first-child { width: 100%; }
 .page-heading p { font-size: 13px; margin-top: 10px; }
 .page-heading>.actions { max-width: none; justify-content: flex-start; }
 .button { font-size: 12px; }
 .stat-grid { gap: 11px; margin-bottom: 21px; }
 .stat { padding: 17px 15px; min-height: 135px; }
 .stat-label { font-size: 11px; align-items: flex-start; }
 .stat-label svg { width: 15px; height: 15px; }
 .stat-value { font-size: 29px; margin-top: 15px; }
 .stat-detail { font-size: 10px; }
 .dashboard-columns>.stack:last-child { grid-template-columns: 1fr; }
 .stack { gap: 18px; }
 .panel-head { padding: 20px; }
 .panel-head h2 { font-size: 14px; }
 .panel-head p { font-size: 11px; }
 .panel-body { padding: 20px; }
 .panel-footer { padding: 15px 20px; flex-wrap: wrap; }
 .panel-footer .subtle-link { font-size: 11px; }
 .feed-toolbar { margin-bottom: 19px; }
 .feed-tabs { gap: 22px; }
 .feed-tab { font-size: 12px; padding-top: 5px; padding-bottom: 14px; gap: 6px; }
 .feed-tab span { font-size: 9px; }
 .lead-filters { gap: 9px; padding-bottom: 17px; }
 .lead-filters>label { min-width: 120px; flex: 1 1 calc(50% - 9px); }
 .lead-filters .search-field { flex-basis: 100%; }
 .lead-filters .button { flex: 1; }
 .feed-caption { font-size: 10px; margin-bottom: 11px; }
 .lead-card { grid-template-columns: minmax(0,1fr); padding: 19px; gap: 18px; border-radius: 11px; }
 .lead-card-top { justify-content: space-between; gap: 10px; margin-bottom: 13px; }
 .lead-card .source-badge { font-size: 10px; }
 .source-badge>span:last-child { max-width: 150px; }
 .lead-time { font-size: 9px; }
 .lead-time svg { display: none; }
 .lead-title { font-size: 16px; line-height: 1.5; }
 .lead-excerpt { margin-top: 9px; font-size: 13px; line-height: 1.75; }
 .lead-card-footer { margin-top: 14px; }
 .lead-card-side { flex-direction: row; align-items: center; border-top: 1px solid #edf0f6; padding-top: 14px; gap: 13px; }
 .budget { text-align: left; font-size: 15px; }
 .budget small { font-size: 9px; margin-bottom: 4px; }
 .lead-open { flex-shrink: 0; font-size: 10px; }
 .lead-assignee { font-size: 9px; }
 .panel>.lead-card.compact { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 20px; }
 .lead-card.compact .lead-title { font-size: 15px; }
 .lead-card.compact .lead-excerpt { font-size: 12px; }
 .lead-card.compact .budget { font-size: 13px; }
 .lead-card.compact .lead-card-side { padding-top: 12px; }
 .lead-card.compact .lead-card-top { flex-wrap: nowrap; }
 .onboarding { flex-wrap: wrap; padding: 20px; gap: 15px; }
 .onboarding-icon { display: none; }
 .onboarding .button { margin-left: 0; }
 .onboarding>div { width: 100%; }
 .filters { padding-left: 16px; padding-right: 16px; }
 .lead-filters { padding-left: 0; padding-right: 0; }
 .detail-layout>.stack:last-child { grid-template-columns: 1fr; }
 .detail-title { font-size: 24px; line-height: 1.45; }
 .detail-description { font-size: 14px; }
 .detail-properties { gap: 20px; }
 .property dd { font-size: 13px; }
 .sources-grid { grid-template-columns: 1fr; }
 .source-card { padding: 22px; }
 .data-table td,.data-table th { padding-left: 18px; padding-right: 18px; }
 .team-table td,.team-table th { white-space: nowrap; }
 .field-grid { grid-template-columns: 1fr; gap: 0; }
 .field-grid>.property { margin-bottom: 22px; }
 .inbox { grid-template-columns: minmax(0,1fr); min-height: 510px; height: calc(100dvh - 250px); }
 .inbox.has-selection .conversation-list { display: none; }
 .inbox:not(.has-selection) .chat { display: none; }
 .conversation-list { border-right: 0; }
 .chat-head { padding: 17px 15px; }
 .chat-head .flex { gap: 8px; }
 .chat-head .avatar { width: 33px; height: 33px; }
 .chat-head h2 { font-size: 13px; }
 .chat-head p { font-size: 10px; }
 .chat-messages { padding: 18px; }
 .message { max-width: 93%; padding: 12px 15px; }
 .message p { font-size: 13px; }
 .composer { padding: 15px; }
 .composer-footer small { max-width: 160px; font-size: 9px; }
 .chat-mobile-back { display: inline-grid; }
 .auth-shell { grid-template-columns: 1fr; }
 .auth-story { padding: 27px; }
 .auth-story .brand { margin: 0; font-size: 22px; }
 .auth-story h1,.auth-story>p,.auth-steps,.auth-story footer,.auth-story:after { display: none; }
 .auth-form-wrap { align-items: flex-start; padding: 44px 25px; }
 .auth-form h2 { font-size: 27px; }
 .auth-form .eyebrow { font-size: 10px; }
 .modal-head,.modal-body,.modal-footer { padding-left: 21px; padding-right: 21px; }
 .modal-head h2 { font-size: 17px; }
 .modal-footer { flex-wrap: wrap; }
 .toast-region { bottom: 17px; right: 17px; }
 .progress-row { grid-template-columns: 100px minmax(0,1fr) 40px; gap: 12px; font-size: 11px; }
 .pagination { font-size: 11px; }
 .pagination .button.small { font-size: 10px; }
 .section-tabs { gap: 20px; overflow-x: auto; }
}
@media(min-width:601px) { .chat-mobile-back { display: none; } }
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Reading hierarchy: body copy remains readable on both white and tinted surfaces. */
:root { --muted: #6d778b; }
.page-heading p { color: #748096; }
.panel-head p { color: #7a879d; }
.stat-label { font-size: 13px; color: #6e7c92; }
.stat-detail { font-size: 12px; color: #8894a8; }
.lead-excerpt { font-size: 14px; color: #65748a; }
.lead-time { font-size: 11px; color: #8190a7; }
.source-badge { font-size: 12px; color: #647694; }
.lead-location { font-size: 12px; color: #8491a7; }
.badge { font-size: 11px; }
.badge.blue { color: #5574bd; }
.badge.teal { color: #4a866d; }
.badge.orange { color: #9b7b43; }
.lead-assignee { font-size: 11px; color: #8192ad; }
.budget { overflow-wrap: anywhere; max-width: 100%; }
.budget small { font-size: 11px; color: #8391a9; }
.budget em { display: block; font-size: 10px; font-style: normal; font-weight: 400; letter-spacing: 0; color: #93a1b8; margin-top: 3px; }
.property-note { display: block; margin-top: 4px; color: #8b9cb5; font-size: 11px; }
.budget.unspecified>span { color: #8897af; }
.feed-caption { font-size: 12px; color: #8896ac; }
.feed-total { color: #8b98ad; }
.lead-open { font-size: 12px; color: #617db4; }
.panel>.lead-card.compact .lead-title { font-size: 15px; }
.panel>.lead-card.compact .lead-excerpt { font-size: 13px; }
.panel>.lead-card.compact .source-badge { font-size: 11px; }
.panel>.lead-card.compact .budget small { font-size: 10px; }
.panel>.lead-card.compact .lead-open { font-size: 11px; }
.field small,.notice,.empty-state p { color: #7e91af; }
.detail-description { color: #657a99; }
.source-card>p { color: #8095b3; }
.capability { color: #7f94b2; }
.auth-form .subtitle,.auth-footer { color: #7f96b8; }
.auth-form h2 { color: #243954; }
.auth-form .field>span { color: #506989; }
.auth-story>p { color: #a2afc8; }
.auth-step { color: #b9c5dc; }
@media(max-width:600px) {
 .stat-label { font-size: 12px; }
 .stat-detail { font-size: 11px; }
 .source-badge { font-size: 11px; }
 .lead-time { font-size: 10px; }
 .lead-excerpt { font-size: 13px; }
 .feed-caption { font-size: 10px; }
 .budget small { font-size: 10px; }
 .lead-open { font-size: 11px; }
 .lead-location { font-size: 11px; }
}
@media(max-width:600px) {
 .detail-layout { display: flex; flex-direction: column; gap: 18px; }
 .detail-layout>.stack { display: contents; }
 .detail-layout>.stack>.panel,.detail-layout>.stack>.notice { width: 100%; }
 .detail-layout>.stack:first-child>.panel:first-child { order: 0; }
 .detail-layout>.stack:last-child>.panel:first-child { order: 1; }
 .detail-layout>.stack:first-child>.panel:nth-child(2) { order: 2; }
 .detail-layout>.stack:first-child>.panel:nth-child(3) { order: 3; }
 .detail-layout>.stack:last-child>.panel:nth-child(2) { order: 4; }
 .detail-layout>.stack>.notice { order: 5; }
}
@media(max-width:600px) {
 .main-content { padding-top: 20px; }
 .page-heading .eyebrow { display: none; }
 .page-heading { gap: 12px; margin-bottom: 19px; }
 .page-heading p { margin-top: 8px; line-height: 1.65; font-size: 12px; }
 .page-heading .actions .button { min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
 .feed-toolbar { margin-bottom: 13px; }
 .feed-tab { padding-top: 2px; padding-bottom: 10px; }
 .lead-filters { gap: 7px; padding-bottom: 12px; }
 .lead-filters .search-field input { height: 41px; min-height: 41px; }
 .lead-filters .search-field>svg { bottom: 12px; }
 .lead-filters select,.lead-filters .button { min-height: 37px; padding-top: 7px; padding-bottom: 7px; }
}
