@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --brand: #fe7725;
  --surface: #fff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #f8fafc;
  --sidebar: #0f172a;
  --sidebar-ink: #f8fafc;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--page);
  color: var(--ink);
  font-family: Plus Jakarta Sans, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.auth-shell {
  color: #fff;
  background: #080b10;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 520px);
  min-height: 100vh;
  display: grid;
}

.auth-brand {
  background: radial-gradient(circle at 20% 20%, #2b1a10, #080b10 52%);
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 110px);
  display: flex;
}

.brand-mark {
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  display: inline-flex;
}

.brand-dot {
  color: #fff;
  background: var(--brand);
  border-radius: 9px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.auth-brand h1 {
  letter-spacing: -.045em;
  max-width: 780px;
  margin: 40px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}

.accent {
  color: var(--brand);
}

.auth-brand p {
  color: #a1a1aa;
  max-width: 600px;
  line-height: 1.7;
}

.auth-panel {
  color: #111827;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  padding: 50px clamp(28px, 5vw, 64px);
  display: flex;
}

.auth-panel h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.muted {
  color: var(--muted);
}

.form {
  gap: 16px;
  margin-top: 28px;
  display: grid;
}

.field {
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.input, .select {
  color: #111827;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  outline: none;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
}

.input:focus, .select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand), transparent 82%);
}

.button {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
}

.button:hover {
  filter: brightness(.94);
}

.button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
}

.auth-links {
  color: var(--muted);
  gap: 10px;
  font-size: 13px;
  display: grid;
}

.auth-links strong {
  font-weight: 700;
}

.error {
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.success {
  color: #047857;
  background: #ecfdf5;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.app-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--sidebar);
  height: 100vh;
  color: var(--sidebar-ink);
  flex-direction: column;
  padding: 18px 14px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  border-bottom: 1px solid #253046;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 6px 10px 18px;
  font-weight: 800;
  display: flex;
}

.sidebar-brand img {
  object-fit: contain;
  max-width: 150px;
  max-height: 38px;
}

.nav {
  gap: 5px;
  padding: 18px 0;
  display: grid;
  overflow-y: auto;
}

.nav a {
  color: #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand), transparent 88%);
}

.sidebar-user {
  border-top: 1px solid #253046;
  margin-top: auto;
  padding: 16px 8px 0;
}

.sidebar-user strong, .sidebar-user small {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.sidebar-user small {
  color: #94a3b8;
  margin-top: 3px;
}

.logout {
  color: #cbd5e1;
  background: none;
  border: 1px solid #334155;
  border-radius: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
}

.main {
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--line);
  z-index: 4;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 30px;
  display: flex;
  position: sticky;
  top: 0;
}

.search {
  background: #f1f5f9;
  border: 0;
  border-radius: 22px;
  width: 50%;
  max-width: 470px;
  padding: 10px 16px;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 30px 60px;
}

.page-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}

.page-header h1 {
  letter-spacing: -.015em;
  margin: 0;
  font-size: 26px;
  line-height: 1.18;
}

.page-header p {
  color: var(--muted);
  margin: 7px 0 0;
  font-size: 15px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 5px #0f172a09;
}

.kpi {
  padding: 18px;
}

.kpi-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.kpi-value {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.1;
}

.section {
  margin-top: 20px;
  padding: 20px;
}

.section h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.section-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
}

.split {
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
  display: grid;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  padding: 12px 14px;
  font-size: 13px;
}

th {
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .045em;
  background: #f8fafc;
  font-size: 11px;
}

tbody tr:hover {
  background: #fff9f5;
}

.badge {
  background: #e2e8f0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.badge.green, .badge.assumed-green {
  color: #fff;
  background: #63be7b;
}

.badge.yellow {
  color: #111827;
  background: #ff0;
}

.badge.assumed-yellow {
  color: #111827;
  background: #ffeb84;
}

