*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #18181b;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
}

a {
  color: oklch(0.55 0.14 255);
  text-decoration: none;
}

a:hover {
  color: oklch(0.48 0.15 255);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 8px;
  border: 3px solid #fafafa;
}

@keyframes drawerIn {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.app {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #fafafa;
}

.sidebar {
  flex: none;
  background: #ffffff;
  border-right: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  transition: width 0.22s ease;
  overflow: hidden;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 26px 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.logo {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #fafafa;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.nav-btn {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
}

.nav-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
}

.nav-label {
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 8px;
  border-top: 1px solid #f0f0f0;
  cursor: pointer;
  border-radius: 12px;
}

.sidebar-user:hover {
  background: #fafafa;
}

.avatar {
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
  background: color-mix(in oklch, oklch(0.55 0.14 255) 16%, white);
  color: oklch(0.42 0.14 255);
}

.avatar-md {
  width: 36px;
  height: 36px;
  font-size: 12.5px;
  background: color-mix(in oklch, oklch(0.55 0.14 255) 16%, white);
  color: oklch(0.42 0.14 255);
}

.avatar-lg {
  width: 44px;
  height: 44px;
  font-size: 15px;
  background: color-mix(in oklch, oklch(0.55 0.14 255) 14%, white);
  color: oklch(0.42 0.14 255);
}

.avatar-neutral {
  background: #f4f4f5;
  color: #52525b;
  font-weight: 500;
}

.sidebar-user-name {
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar-user-role {
  font-size: 11px;
  color: #a1a1aa;
  white-space: nowrap;
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  flex: none;
  background: #ff6600;
  border-bottom: 1px solid #e65c00;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  gap: 20px 24px;
  flex-wrap: wrap;
}

.icon-btn {
  all: unset;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  font-size: 16px;
  line-height: 1;
}

.page-head {
  flex: 1 1 320px;
  min-width: 0;
}

.page-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-head p {
  margin: 5px 0 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.45;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: none;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 11px;
  padding: 4px;
}

.range-btn {
  all: unset;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
}

.bell {
  position: relative;
}

.bell-shape {
  width: 11px;
  height: 11px;
  border: 2px solid #52525b;
  border-bottom: none;
  border-radius: 11px 11px 0 0;
}

.bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.58 0.16 27);
  border: 1.5px solid #fff;
}

.bell-dot[hidden] {
  display: none;
}

.notify-wrap {
  position: relative;
}

.notify-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.35);
  z-index: 30;
  padding: 8px;
}

.notify-title {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  padding: 8px 10px 6px;
}

.notify-item {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 12px;
}

.notify-item:hover {
  background: #fafafa;
}

.notify-item strong {
  display: block;
  font-size: 13px;
  font-weight: 560;
  color: #18181b;
}

.notify-item span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #71717a;
  line-height: 1.4;
}

.notify-empty {
  padding: 16px 12px;
  font-size: 13px;
  color: #a1a1aa;
}

.icon-btn.is-spinning {
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dash-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #18181b;
  color: #fafafa;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dash-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.content-scroll {
  flex: 1;
  overflow-y: auto;
}

.content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 40px 96px 40px;
}

.fade {
  animation: none;
}

.fade.page-enter {
  animation: fadeIn 0.3s ease;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.kpi-card {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 186px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.35);
}

.kpi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.kpi-body {
  margin-top: auto;
}

.kpi-value {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.kpi-label {
  font-size: 14px;
  color: #3f3f46;
  margin-top: 12px;
  font-weight: 450;
}

.kpi-delta {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  margin-top: 10px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2,
.block-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head p,
.block-sub {
  margin: 6px 0 0 0;
  font-size: 13.5px;
  color: #71717a;
}

.analytics-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.site-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #71717a;
  flex: none;
}

.site-filter select {
  min-width: 240px;
  max-width: min(360px, 100%);
  padding: 8px 12px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  background: #fff;
  color: #27272a;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
}

.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
}

.card-pad {
  padding: 32px;
}

