/* Кабинет руководителя /leader — фон как в admin-cabinet, мобильная вёрстка */

body.lc-page {
  /* admin-cabinet.css даёт padding-bottom под нижнее меню — здесь его нет */
  padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

.lc-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.lc-auth-card h1 {
  font-size: clamp(18px, 5vw, 22px);
  line-height: 1.25;
}

.lc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-header-card .profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lc-profile-text {
  min-width: 0;
  flex: 1;
}

.lc-profile-text .profile-name {
  word-break: break-word;
  line-height: 1.3;
}

.lc-logout-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.lc-tabs,
.lc-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 4px 0 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 70%, rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lc-tabs .ac-filter-btn,
.lc-modes .ac-filter-btn {
  flex: 1 1 auto;
  min-height: 42px;
  touch-action: manipulation;
  animation: lc-tab-breathe 2.2s ease-in-out infinite;
}

.lc-tabs .ac-filter-btn.active,
.lc-modes .ac-filter-btn.active {
  animation: lc-tab-breathe-active 2s ease-in-out infinite;
}

.lc-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.lc-stat {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.lc-stat b {
  display: block;
  font-size: clamp(16px, 4.5vw, 18px);
  color: #0f172a;
  margin-bottom: 2px;
}

.lc-stat span {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

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

.lc-service {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
}

.lc-service strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: #0f172a;
}

.lc-service div {
  font-size: 12px;
  color: #475569;
}

.lc-reports {
  max-height: none;
}

.lc-reports .ac-stat-msg {
  background: rgba(255, 255, 255, 0.95);
}

.lc-reports .ac-stat-text {
  font-size: 13px;
  line-height: 1.45;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Тепловые карты: удобный скролл на телефоне */
body.lc-page .ac-heat-scroll {
  margin: 0 -4px;
  padding: 0 4px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

body.lc-page .ac-heat-block {
  background: rgba(255, 255, 255, 0.92);
}

body.lc-page .ac-heat-search,
body.lc-page #leaderLoginInput,
body.lc-page #leaderPasswordInput {
  font-size: 16px; /* без автозума iOS */
  min-height: 46px;
}

body.lc-page .btn,
body.lc-page .btn-outline {
  min-height: 46px;
  touch-action: manipulation;
}

@media (max-width: 640px) {
  body.lc-page {
    padding: 10px 10px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  body.lc-page .card {
    padding: 14px 12px;
    border-radius: 16px;
    margin-bottom: 10px;
  }

  .lc-header-card .profile {
    flex-wrap: wrap;
  }

  .lc-logout-btn {
    width: 100%;
  }

  .lc-tabs .ac-filter-btn,
  .lc-modes .ac-filter-btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  .lc-soon-badge {
    display: block;
    margin: 4px auto 0;
    width: fit-content;
  }

  .lc-tab-pulse {
    top: 4px;
    right: 6px;
  }

  .lc-summary-grid,
  .lc-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.lc-page .ac-heat-row {
    min-width: 520px;
  }

  body.lc-page .ac-heat-cells {
    grid-template-columns: repeat(24, minmax(16px, 1fr));
  }

  /* 24 часа + Σ в одной строке (иначе итог переносится) */
  body.lc-page .ac-heat-cells.ac-heat-cells--tt {
    grid-template-columns: repeat(24, minmax(16px, 1fr)) 32px;
  }

  body.lc-page .ac-heat-tt-row {
    min-width: 560px;
    grid-template-columns: 72px 1fr;
  }

  body.lc-page .ac-heat-cell--sum,
  body.lc-page .ac-heat-hour--sum {
    position: sticky;
    right: 0;
    z-index: 1;
    box-shadow: -4px 0 6px rgba(15, 23, 42, 0.06);
  }

  body.lc-page .ac-heat-hour--sum {
    background: #f8fafc;
  }

  body.lc-page .ac-heat-cell {
    min-height: 28px;
    font-size: 9px;
  }

  .lc-reports .ac-stat-text {
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .lc-summary-grid,
  .lc-services {
    grid-template-columns: 1fr 1fr;
  }

  .lc-stat b {
    font-size: 15px;
  }
}

@media (min-width: 641px) {
  body.lc-page {
    padding: 20px 16px 28px;
  }

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

  .lc-tabs,
  .lc-modes {
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }
}

.lc-direction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-direction-pills[hidden] {
  display: none !important;
}

.lc-direction-pill {
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
  touch-action: manipulation;
}

.lc-direction-pill.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.lc-direction-pill--compare {
  border-style: dashed;
}

.lc-direction-pill--compare.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  border-style: solid;
  color: #fff;
}

.lc-leaders-load-btn {
  width: 100%;
  min-height: 44px;
  animation: lc-load-pulse 1.8s ease-in-out infinite;
}

.lc-leaders-load-btn:disabled {
  animation: none;
  opacity: 0.75;
}

.lc-dir-compare-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lc-dir-compare-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.lc-dir-compare-card--me {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.lc-dir-compare-top {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
}

.lc-dir-compare-rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-dir-compare-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.lc-dir-compare-name em {
  font-style: normal;
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
}

.lc-dir-compare-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.lc-dir-compare-bar {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.lc-dir-compare-bar i {
  display: block;
  height: 100%;
  background: #3b82f6;
  border-radius: 999px;
}

.lc-dir-compare-side {
  text-align: right;
}

.lc-dir-compare-side strong {
  display: block;
  font-size: 18px;
  color: #b91c1c;
  font-weight: 800;
}

.lc-dir-compare-side span {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.lc-dir-compare-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}

.lc-dir-compare-svc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.lc-dir-compare-svc div {
  background: #f8fafc;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-dir-compare-svc b {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
}

.lc-dir-compare-svc span {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.lc-dir-compare-svc em {
  font-style: normal;
  font-size: 11px;
  color: #b45309;
  font-weight: 700;
}

.lc-dir-compare-leaders {
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}

.lc-dir-compare-leaders-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.lc-dir-compare-leader {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}

.lc-dir-compare-leader span {
  color: #94a3b8;
  font-weight: 800;
}

.lc-dir-compare-leader b {
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lc-dir-compare-leader em {
  font-style: normal;
  font-weight: 800;
  color: #b91c1c;
}

@media (max-width: 560px) {
  .lc-dir-compare-svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Вкладка «Обращения» */
.lc-tab-complaints {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(99, 102, 241, 0.18)) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  color: #0c4a6e !important;
  font-weight: 800 !important;
}

.lc-tab-complaints.active {
  background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
}

.lc-tab-pulse {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55);
  animation: lc-pulse-dot 1.6s ease-out infinite;
}

.lc-tab-complaints.active .lc-tab-pulse {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
}

.lc-soon-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(244, 63, 94, 0.14);
  color: #be123c;
  vertical-align: middle;
  animation: lc-pulse-badge 2s ease-in-out infinite;
}

.lc-tab-complaints.active .lc-soon-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.lc-appeals-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 12px;
}

.lc-appeals-meta .sub {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.lc-dev-pulse {
  margin: 0;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: #9f1239;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(244, 63, 94, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  animation: lc-dev-pulse 1.8s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes lc-dev-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.25);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
    box-shadow: 0 0 0 6px rgba(244, 63, 94, 0);
  }
}

/* Появление блоков слева / справа */
.lc-enter {
  opacity: 0;
  will-change: transform, opacity;
}

.lc-enter-left {
  transform: translateX(-28px);
}

.lc-enter-right {
  transform: translateX(28px);
}

#leaderCabinetScreen:not([hidden]) .lc-enter-left,
.lc-page .lc-auth-card.lc-enter-left {
  animation: lc-enter-from-left 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#leaderCabinetScreen:not([hidden]) .lc-enter-right {
  animation: lc-enter-from-right 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.ac-stat-subpanel.lc-panel-enter {
  animation: lc-enter-from-right 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ac-stat-subpanel.lc-panel-enter-alt {
  animation: lc-enter-from-left 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#leaderComplaintsPanel.active .lc-appeals-meta {
  animation: lc-enter-from-left 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#leaderComplaintsPanel.active .tabs {
  animation: lc-enter-from-right 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

#leaderComplaintsPanel.active .panel:not([hidden]) {
  animation: lc-enter-from-left 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

/* Скролл: отдельные блоки */
.lc-reveal {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.lc-reveal.lc-reveal-right {
  transform: translateX(28px);
}

.lc-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.lc-reveal.is-visible:nth-child(odd) {
  transition-delay: 0.02s;
}

.lc-reveal.is-visible:nth-child(even) {
  transition-delay: 0.06s;
}

@keyframes lc-enter-from-left {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes lc-enter-from-right {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lc-enter,
  .lc-enter-left,
  .lc-enter-right,
  .lc-dev-pulse,
  .lc-soon-badge,
  .lc-tab-pulse,
  .lc-reveal,
  .lc-tabs .ac-filter-btn,
  .lc-modes .ac-filter-btn,
  .lc-leaders-load-btn,
  .ac-stat-subpanel.lc-panel-enter,
  .ac-stat-subpanel.lc-panel-enter-alt,
  #leaderComplaintsPanel.active .lc-appeals-meta,
  #leaderComplaintsPanel.active .tabs,
  #leaderComplaintsPanel.active .panel:not([hidden]) {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.lc-soon-badge-lg {
  font-size: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(244, 63, 94, 0.16));
  color: #9f1239;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

@keyframes lc-pulse-dot {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

@keyframes lc-tab-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44, 82, 130, 0.18); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(44, 82, 130, 0); transform: scale(1.02); }
}

@keyframes lc-tab-breathe-active {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

@keyframes lc-load-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  50% { transform: scale(1.015); box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
}

@keyframes lc-pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.82; transform: scale(1.04); }
}

.lc-coming-soon {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  padding: 22px 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(224, 242, 254, 0.72));
  text-align: center;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.12);
}

.lc-coming-soon-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.22), transparent 60%);
  pointer-events: none;
  animation: lc-pulse-badge 3s ease-in-out infinite;
}

.lc-coming-soon-icon {
  position: relative;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 10px rgba(14, 165, 233, 0.35));
  animation: lc-pulse-badge 2.4s ease-in-out infinite;
}

.lc-coming-soon h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: clamp(18px, 5vw, 22px);
  color: #0c4a6e;
}