.badge.red {
  color: #fff;
  background: red;
}

.badge.assumed-red {
  color: #fff;
  background: #f86936;
}

.account-name {
  color: #1e293b;
  font-weight: 700;
}

.account-name:hover {
  color: var(--brand);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 24px;
}

.detail-hero {
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  display: flex;
}

.back-link {
  width: max-content;
  color: var(--brand);
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

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

.detail-hero h1 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.2;
}

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

.data-field label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.data-field div {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 650;
}

.section-band {
  color: var(--brand);
  border-bottom: 1px solid color-mix(in srgb, var(--brand), transparent 75%);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 26px 0 15px;
  padding-bottom: 6px;
  font-size: 12px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  display: grid;
}

.code-note {
  border-left: 3px solid var(--brand);
  color: #7c2d12;
  background: #fff7ed;
  padding: 12px 14px;
  font-size: 13px;
}

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

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

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

  .auth-brand {
    display: none;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    position: static;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar-user {
    display: none;
  }

  .topbar {
    padding: 0 18px;
  }

  .search {
    width: 100%;
  }

  .page {
    padding: 22px 16px 50px;
  }

  .kpi-grid, .detail-grid, .form-grid {
    grid-template-columns: 1fr;
  }
}

.app-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  transition: grid-template-columns .2s;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 76px minmax(0, 1fr);
}

.sidebar {
  z-index: 10;
  padding: 16px 10px 14px;
  transition: width .2s;
}

.collapse-button {
  width: 34px;
  height: 34px;
  color: var(--brand);
  z-index: 2;
  background: #182136;
  border: 1px solid #2b3851;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  top: 33px;
  right: -17px;
}

.sidebar-brand {
  white-space: nowrap;
  border-bottom: 0;
  min-height: 88px;
  padding: 10px 12px 20px;
  font-size: 18px;
}

.sidebar-brand img {
  object-fit: contain;
  object-position: left center;
  width: auto;
  max-width: min(188px, 100%);
  height: auto;
  max-height: 50px;
}

.sidebar-brand .brand-dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.nav {
  scrollbar-width: thin;
  scrollbar-color: #344159 transparent;
  gap: 3px;
  padding: 8px 0;
}

.nav a {
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
}

.nav a svg {
  flex: none;
}

.nav a.active {
  color: #fff;
  background: var(--brand);
}

.sidebar-collapsed .brand-name, .sidebar-collapsed .nav a span, .sidebar-collapsed .user-card div, .sidebar-collapsed .logout span {
  display: none;
}

.sidebar-collapsed .sidebar-brand, .sidebar-collapsed .nav a, .sidebar-collapsed .logout {
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.sidebar-collapsed .sidebar-brand img {
  object-position: center;
  max-width: 42px;
  max-height: 42px;
}

.sidebar-user {
  padding: 13px 0 0;
}

.user-card {
  background: #1b263b;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: flex;
  overflow: hidden;
}

.user-avatar {
  width: 38px;
  height: 38px;
  color: var(--brand);
  background: #443027;
  border-radius: 50%;
  flex: 0 0 38px;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.user-card div {
  min-width: 0;
}

.user-card strong {
  font-size: 13px;
}

.user-card small {
  font-size: 10px;
}

.user-card em {
  color: #075985;
  background: #cffafe;
  border-radius: 4px;
  margin-top: 5px;
  padding: 3px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  display: inline-block;
}

.logout {
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  font-weight: 600;
  display: flex;
}

.topbar {
  height: 72px;
  padding: 0 34px;
}

.global-search {
  width: min(680px, 65%);
  position: relative;
}

.customer-search-hidden {
  visibility: hidden;
  pointer-events: none;
}

.topbar:has(.customer-search-hidden) .top-actions {
  margin-left: auto;
}

.search-wrap {
  color: #64748b;
  background: #f5f7fa;
  border: 1px solid #e7ebf0;
  border-radius: 28px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  box-shadow: 0 2px 5px #0f172a14;
}

.search-wrap .search {
  background: none;
  outline: none;
  width: 100%;
  max-width: none;
  padding: 13px 0;
}

.search-wrap:focus-within {
  border-color: color-mix(in srgb, var(--brand), white 25%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand), transparent 85%), 0 5px 16px #0f172a1a;
}

.search-results {
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  overflow: hidden;
  box-shadow: 0 18px 45px #0f172a2e;
}

.search-result-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 9px 9px;
  font-size: 10px;
  font-weight: 800;
}

