
:root {
  --bg:         #0f0f0f;
  --surface:    #1c1c1e;
  --surface-2:  #2c2c2e;
  --surface-3:  #3a3a3c;
  --border:     rgba(255,255,255,0.09);
  --text:       #ffffff;
  --text-muted: #8e8e93;
  --text-faint: #48484a;
  --accent:     #0a84ff;
  --success:    #30d158;
  --danger:     #ff453a;
  --warning:    #ffd60a;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --header-h:   54px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* --- Утилиты --- */
.d-none  { display: none  !important; }
.d-flex  { display: flex  !important; }
.d-block { display: block !important; }

.animate-fade-in { animation: fadeIn 0.35s cubic-bezier(0.16,1,0.3,1); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   ЛОГИН
   ================================================ */
#login-screen {
  background: radial-gradient(ellipse at 50% 0%, rgba(10,132,255,0.12) 0%, transparent 70%), var(--bg);
  padding: 24px;
}
.login-box {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-icon-wrap {
  width: 76px; height: 76px;
  background: linear-gradient(145deg, #0a84ff 0%, #5e5ce6 100%);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(10,132,255,0.35);
}
.login-app-icon { font-size: 34px; color: #fff; }
.login-app-name { font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.3px; }
.login-subtitle  { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.input-wrap-icon { position: relative; width: 100%; margin-bottom: 10px; }
.field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 15px; pointer-events: none;
}

.dark-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 16px;
  padding: 13px 14px 13px 40px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.18s;
  color-scheme: dark;
}
.dark-input:focus       { border-color: var(--accent); }
.dark-input::placeholder { color: var(--text-faint); }

.login-error {
  width: 100%; color: var(--danger);
  font-size: 13px; text-align: center; margin: 4px 0 10px;
}
.btn-login {
  width: 100%; background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 600; padding: 15px;
  cursor: pointer; margin-top: 6px; transition: opacity 0.18s;
}
.btn-login:active { opacity: 0.75; }

/* ================================================
   ШАПКА
   ================================================ */
.app-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 200;
}
.app-header-left { display: flex; align-items: center; gap: 9px; }
.header-logo  { font-size: 20px; color: var(--accent); }
.header-title { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.header-btn {
  width: 36px; height: 36px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: color 0.18s, background 0.18s;
}
.header-btn:active { background: var(--surface-3); color: var(--danger); }

/* ================================================
   КОНТЕНТ
   ================================================ */
.app-main {
  padding-top: calc(var(--header-h) + 14px);
  padding-inline: 12px; padding-bottom: 36px;
  max-width: 640px; margin: 0 auto;
}

/* ================================================
   ФИЛЬТРЫ И ДАТА
   ================================================ */
.filters-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px; margin-bottom: 12px;
}

.filter-layout {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-col  { display: flex; flex-direction: column; gap: 5px; }
.filter-label {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.6px;
}

.dark-select {
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6'%3E%3Cpath d='M0 0l5.5 6L11 0z' fill='%238e8e93'/%3E%3C/svg%3E")
    no-repeat right 11px center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px; padding: 10px 28px 10px 11px;
  outline: none; cursor: pointer; -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 44px; transition: border-color 0.18s;
}
.dark-select:focus { border-color: var(--accent); }
.dark-select option { background: var(--surface-2); }

#partnerDropdownBtn {
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6'%3E%3Cpath d='M0 0l5.5 6L11 0z' fill='%238e8e93'/%3E%3C/svg%3E")
    no-repeat right 11px center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px; padding: 10px 28px 10px 11px;
  outline: none; cursor: pointer; width: 100%; min-height: 44px;
  text-align: left; transition: border-color 0.18s;
}
#partnerDropdownBtn:focus,
#partnerDropdownBtn[aria-expanded="true"] { border-color: var(--accent); }

.svc-dropdown {
  background: var(--surface-2) !important; border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.55) !important;
  width: 100%; max-height: 340px; overflow: hidden;
}
.svc-search { padding-left: 11px !important; }
.svc-list   { max-height: 230px; overflow-y: auto; }

.svc-dropdown .dropdown-item {
  color: var(--text) !important; background: transparent !important;
  font-size: 14px; padding: 10px 12px; border-radius: 8px;
  border-bottom: 1px solid var(--border) !important;
  cursor: pointer; white-space: normal; transition: background 0.15s;
}
.svc-dropdown .dropdown-item:last-child { border-bottom: none !important; }
.svc-dropdown .dropdown-item:hover,
.svc-dropdown .dropdown-item:focus { background: var(--surface-3) !important; color: var(--text) !important; }
.svc-dropdown .text-muted { color: var(--text-muted) !important; }

/* Вкладки периодов */
.period-row { margin-bottom: 0px; }
.period-tabs {
  display: flex; background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 3px; gap: 2px;
}
.period-tab {
  flex: 1; text-align: center; padding: 6px 4px;
  min-height: 44px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); cursor: pointer; user-select: none;
  transition: background 0.2s, color 0.2s;
}
.btn-check:checked + .period-tab {
  background: var(--surface-3); color: var(--text);
  font-weight: 700; box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* Скрытый инпут календаря поверх вкладки День */
.invisible-date-input {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  -webkit-appearance: none;
}

/* ================================================
   ЗАГОЛОВОК ОТЧЁТА
   ================================================ */
.report-header-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.report-title-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}