.lc-coming-soon-badge-line {
  position: relative;
  margin: 0 0 12px;
}

.lc-coming-soon-text {
  position: relative;
  margin: 0 auto 14px;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.lc-coming-soon-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  max-width: 280px;
  margin-inline: auto;
}

.lc-coming-soon-list li {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.lc-coming-soon-list li::before {
  content: "✦ ";
  color: #0ea5e9;
}

/* Все курьеры — таблица */
.lc-couriers-panel {
  margin-top: 8px;
}
.lc-couriers-panel[hidden] {
  display: none !important;
}
.ac-heat-wrap[hidden],
.ac-heat-count[hidden] {
  display: none !important;
}
.lc-couriers-intro {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}
.lc-couriers-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.lc-couriers-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.lc-couriers-field select,
.lc-couriers-search {
  width: 100%;
  min-height: 46px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
}
.lc-couriers-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.lc-couriers-table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(70vh, 640px);
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.lc-couriers-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  margin: 0;
  font-size: 13px;
}
.lc-couriers-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
}
.lc-couriers-table th,
.lc-couriers-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}
.lc-couriers-table th {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  white-space: nowrap;
}
.lc-c-num {
  text-align: center !important;
  color: #94a3b8;
  width: 36px;
}
.lc-c-center { text-align: center !important; white-space: nowrap; }
.lc-c-name {
  font-weight: 700;
  color: #0f172a;
  max-width: 180px;
  word-break: break-word;
}
.lc-c-store {
  font-size: 12px;
  color: #475569;
  max-width: 160px;
  word-break: break-word;
}
.lc-c-pct { font-size: 11px; opacity: 0.85; }
.lc-c-failed-low { color: #047857; font-weight: 700; }
.lc-c-failed-mid { color: #c2410c; font-weight: 700; }
.lc-c-failed-high { color: #b91c1c; font-weight: 700; }

@media (min-width: 641px) {
  .lc-couriers-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .lc-couriers-field {
    min-width: 220px;
    flex: 1 1 200px;
  }
  .lc-couriers-search {
    flex: 2 1 240px;
    min-width: 200px;
  }
  .lc-couriers-count {
    flex: 0 0 auto;
    padding-bottom: 12px;
  }
  .lc-c-name { max-width: 280px; }
}

.lc-pool-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lc-pool-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lc-pool-kicker {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lc-pool-updated {
  font-size: 13px;
  color: #64748b;
}
.lc-pool-nowline {
  font-size: 14px;
  color: #0f172a;
}
.lc-pool-nowline b { font-weight: 800; }
.lc-pool-growth {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}
.lc-pool-seed {
  font-size: 11px;
  color: #b45309;
}
.lc-pool-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lc-pool-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: min(100%, 220px);
}
.lc-pool-search {
  width: 220px;
  max-width: 100%;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  background: #fff;
  color: #0f172a;
}
.lc-pool-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.lc-pool-search-count {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}
.lc-pool-scroll {
  overflow: auto;
  max-height: min(70vh, 720px);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.lc-pool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 860px;
}
.lc-pool-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f5f9;
}
.lc-pool-table th,
.lc-pool-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
}
.lc-pool-table th {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
}
.lc-pool-th-sort {
  cursor: pointer;
  user-select: none;
}
.lc-pool-th-sort:hover { color: #0f172a; }
.lc-pool-shop {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #334155;
}
.lc-pool-name {
  white-space: normal;
  min-width: 180px;
  max-width: 260px;
  color: #0f172a;
}
.lc-pool-now {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.lc-pool-now-val { margin-right: 6px; }
.lc-pool-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  vertical-align: middle;
}
.lc-pool-dot--green { background: #22c55e; }
.lc-pool-dot--yellow { background: #eab308; }
.lc-pool-dot--orange { background: #f97316; }
.lc-pool-dot--red { background: #ef4444; }
.lc-pool-delta {
  font-variant-numeric: tabular-nums;
  color: #334155;
}
.lc-pool-qty,
.lc-pool-total {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.lc-page.lc-pool-user .lc-tab-complaints,
.lc-page.lc-pool-user .lc-modes [data-heat-mode="couriers"] {
  display: none !important;
}
.lc-pool-hour,
.lc-pool-now {
  font-variant-numeric: tabular-nums;
}
.lc-pool-arr {
  display: inline-block;
  margin-left: 4px;
  font-weight: 800;
}
.lc-pool-arr--up { color: #dc2626; }
.lc-pool-arr--down { color: #16a34a; }
.lc-pool-arr--flat { color: #94a3b8; }
.lc-pool-late {
  background: #fff7ed;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #9a3412;
}
.lc-pool-table th.lc-pool-th-sort[data-pool-sort="late"] {
  background: #ffedd5;
  color: #9a3412;
}

/* Enter на пароле */
@supports (padding: max(0px)) {
  body.lc-page {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
}

/* === Подсказка и тени для горизонтальной прокрутки таблицы === */
.lc-pool-swipe {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0e7c99;
  background: #eef7fb;
  border: 1px solid #cfe8f2;
  border-radius: 10px;
  padding: 6px 10px;
  margin: 4px 0 8px;
  animation: lcPoolSwipeNudge 1.8s ease-in-out infinite;
}
@keyframes lcPoolSwipeNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .lc-pool-swipe { animation: none; }
}
.lc-pool-scroll {
  box-shadow: inset -16px 0 14px -14px rgba(15, 23, 42, 0.28),
              inset 16px 0 14px -14px rgba(15, 23, 42, 0.18);
}

.lc-pool-table thead th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #f1f5f9;
}
.lc-pool-table th:nth-child(1),
.lc-pool-table td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #ffffff;
  min-width: 54px;
  max-width: 54px;
  box-shadow: 1px 0 0 #e2e8f0;
}
.lc-pool-table th:nth-child(2),
.lc-pool-table td:nth-child(2) {
  position: sticky;
  left: 54px;
  z-index: 4;
  background: #ffffff;
  min-width: 152px;
  max-width: 152px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 3px 0 6px rgba(15, 23, 42, 0.07);
}
.lc-pool-table thead th:nth-child(1),
.lc-pool-table thead th:nth-child(2) {
  z-index: 8;
  background: #f1f5f9;
}
@media (max-width: 640px) {
  .lc-pool-table { font-size: 12px; }
  .lc-pool-table th,
  .lc-pool-table td { padding: 6px 8px; }
  .lc-pool-table th:nth-child(1),
  .lc-pool-table td:nth-child(1) { min-width: 46px; max-width: 46px; }
  .lc-pool-table th:nth-child(2),
  .lc-pool-table td:nth-child(2) { left: 46px; min-width: 128px; max-width: 128px; }
}

/* === Мини-описания служб ЗиЗ (редактирование прямо из кабинета) === */
.lc-pool-table td:nth-child(2),
.lc-pool-table th:nth-child(2) {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.lc-ziz-desc {
  font-size: 11px;
  color: #64748b;
  white-space: normal;
  max-width: 150px;
  line-height: 1.25;
  margin-top: 2px;
}
.lc-ziz-edit {
  margin-left: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  padding: 1px 6px;
  color: #0e7c99;
}
.lc-ziz-edit:hover { background: #eef7fb; border-color: #8fc7dd; }
.lc-ziz-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lc-ziz-modal-box {
  background: #fff;
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.lc-ziz-modal-title { font-weight: 800; margin-bottom: 10px; color: #0f172a; }
.lc-ziz-modal-text {
  width: 100%;
  min-height: 110px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  box-sizing: border-box;
}
.lc-ziz-modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.lc-ziz-modal-status { min-height: 16px; font-size: 12px; color: #64748b; margin-top: 8px; }

/* === Сворачиваемая колонка «Точка/Служба» === */
.lc-name-toggle {
  display: inline-block;
  cursor: pointer;
  color: #0e7c99;
  font-weight: 800;
  margin-right: 4px;
  user-select: none;
}
.lc-pool-table:not(.lc-name-collapsed) .lc-name-toggle { transform: rotate(90deg); }
.lc-pool-table.lc-name-collapsed th:nth-child(2),
.lc-pool-table.lc-name-collapsed td:nth-child(2) {
  min-width: 36px;
  max-width: 36px;
  text-align: center;
}
.lc-name-hint { display: none !important; }
.lc-pool-table.lc-name-collapsed .lc-name-text { display: none; }
.lc-pool-table.lc-name-collapsed .lc-name-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e3f3f9;
  color: #0e7c99;
  margin: 0;
  animation: lcNameTogglePulse 1.6s ease-in-out infinite;
}
@keyframes lcNameTogglePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 124, 153, 0.45); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(14, 124, 153, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lc-pool-table.lc-name-collapsed .lc-name-toggle { animation: none; }
}

/* ==================== Вкладка «Ночной отчёт» ==================== */
.lc-tab-night.active {
  background: linear-gradient(135deg, #23395d, #3d5a80);
  color: #fff;
}

.lc-night-wrap { max-width: none; }

/* Ночные тепловые карты: те же блоки, что в дневной «Статистике» */
.lc-night-modes { margin-top: 12px; }

.lc-night-heat-wrap {
  max-height: 62vh;
  overflow: auto;
}

.lc-night-heat-wrap .ac-heat-block {
  border: 1px solid #dbe7ea;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

@media (max-width: 639px) {
  .lc-night-heat-wrap { max-height: 56vh; }
}

/* Ночной отчёт в списке «📬 Отчёты» — заметная полоса слева */
.lc-night-msg {
  border-left: 4px solid #3d5a80;
  background: linear-gradient(90deg, rgba(61, 90, 128, 0.06), rgba(255, 255, 255, 0));
}

.lc-night-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

@media (min-width: 720px) {
  .lc-night-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.lc-night-table th:nth-child(n + 3),
.lc-night-table td:nth-child(n + 3) {
  text-align: right;
  white-space: nowrap;
}

.lc-night-own td {
  background: rgba(61, 156, 173, 0.12);
}

.lc-night-me {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 9px;
  background: #0e7c99;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.lc-night-dir {
  font-size: 11px;
  color: #8a97a5;
  font-weight: 600;
  margin-top: 2px;
  white-space: normal;
}

.lc-night-dirs { margin: 8px 0 2px; }

@media (max-width: 639px) {
  .lc-night-table th:nth-child(2),
  .lc-night-table td:nth-child(2) { min-width: 150px; max-width: 150px; }
  .lc-night-me { margin-left: 4px; }
}


/* Кнопка «Собрать ночной отчёт» — заметная и пульсирующая (в стиле кабинета) */
.ac-filter-btn.lc-night-build {
  flex: 0 1 auto;
  background: linear-gradient(135deg, #23395d, #3d5a80);
  border-color: rgba(35, 57, 93, 0.42);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: lcNightBuildPulse 2.3s ease-in-out infinite;
}

.ac-filter-btn.lc-night-build:hover,
.ac-filter-btn.lc-night-build:focus-visible {
  background: linear-gradient(135deg, #2b456f, #46709c);
  color: #fff;
  animation-play-state: paused;
  box-shadow: 0 0 0 6px rgba(61, 156, 173, 0.18), 0 8px 18px rgba(35, 57, 93, 0.28);
}

.ac-filter-btn.lc-night-build:disabled {
  animation: none;
  opacity: 0.82;
  cursor: progress;
}

@keyframes lcNightBuildPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(61, 156, 173, 0.55), 0 4px 12px rgba(35, 57, 93, 0.18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(61, 156, 173, 0), 0 7px 18px rgba(35, 57, 93, 0.26);
    transform: scale(1.025);
  }
}

@media (max-width: 640px) {
  .ac-filter-btn.lc-night-build {
    flex: 1 1 100%;
    min-height: 46px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ac-filter-btn.lc-night-build { animation: none; }
}

/* ==========================================================================
   Сервисы по ТТ — таблица в кабинете руководителя
   Режим «📋 Сервисы по ТТ». Логика и разметка — в js/leader-cabinet.js.
   Классы с префиксом lc-svc- ; существующие .lc-service/.lc-services не затронуты.
   ========================================================================== */
.lc-svc-panel { margin-top: 12px; }

.lc-svc-intro {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: #64748b;
}

.lc-svc-host {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-svc-store {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px 2px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.lc-svc-store-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 8px;
}

.lc-svc-store-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.lc-svc-store-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.lc-svc-store-orders { margin-left: auto; }
.lc-svc-store-green { color: #15803d; }
.lc-svc-store-yellow { color: #a16207; }
.lc-svc-store-orange { color: #c2410c; }
.lc-svc-store-red { color: #b91c1c; }

.lc-svc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.lc-svc-dot--green { background: #22c55e; }
.lc-svc-dot--yellow { background: #eab308; }
.lc-svc-dot--orange { background: #f97316; }
.lc-svc-dot--red { background: #ef4444; }

/* Прокрутка таблицы на телефоне — тем же приёмом, что у тепловых карт */
.lc-svc-wrap {
  margin: 0 -4px;
  padding: 0 4px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.lc-svc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.lc-svc-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  color: #475569;
  padding: 6px 8px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.lc-svc-table td {
  padding: 7px 8px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.lc-svc-table tbody tr:last-child td { border-bottom: 0; }

.lc-svc-name-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 160px;
}

.lc-svc-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 800;
}

.lc-svc-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.lc-svc-table th.lc-svc-num,
.lc-svc-table td.lc-svc-num {
  text-align: right;
  white-space: nowrap;
}

.lc-svc-table td.lc-svc-num {
  color: #334155;
  font-weight: 700;
}

.lc-svc-pct {
  white-space: nowrap;
  min-width: 92px;
}

.lc-svc-pv { font-weight: 800; }
.lc-svc-pv--green { color: #15803d; }
.lc-svc-pv--yellow { color: #a16207; }
.lc-svc-pv--orange { color: #c2410c; }
.lc-svc-pv--red { color: #b91c1c; }

.lc-svc-pct .lc-svc-dot { margin-left: 5px; }

.lc-svc-mini {
  display: block;
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.lc-svc-mini-i { display: block; height: 100%; border-radius: 999px; }
.lc-svc-mini--green { background: #22c55e; }
.lc-svc-mini--yellow { background: #eab308; }
.lc-svc-mini--orange { background: #f97316; }
.lc-svc-mini--red { background: #ef4444; }

.lc-svc-ratio-cell { white-space: nowrap; }

.lc-svc-ratio {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}
.lc-svc-ratio--bad { background: #fef2f2; color: #b91c1c; }
.lc-svc-ratio--good { background: #f0fdf4; color: #15803d; }

.lc-svc-dash { color: #cbd5e1; font-weight: 700; }

.lc-svc-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.lc-svc-worst { background: #fff5f5; }
.lc-svc-small { opacity: 0.62; }

.lc-svc-table tfoot td {
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 0;
}

@media (max-width: 640px) {
  .lc-svc-panel { margin-top: 10px; }
  .lc-svc-intro { font-size: 11.5px; }
  .lc-svc-store { padding: 9px 10px 1px; border-radius: 13px; }
  .lc-svc-store-name { font-size: 13px; }
  .lc-svc-store-orders { margin-left: 0; }
  .lc-svc-table { min-width: 520px; }
  .lc-svc-table .lc-svc-share { display: none; }
  .lc-svc-table td { padding: 8px; }
  .lc-svc-name-cell { min-width: 150px; }
}

/* Новый режим не имеет смысла в пуле 65 ТТ (там нет заказов по службам) */
.lc-page.lc-pool-user .lc-modes [data-heat-mode="servicesTable"] { display: none !important; }

/* ==========================================================================
   Цветные вкладки кабинета руководителя — вариант B «Насыщенный»
   Каждая из шести вкладок залита своим цветом постоянно; активная приподнята
   и обведена кольцом своего цвета.

   Особенности реализации:
   - цвета привязаны к уже существующим атрибутам data-stat-tab, поэтому
     разметку менять НЕ нужно;
   - затрагивается только строка вкладок (.lc-tabs). Второй ряд «режимы»
     (.lc-modes) и вкладки внутри «Обращений» (.tabs/.tab-btn) не тронуты;
   - НЕ используется opacity: полупрозрачная заливка композитится с белым фоном
     и светлеет, из-за чего белый текст перестаёт читаться (проверено: при 0,86
     контраст падал до 3,9–4,4:1 при норме WCAG AA 4,5:1);
   - контраст белого текста на заливках при плотном цвете: 5,0–7,1:1.
   ========================================================================== */
.lc-tabs .ac-filter-btn[data-stat-tab] {
  background: linear-gradient(135deg, var(--lc-tab-deep), var(--lc-tab-main));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* активная вкладка: подъём и кольцо своего цвета.
   !important нужен, чтобы кольцо не перебивалось анимацией «дыхания»
   (анимации выигрывают у обычных объявлений, но проигрывают !important). */
.lc-tabs .ac-filter-btn[data-stat-tab].active {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--lc-tab-deep), 0 8px 18px rgba(15, 23, 42, 0.22) !important;
}

/* палитра: тёмный тон -> основной. Заливка идёт от тёмного к основному,
   чтобы белый текст читался по всей кнопке, а не только у левого края. */
.lc-tabs .ac-filter-btn[data-stat-tab="heat"]   { --lc-tab-deep: #1d4ed8; --lc-tab-main: #2563eb; }
.lc-tabs .ac-filter-btn[data-stat-tab="bot"]    { --lc-tab-deep: #6d28d9; --lc-tab-main: #7c3aed; }
.lc-tabs .ac-filter-btn[data-stat-tab="trend6"] { --lc-tab-deep: #065f46; --lc-tab-main: #047857; }
.lc-tabs .ac-filter-btn[data-stat-tab="ziz"]    { --lc-tab-deep: #92400e; --lc-tab-main: #b45309; }
.lc-tabs .ac-filter-btn[data-stat-tab="night"]  { --lc-tab-deep: #23395d; --lc-tab-main: #3d5a80; }
.lc-tabs .ac-filter-btn[data-stat-tab="complaints"] { --lc-tab-deep: #0369a1; --lc-tab-main: #4f46e5; }

/* «Обращения» на сайте уже покрашены градиентом #0ea5e9 → #6366f1 с !important.
   В варианте B вкладка залита постоянно, а её голубой край даёт с белым текстом
   всего 2,8:1 — при активной вкладке это было терпимо, при постоянной заливке нет.
   Поэтому тот же голубой характер взят глубже: 5,9:1. Откат — вернуть прежние
   два цвета в двух правилах ниже. */
.lc-tabs .ac-filter-btn.lc-tab-complaints[data-stat-tab],
.lc-tabs .ac-filter-btn.lc-tab-complaints[data-stat-tab].active {
  background: linear-gradient(135deg, #0369a1, #4f46e5) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.lc-tabs .ac-filter-btn.lc-tab-complaints[data-stat-tab].active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0369a1, 0 8px 18px rgba(15, 23, 42, 0.22) !important;
}

/* точка-пульс: на плотной заливке красная точка почти не видна (1,6:1), делаем белой */
.lc-tabs .ac-filter-btn.lc-tab-complaints[data-stat-tab] .lc-tab-pulse { background: #fff; }

/* при отключённой анимации вкладки не должны «дёргаться» — статичное кольцо уже задано выше */
@media (prefers-reduced-motion: reduce) {
  .lc-tabs .ac-filter-btn[data-stat-tab].active { transform: none; }
}

/* ==========================================================================
   Счётчик просмотров кабинета — строка в самом низу кабинета.
   Текст кладёт js/leader-cabinet.js (pingLeaderVisit), здесь только оформление.
   Пока сервер не ответил, элемент скрыт атрибутом hidden.
   ========================================================================== */
.lc-views {
  margin: 14px 0 8px;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .lc-views {
    margin: 12px 0 6px;
    font-size: 11.5px;
    padding: 8px;
  }
}


/* ==================== Вкладка «Приход и уход»: оранжевая, с бейджем «новинка» ============ */
.lc-tabs .ac-filter-btn[data-stat-tab="prihod"] { --lc-tab-deep: #c2410c; --lc-tab-main: #f97316; }

.ac-filter-btn.lc-tab-prihod {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(234, 88, 12, 0.24)) !important;
  border-color: rgba(249, 115, 22, 0.55) !important;
  color: #9a3412 !important;
  font-weight: 800 !important;
}

.ac-filter-btn.lc-tab-prihod.active {
  background: linear-gradient(135deg, #ea580c, #f97316) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.ac-filter-btn.lc-tab-prihod .lc-soon-badge {
  background: #f97316;
  color: #fff;
}

.ac-filter-btn.lc-tab-prihod.active .lc-soon-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ac-filter-btn.lc-tab-prihod .lc-soon-badge { animation: none; }
}