.search-results a {
  border-radius: 9px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  display: grid;
}

.search-results a:hover, .search-results a:focus {
  background: color-mix(in srgb, var(--brand), transparent 91%);
  outline: none;
}

.search-result-avatar {
  color: #fff;
  background: var(--brand);
  border-radius: 9px;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
}

.search-results strong, .search-results small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.search-results strong {
  font-size: 12px;
}

.search-results small {
  max-width: 420px;
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
}

.search-results em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.search-empty {
  text-align: center;
  color: var(--muted);
  padding: 22px 12px;
  font-size: 12px;
}

.search-all {
  width: 100%;
  color: var(--brand);
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 10px;
  font-size: 11px;
  font-weight: 800;
}

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

.top-actions button {
  color: #64748b;
  background: none;
  border: 0;
  place-items: center;
  display: grid;
  position: relative;
}

.notification-button i {
  background: #ef4444;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 0;
  right: 0;
}

.csm-dashboard {
  max-width: 1680px;
}

.csm-dashboard .page-header h1 {
  font-size: 30px;
}

.csm-metric-grid {
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 14px;
  display: grid;
}

.metric-card {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 10px;
  min-height: 170px;
  padding: 20px 17px;
}

.metric-card.green, .metric-card.assumed-green {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.metric-card.yellow, .metric-card.assumed-yellow {
  background: #fffbeb;
  border-color: #fde68a;
}

.metric-card.red, .metric-card.assumed-red {
  background: #fff1f2;
  border-color: #fecdd3;
}

.metric-card.purple {
  background: #f5f3ff;
}

.metric-card.blue {
  background: #eff6ff;
}

.metric-card.mint {
  background: #effcf8;
}

.metric-icon {
  height: 29px;
  color: var(--brand);
  display: block;
}

.metric-icon svg {
  width: 24px;
  height: 24px;
}

.metric-card strong {
  letter-spacing: -.01em;
  margin-top: 7px;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.08;
  display: block;
}

.metric-card h2 {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.metric-card small {
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
  display: block;
}

.dashboard-chart-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 24px;
  display: grid;
}

.dashboard-lower-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
  display: grid;
}

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
  padding: 24px;
  box-shadow: 0 2px 4px #0f172a14;
  container-type: inline-size;
}

.dashboard-chart-grid > .dashboard-card {
  min-height: 310px;
}

.chart-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-height: 28px;
  display: flex;
}

.chart-heading h2 {
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  display: flex;
}

.chart-heading span, .chart-heading a {
  color: var(--muted);
  font-size: 12px;
}

