@import url("/assets/fonts.css");
:root {
  --navy: #1f3a5f;
  --gold: #e2c24a;
  --cream: #faf6ed;
  --blue-grey: #8d9cb3;
  --charcoal: #3c3c3c;
  --sand: #e9dfc8;
  --white: #fff;
  --line: #dce1e7;
  --muted: #627084;
  --green: #236b50;
  --amber: #8a5b10;
  --red: #a03232;
  font-family: Barlow, Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button {
  transition:
    background 0.15s,
    color 0.15s;
}
button:hover {
  filter: brightness(0.96);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ae8c10;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Arial, sans-serif;
}
h1 {
  font-size: clamp(36px, 3.1vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin-bottom: 13px;
}
h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0;
}
h3 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 15px;
}
p {
  line-height: 1.5;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  display: block;
  margin-bottom: 14px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  z-index: 2;
}
.wordmark {
  display: grid;
  grid-template-columns: auto auto;
  text-decoration: none;
  font-size: 41px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  width: max-content;
  padding-left: 10px;
}
.wordmark span {
  grid-row: 2;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 8px;
}
.wordmark b {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 55px;
  align-self: center;
  color: var(--gold);
  margin-left: 20px;
  font-weight: 400;
}
.side-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #b8c4d3;
  margin: 52px 12px 17px;
}
nav {
  display: grid;
  gap: 8px;
}
.nav {
  background: transparent;
  color: #d3dce8;
  border: 0;
  text-align: left;
  padding: 14px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav > span:first-child {
  font-size: 20px;
  line-height: 15px;
}
.nav.active {
  color: var(--navy);
  background: var(--gold);
}
.nav-count {
  margin-left: auto;
  border: 1px solid currentColor;
  font-size: 10px;
  border-radius: 20px;
  padding: 1px 5px;
}
.side-bottom {
  margin-top: auto;
  padding: 36px 12px 0;
}
.brand-lockup {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.7px;
}
.brand-lockup span {
  display: block;
  font:
    10px Barlow,
    sans-serif;
  letter-spacing: 1.7px;
  margin-top: 12px;
  color: var(--gold);
}
.side-bottom p {
  font-size: 13px;
  line-height: 1.5;
  color: #b8c4d3;
  margin: 22px 0;
}
.quiet {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 6px 0;
  font-size: 13px;
}
.workspace {
  margin-left: 236px;
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 600;
  background: #fdfaf4;
}
.slash {
  margin: 0 14px;
  color: #a0a9b5;
}
.connection-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--navy);
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}
.connected .status-dot {
  background: var(--green);
}
main {
  padding: 34px 38px 24px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 27px;
}
.page-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.heading-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.primary,
.secondary {
  border-radius: 5px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #2e4d75;
}
.secondary {
  background: transparent;
  border: 1px solid #c7ced6;
  color: var(--navy);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: #fffcf7;
  margin-bottom: 30px;
  overflow: hidden;
}
.stat {
  padding: 21px 24px;
  border-right: 1px solid var(--sand);
}
.stat:last-child {
  border-right: 0;
  background: var(--gold);
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}
.stat-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 43px;
  line-height: 1.15;
  margin: 9px 0 5px;
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.stat:last-child small {
  color: #4d462e;
}
.stat-icon {
  font-size: 19px;
  opacity: 0.7;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.tabs {
  display: flex;
  gap: 28px;
}
.tabs button,
.drawer-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 14px;
}
.tabs button.selected,
.drawer-tabs button.selected {
  color: var(--navy);
  border-color: var(--navy);
}
.tabs span {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--sand);
  margin-left: 7px;
}
.view-toggle {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.view-toggle button {
  padding: 6px 13px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  border-radius: 3px;
}
.view-toggle .selected {
  color: var(--navy);
  background: white;
  box-shadow: 0 1px 3px #0001;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.filters input,
.filters select {
  height: 40px;
  font-size: 12px;
}
.search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-wrap span {
  position: absolute;
  left: 13px;
  top: 7px;
  font-size: 23px;
  color: var(--muted);
}
.search-wrap input {
  width: 100%;
  padding-left: 36px;
}
.filters > .secondary {
  padding: 10px 13px;
}
.filters select {
  max-width: 190px;
}
.list-caption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 19px 0 12px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
th {
  text-align: left;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  background: #f4f6f8;
  padding: 14px 17px;
}
td {
  padding: 17px;
  border-top: 1px solid #e9ecf0;
  vertical-align: middle;
}
td strong {
  font-size: 14px;
  font-weight: 600;
}
td small,
.lead-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.lead-link {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.lead-link:hover {
  text-decoration: underline;
}
.contact-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf1f6;
  font-size: 11px;
  font-weight: 600;
  color: #586f8b;
}
.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.dge {
  background: #eef1f6;
  color: var(--navy);
}
.badge.taproom {
  background: #f1eadf;
  color: #715c38;
}
.stage {
  background: #eef1f6;
  color: #49617f;
}
.stage.qualified,
.stage.site-visit {
  background: #e9effb;
  color: #3f5e8c;
}
.stage.proposal-sent,
.stage.negotiation {
  background: #fbf0cb;
  color: #846514;
}
.stage.confirmed,
.assigned {
  background: #e8f4ec;
  color: var(--green);
}
.stage.lost {
  background: #f5eaea;
  color: var(--red);
}
.unassigned {
  color: var(--amber);
  background: #fff2d9;
}
.overdue {
  color: var(--red);
}
.mobile-break {
  display: none;
}
#board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.board-column {
  background: #eeeae1;
  border-radius: 6px;
  padding: 12px;
  min-height: 260px;
}
.board-heading {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 14px;
}
.board-card {
  display: block;
  text-align: left;
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 10px;
  color: var(--navy);
}
.board-card strong {
  display: block;
  margin: 12px 0 5px;
  font-size: 15px;
}
.board-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 15px;
}
.board-meta {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.empty {
  border: 1px dashed #c5cdd8;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  padding: 30px;
}
.empty .star {
  font-size: 45px;
  color: #bfa439;
  margin-bottom: 14px;
}
.empty h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.empty p {
  font-size: 14px;
  color: var(--muted);
  max-width: 390px;
  margin-bottom: 20px;
}
.notice {
  padding: 18px 20px;
  border: 1px solid var(--sand);
  border-left: 3px solid var(--gold);
  background: #fffcf6;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 23px;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.connection-card,
.insight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 27px;
}
.connection-card h2 {
  margin-bottom: 14px;
}
.connection-card p {
  font-size: 13px;
  color: var(--muted);
}
.qr-box {
  margin: 23px auto;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  padding: 10px;
  background: #f8fafb;
  font-size: 14px;
}
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.connection-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.connection-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: 12px;
  margin: 20px 0;
}
.connection-details dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.connection-details dt {
  color: var(--muted);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 105px 1fr 30px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin: 20px 0;
}
.bar-track {
  height: 12px;
  background: #f0f2f5;
  border-radius: 3px;
  overflow: hidden;
}
.bar {
  height: 100%;
  background: var(--navy);
}
.business-row {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
}
.business-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.business-row strong {
  font-family: "Barlow Condensed";
  font-size: 27px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
footer {
  margin-top: 36px;
  border-top: 1px solid var(--sand);
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}
footer > span:first-child {
  font-weight: 700;
  letter-spacing: 1.2px;
}
input,
select,
textarea {
  border: 1px solid #cbd2db;
  border-radius: 5px;
  padding: 10px 12px;
  background: white;
  color: var(--navy);
  min-width: 0;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #8a94a3;
}
select {
  width: auto;
}
textarea {
  resize: vertical;
  line-height: 1.45;
}
label {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
label input,
label select,
label textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
}
dialog {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0;
  margin: 0 0 0 auto;
  position: fixed;
  inset: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(680px, 100vw);
  max-width: 100vw;
  color: var(--navy);
  background: white;
  box-shadow: -10px 0 50px #142b4226;
  overflow-y: auto;
}
dialog::backdrop {
  background: #152b4480;
  backdrop-filter: blur(2px);
}
.drawer-header {
  padding: 27px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-header .eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
}
.drawer-header h2 {
  font-size: 32px;
}
.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  font-size: 23px;
}
.drawer-tabs {
  display: flex;
  gap: 27px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.drawer-panel {
  padding: 25px 30px;
}
.form-section {
  padding-bottom: 23px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-child {
  border: 0;
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wide {
  grid-column: 1/-1;
}
.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 20px 0 0;
}
.drawer-footer {
  padding: 18px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  bottom: 0;
  background: #fafbfd;
  z-index: 1;
}
.drawer-footer span {
  font-size: 11px;
  color: var(--muted);
  max-width: 230px;
}
.analysis-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.analysis-toolbar h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.analysis-toolbar p {
  font-size: 12px;
}
.ai-option {
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ai-option input {
  display: inline;
  width: auto;
  margin: 0;
}
.analysis-box {
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 19px;
  border-radius: 6px;
  margin: 15px 0 25px;
  font-size: 13px;
  line-height: 1.6;
}
.analysis-box p {
  white-space: pre-wrap;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}
.message {
  max-width: 88%;
  border: 1px solid var(--line);
  border-radius: 8px 8px 8px 0;
  padding: 13px 15px;
  margin: 14px 0;
  background: #f7f9fb;
}
.message.outgoing {
  margin-left: auto;
  background: #f7f1dc;
  border-color: var(--sand);
  border-radius: 8px 8px 0 8px;
}
.message p {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 7px 0;
}
.message small {
  font-size: 10px;
  color: var(--muted);
}
.activity-entry {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.activity-entry small {
  color: var(--muted);
}
.error-banner {
  background: #fff0ef;
  border: 1px solid #e4bcbc;
  color: var(--red);
  padding: 13px 17px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 13px;
}
dialog .error-banner {
  margin: 15px 30px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 14px 25px;
  border-radius: 6px;
  box-shadow: 0 8px 25px #0002;
  z-index: 20;
  font-size: 14px;
  max-width: 90vw;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--navy);
  padding: 25px;
}
.login-card {
  max-width: 490px;
  width: 100%;
  padding: 42px;
  background: var(--cream);
  border-radius: 10px;
  margin: 0;
}
.login-card .eyebrow {
  font-size: 10px;
}
.login-star {
  font-size: 65px;
  line-height: 1;
  color: #b69a2a;
  margin: 30px 0 25px;
}
.login-card h1 {
  font-size: 45px;
}
.login-card > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}
.login-card form .primary {
  width: 100%;
  margin-top: 15px;
  justify-content: space-between;
}
.login-card small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#login-error {
  color: var(--red);
  font-size: 13px;
  margin: 15px 0 0;
}
.mobile-cards {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding: 45px 55px;
  }
  .topbar {
    padding: 0 55px;
  }
  .page-heading {
    margin-bottom: 36px;
  }
  .stat {
    padding: 25px 30px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 26px 12px;
  }
  .workspace {
    margin-left: 205px;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .nav {
    font-size: 12px;
    padding: 12px 10px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-direction: column;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat-value {
    font-size: 36px;
  }
  .filters select {
    max-width: 155px;
  }
  .connection-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 15px 18px 0;
    display: block;
  }
  .wordmark {
    font-size: 27px;
    grid-template-columns: auto auto;
  }
  .wordmark span {
    font-size: 8px;
    margin-top: 4px;
    letter-spacing: 2px;
  }
  .wordmark b {
    font-size: 37px;
    margin-left: 13px;
  }
  .side-label,
  .side-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 18px;
    gap: 5px;
    padding-bottom: 10px;
  }
  .nav {
    font-size: 11px;
    padding: 10px;
    flex-shrink: 0;
  }
  .nav > span:first-child {
    font-size: 16px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 50px;
    padding: 0 18px;
  }
  .topbar > span {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .slash {
    margin: 0 5px;
  }
  .connection-pill {
    font-size: 10px;
    padding: 6px 8px;
  }
  main {
    padding: 25px 18px 20px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .heading-actions {
    flex-direction: row;
    margin-top: 20px;
  }
  .primary,
  .secondary {
    padding: 10px 14px;
    font-size: 12px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
  }
  .stat {
    padding: 15px 17px;
    border-bottom: 1px solid var(--sand);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-value {
    font-size: 34px;
    margin-top: 7px;
  }
  .stat small {
    font-size: 10px;
  }
  .stat-icon {
    font-size: 16px;
  }
  .tabs {
    gap: 18px;
  }
  .tabs button {
    font-size: 12px;
  }
  .tabs span {
    font-size: 10px;
    padding: 2px 5px;
    margin-left: 4px;
  }
  .view-toggle button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .search-wrap {
    grid-column: 1/-1;
    min-width: 0;
  }
  .filters select {
    max-width: none;
    width: 100%;
    font-size: 11px;
  }
  .filters .secondary {
    padding: 10px;
    font-size: 11px;
  }
  .list-caption {
    font-size: 10px;
  }
  .table-wrap {
    display: none;
  }
  .mobile-cards {
    display: grid;
    gap: 10px;
  }
  .lead-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    padding: 17px;
  }
  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .card-top .lead-link {
    font-size: 15px;
  }
  .card-event {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 17px 0 14px;
    gap: 15px;
    font-size: 13px;
  }
  .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    font-size: 11px;
  }
  .card-title {
    font-size: 13px;
    margin-top: 13px;
    font-weight: 500;
  }
  .empty {
    min-height: 240px;
  }
  .empty h2 {
    font-size: 26px;
  }
  .empty p {
    font-size: 12px;
  }
  footer {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 12px;
    margin-top: 25px;
  }
  footer span:last-child {
    display: none;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .connection-card,
  .insight-card {
    padding: 21px;
  }
  .notice {
    font-size: 12px;
    padding: 15px;
  }
  .drawer-header {
    padding: 24px 20px 16px;
  }
  .drawer-tabs {
    padding: 0 20px;
    gap: 23px;
  }
  .drawer-panel {
    padding: 23px 20px;
  }
  .form-grid {
    gap: 18px 12px;
  }
  .form-grid label {
    font-size: 11px;
  }
  .form-grid input,
  .form-grid select {
    font-size: 13px;
    padding: 10px;
  }
  .drawer-footer {
    padding: 15px 20px;
  }
  .drawer-footer span {
    max-width: 170px;
    font-size: 10px;
  }
  .analysis-toolbar {
    display: block;
  }
  .analysis-toolbar .secondary {
    margin-bottom: 15px;
  }
  .login-card {
    padding: 30px;
  }
  .login-card h1 {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.mobile-logout {
  display: none;
}
@media (max-width: 760px) {
  .mobile-logout {
    display: block;
    padding: 8px;
    font-size: 18px;
  }
  .topbar {
    gap: 7px;
  }
  .topbar > span {
    flex: 1;
  }
  .topbar .connection-pill {
    font-size: 9px;
  }
  .topbar .slash {
    margin: 0 3px;
  }
}