/* ================================================
   KPI
   ================================================ */
.kpi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 12px;
}
.kpi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 14px;
}
.kpi-wide {
  grid-column: 1 / -1; display: flex;
  justify-content: space-between; align-items: center;
}
.kpi-label {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px;
}
.kpi-wide .kpi-label { margin-bottom: 0; }
.kpi-value { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.kpi-blue  { color: var(--accent); }
.kpi-green { color: var(--success); }
.kpi-danger { color: var(--danger); }
.kpi-white { color: var(--text); }

/* ================================================
   ДЕСКТОП
   ================================================ */
@media (min-width: 600px) {
  .app-main { padding-inline: 20px; }
  .kpi-value { font-size: 30px; }
}
@media (min-width: 768px) {
  .kpi-grid { grid-template-columns: 1fr 1fr 1fr; }
  .kpi-wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .kpi-wide .kpi-label { margin-bottom: 6px; }
}

.invisible-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: transparent;
  cursor: pointer;
}


/* ================================================
   ТРЕНДЫ (Стрелочки и проценты)
   ================================================ */
.kpi-trend {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trend-val {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.trend-up {
  color: var(--success); /* Зеленый */
}
.trend-down {
  color: var(--danger); /* Красный */
}
.trend-sub {
  font-size: 11px;
  color: var(--text-muted);
}


/* ================================================
   ДИАГРАММА "СТРУКТУРА ПОСТУПЛЕНИЙ"
   ================================================ */
.legend-item {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
  line-height: 1.3;
}
.legend-dot {
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  margin-right: 10px; 
  margin-top: 3px; 
  flex-shrink: 0;
}


.btn-nav {
  flex: 1;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-nav.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
}

/* ================================================
   КАРТОЧКИ ДЕБИТОРСКОЙ ЗАДОЛЖЕННОСТИ
   ================================================ */
.debt-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.badge-ok { background: rgba(48, 209, 88, 0.15); color: var(--success); }
.badge-risk { background: rgba(255, 214, 10, 0.15); color: var(--warning); }
.badge-critical { background: rgba(255, 69, 58, 0.15); color: var(--danger); }

.debt-legend-text {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
}
.debt-bar-wrap {
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
}


/* Кнопка-переключатель истории внизу карточки */
/* ================================================
   ТРЕНДЫ ПО СЕГМЕНТАМ (РАСКРЫВАЮЩИЙСЯ СПИСОК)
   ================================================ */
.btn-history-toggle {
  width: 100%; background: transparent; border: none;
  border-top: 1px solid var(--border); color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 10px 0 4px;
  margin-top: 12px; cursor: pointer; transition: color 0.2s;
  display: flex; justify-content: center; align-items: center;
}
.btn-history-toggle:hover { color: var(--text); }
.btn-history-toggle[aria-expanded="true"] { color: var(--accent); }

/* Сетка мини-графиков */
.sparklines-grid {
  display: flex; 
  justify-content: space-between; 
  gap: 6px; 
  margin-top: 8px;
}
.sparkline-item {
  flex: 1; background: var(--surface-3); border-radius: 8px;
  padding: 8px 4px; text-align: center; display: flex;
  flex-direction: column; align-items: center; justify-content: space-between;
}
.spark-label {
  font-size: 10px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600;
}
.spark-val {
  font-size: 11px; font-weight: 700; color: #fff; margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}


/* --- Нижняя навигация --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(60px + env(safe-area-inset-bottom));
  background: rgba(28, 28, 30, 0.94); /* var(--surface) с прозрачностью */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1000;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 25%;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-item i {
  font-size: 20px;
}

.nav-item span {
  font-size: 10px;
  font-weight: 500;
}

.nav-item.active {
  color: var(--accent);
}

/* Обновляем отступы в main, чтобы нижняя панель не закрывала контент */
.app-main {
  padding-top: calc(var(--header-h) + 14px);
  padding-inline: 12px;
  padding-bottom: calc(80px + env(safe-area-inset-bottom)); /* Увеличен отступ снизу */
  max-width: 640px;
  margin: 0 auto;
}


/* ================================================
   ШТОРКА ВЫБОРА НЕДЕЛИ (BOTTOM SHEET)
   ================================================ */
.dark-offcanvas {
  background-color: var(--surface);
  color: var(--text);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  height: auto;
  max-height: 75vh; /* Чтобы не перекрывала весь экран */
}

.week-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.week-item:active {
  background: var(--surface-3);
}

.week-item.selected {
  border-color: var(--accent);
  background: rgba(10, 132, 255, 0.1);
}

.week-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.week-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.week-item-dates {
  font-size: 12px;
  color: var(--text-muted);
}

.week-item-icon {
  color: var(--accent);
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.2s;
}

.week-item.selected .week-item-icon {
  opacity: 1;
}


/* Переключатель интервалов внутри карточки */
.history-selector {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две одинаковые колонки */
  gap: 6px; /* Отступы между кнопками */
  margin-bottom: 12px;
}

.hist-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 8px;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.2;
}

.hist-btn.active {
  background: rgba(10, 132, 255, 0.1); /* Легкий синий фон */
  border-color: var(--accent);
  color: var(--accent);
}

/* Контейнер для кривой (SVG график) */
.curve-wrapper {
  width: 100%;
  height: 100px;
  margin: 15px 0;
  position: relative;
}
.curve-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.curve-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  transition: d 0.3s ease; /* Анимация изменения кривой */
}
.curve-dot {
  transition: cy 0.3s ease, cx 0.3s ease;
}



/* Всплывающая подсказка над графиком */
.curve-tooltip {
  position: absolute;
  background: var(--surface-3);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none; /* Чтобы не перехватывала клики */
  transform: translate(-50%, -100%); /* Центрируем по X и поднимаем над точкой по Y */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, top 0.2s, left 0.2s;
}

.curve-tooltip.show {
  opacity: 1;
}

/* Стиль для кнопки сравнения (вторая выбранная кривая) */
.hist-btn.active-sub {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}


/* Обновляем стили кнопок истории для галочек */
.hist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hist-btn .check-icon {
  font-size: 13px;
  display: none; /* Скрыто по умолчанию */
}

/* Уникальные цвета для каждого выбранного интервала */
.hist-btn.active-current { border-color: var(--accent); color: var(--accent); background: rgba(10, 132, 255, 0.1); }
.hist-btn.active-t1 { border-color: #bf5af2; color: #bf5af2; background: rgba(191, 90, 242, 0.12); }
.hist-btn.active-t2 { border-color: #ff375f; color: #ff375f; background: rgba(255, 55, 95, 0.12); }
.hist-btn.active-t3 { border-color: #ffd60a; color: #ffd60a; background: rgba(255, 214, 10, 0.12); }
.hist-btn.active-t4 { border-color: #30d158; color: #30d158; background: rgba(48, 209, 88, 0.12); }

/* Показываем галочку у активных кнопок */
.hist-btn.active .check-icon,
.hist-btn.active-sub .check-icon {
  display: inline-block;
}

/* Яркий фиолетовый цвет для кнопки "Сравнение" */
.hist-btn.active-sub {
  background: rgba(191, 90, 242, 0.12);
  border-color: #bf5af2;
  color: #bf5af2;
}


/* ================================================
   ПЕРЕКЛЮЧАТЕЛЬ И ГРАФИК ДИНАМИКИ
   ================================================ */
.chart-toggle-group {
  display: flex;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 3px;
}
.chart-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chart-toggle-btn.active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.dash-line-tooltip {
  position: absolute;
  background: var(--surface-3);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  transform: translate(-50%, -100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, top 0.2s, left 0.2s;
}
.dash-line-tooltip.show {
  opacity: 1;
}


/* ================================================
   СЕЛЕКТОР МЕТРИКИ В ГРАФИКЕ
   ================================================ */
.metric-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
}
.metric-selector::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.metric-btn {
  white-space: nowrap;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.metric-btn.active {
  background: rgba(10, 132, 255, 0.1); /* Акцентный полупрозрачный фон */
  border-color: var(--accent);
  color: var(--accent);
}


/* ================================================
   ВКЛАДКА: ОСТАТКИ (ПОЛОЖИТЕЛЬНЫЕ БАЛАНСЫ)
   ================================================ */
.kpi-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 400px) {
  .kpi-grid-3 .kpi-value { font-size: 16px; }
  .kpi-grid-3 .kpi-card { padding: 12px 10px; }
}

/* Цветные левые рамки для карточек, как на дизайне */
.kpi-border-blue { border-left: 3px solid var(--accent) !important; border-radius: 8px; }
.kpi-border-red { border-left: 3px solid var(--danger) !important; border-radius: 8px; }
.kpi-border-yellow { border-left: 3px solid var(--warning) !important; border-radius: 8px; }

/* Легенда в стиле приложения */
.legend-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.legend-row::-webkit-scrollbar { display: none; }

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.legend-pill:active { background: var(--surface-3); }
.legend-pill.dimmed { opacity: 0.3; }

.legend-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.swatch-dashed { background: transparent !important; border: 1.5px dashed currentColor; }
.swatch-band { background: rgba(255, 69, 58, 0.15) !important; border: 1px solid rgba(255, 69, 58, 0.5); }

/* Инсайты */
.insight-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
.insight-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-danger { background: var(--danger); box-shadow: 0 0 6px rgba(255, 69, 58, 0.6); }
.dot-warning { background: var(--warning); box-shadow: 0 0 6px rgba(255, 214, 10, 0.6); }
.dot-accent { background: var(--accent); box-shadow: 0 0 6px rgba(10, 132, 255, 0.6); }

.insight-text { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.insight-text b { font-weight: 600; }