.card-pad-md {
  padding: 30px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.bars-lg {
  height: 220px;
}

.bars-xl {
  height: 260px;
}

.bar {
  flex: 1;
  min-height: 4px;
  border-radius: 6px 6px 3px 3px;
}

.metrics {
  display: flex;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #f1f1f1;
}

.metric {
  flex: 1;
}

.metric-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.metric-label {
  font-size: 12.5px;
  color: #71717a;
  margin-top: 4px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.split-start {
  align-items: start;
}

.card-h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-h2 + p,
.card-desc {
  margin: 6px 0 26px 0;
  font-size: 13px;
  color: #71717a;
}

.source-list,
.funnel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.source-row,
.funnel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}

.source-name,
.funnel-name {
  font-size: 13.5px;
  font-weight: 450;
  color: #3f3f46;
}

.source-meta {
  font-size: 12.5px;
  color: #a1a1aa;
}

.source-meta strong {
  color: #52525b;
  font-weight: 500;
}

.track {
  height: 7px;
  border-radius: 4px;
  background: #f4f4f5;
  overflow: hidden;
}

.track-fill {
  height: 100%;
  border-radius: 4px;
}

.track-lg {
  height: 9px;
  border-radius: 5px;
}

.track-lg .track-fill {
  border-radius: 5px;
}

.table-head {
  display: flex;
  padding: 0 4px 12px 4px;
  border-bottom: 1px solid #f1f1f1;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.table-row {
  display: flex;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid #f6f6f6;
  font-size: 13.5px;
}

.col-page {
  flex: 2;
  font-weight: 450;
  color: #27272a;
}

.col-num {
  flex: 1;
  text-align: right;
  color: #52525b;
}

.col-time {
  flex: 1;
  text-align: right;
  color: #a1a1aa;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.stat-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 20px 22px;
}

.stat-card-lg {
  flex: 1 1 160px;
  padding: 24px 26px;
}

.stat-value {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-value-lg {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12.5px;
  color: #71717a;
  margin-top: 4px;
}

.stat-label-lg {
  font-size: 13px;
  margin-top: 5px;
}

.list-label {
  padding: 16px 22px;
  border-bottom: 1px solid #f1f1f1;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.list-label-lg {
  padding: 18px 24px;
}

.lead-btn {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 22px;
  border-bottom: 1px solid #f6f6f6;
}

.avatar-34 {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.lead-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #27272a;
}

.lead-meta {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 2px;
}

.chips {
  display: flex;
  gap: 6px;
  flex: none;
}

.chip {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 20px;
}

.funnel-value {
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #f6f6f6;
}

.activity-row-lg {
  padding: 20px 24px;
}

.activity-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}

.activity-text {
  font-size: 13.5px;
  color: #27272a;
}

.activity-action {
  color: #a1a1aa;
}

.activity-sub {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 3px;
}

.activity-when {
  font-size: 12px;
  color: #a1a1aa;
  flex: none;
  font-family: "Geist Mono", monospace;
}

.leads-head {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #e4e4e7;
  background: #ff6600;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.leads-row {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #f6f6f6;
  font-size: 13.5px;
}

.col-lead {
  flex: 2.4;
  display: flex;
  align-items: center;
  gap: 13px;
}

.col-source {
  flex: 1;
  color: #52525b;
}

.col-role {
  flex: 0.7;
  color: #71717a;
}

.col-status {
  flex: 1;
  font-weight: 500;
}

.col-converted {
  flex: 1;
  font-weight: 500;
}

button.col-converted {
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}

.col-follow {
  flex: 1.4;
}

.col-action {
  cursor: pointer;
}

.settings-wrap {
  max-width: 720px;
}

.settings-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #f4f4f5;
}

.settings-label {
  font-size: 13.5px;
  color: #3f3f46;
}

.settings-value {
  font-size: 13.5px;
  color: #71717a;
}

.team-note {
  margin: 0 0 18px 0;
  font-size: 12.5px;
  color: #a1a1aa;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid #f4f4f5;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 27, 0.28);
  z-index: 40;
}

.overlay.is-enter {
  animation: fadeIn 0.2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 440px;
  max-width: 92vw;
  background: #fff;
  border-left: 1px solid #ededed;
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.25);
  z-index: 50;
  overflow-y: auto;
}

