:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #26352f;
  background: #f7f9f8;
  font-size: 14px;
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: 0;
  --green: #176b51;
  --line: #e2e8e4;
  --muted: #77847d;
  --ink: #25362d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button {
  color: inherit;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8cbda9;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #97bfae;
  outline-offset: 1px;
  border-color: var(--green);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
h4 {
  font-size: 13px;
}
button svg,
a svg {
  flex-shrink: 0;
}
input,
select,
textarea {
  border: 1px solid #d9e2dc;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
input,
select {
  height: 38px;
  padding: 0 11px;
}
select {
  padding-right: 28px;
  max-width: 100%;
}
textarea {
  padding: 11px;
  resize: vertical;
  line-height: 1.6;
  min-height: 100px;
}
label {
  font-size: 12px;
  font-weight: 550;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
label input,
label select {
  width: 100%;
}
::placeholder {
  color: #95a099;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 600;
  color: #78867d;
  background: #f9fbfa;
  white-space: nowrap;
}
th,
td {
  border-bottom: 1px solid var(--line);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #dce4de;
  border-radius: 5px;
  background: #fff;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #43574a;
  text-decoration: none;
  line-height: 1.4;
}
.button:hover {
  background: #f2f6f3;
  text-decoration: none;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button.primary:hover {
  background: #11573f;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #7c8b81;
}
.icon-button:hover {
  background: #edf2ee;
  color: #253b2d;
}
.text-button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 550;
}
.text-button:hover {
  text-decoration: underline;
}
.muted {
  color: #94a096;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
  color: #7c8d81;
  margin-bottom: 9px;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #708378;
  padding: 80px 20px;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fdf0ed;
  border: 1px solid #efcdc5;
  color: #9f382a;
  padding: 12px;
  border-radius: 5px;
  line-height: 1.5;
  font-size: 12px;
}
.error-box svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.empty {
  padding: 50px 24px;
  text-align: center;
  color: #9ba79f;
}
.empty svg {
  margin-bottom: 14px;
  color: #a9b9ac;
}
.empty h3 {
  color: #61756a;
  margin-bottom: 8px;
  font-size: 14px;
}
.empty p {
  font-size: 12px;
  line-height: 1.7;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}
.brand strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #233e2e;
}
.brand span {
  display: block;
  font-size: 10px;
  color: #8a9b8f;
  margin-top: 3px;
}
.app-shell {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 244px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 0;
}
.sidebar > .brand {
  padding: 0 5px;
}
.workspace-label {
  margin: 27px 7px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #53695a;
}
.workspace-label > span:last-child {
  font-size: 10px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  margin-left: auto;
  border-radius: 3px;
  color: #8b9b8e;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #389e71;
  flex-shrink: 0;
}
.nav-caption {
  font-size: 9px;
  font-weight: 600;
  color: #99a69d;
  margin: 0 12px 15px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav button {
  height: auto;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #6e7f73;
  border-radius: 5px;
  line-height: 1.5;
}
.sidebar nav button.active {
  background: #e9f3ec;
  color: #176b51;
  font-weight: 600;
}
.sidebar nav button:hover {
  background: #f0f5f1;
}
.nav-count {
  font-size: 10px;
  margin-left: auto;
  color: #7b8b7f;
  white-space: nowrap;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.base-note {
  padding: 18px 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--line);
}
.base-note > div {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #6c8272;
  font-size: 11px;
}
.base-note strong {
  font-size: 11px;
  font-weight: 500;
}
.base-note > span {
  font-size: 10px;
  color: #a1ada4;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  margin: 0 -18px;
  padding: 17px 13px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf0e6;
  color: #72824d;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-info strong,
.profile-info span {
  display: block;
  overflow-wrap: anywhere;
}
.profile-info strong {
  font-size: 11px;
  font-weight: 600;
}
.profile-info span {
  font-size: 10px;
  color: #8b998f;
  margin-top: 3px;
}
.profile .icon-button {
  width: 25px;
}
.workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 73px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 12px;
}
.topbar > div {
  display: flex;
  align-items: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #99a59b;
  font-size: 11px;
}
.breadcrumb strong {
  color: #64786a;
  font-weight: 500;
}
.top-date {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #667d6e;
  font-size: 11px;
  text-align: right;
}
.top-date > span {
  color: #a0aea4;
  font-size: 10px;
}
.menu-button {
  display: none;
}
.main-content {
  padding: 31px 34px 45px;
  flex: 1;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-heading p {
  color: #8a988f;
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.heading-actions > .icon-button {
  border-color: #dce4de;
  background: white;
  height: 38px;
  width: 38px;
}
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
  margin-bottom: 29px;
}
.metric {
  padding: 0 23px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border: 0;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 11px;
  color: #7e8e83;
  line-height: 1.5;
  min-height: 20px;
}
.metric-label svg {
  color: #a5b5a9;
  flex-shrink: 0;
}
.metric > strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.2;
  margin: 12px 0 9px;
  font-variant-numeric: tabular-nums;
}
.metric > span {
  font-size: 10px;
  color: #a2ada5;
  line-height: 1.6;
  display: block;
}
.metric.warning > strong {
  color: #b07029;
}
.metric.success > strong,
.success-text {
  color: #257d52;
}
.company-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.list-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  padding: 0 17px;
  gap: 23px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.list-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 17px 0 15px;
  font-size: 12px;
  white-space: nowrap;
  background: transparent;
  color: #8b9a90;
  display: flex;
  gap: 7px;
  align-items: center;
}
.list-tabs button.selected {
  color: var(--green);
  font-weight: 600;
  border-bottom-color: var(--green);
}
.list-tabs button span {
  font-size: 10px;
  background: #fff0df;
  padding: 2px 5px;
  color: #ae7a3c;
  border-radius: 3px;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  padding: 19px 17px 12px;
}
.search-field {
  min-width: 230px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce4de;
  border-radius: 5px;
  padding: 0 10px;
  color: #96a59a;
  height: 38px;
}
.search-field input {
  border: 0;
  background: none;
  outline: none;
  flex: 1;
  width: 100%;
  padding: 0;
  height: 34px;
  font-size: 11px;
}
.search-field:focus-within {
  outline: 2px solid #a2c4b0;
}
.search-field input:focus {
  outline: none;
}
.search-field .icon-button {
  height: 25px;
  width: 22px;
}
.filters select {
  font-size: 11px;
  max-width: 200px;
}
.checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #7f9185;
  white-space: nowrap;
  font-weight: 400;
}
.checkbox-label input {
  height: 14px;
  width: 14px;
  accent-color: var(--green);
}
.results-line {
  padding: 0 17px 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: #a0ada3;
  min-height: 30px;
}
.results-line > span:first-child {
  color: #84958a;
}
.results-hint {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.table-scroll {
  width: 100%;
  overflow: auto;
}
.companies-table {
  table-layout: fixed;
  min-width: 980px;
}
.companies-table th {
  padding: 12px 14px;
}
.companies-table th:first-child {
  padding-left: 18px;
  width: 34%;
}
.companies-table th:nth-child(2) {
  width: 17%;
}
.companies-table th:nth-child(3) {
  width: 17%;
}
.companies-table th:nth-child(4) {
  width: 17%;
}
.companies-table th:nth-child(5) {
  width: 13%;
}
.companies-table th:last-child {
  width: 28px;
}
.companies-table td {
  padding: 17px 14px;
  vertical-align: top;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.companies-table td:first-child {
  padding-left: 18px;
}
.companies-table tbody tr {
  cursor: pointer;
}
.companies-table tbody tr:hover {
  background: #f7faf7;
}
.company-title {
  font-size: 12px;
  font-weight: 600;
  color: #304e3a;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.company-title:hover {
  text-decoration: underline;
}
.cell-address {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #96a399;
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.6;
}
.cell-category {
  display: block;
  color: #aab5ad;
  font-size: 9px;
  margin-top: 6px;
}
.table-phone {
  display: block;
  color: #4f6657;
  font-size: 11px;
  white-space: nowrap;
}
.source-label {
  display: block;
  font-size: 9px;
  color: #a5b1a8;
  margin-top: 7px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: normal;
  max-width: 100%;
}
.badge i,
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.badge.gray {
  background: #f0f3f1;
  color: #819187;
}
.badge.amber {
  background: #fff3df;
  color: #b88736;
}
.badge.blue {
  background: #eaf2fb;
  color: #5c86b2;
}
.badge.purple {
  background: #f2edf8;
  color: #9277ab;
}
.badge.green {
  background: #e8f5ec;
  color: #43835a;
}
.badge.red {
  background: #fbecea;
  color: #b87770;
}
.next-time {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #687d6f;
  white-space: normal;
}
.next-time svg {
  flex-shrink: 0;
}
.overdue-cell .next-time,
.danger-text {
  color: #b86f43 !important;
}
.overdue-cell small {
  display: block;
  color: #ba8a69;
  font-size: 9px;
  margin-top: 4px;
}
.owner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.5;
}
.owner.unassigned {
  color: #aab5ad;
  font-size: 10px;
}
.mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  background: #ecf1e8;
  border-radius: 50%;
  font-size: 9px;
  color: #7c916f;
  flex-shrink: 0;
}
.row-chevron {
  color: #b5c1b8;
  margin-top: 2px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 17px;
  color: #91a096;
  font-size: 10px;
  gap: 10px;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination .icon-button {
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
}
.updating {
  opacity: 0.5;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 34px;
  color: #b0bab3;
  font-size: 9px;
}
.workspace-footer > span:first-child {
  color: #98a79d;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #203d3252;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.drawer-overlay {
  justify-content: flex-end;
  padding: 0;
}
.drawer {
  width: 510px;
  max-width: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 50px #153b2515;
  display: flex;
  flex-direction: column;
  outline: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.drawer-head .eyebrow {
  margin: 0;
  font-size: 9px;
}
.drawer-head-actions {
  display: flex;
  gap: 2px;
}
.company-identity {
  padding: 18px 27px 23px;
  position: relative;
}
.company-glyph {
  display: flex;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #f6f9f5;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: #6e987b;
  margin-bottom: 15px;
}
.company-identity h2 {
  font-size: 23px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-weight: 650;
  margin-bottom: 7px;
}
.identity-category {
  display: block;
  font-size: 11px;
  color: #91a095;
  margin-bottom: 10px;
}
.identity-address {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: #8b9b8f;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 13px;
}
.identity-address svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.contact-actions .button {
  font-size: 11px;
}
.drawer-tabs {
  display: flex;
  padding: 0 25px;
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-tabs button {
  padding: 15px 0 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 11px;
  color: #93a195;
  white-space: nowrap;
}
.drawer-tabs button.selected {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.drawer-scroll {
  overflow: auto;
  flex: 1;
  padding: 23px 27px;
  overscroll-behavior: contain;
}
.next-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.next-summary span {
  display: block;
  color: #94a499;
  font-size: 10px;
  margin-bottom: 7px;
}
.next-summary strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  line-height: 1.5;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.section-heading > span,
.section-heading > div > span {
  font-size: 10px;
  color: #9ba99f;
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.contact-form .section-heading {
  margin-bottom: 0;
}
.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3px;
  background: #f2f5f2;
  border: 1px solid #e7ece7;
  border-radius: 5px;
  gap: 3px;
}
.segmented button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 8px 3px;
  background: none;
  color: #93a196;
  font-size: 10px;
}
.segmented button.selected {
  color: #3c7657;
  background: #fff;
  border-color: #dfe7df;
  box-shadow: 0 1px 2px #24412b09;
}
.contact-form label {
  font-size: 11px;
  color: #738578;
}
.contact-form select {
  height: 40px;
  font-size: 12px;
}
.save-contact {
  width: 100%;
  min-height: 42px;
}
.sales-script {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.sales-script summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #7b8e7e;
  font-size: 11px;
  list-style: none;
}
.sales-script summary::-webkit-details-marker {
  display: none;
}
.sales-script summary > svg:last-child {
  margin-left: auto;
}
.sales-script[open] summary > svg:last-child {
  transform: rotate(180deg);
}
.sales-script > div {
  padding-top: 18px;
}
.sales-script h4 {
  font-size: 11px;
  font-weight: 600;
  margin-top: 17px;
  color: #47674f;
}
.sales-script p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 7px;
  color: #8b9c90;
}
.drawer-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  padding: 14px 25px;
  border-top: 1px solid var(--line);
  color: #acb8ae;
  flex-shrink: 0;
}
.drawer-foot span {
  margin-left: auto;
}
.warning-box {
  padding: 12px;
  border: 1px solid #efdfc7;
  background: #fffaed;
  color: #a0824d;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.7;
}
.field-note {
  color: #98a59b;
  font-size: 10px;
  line-height: 1.7;
}
.timeline {
  padding: 3px 0;
}
.timeline article {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 27px;
}
.timeline article:not(:last-child):before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: #e4ebe4;
}
.event-icon {
  width: 31px;
  height: 31px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #edf5ee;
  color: #709679;
  border-radius: 50%;
  flex-shrink: 0;
}
.event-icon.neutral {
  background: #f2f3f0;
  color: #919e8a;
}
.event-body {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.event-meta strong {
  font-size: 11px;
  font-weight: 600;
  color: #65816e;
}
.event-meta time {
  font-size: 9px;
  color: #a9b5ac;
  white-space: nowrap;
}
.event-body p {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
  color: #7d8e82;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.event-body .badge {
  font-size: 9px;
}
.event-author {
  font-size: 9px;
  color: #a5b1a7;
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.event-company {
  font-size: 12px;
  margin-top: 9px;
  text-align: left;
  justify-content: flex-start;
  overflow-wrap: anywhere;
}
.company-details h3 {
  margin-bottom: 22px;
}
.company-details dl {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 20px 10px;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.company-details dt {
  color: #97a59b;
}
.company-details dd {
  margin: 0;
  color: #799280;
  overflow-wrap: anywhere;
  min-width: 0;
}
.company-details dd a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 7px;
  color: #517e60;
  overflow-wrap: anywhere;
}
.company-details dd a svg {
  flex-shrink: 0;
  position: relative;
  top: 2px;
}
.source-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #f6f8f4;
  padding: 13px;
  margin-top: 28px;
  color: #99a78f;
  font-size: 10px;
  line-height: 1.8;
  border-radius: 4px;
}
.source-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.modal {
  background: white;
  border-radius: 7px;
  width: 410px;
  max-width: 100%;
  padding: 24px;
  outline: none;
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 20px 70px #173b2d15;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.modal-head h2 {
  font-size: 18px;
}
.modal .form-stack label {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #244e38;
  color: #f1f7ef;
  border: 1px solid #43644f;
  box-shadow: 0 6px 30px #16342320;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 17px;
  font-size: 12px;
  z-index: 80;
  max-width: calc(100% - 30px);
  min-width: 260px;
}
.toast > svg {
  flex-shrink: 0;
}
.toast .icon-button {
  color: #d0ddcf;
  margin-left: auto;
}
.toast .icon-button:hover {
  background: #45644d;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #91a397;
  white-space: nowrap;
}
.date-range {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.date-range input {
  height: 34px;
  font-size: 11px;
  width: 141px;
  background: #fff;
  color: #788d7e;
}
.period-presets {
  display: flex;
  gap: 15px;
  margin-right: auto;
}
.period-presets .text-button {
  color: #8d9e92;
  font-size: 11px;
}
.director-metrics {
  margin-bottom: 15px;
}
.dashboard-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #a2afa5;
  margin-bottom: 29px;
  line-height: 1.6;
}
.dashboard-note svg {
  flex-shrink: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr);
  gap: 29px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 29px;
  margin-bottom: 27px;
}
.chart-section,
.funnel-section {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 20px 20px 0;
  min-width: 0;
}
.chart-section .section-heading h2,
.funnel-section .section-heading h2,
.team-section h2,
.recent-section h2,
.access-section h2 {
  font-size: 15px;
}
.legend {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 9px !important;
}
.legend i {
  height: 6px;
  width: 6px;
  display: block;
  background: #72a585;
  border-radius: 2px;
}
.activity-chart {
  height: 217px;
  position: relative;
  display: flex;
  margin-top: 27px;
}
.chart-scale {
  width: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 24px;
  color: #b1bcb4;
  font-size: 9px;
}
.chart-plot {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 6px;
  flex: 1;
  min-width: 0;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent calc(50% - 13px),
    #eef2ee calc(50% - 13px),
    #eef2ee calc(50% - 12px)
  );
  border-bottom: 1px solid #e9eee9;
  margin-bottom: 24px;
}
.chart-column {
  flex: 1;
  max-width: 45px;
  min-width: 0;
  position: relative;
}
.chart-bar-track {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chart-bar {
  width: 60%;
  background: #79ad8d;
  min-width: 1px;
  border-radius: 3px 3px 0 0;
  transition: height 0.3s;
}
.chart-value {
  font-size: 9px;
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  color: #699177;
}
.chart-day {
  display: block;
  position: absolute;
  bottom: -23px;
  width: 100%;
  text-align: center;
  font-size: 9px;
  color: #a6b2a9;
}
.chart-empty {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 11px;
  color: #9eaea2;
  background: #ffffffdd;
  padding: 10px;
}
.funnel-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}
.funnel-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.funnel-list > div > span {
  font-size: 11px;
  color: #829587;
  display: flex;
  align-items: center;
  gap: 8px;
}
.funnel-list strong {
  font-size: 11px;
  font-weight: 550;
  color: #5d7765;
}
.funnel-track {
  grid-column: 1/-1;
  height: 3px;
  background: #f0f4f0;
  border-radius: 3px;
  overflow: hidden;
}
.funnel-track > div {
  height: 100%;
  background: #90b99c;
  min-width: 0;
}
.status-dot.gray {
  color: #a7b6aa;
}
.status-dot.amber {
  color: #d6b06f;
}
.status-dot.blue {
  color: #89a7c7;
}
.status-dot.purple {
  color: #ae95c0;
}
.status-dot.green {
  color: #67a37b;
}
.funnel-track .gray {
  background: #becbc0;
}
.funnel-track .amber {
  background: #ddbb7f;
}
.funnel-track .blue {
  background: #93b4d3;
}
.funnel-track .purple {
  background: #baa4c7;
}
.funnel-footer {
  font-size: 9px;
  color: #afbab1;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin: 19px 0;
}
.team-section {
  margin-bottom: 28px;
}
.team-section > .section-heading {
  margin-bottom: 17px;
}
.team-table {
  min-width: 650px;
  background: white;
}
.team-table th {
  font-size: 10px;
  text-transform: none;
  padding: 13px;
}
.team-table td {
  padding: 16px 13px;
  font-size: 11px;
  color: #7c9381;
}
.team-table th:first-child {
  width: 25%;
}
.team-table .owner strong {
  font-size: 11px;
  font-weight: 500;
  color: #5d7c65;
}
.recent-section {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.recent-section .timeline {
  max-width: 800px;
}
.recent-section .empty {
  background: #fff;
}
.access-section {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  max-width: 750px;
}
.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.account-row > div:nth-child(2) {
  flex: 1;
}
.account-row strong {
  font-size: 12px;
  display: block;
  color: #65816b;
}
.account-row > div > span {
  display: block;
  font-size: 10px;
  color: #9dad9e;
  margin-top: 5px;
}
.account-row .badge {
  font-size: 9px;
}
.login-page {
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.login-page > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 45px;
  border-bottom: 1px solid var(--line);
}
.location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #94a498;
}
.login-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 900px;
  width: 100%;
  margin: auto;
  padding: 80px 24px;
  gap: 90px;
  align-items: center;
}
.login-intro {
  padding: 20px 0;
}
.login-intro h1 {
  font-size: 38px;
  color: #2d573b;
}
.login-intro > p {
  font-size: 16px;
  line-height: 1.7;
  color: #9dab9b;
  margin-top: 15px;
}
.login-intro .eyebrow {
  font-size: 10px;
  color: #819b85;
  margin-bottom: 15px;
}
.login-art {
  position: relative;
  margin: 42px 0 33px;
  width: 140px;
  height: 120px;
  color: #7ca287;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-check {
  position: absolute;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0;
  bottom: 0;
  background: #e3f2e4;
  color: #43845b;
  border: 5px solid white;
  border-radius: 50%;
}
.login-city {
  font-size: 11px;
  color: #a4b3a4;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 350px;
  width: 100%;
}
.login-lock {
  height: 43px;
  width: 43px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #789983;
  background: #f7faf7;
  margin-bottom: 3px;
}
.login-form h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.login-form label {
  font-size: 12px;
  color: #7d9182;
}
.login-form input {
  height: 43px;
}
.login-form .primary {
  margin-top: 3px;
  height: 43px;
  font-size: 13px;
}
.login-footer {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: #acb8ac;
  font-size: 10px;
  margin-top: 4px;
  align-items: center;
}
.login-page > footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 45px;
  font-size: 10px;
  color: #a5b4a8;
  border-top: 1px solid var(--line);
}
.fatal {
  padding: 50px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
}
.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;
}
.nav-shade {
  display: none;
}
/* Keep secondary data readable during long call sessions. */
.cell-address,
.source-label,
.cell-category,
.metric > span,
.results-line,
.results-line > span:first-child,
.identity-address,
.identity-category,
.field-note,
.event-author,
.event-meta time,
.section-heading > span,
.section-heading > div > span,
.company-details dt,
.company-details dd,
.base-note > span,
.profile-info span,
.profile-info strong,
.breadcrumb,
.page-heading p,
.next-summary span,
.owner.unassigned,
.top-date > span,
.workspace-footer,
.source-notice,
.company-details dd a,
.funnel-footer,
.dashboard-note,
.chart-day,
.chart-scale,
.chart-empty,
.login-footer {
  color: #6c7772;
}
.companies-table .company-title {
  font-size: 13px;
  color: #303c37;
}
.cell-address,
.cell-category,
.source-label {
  font-size: 11px;
}
.cell-category,
.source-label {
  color: #7a827c;
}
.table-phone {
  font-size: 12px;
  color: #384f45;
}
.metric-label {
  font-size: 12px;
  color: #637169;
}
.metric > span {
  font-size: 11px;
}
.metric:nth-child(2) .metric-label svg {
  color: #528199;
}
.metric:nth-child(3) .metric-label svg {
  color: #a68942;
}
.metric:nth-child(4) .metric-label svg {
  color: #af8161;
}
.sidebar nav button {
  font-size: 13px;
  color: #65716a;
}
.filters select,
.search-field input {
  font-size: 12px;
}
.badge {
  font-size: 11px;
}
.badge.gray {
  color: #65766b;
}
.badge.amber {
  color: #9a651b;
}
.badge.blue {
  color: #456e97;
}
.badge.green {
  color: #337146;
}
.badge.purple {
  color: #795c94;
}
.badge.red {
  color: #9c544e;
}
.topbar,
.company-section,
.chart-section,
.funnel-section {
  background: #fff;
}
a[aria-disabled="true"] {
  cursor: default;
  color: #8b928e;
  text-decoration: none;
}
@media (min-width: 1600px) {
  .main-content {
    padding: 38px 45px 55px;
  }
  .companies-table td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .sidebar {
    width: 260px;
  }
  .metrics-strip {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 222px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .profile {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .main-content {
    padding: 26px 24px 35px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metric {
    padding: 0 15px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 28px;
  }
  .metric > span {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .filters select {
    max-width: 180px;
  }
  .filters {
    gap: 8px;
  }
  .top-date > span {
    display: none;
  }
  .sidebar nav button {
    font-size: 11px;
  }
  .results-hint {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    z-index: 40;
    width: 244px;
    transition: left 0.2s;
    height: 100dvh;
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar .brand strong {
    font-size: 16px;
  }
  .nav-shade {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    background: #28413266;
  }
  .menu-button {
    display: inline-flex;
    margin-right: 11px;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .main-content {
    padding: 25px 20px 35px;
  }
  .workspace-footer {
    padding: 17px 20px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .metrics-strip {
    padding: 19px 0;
  }
  .metric {
    padding: 0 17px;
  }
  .metric > span {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .company-section {
    margin: 0 -1px;
  }
  .top-date {
    font-size: 10px;
  }
  .list-tabs {
    gap: 24px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  .main-content {
    padding: 23px 16px 30px;
  }
  .topbar {
    padding: 0 12px;
  }
  .breadcrumb {
    gap: 7px;
    font-size: 10px;
  }
  .top-date {
    font-size: 9px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 260px;
  }
  .page-heading .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .heading-actions {
    gap: 4px;
    padding-top: 15px;
  }
  .heading-actions .button {
    font-size: 0;
    gap: 0;
    width: 35px;
    padding: 0;
  }
  .heading-actions > .icon-button {
    width: 35px;
    height: 38px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    margin-bottom: 24px;
  }
  .metric {
    padding: 16px !important;
    border-bottom: 1px solid var(--line);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(3),
  .metric:nth-child(4) {
    border-bottom: 0;
  }
  .metric:nth-child(3) {
    border-right: 1px solid var(--line);
  }
  .metric-label {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 28px;
    margin-top: 10px;
    margin-bottom: 6px;
  }
  .metric > span {
    font-size: 9px;
  }
  .company-section {
    margin: 0 -16px;
  }
  .list-tabs {
    gap: 21px;
    padding: 0 16px;
  }
  .list-tabs button {
    font-size: 11px;
    padding: 15px 0 13px;
  }
  .filters {
    padding: 15px 16px 10px;
    gap: 8px;
  }
  .search-field {
    flex-basis: 100%;
    min-width: 0;
  }
  .filters select {
    flex: 1;
    min-width: 110px;
    max-width: 100%;
    font-size: 10px;
    height: 35px;
  }
  .checkbox-label {
    width: auto;
    min-height: 25px;
  }
  .results-line {
    padding: 0 16px 12px;
  }
  .companies-table {
    min-width: 920px;
  }
  .companies-table th:first-child {
    width: 290px;
  }
  .companies-table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .pagination {
    padding: 12px 16px;
    font-size: 9px;
    gap: 5px;
  }
  .pagination > div {
    gap: 7px;
  }
  .workspace-footer {
    font-size: 8px;
    padding: 17px 16px;
  }
  .workspace-footer > span:last-child {
    max-width: 200px;
    text-align: right;
    line-height: 1.6;
  }
  .drawer {
    width: 100%;
    height: 100dvh;
  }
  .drawer-head {
    padding: 12px 17px 0;
  }
  .company-identity {
    padding: 12px 21px 18px;
  }
  .company-identity h2 {
    font-size: 22px;
  }
  .company-glyph {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }
  .identity-category {
    font-size: 10px;
  }
  .identity-address {
    font-size: 10px;
    margin-top: 10px;
  }
  .contact-actions {
    margin-top: 13px;
  }
  .contact-actions .button {
    min-height: 35px;
    font-size: 10px;
  }
  .drawer-tabs {
    padding: 0 20px;
    gap: 17px;
  }
  .drawer-tabs button {
    font-size: 10px;
    padding: 13px 0 12px;
    gap: 5px;
  }
  .drawer-tabs button svg {
    width: 13px;
  }
  .drawer-scroll {
    padding: 19px 21px;
  }
  .drawer-foot {
    padding: 12px 20px;
    font-size: 8px;
  }
  .company-details dl {
    grid-template-columns: 88px 1fr;
    gap: 17px 8px;
  }
  .company-details dd a {
    font-size: 10px;
  }
  .live-label {
    font-size: 9px;
    max-width: 100px;
    white-space: normal;
    text-align: right;
    line-height: 1.5;
    margin-top: 13px;
  }
  .dashboard-note {
    font-size: 9px;
    align-items: flex-start;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  .chart-section,
  .funnel-section {
    padding: 19px 16px 0;
  }
  .chart-section {
    padding-bottom: 15px;
  }
  .activity-chart {
    height: 190px;
  }
  .chart-empty {
    font-size: 10px;
  }
  .date-range {
    gap: 6px;
    margin-bottom: 19px;
  }
  .period-presets {
    width: 100%;
    margin-bottom: 5px;
    justify-content: flex-start;
    gap: 20px;
  }
  .date-range label {
    flex: 1;
  }
  .date-range input {
    width: 100%;
    height: 34px;
    font-size: 10px;
  }
  .team-section .section-heading > div > span {
    font-size: 9px;
  }
  .team-table {
    min-width: 670px;
  }
  .recent-section .section-heading span {
    font-size: 9px;
  }
  .event-meta time {
    font-size: 8px;
  }
  .event-body p {
    font-size: 11px;
  }
  .event-author {
    font-size: 8px;
  }
  .toast {
    font-size: 11px;
    bottom: 15px;
  }
  .login-page > header {
    padding: 22px;
  }
  .login-page .brand strong {
    font-size: 15px;
  }
  .login-body {
    grid-template-columns: 1fr;
    max-width: 370px;
    gap: 0;
    padding: 35px 25px;
  }
  .login-intro {
    display: none;
  }
  .login-form {
    max-width: none;
  }
  .login-page > footer {
    padding: 20px 22px;
    font-size: 9px;
  }
  .modal {
    padding: 22px;
  }
  .modal h2 {
    font-size: 18px;
  }
  .segmented button {
    font-size: 9px;
    gap: 4px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .next-summary {
    gap: 10px;
  }
  .contact-form .section-heading span {
    font-size: 9px;
  }
}
@media (max-width: 600px) {
  .companies-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .companies-table thead {
    display: none;
  }
  .companies-table tbody {
    display: block;
  }
  .companies-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    gap: 10px 12px;
  }
  .companies-table td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .companies-table td:first-child {
    grid-column: 1 / -1;
    padding: 0;
  }
  .companies-table td:nth-child(3),
  .companies-table td:nth-child(5) {
    justify-self: end;
  }
  .companies-table td:last-child {
    display: none;
  }
  .companies-table .company-title {
    font-size: 14px;
  }
  .companies-table .cell-address {
    font-size: 11px;
    margin-top: 5px;
  }
  .companies-table .cell-category {
    font-size: 10px;
    margin-top: 3px;
  }
  .companies-table .source-label {
    font-size: 9px;
    margin-top: 4px;
  }
  .companies-table .table-phone {
    font-size: 12px;
  }
  .companies-table .owner {
    font-size: 10px;
  }
  .companies-table .next-time {
    font-size: 10px;
  }
  .companies-table td:nth-child(4) > .muted {
    display: none;
  }
  .companies-table .badge {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