.donut-content {
  grid-template-columns: minmax(135px, .78fr) minmax(170px, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 210px;
  display: grid;
}

.donut-chart {
  width: 100%;
  min-width: 0;
  height: 178px;
  position: relative;
}

.donut-total {
  text-align: center;
  pointer-events: none;
  place-content: center;
  display: grid;
  position: absolute;
  inset: 0;
}

.donut-total strong {
  font-size: 23px;
  font-weight: 750;
}

.donut-total span {
  color: var(--muted);
  font-size: 10px;
}

.chart-legend {
  gap: 8px;
  min-width: 0;
  display: grid;
}

.chart-legend div {
  grid-template-columns: 9px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.25;
  display: grid;
}

.chart-legend i {
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.chart-legend span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.chart-legend small {
  color: var(--muted);
}

.trend-number {
  color: #26c6b5;
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.15;
}

.trend-number small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.trend-chart {
  height: 170px;
  margin-top: 8px;
  font-size: 10px;
}

.dashboard-lower-grid .dashboard-card {
  min-height: 280px;
}

.dashboard-lower-grid .donut-content {
  grid-template-columns: 1fr;
}

.dashboard-lower-grid .chart-legend {
  display: none;
}

.mini-list {
  margin-top: 20px;
}

.mini-list a {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.mini-list small, .mini-list p {
  color: var(--muted);
  font-weight: 500;
}

.dashboard-data-note {
  color: var(--muted);
  margin: 18px 2px 0;
  font-size: 11px;
}

.module-placeholder {
  max-width: 760px;
}

.module-placeholder h2 {
  margin-top: 0;
}

.module-placeholder p {
  color: var(--muted);
  line-height: 1.7;
}

.module-page {
  max-width: 1680px;
}

.source-pill {
  color: #a16207;
  background: #fef3c7;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}

.source-pill.connected {
  color: #047857;
  background: #d1fae5;
}

.module-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.module-metric {
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  display: flex;
}

.module-metric span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
  font-weight: 700;
}

.module-metric strong {
  margin-top: 10px;
  font-size: 28px;
  display: block;
}

.module-metric strong.small {
  font-size: 15px;
  line-height: 1.4;
}

.module-coverage {
  grid-template-columns: minmax(210px, .55fr) 1.45fr;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
  display: grid;
}

.module-coverage h2, .module-toolbar h2 {
  margin: 0;
  font-size: 17px;
}

.module-coverage p, .module-toolbar p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.coverage-bars {
  gap: 11px;
  display: grid;
}

.coverage-bars > div {
  grid-template-columns: 130px minmax(80px, 1fr) 55px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  display: grid;
}

.coverage-bars > div > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.coverage-bars > div > div {
  background: #e9eef5;
  border-radius: 99px;
  height: 7px;
  overflow: hidden;
}

.coverage-bars i {
  background: var(--brand);
  border-radius: inherit;
  min-width: 0;
  height: 100%;
  display: block;
}

.coverage-bars strong {
  text-align: right;
  color: var(--muted);
}

.module-table-card {
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
}

.module-toolbar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  display: flex;
}

.module-toolbar form {
  gap: 8px;
  width: min(420px, 50%);
  display: flex;
}

.module-toolbar .button {
  min-height: 40px;
}

.table-subtext {
  text-overflow: ellipsis;
  max-width: 260px;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 3px;
  font-size: 10px;
  display: block;
  overflow: hidden;
}

.module-source-note {
  color: #9a3412;
  border-left: 3px solid var(--brand);
  background: #fff7ed;
  border-radius: 5px;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 17px;
  font-size: 12px;
  display: flex;
}

.module-source-note span {
  color: #7c2d12;
}

.dark-mode {
  --page: #0b1220;
  --surface: #121b2c;
  --ink: #e5edf8;
  --muted: #94a3b8;
  --line: #26344a;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

.dark-mode .topbar {
  background: #121b2c;
}

.dark-mode .search-wrap {
  background: #0d1626;
  border-color: #26344a;
}

.dark-mode .metric-card {
  background: #121b2c;
}

.dark-mode th {
  background: #172235;
}

.dark-mode .account-name {
  color: #e5edf8;
}

@media (max-width: 1450px) {
  .csm-metric-grid {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .metric-card {
    min-height: 145px;
  }

  .dashboard-lower-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 1050px) {
  .dashboard-chart-grid {
    grid-template-columns: 1fr;
  }

  .module-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-coverage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell, .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    position: relative;
  }

  .collapse-button {
    display: none;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 260px;
  }

  .sidebar-collapsed .nav a span {
    display: inline;
  }

  .topbar {
    padding: 0 16px;
  }

  .global-search {
    width: calc(100% - 86px);
  }

  .csm-metric-grid, .dashboard-lower-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-card {
    padding: 18px;
  }

  .donut-content {
    grid-template-columns: 1fr;
  }

  .chart-legend {
    padding-bottom: 12px;
  }

  .module-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .module-toolbar form {
    width: 100%;
  }

  .module-table-card {
    padding: 0;
  }

  .module-source-note {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .csm-metric-grid, .dashboard-lower-grid, .nav {
    grid-template-columns: 1fr;
  }
}

@container (max-width: 430px) {
  .donut-content {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
  }

  .donut-chart {
    max-width: 240px;
    height: 180px;
    margin: 0 auto;
  }

  .chart-legend {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .chart-heading {
    align-items: flex-start;
  }
}

@container (max-width: 390px) {
  .chart-heading {
    flex-direction: column;
    gap: 4px;
  }

  .dashboard-card {
    padding: 20px;
  }

  .donut-chart {
    max-width: 210px;
    height: 165px;
  }

  .trend-chart {
    height: 160px;
  }
}

.input, .select {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

textarea {
  font: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.button.secondary, .topbar {
  background: var(--surface);
}

th {
  color: var(--muted);
}

.search-wrap .search {
  color: var(--ink);
}

.top-actions button {
  color: var(--muted);
  min-width: 32px;
  min-height: 32px;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.form-actions, .account-search, .pagination, .pagination > div {
  align-items: center;
  gap: 12px;
  display: flex;
}

.account-search {
  margin-bottom: 16px;
}

.account-search .input {
  max-width: 380px;
}

.pagination {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 12px;
}

.sort-link {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  display: flex;
}

.sort-link svg {
  flex-shrink: 0;
}

th[aria-sort="ascending"], th[aria-sort="descending"] {
  color: var(--brand);
}

.inline-select-wrap {
  gap: 5px;
  width: max-content;
  min-width: 0;
  display: inline-grid;
  position: relative;
}

.inline-select-wrap:after {
  content: "";
  pointer-events: none;
  color: #334155;
  border-bottom: 2px solid;
  border-right: 2px solid;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 16px;
  right: 12px;
  transform: translateY(-50%)rotate(45deg);
}

.inline-select-wrap.ryg-tone-green:after, .inline-select-wrap.ryg-tone-assumed-green:after, .inline-select-wrap.ryg-tone-red:after, .inline-select-wrap.ryg-tone-assumed-red:after {
  color: #fff;
}

.inline-select-wrap.ryg-tone-yellow:after, .inline-select-wrap.ryg-tone-assumed-yellow:after {
  color: #111827;
}

.inline-select {
  appearance: none;
  color: #334155;
  background: #e2e8f0;
  border-color: #cbd5e1;
  border-radius: 999px;
  width: auto;
  min-width: 138px;
  min-height: 32px;
  padding: 6px 26px 6px 10px;
  font-size: 10px;
  font-weight: 800;
}

.inline-select.ryg-tone-green, .inline-select.ryg-tone-assumed-green {
  color: #fff;
  background: #63be7b;
  border-color: #63be7b;
}

.inline-select.ryg-tone-yellow {
  color: #111827;
  background: #ff0;
  border-color: #eab308;
}

.inline-select.ryg-tone-assumed-yellow {
  color: #111827;
  background: #ffeb84;
  border-color: #facc15;
}

.inline-select.ryg-tone-red {
  color: #fff;
  background: red;
  border-color: red;
}

.inline-select.ryg-tone-assumed-red {
  color: #fff;
  background: #f86936;
  border-color: #f86936;
}

.inline-select option {
  color: #111827;
  background: #fff;
}

.inline-select option.ryg-option-green, .inline-select option.ryg-option-assumed-green {
  color: #fff;
  background: #63be7b;
}

.inline-select option.ryg-option-yellow {
  color: #111827;
  background: #ff0;
}

.inline-select option.ryg-option-assumed-yellow {
  color: #111827;
  background: #ffeb84;
}

.inline-select option.ryg-option-red {
  color: #fff;
  background: red;
}

.inline-select option.ryg-option-assumed-red {
  color: #fff;
  background: #f86936;
}

.inline-select option.ryg-option-unset {
  color: #334155;
  background: #e2e8f0;
}

.inline-select:disabled {
  opacity: .65;
  cursor: wait;
}

.inline-error {
  color: #b91c1c;
  max-width: 180px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.notifications {
  position: relative;
}

.notification-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  width: min(390px, 100vw - 32px);
  color: var(--ink);
  border-radius: 14px;
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 18px 45px #0003;
}

.notification-heading {
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 0;
  display: flex;
}

.notification-heading h2 {
  margin: 0;
  font-size: 17px;
}

.notification-caption {
  color: var(--muted);
  padding: 0 16px;
  font-size: 11px;
}

.notification-list {
  max-height: min(440px, 60vh);
  overflow-y: auto;
}

.notification-list a {
  border-top: 1px solid var(--line);
  gap: 5px;
  padding: 14px 16px;
  font-size: 12px;
  display: grid;
}

.notification-list a.unread {
  background: color-mix(in srgb, var(--brand), transparent 92%);
  border-left: 3px solid var(--brand);
}

.notification-list a:hover {
  background: color-mix(in srgb, var(--brand), transparent 85%);
}

.notification-list span, .notification-list small {
  color: var(--muted);
}

.top-actions .notification-mark {
  color: var(--brand);
  padding: 8px 16px;
  font-size: 12px;
}

.notification-mark:disabled {
  opacity: .5;
  cursor: default;
}

.dark-mode tbody tr:hover {
  background: #1d2b40;
}

.dark-mode .badge {
  color: #dbe6f5;
  background: #28384f;
}

.dark-mode .source-pill.connected, .dark-mode .success {
  color: #6ee7b7;
  background: #123d33;
}

.dark-mode .source-pill {
  color: #fcd34d;
  background: #45351a;
}

.dark-mode .error {
  color: #fda4af;
  background: #481f2c;
}

.dark-mode .code-note, .dark-mode .module-source-note {
  color: #fdba74;
  background: #36291e;
}

.dark-mode .module-source-note span {
  color: #fed7aa;
}

.dark-mode .coverage-bars > div > div {
  background: #26344a;
}

.dark-mode .metric-card.green, .dark-mode .metric-card.assumed-green, .dark-mode .metric-card.mint {
  background: #102e2b;
  border-color: #1f5f52;
}

.dark-mode .metric-card.yellow, .dark-mode .metric-card.assumed-yellow {
  background: #302b1d;
  border-color: #66551b;
}

.dark-mode .metric-card.red, .dark-mode .metric-card.assumed-red {
  background: #32202c;
  border-color: #743044;
}

.dark-mode .metric-card.purple {
  background: #27233d;
}

.dark-mode .metric-card.blue {
  background: #192b43;
}

.dark-mode .recharts-cartesian-axis-tick text {
  fill: var(--muted);
}

.recharts-default-tooltip {
  border-radius: 8px;
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

@media (max-width: 760px) {
  .page-header, .pagination > div {
    flex-wrap: wrap;
  }
}

.dark-mode .auth-panel {
  background: var(--surface);
  color: var(--ink);
}

.brand-name {
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}

.testimonials-page {
  max-width: 1600px;
}

.testimonials-page .page-header {
  margin-bottom: 32px;
}

.testimonials-page .page-header h1 {
  font-size: 34px;
}

.testimonial-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  display: grid;
}

.testimonial-summary a {
  align-items: center;
  gap: 12px;
  padding: 18px;
  display: flex;
}

.testimonial-summary strong {
  font-size: 25px;
}

.testimonial-summary span {
  color: var(--muted);
  font-size: 12px;
}

.testimonial-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  display: flex;
}

.testimonial-filters .input {
  max-width: 390px;
}

.testimonial-filters .select {
  width: auto;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  display: grid;
}

.testimonial-card {
  overflow-wrap: anywhere;
  flex-direction: column;
  min-height: 310px;
  padding: 26px;
  display: flex;
}

.testimonial-card-top {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.testimonial-stars {
  color: #f59e0b;
  gap: 2px;
  display: flex;
}

.testimonial-stars .unfilled {
  color: var(--line);
}

.testimonial-card blockquote {
  white-space: pre-wrap;
  margin: 26px 0 32px;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card footer {
  gap: 6px;
  margin-top: auto;
  display: grid;
}

.testimonial-card footer strong {
  font-size: 16px;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 14px;
}

.testimonial-card footer small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 10px;
}

.testimonial-request-copy {
  margin: 24px 0;
}

.testimonial-request-copy h3 {
  font-size: 16px;
}

.testimonial-request-copy p {
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.7;
}

.testimonial-hint {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.testimonial-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  display: flex;
}

.testimonial-actions:empty {
  display: none;
}

.testimonial-actions .button {
  font-size: 12px;
}

.testimonial-consent {
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  display: flex;
}

.testimonial-consent input {
  margin-top: 4px;
}

.testimonial-modal-backdrop {
  z-index: 50;
  background: #02061799;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.testimonial-modal {
  width: min(660px, 100%);
  max-height: 90vh;
  padding: 28px;
  overflow-y: auto;
}

.testimonial-modal h2 {
  margin: 0;
  font-size: 22px;
}

.testimonial-modal .chart-heading {
  align-items: center;
}

.testimonial-modal > p {
  font-size: 13px;
  line-height: 1.6;
}

.testimonial-reply {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.testimonial-card .error {
  margin-top: 12px;
}

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

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

  .testimonial-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-modal-backdrop {
    padding: 12px;
  }

  .testimonial-modal {
    padding: 18px;
  }

  .testimonial-summary a {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-filters .input {
    max-width: none;
  }
}

.testimonial-modal {
  color: var(--ink);
  border: 1px solid var(--line);
}

.testimonial-modal::backdrop {
  background: #02061799;
}

.customer-fields-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.custom-fields-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  display: flex;
}

.custom-fields-heading h2 {
  flex: 1;
  margin: 0;
}

.custom-field-list {
  gap: 14px;
  display: grid;
}

.custom-field-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  grid-template-columns: 1fr 150px 1.3fr auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.customer-create-form > p, .customer-create-form section > p {
  font-size: 13px;
}

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

  .custom-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .customer-fields-grid, .custom-field-row {
    grid-template-columns: 1fr;
  }

  .custom-field-row > button {
    justify-self: end;
  }
}

.notification-item {
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) 40px;
  display: grid;
}

.notification-item.unread {
  background: color-mix(in srgb,var(--brand),transparent 92%);
  border-left: 3px solid var(--brand);
}

.notification-item:hover {
  background: color-mix(in srgb,var(--brand),transparent 85%);
}

.notification-list .notification-item > a {
  overflow-wrap: anywhere;
  background: none;
  border: 0;
  min-width: 0;
}

.top-actions .notification-dismiss {
  border-radius: 6px;
  align-self: start;
  margin: 8px 6px 0 0;
}

.top-actions .notification-dismiss:hover {
  color: var(--ink);
  background: color-mix(in srgb,var(--muted),transparent 85%);
}

.customer-dashboard .page-header {
  margin-bottom: 26px;
}

.customer-header-actions {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.customer-header-actions .form {
  min-width: 320px;
  margin-top: 10px;
}

.customer-self-testimonial, .customer-profile-image {
  flex-direction: column;
  display: flex;
}

.customer-brand-image {
  object-fit: contain;
  width: 150px;
  height: 54px;
}

.customer-brand-fallback {
  background: var(--brand);
  color: #fff;
  border-radius: 14px;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 19px;
  font-weight: 800;
  display: inline-grid;
}

.customer-avatar-image {
  object-fit: cover;
}

.customer-avatar-fallback {
  display: grid;
}

.customer-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
  display: grid;
}

.customer-metric {
  min-height: 190px;
  padding: 24px 26px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  display: block;
}

.customer-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #0f172a18;
}

.customer-metric > div {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.customer-metric svg {
  color: #26c6b5;
  background: #26c6b51a;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 9px;
}

.customer-metric strong {
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 22px 0 8px;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.15;
  display: block;
}

.customer-metric small {
  color: var(--muted);
  font-size: 13px;
}

.customer-dashboard-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
  display: grid;
}

.customer-team {
  background: color-mix(in srgb,var(--muted),transparent 94%);
  border-radius: 10px;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  display: flex;
}

.customer-team strong {
  font-weight: 700;
}

.customer-team p {
  color: var(--muted);
  margin: 4px 0;
  font-size: 13px;
}

.customer-team a {
  color: var(--brand);
  font-size: 12px;
}

.customer-quick-actions {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  display: grid;
}

.customer-quick-actions .button {
  white-space: normal;
  min-height: 46px;
  font-weight: 650;
}

.customer-testimonial-callout {
  align-items: center;
  gap: 16px;
  display: flex;
}

.customer-testimonial-callout > svg {
  color: #f59e0b;
  flex: none;
}

.customer-testimonial-callout h2 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 700;
}

.customer-testimonial-callout p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.customer-testimonial-callout .button {
  white-space: nowrap;
  margin-left: auto;
}

.customer-recent {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  display: flex;
}

.customer-recent strong {
  font-weight: 650;
}

.customer-record-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
  display: grid;
}

.customer-record-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.customer-record-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.customer-prose {
  white-space: pre-wrap;
  color: var(--ink);
  line-height: 1.7;
}

.customer-record-meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  font-size: 12px;
  display: flex;
}

.customer-team-reply {
  border-left: 3px solid var(--brand);
  margin: 16px 0;
  padding-left: 14px;
}

.customer-team-reply strong {
  color: var(--brand);
  font-size: 12px;
}

.customer-action-form {
  max-width: 700px;
  margin: 20px 0;
}

.customer-module-search {
  gap: 10px;
  max-width: 620px;
  margin: 24px 0 12px;
  display: flex;
}

.customer-module-search .input {
  flex: 1;
}

.customer-pagination {
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
  display: flex;
}

.customer-action-form small {
  color: var(--muted);
  font-size: 12px;
}

.customer-action-form .error {
  color: #b91c1c;
}

.customer-dashboard .section > h2 {
  margin-top: 0;
}

@media (max-width: 850px) {
  .customer-metric-grid, .customer-dashboard-grid, .customer-record-grid {
    grid-template-columns: 1fr;
  }

  .customer-testimonial-callout {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .customer-testimonial-callout .button {
    margin-left: 0;
  }

  .customer-quick-actions {
    grid-template-columns: 1fr;
  }
}

.customer-quick-actions .button {
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
}

.customer-quick-actions svg {
  color: var(--brand);
  flex: none;
}

.customer-profile-preview {
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  width: 112px;
  height: 112px;
  margin-bottom: 4px;
  display: block;
}

.customer-profile-image .button.secondary {
  width: max-content;
}

.customer-profile-preview-wrap {
  width: max-content;
  position: relative;
}

.image-remove-button {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 28px;
  height: 28px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 3px 10px #0f172a22;
}

.image-remove-button:hover {
  color: #b91c1c;
  border-color: #fca5a5;
}

.image-remove-button:disabled {
  opacity: .55;
  cursor: wait;
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/