.drawer.is-enter {
  animation: drawerIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-head {
  padding: 28px 30px;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.drawer-sub {
  font-size: 12.5px;
  color: #a1a1aa;
  margin-top: 2px;
}

.close-btn {
  all: unset;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid #eaeaea;
  color: #71717a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.drawer-body {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mono-label {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 14px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.toggle-label {
  font-size: 13.5px;
  color: #3f3f46;
}

.pill {
  all: unset;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 20px;
}

.pill-static {
  cursor: default;
}

.note {
  font-size: 13px;
  color: #71717a;
  line-height: 1.55;
  background: #fafafa;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  padding: 12px 14px;
}

.kv {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.kv-k {
  color: #a1a1aa;
}

.kv-v {
  color: #3f3f46;
}

.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-k {
  font-size: 11.5px;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.field-v {
  font-size: 13.5px;
  color: #3f3f46;
}

.contact-link {
  color: oklch(0.55 0.14 255);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.empty-note {
  padding: 22px 24px;
  font-size: 13.5px;
  color: #a1a1aa;
}

.analytics-empty {
  font-size: 14px;
  color: #52525b;
  line-height: 1.6;
}

.analytics-empty a {
  color: oklch(0.55 0.14 255);
  text-decoration: none;
}

.analytics-empty a:hover {
  text-decoration: underline;
}

.fu-row-action {
  font-size: 12px;
  font-weight: 560;
  color: #fafafa;
  background: #18181b;
  padding: 6px 12px;
  border-radius: 8px;
  flex: none;
}

.fu-form {
  padding-top: 8px;
  border-top: 1px solid #f1f1f1;
}

.fu-hint {
  font-size: 12.5px;
  color: #71717a;
  line-height: 1.5;
  margin: -6px 0 14px;
}

.fu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fu-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: #71717a;
}

.fu-span {
  grid-column: 1 / -1;
}

.fu-field select,
.fu-field textarea {
  font: inherit;
  font-size: 13.5px;
  color: #27272a;
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.fu-field textarea {
  resize: vertical;
  min-height: 72px;
}

.fu-field select:focus,
.fu-field textarea:focus {
  border-color: #d4d4d8;
  background: #fff;
}

.fu-save {
  margin-top: 14px;
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 560;
  color: #fafafa;
  background: #18181b;
  border-radius: 11px;
  padding: 12px 16px;
}

.fu-save:disabled {
  opacity: 0.55;
  cursor: default;
}

.fu-field input {
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-size: 13.5px;
  color: #18181b;
  background: #fafafa;
  border: 1px solid #ececef;
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
}

.fu-field input:focus {
  border-color: #d4d4d8;
  background: #fff;
}

.pw-wrap {
  position: relative;
  display: block;
  margin-top: 6px;
}
.pw-wrap input {
  margin-top: 0;
  padding-right: 42px;
}
.pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  padding: 0;
  color: #a1a1aa;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.pw-toggle:hover,
.pw-toggle:focus-visible {
  color: #18181b;
}
.pw-toggle:focus-visible {
  outline: 2px solid color-mix(in oklch, oklch(0.55 0.14 255) 45%, white);
  outline-offset: 1px;
}


.text-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: oklch(0.55 0.14 255);
  cursor: pointer;
}

.ua-wrap {
  max-width: 760px;
}

.ua-card {
  padding-bottom: 18px;
}

.ua-sites-label {
  font-size: 12.5px;
  font-weight: 550;
  color: #3f3f46;
  margin-bottom: 8px;
}

.ua-sites {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 4px;
}

.ua-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  border-top: 1px solid #f4f4f5;
  cursor: pointer;
  font-size: 13.5px;
}

.ua-check input {
  margin-top: 3px;
}

.ua-check strong {
  display: block;
  font-weight: 500;
}

.ua-check em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #a1a1aa;
}

.ua-save {
  margin-top: 8px;
}

.ua-assign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #f4f4f5;
}

.ua-assign-row:first-of-type {
  border-top: 0;
}

.ua-assign-row select {
  min-width: 180px;
  max-width: 240px;
}

.ua-role {
  margin-top: 12px;
}

.fu-ok,
.fu-err {
  margin-top: 12px;
  font-size: 12.5px;
  border-radius: 10px;
  padding: 10px 12px;
}

.fu-ok {
  color: oklch(0.42 0.1 155);
  background: color-mix(in oklch, oklch(0.6 0.11 155) 12%, white);
}

.fu-err {
  color: oklch(0.48 0.14 27);
  background: color-mix(in oklch, oklch(0.58 0.16 27) 12%, white);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 11.5px;
  color: #71717a;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4d8;
  flex: none;
}

.live-dot.live {
  background: oklch(0.6 0.11 155);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(0.6 0.11 155) 22%, transparent);
}

.live-dot.connecting {
  background: oklch(0.72 0.13 65);
}

.live-dot.stale,
.live-dot.offline {
  background: oklch(0.58 0.16 27);
}

@media (max-width: 1100px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar,
  .content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 760px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .site-filter,
  .site-filter select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 16px 16px;
  }

  .content {
    padding: 24px 16px 72px;
  }

  .leads-head,
  .col-source,
  .col-role,
  .col-status {
    display: none;
  }

  .leads-row {
    padding: 16px 18px !important;
  }

  .col-lead {
    flex: 1;
  }

  .col-converted,
  .col-follow {
    flex: none;
  }
}

body.is-login .sidebar,
body.is-login .top-actions,
body.is-login .icon-btn {
  display: none;
}

body.is-login .page-head {
  max-width: 420px;
  margin: 0 auto;
}

.login-wrap {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 0 80px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 18px;
  padding: 32px 28px 28px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.login-title {
  font-size: 16px;
  font-weight: 600;
}
.login-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.login-card .text-link {
  font-size: 12.5px;
}
.login-back {
  margin-top: 16px;
  text-align: center;
}


.sidebar-user .text-link {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.avatar-btn {
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.avatar-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
}

.fu-field input[type="file"] {
  padding: 8px 0;
  background: transparent;
  border: 0;
}
