﻿:root {
  --bg: #09090b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #f5f7fb;
  --muted: #9da3ae;
  --muted-strong: #c1c5cc;
  --accent: #00b37e;
  --accent-strong: #00d08f;
  --negative: #f75a68;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 179, 126, 0.12), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(135deg, #060608 0%, #0b0b0d 48%, #121317 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.proof-card strong,
.button {
  font-family: "Sora", sans-serif;
}

.landing-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 40px 0 48px;
}

.hero,
.proof-grid,
.value-card,
.script-panel,
.cta-strip,
.site-footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 12px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -8%;
  width: 38%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 52px;
}

.hero-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.hero-topbar .brand {
  margin-bottom: 0;
}

.site-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 251, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.site-header-nav-link:hover,
.site-header-nav-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 208, 143, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.site-header-nav-link.is-active {
  border-color: rgba(0, 208, 143, 0.22);
  background: rgba(0, 179, 126, 0.12);
  color: #ddfff4;
  box-shadow: 0 12px 28px rgba(0, 179, 126, 0.14);
}

.brand-logo {
  display: block;
  width: min(100%, 264px);
  height: auto;
}

.hero-kicker,
.section-kicker,
.proof-label,
.income-pop-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(157, 163, 174, 0.8);
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.9rem, 6.2vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.22;
  color: rgba(245, 247, 251, 0.88);
}

.hero-description {
  max-width: 38ch;
  margin: 20px 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #04110d;
  box-shadow: 0 18px 38px rgba(0, 179, 126, 0.22);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-small {
  min-height: 46px;
  padding-inline: 18px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
}

.language-switcher.is-enhanced {
  min-width: 92px;
}

.language-switcher-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.language-switcher-light {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(112, 118, 144, 0.16);
  box-shadow: 0 18px 36px rgba(31, 37, 71, 0.08);
}

.language-switcher-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  min-width: 84px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher-current:hover,
.language-switcher-current:focus-visible {
  transform: translateY(-1px);
}

.language-switcher-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.language-switcher-caret svg {
  width: 14px;
  height: 14px;
}

.language-switcher.is-open .language-switcher-caret {
  transform: rotate(180deg);
}

.language-switcher-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 100%;
  width: max-content;
  padding: 8px;
  border-radius: 18px;
  z-index: 30;
}

.language-switcher-dropdown[hidden] {
  display: none !important;
}

.language-switcher.is-enhanced .language-switcher-button {
  width: 100%;
  justify-content: flex-start;
  padding: 0 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.language-switcher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher-button:hover,
.language-switcher-button:focus-visible {
  transform: translateY(-1px);
}

.language-switcher-dark .language-switcher-button {
  color: rgba(238, 241, 248, 0.72);
}

.language-switcher-dark .language-switcher-current {
  color: #11131a;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.language-switcher-dark .language-switcher-dropdown {
  background: #171922;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
}

.language-switcher-dark .language-switcher-button.is-active {
  color: #11131a;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.language-switcher-light .language-switcher-button {
  color: #7a84a0;
}

.language-switcher-light .language-switcher-current {
  color: #ffffff;
  background: linear-gradient(90deg, #5c4cff, #7d49ff);
  box-shadow: 0 12px 24px rgba(92, 76, 255, 0.2);
}

.language-switcher-light .language-switcher-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(112, 118, 144, 0.16);
  box-shadow: 0 22px 38px rgba(31, 37, 71, 0.12);
}

.language-switcher-light .language-switcher-button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, #5c4cff, #7d49ff);
  box-shadow: 0 12px 24px rgba(92, 76, 255, 0.2);
}

.language-switcher-flag-image {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.language-switcher-label {
  line-height: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  width: fit-content;
  max-width: min(100%, 420px);
  min-height: 64px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  color: var(--muted-strong);
}

.hero-badge span:last-child {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-badge-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(69, 74, 252, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.24);
}

.hero-badge-icon::before,
.hero-badge-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid #5b6cff;
  border-radius: 50%;
}

.hero-badge-icon::after {
  inset: 11px;
}

.hero-support {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  width: fit-content;
  max-width: min(100%, 430px);
}

.hero-support-header {
  gap: 0;
  margin-top: 0;
  max-width: 320px;
}

.hero-support-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(157, 163, 174, 0.72);
}

.hero-support-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  color: var(--text);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hero-support-header .hero-support-link {
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 18px;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-support-link:hover,
.hero-support-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(39, 167, 231, 0.28);
  box-shadow: 0 18px 38px rgba(3, 10, 28, 0.34);
}

.hero-support-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(39, 167, 231, 0.1);
  border: 1px solid rgba(39, 167, 231, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  flex: 0 0 42px;
}

.hero-support-header .hero-support-logo {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 12px;
}

.hero-support-logo svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero-support-header .hero-support-logo svg {
  width: 18px;
  height: 18px;
}

.hero-support-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-support-platform {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(157, 163, 174, 0.84);
}

.hero-support-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f5f7fb;
  word-break: break-word;
}

.hero-support-header .hero-support-copy {
  gap: 2px;
}

.hero-support-header .hero-support-platform {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(157, 163, 174, 0.76);
}

.hero-support-header .hero-support-copy strong {
  font-size: 0.95rem;
  line-height: 1.12;
  color: rgba(245, 247, 251, 0.96);
}

.device-stage {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  overflow: visible;
}

.motion-field {
  position: absolute;
  inset: -46px -44px -54px -54px;
  z-index: 0;
  pointer-events: none;
}

.motion-tag,
.motion-bars,
.motion-beam,
.motion-arrow {
  position: absolute;
  display: block;
}

.motion-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(24, 28, 34, 0.92), rgba(10, 13, 18, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.3);
  color: rgba(241, 246, 255, 0.92);
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  backdrop-filter: blur(10px);
}

.motion-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(227, 255, 248, 0.96), rgba(0, 208, 143, 0.86) 56%, rgba(0, 208, 143, 0.18) 100%);
  box-shadow: 0 0 16px rgba(0, 208, 143, 0.34);
  flex: 0 0 auto;
}

.motion-tag-top-btc {
  top: 44px;
  left: 18px;
  animation: coinFloatA 15s ease-in-out infinite;
}

.motion-tag-top-eth {
  top: 42px;
  left: 126px;
  animation: coinFloatB 13s ease-in-out infinite;
}

.motion-tag-top-right {
  top: 6px;
  right: -4px;
  min-height: 36px;
  padding-inline: 14px;
  font-size: 0.7rem;
  animation: coinFloatC 14s ease-in-out infinite;
}

.motion-tag-mid-eth {
  top: 212px;
  left: 8px;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.7rem;
  animation: coinFloatC 12s ease-in-out infinite;
}

.motion-tag-bottom-usdt {
  bottom: 76px;
  left: 24px;
  animation: coinFloatB 14.5s ease-in-out infinite;
}

.motion-tag-bottom-ton {
  right: 18px;
  bottom: 82px;
  animation: coinFloatA 13.5s ease-in-out infinite;
}

.motion-bars {
  right: 0;
  top: 184px;
  width: 112px;
  height: 78px;
  opacity: 0.72;
  animation: chipFloatA 10s ease-in-out infinite;
}

.motion-bars::before,
.motion-bars::after {
  content: "";
  position: absolute;
  inset: 0;
}

.motion-bars::before {
  background:
    linear-gradient(180deg, rgba(0, 179, 126, 0.86), rgba(0, 179, 126, 0.12)) left 12px bottom 10px / 14px 52px no-repeat,
    linear-gradient(180deg, rgba(103, 232, 249, 0.72), rgba(103, 232, 249, 0.08)) left 42px bottom 10px / 14px 36px no-repeat,
    linear-gradient(180deg, rgba(0, 179, 126, 0.92), rgba(0, 179, 126, 0.16)) left 72px bottom 10px / 14px 60px no-repeat;
  filter: drop-shadow(0 10px 22px rgba(0, 179, 126, 0.2));
}

.motion-bars::after {
  inset: auto 0 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.motion-beam {
  top: 146px;
  left: 118px;
  width: 262px;
  height: 432px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 179, 126, 0.18), rgba(0, 179, 126, 0.04) 52%, transparent 74%),
    linear-gradient(180deg, rgba(0, 179, 126, 0.1), rgba(68, 74, 252, 0.08));
  filter: blur(26px);
  opacity: 0.74;
  animation: beamPulse 9.5s ease-in-out infinite;
}

.motion-arrow {
  width: 88px;
  height: 18px;
  opacity: 0.66;
}

.motion-arrow::before,
.motion-arrow::after {
  content: "";
  position: absolute;
}

.motion-arrow::before {
  top: 8px;
  left: 0;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(0, 179, 126, 0.48), rgba(0, 179, 126, 0.9));
}

.motion-arrow::after {
  top: 3px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(0, 179, 126, 0.9);
  border-right: 2px solid rgba(0, 179, 126, 0.9);
  transform: rotate(45deg);
}

.motion-arrow-a {
  top: 154px;
  right: 8px;
  animation: chipFloatA 10s ease-in-out infinite;
}

.motion-arrow-b {
  bottom: 142px;
  left: 114px;
  width: 72px;
  animation: chipFloatB 11.5s ease-in-out infinite;
}

.ledger-surface {
  position: absolute;
  top: 8px;
  right: 0;
  width: min(100%, 470px);
  padding: 30px 26px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(25, 26, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0.44;
  animation: surfaceGlow 8s ease-in-out infinite;
}

.ledger-head,
.screen-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(245, 247, 251, 0.86);
}

.ledger-search,
.screen-search {
  margin-top: 22px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(8, 8, 10, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(157, 163, 174, 0.68);
  font-size: 0.84rem;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.ledger-row strong,
.screen-list strong {
  display: block;
  font-size: 0.92rem;
  color: rgba(245, 247, 251, 0.84);
}

.ledger-row small,
.screen-list small {
  display: block;
  margin-top: 6px;
  color: rgba(157, 163, 174, 0.72);
}

.ledger-row span {
  font-size: 0.78rem;
  color: rgba(157, 163, 174, 0.82);
}

.income-pop {
  position: absolute;
  top: 138px;
  right: 34px;
  z-index: 3;
  width: 170px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 179, 126, 0.96), rgba(0, 150, 105, 0.96));
  box-shadow: 0 20px 48px rgba(0, 179, 126, 0.22);
  animation: incomeHover 7s ease-in-out infinite;
}

.income-pop-label {
  color: rgba(238, 255, 249, 0.84);
}

.income-pop strong {
  display: block;
  margin-top: 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #04110d;
}

.income-pop p {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: rgba(4, 17, 13, 0.74);
}

.phone-frame {
  position: absolute;
  top: 72px;
  left: 78px;
  z-index: 2;
  width: 330px;
  padding: 16px 14px 18px;
  border-radius: 40px;
  border: 4px solid rgba(45, 46, 52, 0.96);
  background: linear-gradient(180deg, #18191d, #0f1012);
  box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 36px 76px rgba(0, 0, 0, 0.48);
  animation: devicePulse 9s ease-in-out infinite;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 120px;
  height: 28px;
  border-radius: 999px;
  background: #0a0a0c;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 612px;
  padding: 34px 16px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #121316, #0c0d10);
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.screen-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.screen-brand-logo {
  width: 20px;
  height: 20px;
  display: block;
}

.screen-action {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 179, 126, 0.18);
  color: rgba(220, 255, 244, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
}

@keyframes orbitDriftA {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  35% {
    transform: translate3d(-18px, 12px, 0) scale(1.08);
  }
  70% {
    transform: translate3d(10px, -14px, 0) scale(0.95);
  }
}

@keyframes orbitDriftB {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -20px, 0) scale(1.12);
  }
}

@keyframes orbitDot {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(24px, -18px, 0);
    opacity: 1;
  }
}

@keyframes coinFloatA {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1);
  }
  50% {
    transform: translate3d(-14px, 12px, 0) rotate(8deg) scale(1.04);
  }
}

@keyframes coinFloatB {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(7deg) scale(1);
  }
  50% {
    transform: translate3d(16px, -12px, 0) rotate(-8deg) scale(1.05);
  }
}

@keyframes coinFloatC {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(10px, -14px, 0) rotate(9deg) scale(1.03);
  }
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes beamPulse {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.58;
  }
  50% {
    transform: translate3d(12px, -10px, 0) scale(1.06);
    opacity: 0.86;
  }
}

@keyframes chipFloatA {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, -12px, 0);
  }
}

@keyframes chipFloatB {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, 16px, 0);
  }
}

@keyframes incomeHover {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 20px 48px rgba(0, 179, 126, 0.22);
  }
  50% {
    transform: translate3d(-10px, -12px, 0);
    box-shadow: 0 28px 60px rgba(0, 179, 126, 0.3);
  }
}

@keyframes surfaceGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 0 0 rgba(0, 0, 0, 0);
    opacity: 0.44;
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 54px rgba(0, 179, 126, 0.08);
    opacity: 0.5;
  }
}

@keyframes devicePulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 36px 76px rgba(0, 0, 0, 0.48);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 42px 84px rgba(0, 0, 0, 0.56),
      0 0 0 1px rgba(0, 179, 126, 0.08);
  }
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.screen-card {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.screen-card span {
  display: block;
  font-size: 0.76rem;
  color: rgba(245, 247, 251, 0.74);
}

.screen-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.56rem;
  line-height: 1.08;
}

.screen-card small {
  display: block;
  margin-top: 8px;
  color: rgba(157, 163, 174, 0.72);
}

.screen-card-highlight {
  background: linear-gradient(180deg, rgba(0, 179, 126, 0.82), rgba(0, 136, 97, 0.86));
}

.screen-card-highlight span,
.screen-card-highlight strong,
.screen-card-highlight small {
  color: #effff8;
}

.screen-section-head {
  margin-top: 24px;
}

.screen-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.screen-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-list li:last-child {
  border-bottom: 0;
}

.value-negative,
.value-positive {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
}

.value-negative {
  color: var(--negative);
}

.value-positive {
  color: var(--accent-strong);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.proof-card,
.value-card,
.auth-card,
.seo-copy-panel,
.seo-faq-card,
.script-panel,
.cta-strip {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.proof-card {
  padding: 28px 24px;
  border-radius: 24px;
}

.proof-card strong {
  display: block;
  margin-top: 16px;
  font-size: 2.35rem;
  letter-spacing: -0.06em;
}

.proof-card p {
  margin: 12px 0 0;
  line-height: 1.72;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.value-card {
  padding: 30px 24px 26px;
  border-radius: 28px;
}

.value-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(0, 179, 126, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
}

.value-card h2 {
  margin: 24px 0 0;
  font-size: 1.52rem;
  line-height: 1.22;
  letter-spacing: -0.05em;
}

.value-card p {
  margin: 14px 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.auth-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1.22fr);
  gap: 18px;
  margin-top: 18px;
}

.auth-page-body {
  min-height: 100vh;
}

.auth-page-shell {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 40px 0 48px;
}

.admin-page-body {
  min-height: 100vh;
}

.admin-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 40px 0 48px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-brand {
  margin-bottom: 0;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.admin-hero-copy,
.admin-status-card,
.admin-metric-card,
.admin-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.admin-hero-copy,
.admin-status-card,
.admin-card {
  padding: 34px;
  border-radius: 32px;
}

.admin-hero-copy h1 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.admin-copy,
.admin-note {
  margin: 18px 0 0;
  line-height: 1.82;
  color: var(--muted);
}

.admin-status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(0, 179, 126, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 251, 0.92);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(0, 179, 126, 0.12);
}

.admin-status-card strong {
  display: block;
  margin-top: 18px;
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  line-height: 1.15;
}

.admin-status-card p {
  margin: 14px 0 0;
  line-height: 1.75;
  color: var(--muted);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-metric-card {
  padding: 28px 24px;
  border-radius: 28px;
}

.admin-metric-label {
  display: inline-block;
  color: rgba(157, 163, 174, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-metric-card strong {
  display: block;
  margin-top: 16px;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.admin-metric-card p {
  margin: 12px 0 0;
  line-height: 1.74;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin: 16px 0 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.admin-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.admin-link-card {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 7, 9, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.admin-link-card:hover,
.admin-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 208, 143, 0.24);
  background: rgba(11, 12, 14, 0.92);
}

.admin-link-card span {
  color: rgba(157, 163, 174, 0.82);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-link-card strong {
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(245, 247, 251, 0.94);
}

.admin-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.admin-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.78;
  color: var(--muted-strong);
}

.admin-list li + li {
  margin-top: 14px;
}

.admin-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(0, 179, 126, 0.12);
}

.admin-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  width: 42%;
  color: rgba(245, 247, 251, 0.9);
  font-weight: 600;
}

.admin-table td {
  color: var(--muted-strong);
}

.auth-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.auth-page-topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.support-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(0, 179, 126, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.support-contact-bar-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.support-contact-bar-copy .section-kicker {
  color: rgba(157, 163, 174, 0.72);
}

.support-contact-bar-copy strong {
  color: #f5f7fb;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.auth-page-grid-support {
  min-height: auto;
}

.support-page-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-page-card .hero-support-link {
  width: 100%;
  justify-content: flex-start;
  max-width: none;
}

.support-card-hint {
  margin: 0;
  color: rgba(193, 197, 204, 0.84);
  line-height: 1.7;
}

.support-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-brand {
  margin-bottom: 0;
}

.auth-page-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
  gap: 18px;
  align-items: stretch;
  min-height: calc(100vh - 150px);
}

.auth-page-grid-register {
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
}

.auth-page-info {
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.auth-page-info h1 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.auth-page-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.auth-page-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
  line-height: 1.72;
}

.auth-page-points li + li {
  margin-top: 14px;
}

.auth-page-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(0, 179, 126, 0.12);
}

.auth-card {
  padding: 34px;
  border-radius: 32px;
}

.auth-card h2 {
  margin: 16px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.auth-copy {
  margin: 18px 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.auth-field {
  display: grid;
  gap: 9px;
}

.auth-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.88);
}

.auth-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 9, 0.72);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.auth-field input::placeholder {
  color: rgba(157, 163, 174, 0.7);
}

.auth-field input:focus {
  border-color: rgba(0, 208, 143, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 179, 126, 0.12);
  background: rgba(9, 10, 12, 0.88);
}

.auth-field-full {
  grid-column: 1 / -1;
}

.auth-helper {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(193, 197, 204, 0.78);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.auth-card-login .auth-field {
  margin-top: 22px;
}

.auth-card-login .auth-field + .auth-field {
  margin-top: 16px;
}

.auth-field-spaced {
  margin-top: 22px;
}

.auth-page-form {
  align-self: center;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  margin-top: 18px;
}

.seo-copy-panel {
  padding: 34px;
  border-radius: 32px;
}

.seo-copy-panel h2,
.seo-faq-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.seo-copy-panel p {
  margin: 18px 0 0;
  line-height: 1.84;
  color: var(--muted);
}

.seo-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.seo-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
  line-height: 1.72;
}

.seo-list li + li {
  margin-top: 14px;
}

.seo-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(0, 179, 126, 0.12);
}

.seo-faq-stack {
  display: grid;
  gap: 18px;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-faq-card {
  padding: 28px 24px 24px;
  border-radius: 28px;
}

.seo-faq-card h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.seo-faq-card p {
  margin: 12px 0 0;
  line-height: 1.78;
  color: var(--muted);
}

.script-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: 28px;
  margin-top: 18px;
  padding: 34px;
  border-radius: 32px;
}

.script-copy h2,
.cta-strip h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.script-copy p {
  margin: 18px 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.script-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.script-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
}

.script-points li + li {
  margin-top: 14px;
}

.script-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(0, 179, 126, 0.12);
}

.script-box {
  padding: 24px;
  border-radius: 28px;
  background: rgba(7, 7, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.script-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.script-box-head h3 {
  margin: 12px 0 0;
  font-size: 1.34rem;
}

.growth-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 251, 0.94);
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.growth-card {
  margin-top: 22px;
  padding: 22px 20px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(0, 208, 143, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.growth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.growth-stat {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.growth-stat span {
  display: block;
  font-size: 0.74rem;
  color: rgba(157, 163, 174, 0.8);
}

.growth-stat strong {
  display: block;
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.48rem;
  line-height: 1.05;
}

.growth-stat small {
  display: block;
  margin-top: 8px;
  color: rgba(157, 163, 174, 0.72);
  line-height: 1.45;
}

.growth-stat-highlight {
  background: linear-gradient(180deg, rgba(0, 179, 126, 0.18), rgba(0, 179, 126, 0.08));
  border-color: rgba(0, 208, 143, 0.24);
}

.growth-chart-shell {
  position: relative;
  margin-top: 18px;
  padding: 18px 18px 14px 52px;
  border-radius: 20px;
  background: rgba(8, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.growth-chart-value {
  position: absolute;
  left: 16px;
  font-size: 0.72rem;
  color: rgba(157, 163, 174, 0.78);
  letter-spacing: 0.04em;
}

.growth-chart-value-top {
  top: 28px;
}

.growth-chart-value-mid {
  top: 102px;
}

.growth-chart-value-low {
  top: 176px;
}

.growth-chart {
  width: 100%;
  height: auto;
  display: block;
}

.growth-grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.growth-line {
  filter: drop-shadow(0 0 10px rgba(77, 228, 177, 0.24));
}

.growth-dots circle {
  fill: #dafdf2;
  stroke: #00d08f;
  stroke-width: 3;
}

.growth-axis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  color: rgba(157, 163, 174, 0.74);
  font-size: 0.72rem;
}

.growth-axis span:last-child {
  text-align: right;
}

.growth-caption {
  margin-top: 16px;
  color: rgba(193, 197, 204, 0.84);
  line-height: 1.65;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding: 32px 34px;
  border-radius: 30px;
}

.cta-strip .button {
  min-width: 186px;
  white-space: nowrap;
}

.cta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta-brand-logo {
  width: 26px;
  height: 26px;
  display: block;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 0 6px;
  color: rgba(157, 163, 174, 0.78);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand-logo {
  width: min(100%, 218px);
  height: auto;
  display: block;
}

.auth-feedback {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.94rem;
  line-height: 1.65;
}

.auth-feedback-neutral {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(193, 197, 204, 0.9);
}

.auth-feedback-success {
  background: rgba(0, 179, 126, 0.12);
  border-color: rgba(0, 208, 143, 0.18);
  color: rgba(223, 255, 244, 0.95);
}

.auth-feedback-error {
  background: rgba(247, 90, 104, 0.12);
  border-color: rgba(247, 90, 104, 0.22);
  color: rgba(255, 222, 226, 0.95);
}

.crm-admin-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(93, 95, 239, 0.08), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(0, 179, 126, 0.08), transparent 20%),
    linear-gradient(180deg, #f7f8fc 0%, #f1f4fa 100%);
  color: #1a1c24;
  overflow-x: hidden;
}

.crm-admin-shell {
  width: min(100% - 36px, 1440px);
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  zoom: 0.82;
}

@supports not (zoom: 0.82) {
  .crm-admin-shell {
    width: min(calc((100vw - 36px) * 1.22), 1760px);
    transform: scale(0.82);
    transform-origin: top center;
    margin: 0 auto -220px;
  }
}

.crm-sidebar {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 48px);
  padding: 24px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(112, 118, 144, 0.12);
  box-shadow: 0 24px 60px rgba(31, 37, 71, 0.08);
}

.crm-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #151823;
}

.crm-sidebar-logo {
  width: 44px;
  height: 44px;
  display: block;
}

.crm-sidebar-brand strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.crm-sidebar-brand span {
  display: block;
  margin-top: 4px;
  color: #8a91ab;
  font-size: 0.84rem;
}



.crm-sidebar-nav-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.crm-nav-group {
  display: grid;
  gap: 10px;
}

.crm-nav-item,
.crm-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #6f7995;
  font: inherit;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.crm-nav-item-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.crm-nav-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.crm-nav-item:hover,
.crm-nav-item:focus-visible,
.crm-nav-link:hover,
.crm-nav-link:focus-visible {
  transform: translateX(2px);
  color: #262f46;
  background: rgba(103, 106, 239, 0.08);
}

.crm-nav-item.is-active,
.crm-nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, #5c4cff, #7d49ff);
  box-shadow: 0 18px 30px rgba(92, 76, 255, 0.22);
}

.crm-nav-group:not(.is-open) .crm-nav-caret {
  transform: rotate(-45deg);
}

.crm-subnav {
  display: grid;
  gap: 6px;
  margin: -2px 0 4px 18px;
  padding-left: 14px;
  border-left: 1px solid rgba(112, 121, 149, 0.18);
}

.crm-nav-group:not(.is-open) .crm-subnav {
  display: none;
}

.crm-subnav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #7a84a0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.crm-subnav-item-main {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-nav-item-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.crm-subnav-item:hover,
.crm-subnav-item:focus-visible {
  color: #262f46;
  background: rgba(103, 106, 239, 0.08);
  transform: translateX(2px);
}

.crm-subnav-item.is-active {
  color: #262f46;
  background: rgba(103, 106, 239, 0.12);
}

.crm-subnav-item[href="database-moderation.html"],
.crm-subnav-item[href="database-refusal-moderation.html"] {
  color: #c96d16;
  background: rgba(255, 166, 43, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 166, 43, 0.14);
}

.crm-subnav-item[href="database-moderation.html"]:hover,
.crm-subnav-item[href="database-moderation.html"]:focus-visible,
.crm-subnav-item[href="database-refusal-moderation.html"]:hover,
.crm-subnav-item[href="database-refusal-moderation.html"]:focus-visible {
  color: #a95305;
  background: rgba(255, 166, 43, 0.14);
}

.crm-subnav-item[href="database-moderation.html"].is-active,
.crm-subnav-item[href="database-refusal-moderation.html"].is-active {
  color: #8f4700;
  background: rgba(255, 166, 43, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 166, 43, 0.24);
}

.crm-subnav-item[href="database-moderation.html"] .crm-subnav-pill,
.crm-subnav-item[href="database-refusal-moderation.html"] .crm-subnav-pill {
  background: rgba(255, 166, 43, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 166, 43, 0.2);
  color: #a95305;
}

.crm-subnav-item[href="database-moderation.html"].is-active .crm-subnav-pill,
.crm-subnav-item[href="database-refusal-moderation.html"].is-active .crm-subnav-pill {
  background: rgba(255, 166, 43, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 166, 43, 0.3);
  color: #8f4700;
}

.crm-subnav-item[href="database.html"] {
  color: #2563eb;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.crm-subnav-item[href="database.html"]:hover,
.crm-subnav-item[href="database.html"]:focus-visible {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.16);
}

.crm-subnav-item[href="database.html"].is-active {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.22);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.28);
}

.crm-subnav-item[href="database.html"] .crm-subnav-pill {
  background: rgba(59, 130, 246, 0.18);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

.crm-subnav-item[href="database.html"].is-active .crm-subnav-pill {
  background: rgba(59, 130, 246, 0.24);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
  color: #1e40af;
}

.crm-subnav-item[href="database-added.html"] {
  color: #2563eb;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.crm-subnav-item[href="database-added.html"]:hover,
.crm-subnav-item[href="database-added.html"]:focus-visible {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.16);
}

.crm-subnav-item[href="database-added.html"].is-active {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.22);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.28);
}

.crm-subnav-item[href="database-added.html"] .crm-subnav-pill {
  background: rgba(59, 130, 246, 0.18);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

.crm-subnav-item[href="database-added.html"].is-active .crm-subnav-pill {
  background: rgba(59, 130, 246, 0.24);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
  color: #1e40af;
}

.crm-subnav-item[href="database-connected.html"] {
  color: #1f8f55;
  background: rgba(26, 188, 101, 0.08);
  box-shadow: inset 0 0 0 1px rgba(26, 188, 101, 0.16);
}

.crm-subnav-item[href="database-connected.html"]:hover,
.crm-subnav-item[href="database-connected.html"]:focus-visible {
  color: #157745;
  background: rgba(26, 188, 101, 0.14);
}

.crm-subnav-item[href="database-connected.html"].is-active {
  color: #0f6338;
  background: rgba(26, 188, 101, 0.2);
  box-shadow: inset 0 0 0 1px rgba(26, 188, 101, 0.26);
}

.crm-subnav-item[href="database-connected.html"] .crm-subnav-pill {
  background: rgba(26, 188, 101, 0.16);
  box-shadow: inset 0 0 0 1px rgba(26, 188, 101, 0.22);
  color: #157745;
}

.crm-subnav-item[href="database-connected.html"].is-active .crm-subnav-pill {
  background: rgba(26, 188, 101, 0.24);
  box-shadow: inset 0 0 0 1px rgba(26, 188, 101, 0.3);
  color: #0f6338;
}

.crm-subnav-item[href="database-blocked.html"] {
  color: #c13b48;
  background: rgba(235, 87, 87, 0.08);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.14);
}

.crm-subnav-item[href="database-blocked.html"]:hover,
.crm-subnav-item[href="database-blocked.html"]:focus-visible {
  color: #a92d3c;
  background: rgba(235, 87, 87, 0.14);
}

.crm-subnav-item[href="database-blocked.html"].is-active {
  color: #8f2030;
  background: rgba(235, 87, 87, 0.18);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.24);
}

.crm-subnav-item[href="database-blocked.html"] .crm-subnav-pill {
  background: rgba(235, 87, 87, 0.18);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.2);
  color: #a92d3c;
}

.crm-subnav-item[href="database-blocked.html"].is-active .crm-subnav-pill {
  background: rgba(235, 87, 87, 0.22);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.3);
  color: #8f2030;
}

.crm-subnav-item[href="database-deleted.html"] {
  color: #c13b48;
  background: rgba(235, 87, 87, 0.08);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.14);
}

.crm-subnav-item[href="database-deleted.html"]:hover,
.crm-subnav-item[href="database-deleted.html"]:focus-visible {
  color: #a92d3c;
  background: rgba(235, 87, 87, 0.14);
}

.crm-subnav-item[href="database-deleted.html"].is-active {
  color: #8f2030;
  background: rgba(235, 87, 87, 0.18);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.24);
}

.crm-subnav-item[href="database-deleted.html"] .crm-subnav-pill {
  background: rgba(235, 87, 87, 0.18);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.2);
  color: #a92d3c;
}

.crm-subnav-item[href="database-deleted.html"].is-active .crm-subnav-pill {
  background: rgba(235, 87, 87, 0.22);
  box-shadow: inset 0 0 0 1px rgba(235, 87, 87, 0.3);
  color: #8f2030;
}

.crm-subnav-item[href="database-search.html"] {
  color: #375dfb;
  background: rgba(55, 93, 251, 0.08);
  box-shadow: inset 0 0 0 1px rgba(55, 93, 251, 0.14);
}

.crm-subnav-item[href="database-search.html"]:hover,
.crm-subnav-item[href="database-search.html"]:focus-visible {
  color: #2547c6;
  background: rgba(55, 93, 251, 0.14);
}

.crm-subnav-item[href="database-search.html"].is-active {
  color: #1f3ea6;
  background: rgba(55, 93, 251, 0.18);
  box-shadow: inset 0 0 0 1px rgba(55, 93, 251, 0.24);
}

.crm-subnav-item[href="database-search.html"] .crm-subnav-pill {
  background: rgba(55, 93, 251, 0.18);
  box-shadow: inset 0 0 0 1px rgba(55, 93, 251, 0.2);
  color: #2547c6;
}

.crm-subnav-item[href="database-search.html"].is-active .crm-subnav-pill {
  background: rgba(55, 93, 251, 0.22);
  box-shadow: inset 0 0 0 1px rgba(55, 93, 251, 0.3);
  color: #1f3ea6;
}

.crm-subnav-item[href="promo-avatars.html"],
.crm-subnav-item[href="promo-text.html"] {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.08);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.16);
}

.crm-subnav-item[href="promo-avatars.html"]:hover,
.crm-subnav-item[href="promo-avatars.html"]:focus-visible,
.crm-subnav-item[href="promo-text.html"]:hover,
.crm-subnav-item[href="promo-text.html"]:focus-visible {
  color: #0b5e58;
  background: rgba(20, 184, 166, 0.14);
}

.crm-subnav-item[href="promo-avatars.html"].is-active,
.crm-subnav-item[href="promo-text.html"].is-active {
  color: #094b47;
  background: rgba(20, 184, 166, 0.2);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.24);
}

.crm-nav-pill,
.crm-subnav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(22, 199, 132, 0.14);
  box-shadow: inset 0 0 0 1px rgba(22, 199, 132, 0.16);
  color: #0d9a67;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.crm-nav-item.is-active .crm-nav-pill {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.crm-subnav-item.is-active .crm-subnav-pill {
  background: rgba(92, 76, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(92, 76, 255, 0.12);
  color: #4f43de;
}

.crm-nav-pill[hidden],
.crm-subnav-pill[hidden] {
  display: none !important;
}

.crm-nav-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.88;
}

.crm-sidebar-note {
  margin-top: auto;
  padding: 20px 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, #f2d4ff 0%, #7f4dff 65%, #5c4cff 100%);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(111, 88, 255, 0.24);
}

.crm-sidebar-note p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.crm-sidebar-note strong {
  display: block;
  margin-top: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.crm-sidebar-note span {
  display: block;
  margin-top: 10px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.crm-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px 8px 4px;
  color: #1f2432;
}

.crm-sidebar-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcf90 0%, #7d49ff 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(125, 73, 255, 0.2);
}

.crm-sidebar-footer strong {
  display: block;
  font-size: 0.98rem;
}

.crm-sidebar-footer span {
  display: block;
  margin-top: 4px;
  color: #8a91ab;
  font-size: 0.84rem;
}

.crm-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.crm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.crm-overline {
  margin: 0;
  color: #8b93ae;
  font-size: 0.92rem;
}

.crm-header h1 {
  margin: 10px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #1a1c24;
}

.crm-header-tools,
.crm-users-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crm-main .button-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(112, 118, 144, 0.12);
  color: #252b3b;
  box-shadow: 0 14px 24px rgba(35, 41, 70, 0.05);
}

.crm-page-eyebrow {
  margin: 0;
  color: #8a91ab;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crm-search {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(112, 118, 144, 0.12);
  box-shadow: 0 14px 24px rgba(35, 41, 70, 0.05);
}

.crm-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #2a3040;
  font: inherit;
}

.crm-search input::placeholder {
  color: #a4acc3;
}

.crm-search-compact {
  min-width: 220px;
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crm-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.crm-section-stack {
  display: grid;
  gap: 20px;
}

.crm-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.crm-profile-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(246, 248, 252, 0.92);
  border: 1px solid rgba(112, 118, 144, 0.1);
}

.crm-profile-row span {
  color: #8a91ab;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.crm-profile-row strong {
  color: #1f2432;
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.crm-profile-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.crm-inline-action {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c4cff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
}

.crm-inline-action:hover,
.crm-inline-action:focus-visible {
  color: #4136b9;
}

.crm-inline-action:disabled {
  cursor: wait;
  opacity: 0.6;
}

.crm-inline-editor {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.crm-inline-input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(112, 118, 144, 0.16);
  background: #ffffff;
  color: #202534;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.crm-inline-input:focus {
  border-color: rgba(92, 76, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(92, 76, 255, 0.08);
}

.crm-inline-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crm-program-list {
  margin: 0;
  padding-left: 22px;
  color: #5b647d;
  line-height: 1.75;
}

.crm-program-list li + li {
  margin-top: 10px;
}

.crm-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.crm-action-tile {
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.96), rgba(239, 243, 251, 0.88));
  border: 1px solid rgba(112, 118, 144, 0.1);
}

.crm-action-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #7d49ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-action-tile strong {
  display: block;
  color: #1f2432;
  font-size: 1.02rem;
  line-height: 1.35;
}

.crm-action-tile p {
  margin: 10px 0 0;
  color: #6f7995;
  line-height: 1.7;
}

.crm-dashboard-state {
  padding: 18px 22px;
  border-radius: 20px;
  font-weight: 600;
}

.crm-dashboard-state-neutral {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(112, 118, 144, 0.12);
  color: #4e5872;
}

.crm-dashboard-state-error {
  background: rgba(249, 115, 138, 0.1);
  border: 1px solid rgba(249, 115, 138, 0.2);
  color: #b42339;
}

.crm-dashboard-state-success {
  background: rgba(22, 199, 132, 0.12);
  border: 1px solid rgba(22, 199, 132, 0.24);
  color: #0d9a67;
}

.crm-stat-card,
.crm-users-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(112, 118, 144, 0.1);
  box-shadow: 0 28px 60px rgba(31, 37, 71, 0.07);
}

.crm-stat-card {
  display: block;
  padding: 14px 18px;
  border-radius: 20px;
  min-height: 0;
}

.crm-stat-label {
  display: inline-block;
  color: #9aa2ba;
  font-size: 0.76rem;
  line-height: 1.2;
}

.crm-stat-content {
  min-width: 0;
}

.crm-stat-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.16rem, 1.5vw, 1.42rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1c2130;
}

body[data-page="dashboard"] .crm-stat-card strong {
  font-size: clamp(1.02rem, 1.18vw, 1.22rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

body[data-page="dashboard"] .crm-admin-shell {
  width: min(100% - 42px, 1480px);
  gap: 32px;
}

body[data-page="dashboard"] .crm-sidebar {
  padding: 26px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(92, 76, 255, 0.08), transparent 34%);
  box-shadow: 0 26px 70px rgba(31, 37, 71, 0.08);
}

body[data-page="dashboard"] .crm-main {
  gap: 24px;
}

body[data-page="dashboard"] .crm-header {
  align-items: center;
  gap: 18px;
  padding-inline: 2px;
}

body[data-page="dashboard"] .crm-header-intro {
  max-width: 720px;
}

body[data-page="dashboard"] .crm-header h1 {
  margin-top: 6px;
  font-size: clamp(1.95rem, 2.7vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

body[data-page="dashboard"] .crm-header-tools {
  align-items: center;
  gap: 12px;
}

body[data-page="dashboard"] .crm-stats {
  gap: 14px;
}

body[data-page="dashboard"] .crm-stat-card {
  position: relative;
  min-height: 86px;
  padding: 12px 16px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.96)),
    radial-gradient(circle at top right, rgba(92, 76, 255, 0.1), transparent 44%);
  border: 1px solid rgba(112, 118, 144, 0.11);
  box-shadow: 0 24px 48px rgba(31, 37, 71, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body[data-page="dashboard"] .crm-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 54px rgba(31, 37, 71, 0.08);
  border-color: rgba(112, 118, 144, 0.15);
}

body[data-page="dashboard"] .crm-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(92, 76, 255, 0.74), rgba(22, 199, 132, 0.72));
  opacity: 0.22;
}

body[data-page="dashboard"] .crm-stat-card::after {
  display: none;
}

body[data-page="dashboard"] .crm-stat-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(92, 76, 255, 0.12), rgba(22, 199, 132, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(31, 37, 71, 0.08);
  color: #5c4cff;
}

body[data-page="dashboard"] .crm-stat-card-status .crm-stat-icon {
  background: linear-gradient(135deg, rgba(22, 199, 132, 0.16), rgba(92, 76, 255, 0.08));
  color: #16b978;
}

body[data-page="dashboard"] .crm-stat-card-api .crm-stat-icon {
  background: linear-gradient(135deg, rgba(92, 76, 255, 0.13), rgba(22, 199, 132, 0.08));
  color: #6352ff;
}

body[data-page="dashboard"] .crm-stat-card-date .crm-stat-icon {
  background: linear-gradient(135deg, rgba(96, 126, 255, 0.14), rgba(92, 76, 255, 0.08));
  color: #5e74ff;
}

body[data-page="dashboard"] .crm-stat-card-telegram .crm-stat-icon {
  background: linear-gradient(135deg, rgba(92, 76, 255, 0.1), rgba(255, 255, 255, 0.28));
  color: #7d49ff;
}

body[data-page="dashboard"] .crm-stat-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

body[data-page="dashboard"] .crm-stat-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  min-height: 100%;
  max-width: calc(100% - 54px);
}

body[data-page="dashboard"] .crm-stat-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8f96b0;
}

body[data-page="dashboard"] .crm-stat-card strong {
  font-size: clamp(1rem, 1.05vw, 1.14rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #162033;
}

body[data-page="dashboard"] .crm-dashboard-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="dashboard"] .crm-section-stack {
  gap: 24px;
}

body[data-page="dashboard"] .crm-users-card-profile {
  width: 100%;
}

body[data-page="dashboard"] .crm-users-card {
  position: relative;
  padding: 30px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.965)),
    radial-gradient(circle at top right, rgba(92, 76, 255, 0.08), transparent 36%);
  overflow: hidden;
  border: 1px solid rgba(112, 118, 144, 0.1);
  box-shadow: 0 28px 64px rgba(31, 37, 71, 0.065);
}

body[data-page="dashboard"] .crm-users-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 76, 255, 0.08), transparent 68%);
  pointer-events: none;
}

body[data-page="dashboard"] .crm-users-head {
  margin-bottom: 18px;
}

body[data-page="dashboard"] .crm-users-head-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

body[data-page="dashboard"] .crm-users-head h2 {
  font-size: 1.52rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #172034;
}

body[data-page="dashboard"] .crm-users-head p {
  margin-top: 7px;
  color: #7f88a1;
  font-size: 0.92rem;
  line-height: 1.55;
}

body[data-page="dashboard"] .crm-profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(92, 76, 255, 0.08);
  border: 1px solid rgba(92, 76, 255, 0.12);
  color: #5f54ff;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .crm-profile-overview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(92, 76, 255, 0.1), rgba(255, 255, 255, 0.72) 38%, rgba(22, 199, 132, 0.08) 100%);
  border: 1px solid rgba(112, 118, 144, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body[data-page="dashboard"] .crm-profile-overview-main {
  min-width: 0;
}

body[data-page="dashboard"] .crm-profile-overview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #7b85a2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .crm-profile-overview-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c4cff, #16c784);
  box-shadow: 0 0 0 6px rgba(92, 76, 255, 0.08);
}

body[data-page="dashboard"] .crm-profile-overview-name {
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #152033;
}

body[data-page="dashboard"] .crm-profile-overview-email {
  margin: 10px 0 0;
  color: #66708e;
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

body[data-page="dashboard"] .crm-profile-overview-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body[data-page="dashboard"] .crm-profile-status-chip,
body[data-page="dashboard"] .crm-profile-id-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(112, 118, 144, 0.12);
  color: #1b2435;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

body[data-page="dashboard"] .crm-profile-status-chip.is-active {
  color: #0f8b63;
  background: rgba(22, 199, 132, 0.12);
  border-color: rgba(22, 199, 132, 0.2);
}

body[data-page="dashboard"] .crm-profile-status-chip.is-blocked {
  color: #d83d5d;
  background: rgba(247, 90, 104, 0.12);
  border-color: rgba(247, 90, 104, 0.22);
}

body[data-page="dashboard"] .crm-profile-surface {
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.97), rgba(246, 249, 255, 0.94));
  border: 1px solid rgba(112, 118, 144, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 36px rgba(31, 37, 71, 0.035);
}

body[data-page="dashboard"] .crm-profile-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="dashboard"] .crm-profile-row {
  justify-content: space-between;
  min-height: 98px;
  padding: 17px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.98));
  border: 1px solid rgba(112, 118, 144, 0.09);
  box-shadow: 0 10px 24px rgba(31, 37, 71, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="dashboard"] .crm-profile-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(31, 37, 71, 0.055);
}

body[data-page="dashboard"] .crm-profile-row-wide {
  grid-column: 1 / -1;
  min-height: 0;
  gap: 12px;
  padding-bottom: 16px;
}

body[data-page="dashboard"] .crm-profile-row span {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .crm-profile-row strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #1d2435;
}

body[data-page="dashboard"] .crm-profile-row-main {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="dashboard"] .crm-inline-action {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(92, 76, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(92, 76, 255, 0.12);
  white-space: nowrap;
  color: #5f54ff;
  font-weight: 700;
}

body[data-page="dashboard"] .crm-inline-editor {
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

body[data-page="dashboard"] .crm-inline-editor-actions {
  flex-wrap: nowrap;
}

body[data-page="dashboard"] .crm-inline-input {
  min-height: 44px;
  border-radius: 14px;
}

body[data-page="dashboard"] .crm-program-list {
  display: grid;
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

body[data-page="dashboard"] .crm-program-list li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 54px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(242, 245, 252, 0.94));
  border: 1px solid rgba(112, 118, 144, 0.1);
  color: #46526c;
  line-height: 1.68;
}

body[data-page="dashboard"] .crm-program-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 36%, #ffffff 0 22%, transparent 23%),
    linear-gradient(135deg, #5c4cff, #16c784);
  box-shadow: 0 10px 20px rgba(92, 76, 255, 0.18);
}

body[data-page="dashboard"] .crm-dashboard-state {
  max-width: 760px;
}

.crm-users-card {
  padding: 28px 28px 16px;
  border-radius: 30px;
}

.crm-users-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.crm-users-head h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #1c2130;
}

.crm-users-head p {
  margin: 10px 0 0;
  color: #31b68f;
  font-size: 0.96rem;
}

.crm-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.crm-table th,
.crm-table td {
  padding: 18px 12px;
  border-bottom: 1px solid #edf0f7;
  text-align: left;
  vertical-align: middle;
}

.crm-table th {
  color: #a0a8bf;
  font-size: 0.9rem;
  font-weight: 500;
}

.crm-table td {
  color: #2b3040;
}

.crm-user-cell {
  display: grid;
  gap: 4px;
}

.crm-user-cell strong {
  font-weight: 600;
  color: #1d2233;
}

.crm-user-cell span {
  color: #9ca5bf;
  font-size: 0.84rem;
}

.crm-user-cell-telegram {
  gap: 8px;
}

.crm-user-cell-ip {
  gap: 8px;
}

.crm-user-cell-ip strong {
  word-break: break-all;
}

.crm-inline-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #5c4cff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.crm-inline-link:hover,
.crm-inline-link:focus-visible {
  color: #4136b9;
  transform: translateX(2px);
}

.crm-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crm-inline-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.crm-history-details {
  display: block;
}

.crm-history-details summary {
  color: #7f8aa8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.crm-history-details[open] summary {
  color: #5c4cff;
}

.crm-history-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(246, 248, 252, 0.96);
  border: 1px solid rgba(112, 118, 144, 0.1);
}

.crm-history-item {
  display: grid;
  gap: 4px;
}

.crm-history-value {
  color: #2f3444;
  font-size: 0.8rem;
  line-height: 1.4;
  word-break: break-word;
}

.crm-history-date {
  color: #96a0bb;
  font-size: 0.75rem;
}

.crm-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.crm-tag-success {
  color: #0d9a67;
  background: rgba(22, 199, 132, 0.12);
  border: 1px solid rgba(22, 199, 132, 0.24);
}

.crm-tag-muted {
  color: #7f8aa8;
  background: rgba(116, 126, 155, 0.1);
  border: 1px solid rgba(116, 126, 155, 0.18);
}

.crm-tag-danger {
  color: #d9485f;
  background: rgba(249, 115, 138, 0.12);
  border: 1px solid rgba(249, 115, 138, 0.26);
}

.crm-api-key {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(92, 76, 255, 0.08);
  border: 1px solid rgba(92, 76, 255, 0.16);
  color: #4136b9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.crm-action-button[href] {
  text-decoration: none;
}

.crm-action-button:hover,
.crm-action-button:focus-visible {
  transform: translateY(-1px);
}

.crm-action-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.crm-action-button-danger {
  color: #b42339;
  background: rgba(249, 115, 138, 0.12);
  border-color: rgba(249, 115, 138, 0.28);
}

.crm-action-button-neutral {
  color: #475467;
  background: rgba(71, 84, 103, 0.08);
  border-color: rgba(71, 84, 103, 0.16);
}

.crm-action-button-success {
  color: #0d9a67;
  background: rgba(22, 199, 132, 0.12);
  border-color: rgba(22, 199, 132, 0.28);
}

.crm-empty-row td {
  padding: 32px 12px;
  text-align: center;
  color: #8a93af;
}

.crm-ip-history-header {
  align-items: center;
}

.crm-ip-history-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-ip-history-subtitle {
  margin: 10px 0 0;
  color: #7f88a1;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 720px;
}

.crm-ip-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crm-ip-history-grid .crm-stat-card strong {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.crm-server-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crm-server-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.crm-server-card {
  padding: 24px;
  border-radius: 26px;
}

.crm-server-head {
  align-items: flex-start;
}

.crm-server-head p {
  margin: 10px 0 0;
  color: #8a91ab;
  line-height: 1.6;
}

.crm-server-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(112, 118, 144, 0.1);
  color: #66708a;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.crm-server-badge.is-online {
  background: rgba(22, 199, 132, 0.12);
  color: #0f9f6d;
}

.crm-server-badge.is-offline {
  background: rgba(247, 90, 104, 0.12);
  color: #c53f54;
}

.crm-database-count-badge {
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(22, 199, 132, 0.18);
  background: linear-gradient(135deg, rgba(22, 199, 132, 0.16), rgba(92, 76, 255, 0.12));
  color: #148c67;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(22, 199, 132, 0.12);
}

.crm-database-count-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(22, 199, 132, 0.14);
}

.crm-server-kv-grid,
.crm-server-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crm-server-kv {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(247, 248, 252, 0.78);
  border: 1px solid rgba(112, 118, 144, 0.1);
}

.crm-server-kv span {
  display: block;
  color: #8a91ab;
  font-size: 0.8rem;
  line-height: 1.3;
}

.crm-server-kv strong {
  display: block;
  margin-top: 10px;
  color: #1d2231;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

#database-contact-state {
  margin-top: 18px;
}

.crm-database-form {
  margin-top: 18px;
}

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

.crm-database-field {
  display: grid;
  gap: 8px;
}

.crm-database-field span {
  color: #8a91ab;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.crm-database-field-wide {
  grid-column: 1 / -1;
}

.crm-database-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.crm-database-list-card {
  margin-top: 18px;
}

.crm-database-status-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.crm-database-status-summary-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.crm-database-status-summary-group {
  display: grid;
  gap: 8px;
}

.crm-database-status-summary-caption {
  margin: 0;
  color: var(--crm-text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.crm-database-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.crm-database-status-pill strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.crm-database-status-pill.is-free {
  color: #475467;
  background: rgba(71, 84, 103, 0.08);
  border-color: rgba(71, 84, 103, 0.14);
}

.crm-database-status-pill.is-pending {
  color: #8a4f08;
  background: rgba(255, 184, 77, 0.18);
  border-color: rgba(255, 184, 77, 0.28);
}

.crm-database-status-pill.is-busy {
  color: #135d47;
  background: rgba(22, 199, 132, 0.14);
  border-color: rgba(22, 199, 132, 0.24);
}

.crm-database-status-pill.is-moderation {
  color: #6941c6;
  background: rgba(105, 65, 198, 0.12);
  border-color: rgba(105, 65, 198, 0.22);
}

.crm-database-status-pill.is-refusal {
  color: #b42318;
  background: rgba(217, 45, 32, 0.12);
  border-color: rgba(217, 45, 32, 0.2);
}

.crm-database-status-pill.is-cooldown {
  color: #155eef;
  background: rgba(21, 94, 239, 0.12);
  border-color: rgba(21, 94, 239, 0.2);
}

.crm-database-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.crm-database-section-badge.is-added {
  color: #9a6700;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
}

.crm-database-section-badge.is-connected {
  color: #0d9a67;
  background: rgba(22, 199, 132, 0.12);
  border-color: rgba(22, 199, 132, 0.24);
}

.crm-database-section-badge.is-moderation,
.crm-database-section-badge.is-refusal-moderation {
  color: #b54708;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
}

.crm-database-section-badge.is-blocked,
.crm-database-section-badge.is-deleted {
  color: #b42339;
  background: rgba(249, 115, 138, 0.12);
  border-color: rgba(249, 115, 138, 0.24);
}

.crm-database-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.crm-status-filter {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.crm-status-filter select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(112, 118, 144, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 24px rgba(35, 41, 70, 0.05);
  color: #2a3040;
  font: inherit;
  outline: none;
  cursor: pointer;
}

.crm-status-filter select:hover,
.crm-status-filter select:focus-visible {
  border-color: rgba(92, 76, 255, 0.24);
  box-shadow: 0 16px 28px rgba(35, 41, 70, 0.08);
}

.crm-database-search {
  min-width: 0;
  width: min(340px, 100%);
}

.crm-database-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f7;
}

.crm-database-pagination-summary {
  color: #8a91ab;
  font-size: 0.88rem;
  line-height: 1.4;
}

.crm-database-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.crm-database-pagination-button {
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 22px rgba(35, 41, 70, 0.05);
  color: #2a3040;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.crm-database-pagination-button:hover,
.crm-database-pagination-button:focus-visible {
  border-color: rgba(92, 76, 255, 0.24);
  box-shadow: 0 16px 28px rgba(35, 41, 70, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.crm-database-pagination-button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6d5dfc, #8c63ff);
  box-shadow: 0 18px 32px rgba(92, 76, 255, 0.2);
  color: #ffffff;
}

.crm-database-pagination-button:disabled {
  opacity: 0.46;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.crm-database-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  color: #8a91ab;
  font-size: 1rem;
  font-weight: 700;
}

body[data-database-view] .crm-admin-shell {
  width: min(100% - 18px, 1700px);
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  zoom: 0.92;
}

@supports not (zoom: 0.92) {
  body[data-database-view] .crm-admin-shell {
    width: min(calc((100vw - 18px) * 1.09), 1848px);
    transform: scale(0.92);
    transform-origin: top center;
    margin: 0 auto -140px;
  }
}

@keyframes cursorRingSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorRingSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes cursorPulseFloatA {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: translate(calc(-50% + 20px), calc(-50% - 18px)) scale(1.16);
    opacity: 1;
  }
}

@keyframes cursorPulseFloatB {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(calc(-50% - 16px), calc(-50% + 14px)) scale(1.18);
    opacity: 0.96;
  }
}

body[data-database-view] .crm-users-card {
  padding: 28px 26px 18px;
}

body[data-database-view] .crm-users-head {
  gap: 14px;
}

body[data-database-view] .crm-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

body[data-database-view] .crm-table {
  min-width: 1180px;
  table-layout: auto;
}

body[data-database-view] .crm-table th,
body[data-database-view] .crm-table td {
  padding: 16px 8px;
  vertical-align: top;
}

body[data-database-view="search"] .crm-table {
  min-width: 1480px;
}

body[data-database-view="search"] .crm-table th:nth-child(1),
body[data-database-view="search"] .crm-table td:nth-child(1) {
  min-width: 168px;
}

body[data-database-view="search"] .crm-table th:nth-child(2),
body[data-database-view="search"] .crm-table td:nth-child(2) {
  min-width: 72px;
}

body[data-database-view="search"] .crm-table th:nth-child(3),
body[data-database-view="search"] .crm-table td:nth-child(3) {
  min-width: 150px;
}

body[data-database-view="search"] .crm-table th:nth-child(4),
body[data-database-view="search"] .crm-table td:nth-child(4) {
  min-width: 160px;
}

body[data-database-view="search"] .crm-table th:nth-child(5),
body[data-database-view="search"] .crm-table td:nth-child(5) {
  min-width: 210px;
}

body[data-database-view="search"] .crm-table th:nth-child(8),
body[data-database-view="search"] .crm-table td:nth-child(8) {
  min-width: 120px;
}

body[data-database-view="search"] .crm-table th:nth-child(9),
body[data-database-view="search"] .crm-table td:nth-child(9) {
  min-width: 170px;
}

body[data-database-view="search"] .crm-table th:nth-child(10),
body[data-database-view="search"] .crm-table td:nth-child(10) {
  min-width: 132px;
}

body[data-database-view="search"] .crm-table th:nth-child(11),
body[data-database-view="search"] .crm-table td:nth-child(11) {
  min-width: 158px;
}

body[data-database-view] .crm-database-row-actions {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-database-view] .crm-action-button {
  width: auto;
  min-width: 0;
  max-width: 100%;
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

body[data-database-view="blocked"] .crm-database-row-actions,
body[data-database-view="deleted"] .crm-database-row-actions {
  display: grid;
  width: min(100%, 264px);
  justify-items: start;
}

body[data-database-view="blocked"] .crm-action-button,
body[data-database-view="deleted"] .crm-action-button {
  width: 100%;
  justify-content: center;
  min-width: 0;
  padding-inline: 16px;
  overflow: visible;
  text-overflow: clip;
}

body[data-database-view="blocked"] .crm-table,
body[data-database-view="deleted"] .crm-table {
  min-width: 1540px;
}

body[data-database-view="blocked"] .crm-table th:nth-child(10),
body[data-database-view="blocked"] .crm-table td:nth-child(10),
body[data-database-view="deleted"] .crm-table th:nth-child(9),
body[data-database-view="deleted"] .crm-table td:nth-child(9) {
  min-width: 150px;
}

body[data-database-view="blocked"] .crm-table th:nth-child(11),
body[data-database-view="blocked"] .crm-table td:nth-child(11),
body[data-database-view="deleted"] .crm-table th:nth-child(10),
body[data-database-view="deleted"] .crm-table td:nth-child(10) {
  min-width: 250px;
}

body[data-database-view="deleted"] .crm-table th:nth-child(11),
body[data-database-view="deleted"] .crm-table td:nth-child(11) {
  min-width: 264px;
}

body[data-database-view] .crm-contact-status-stack {
  max-width: 100%;
}

body[data-database-view] .crm-server-badge {
  flex-shrink: 0;
}

body[data-database-view="add"] .crm-server-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-database-view="add"] #database-add-section {
  width: 100%;
  padding: 32px 34px;
  border-radius: 30px;
}

body[data-database-view="add"] #database-add-section .crm-users-head h2 {
  font-size: 1.46rem;
  line-height: 1.15;
}

body[data-database-view="add"] #database-add-section .crm-users-head p {
  max-width: 760px;
  font-size: 0.98rem;
}

body[data-database-view="add"] .crm-database-form {
  margin-top: 24px;
}

body[data-database-view="add"] .crm-database-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

body[data-database-view="add"] .crm-database-field {
  gap: 10px;
}

body[data-database-view="add"] .crm-database-field span {
  font-size: 0.84rem;
  font-weight: 700;
}

body[data-database-view="add"] .crm-inline-input {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
}

body[data-database-view="add"] .crm-database-actions {
  gap: 14px;
  margin-top: 26px;
}

body[data-database-view="add"] .crm-database-actions .button {
  min-height: 52px;
  padding-inline: 24px;
}

.crm-language-field {
  position: relative;
}

.crm-language-picker {
  position: relative;
}

.crm-language-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.crm-language-current-flag {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: rgba(92, 76, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(92, 76, 255, 0.12);
  color: #5c4cff;
  font-size: 0.95rem;
  line-height: 1;
  overflow: hidden;
  pointer-events: none;
}

.crm-language-current-flag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.crm-language-current-flag.is-image {
  background: rgba(92, 76, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(92, 76, 255, 0.08);
}

.crm-language-current-flag img,
.crm-language-option-flag img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 156, 187, 0.18);
}

.crm-language-input {
  padding-left: 74px;
  padding-right: 54px;
}

body[data-database-view="add"] .crm-language-input {
  padding-left: 58px;
  padding-right: 52px;
}

.crm-language-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #6f7892;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.crm-language-picker.is-open .crm-language-toggle {
  color: #4f46e5;
}

.crm-language-toggle:hover,
.crm-language-toggle:focus-visible {
  background: rgba(92, 76, 255, 0.08);
  color: #4f46e5;
}

.crm-language-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.crm-language-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(112, 118, 144, 0.14);
  box-shadow: 0 24px 54px rgba(31, 37, 71, 0.14);
  backdrop-filter: blur(18px);
}

.crm-language-options {
  display: grid;
  gap: 6px;
}

.crm-language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #1d2231;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.crm-language-option:hover,
.crm-language-option:focus-visible,
.crm-language-option.is-active {
  background: rgba(92, 76, 255, 0.08);
}

.crm-language-option:active {
  transform: translateY(1px);
}

.crm-language-option-flag {
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(92, 76, 255, 0.04);
  font-size: 1.15rem;
  line-height: 1;
  overflow: hidden;
}

.crm-language-option-flag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.crm-language-option-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.crm-language-option-title {
  color: #1d2231;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.crm-language-option-meta {
  color: #8a91ab;
  font-size: 0.78rem;
  line-height: 1.35;
}

.crm-language-empty {
  padding: 14px;
  border-radius: 14px;
  background: rgba(247, 248, 252, 0.88);
  color: #7f88a1;
  font-size: 0.86rem;
  text-align: center;
}

.crm-social-field {
  position: relative;
}

.crm-social-picker {
  position: relative;
}

.crm-social-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.crm-social-current-logo {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: rgba(92, 76, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(92, 76, 255, 0.12);
  color: #5c4cff;
  overflow: hidden;
  pointer-events: none;
}

.crm-social-current-logo svg,
.crm-social-option-logo svg {
  display: block;
  width: 18px;
  height: 18px;
}

.crm-social-input {
  padding-left: 74px;
  padding-right: 54px;
}

body[data-database-view="add"] .crm-social-input {
  padding-left: 58px;
  padding-right: 52px;
}

.crm-social-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #6f7892;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.crm-social-picker.is-open .crm-social-toggle {
  color: #4f46e5;
}

.crm-social-toggle:hover,
.crm-social-toggle:focus-visible {
  background: rgba(92, 76, 255, 0.08);
  color: #4f46e5;
}

.crm-social-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.crm-social-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 280px;
  overflow: auto;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(112, 118, 144, 0.14);
  box-shadow: 0 24px 54px rgba(31, 37, 71, 0.14);
  backdrop-filter: blur(18px);
}

.crm-social-options {
  display: grid;
  gap: 6px;
}

.crm-social-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #1d2231;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.crm-social-option:hover,
.crm-social-option:focus-visible,
.crm-social-option.is-active {
  background: rgba(92, 76, 255, 0.08);
}

.crm-social-option:active {
  transform: translateY(1px);
}

.crm-social-option-logo {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(247, 248, 252, 0.96);
  border: 1px solid rgba(112, 118, 144, 0.1);
}

.crm-social-option-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.crm-social-option-title {
  color: #1d2231;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.crm-social-option-meta {
  color: #8a91ab;
  font-size: 0.78rem;
  line-height: 1.35;
}

.crm-social-empty {
  padding: 14px;
  border-radius: 14px;
  background: rgba(247, 248, 252, 0.88);
  color: #7f88a1;
  font-size: 0.86rem;
  text-align: center;
}

.crm-database-table-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #5c4cff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
  transition: color 160ms ease, transform 160ms ease;
}

.crm-database-table-link:hover,
.crm-database-table-link:focus-visible {
  color: #4136b9;
  transform: translateX(2px);
}

.crm-database-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.crm-contact-status-stack {
  display: grid;
  gap: 6px;
}

.crm-contact-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 34px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.crm-contact-status-badge.is-free {
  color: #475467;
  background: rgba(71, 84, 103, 0.08);
  border-color: rgba(71, 84, 103, 0.14);
}

.crm-contact-status-badge.is-busy {
  color: #135d47;
  background: rgba(22, 199, 132, 0.14);
  border-color: rgba(22, 199, 132, 0.24);
}

.crm-contact-status-badge.is-pending {
  color: #8a4f08;
  background: rgba(255, 184, 77, 0.18);
  border-color: rgba(255, 184, 77, 0.28);
}

.crm-contact-status-badge.is-moderation {
  color: #6941c6;
  background: rgba(105, 65, 198, 0.12);
  border-color: rgba(105, 65, 198, 0.22);
}

.crm-contact-status-badge.is-refusal {
  color: #b42318;
  background: rgba(217, 45, 32, 0.12);
  border-color: rgba(217, 45, 32, 0.2);
}

.crm-contact-status-badge.is-cooldown {
  color: #155eef;
  background: rgba(21, 94, 239, 0.12);
  border-color: rgba(21, 94, 239, 0.2);
}

.crm-contact-status-meta {
  color: #7b85a3;
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-word;
}

.crm-database-row-input {
  width: 100%;
  min-width: 140px;
}

.crm-database-row-id {
  font-weight: 700;
  color: #1d2233;
}

.crm-support-workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
  min-height: 0;
  height: clamp(620px, 74vh, 860px);
}

.crm-support-sidebar,
.crm-support-conversation {
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 253, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 48px rgba(31, 37, 71, 0.06);
}

.crm-support-sidebar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.crm-support-sidebar-top {
  padding: 18px;
  border-bottom: 1px solid rgba(112, 118, 144, 0.12);
}

.crm-support-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.crm-support-filter-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(112, 118, 144, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #66708c;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.crm-support-filter-button:hover,
.crm-support-filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(92, 76, 255, 0.2);
  box-shadow: 0 10px 22px rgba(92, 76, 255, 0.08);
}

.crm-support-filter-button.is-active {
  border-color: rgba(92, 76, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(92, 76, 255, 0.1), rgba(125, 73, 255, 0.06)),
    rgba(255, 255, 255, 0.98);
  color: #322c86;
  box-shadow: 0 12px 24px rgba(92, 76, 255, 0.12);
}

.crm-support-filter-count {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(92, 76, 255, 0.12);
  color: #5c4cff;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
}

.crm-support-search {
  width: 100%;
}

.crm-support-search input {
  width: 100%;
}

.crm-support-contact-list {
  flex: 1;
  min-height: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.crm-support-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(112, 118, 144, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #1d2233;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.crm-support-contact:hover,
.crm-support-contact:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(92, 76, 255, 0.18);
  box-shadow: 0 10px 20px rgba(92, 76, 255, 0.08);
}

.crm-support-contact.is-active {
  border-color: rgba(92, 76, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(92, 76, 255, 0.08), rgba(125, 73, 255, 0.04)),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(92, 76, 255, 0.12);
}

.crm-support-avatar {
  position: relative;
  overflow: hidden;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #5c4cff 0%, #7d49ff 100%);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 30px rgba(92, 76, 255, 0.18);
}

.crm-support-avatar.is-loaded {
  background: rgba(239, 243, 255, 0.98);
}

.crm-support-avatar-small {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.76rem;
  box-shadow: 0 12px 20px rgba(92, 76, 255, 0.14);
}

.crm-support-avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 1;
}

.crm-support-avatar.is-loaded .crm-support-avatar-image {
  opacity: 1;
}

.crm-support-avatar-label {
  position: relative;
  z-index: 0;
  transition: opacity 180ms ease;
}

.crm-support-avatar.is-loaded .crm-support-avatar-label {
  opacity: 0;
}

.crm-support-contact-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

.crm-support-contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.crm-support-contact-row strong {
  min-width: 0;
  color: #1d2233;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.crm-support-contact-row time {
  flex: 0 0 auto;
  color: #8a91ab;
  font-size: 0.76rem;
  line-height: 1.3;
}

.crm-support-contact-row-sub {
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.crm-support-contact-preview {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #7a84a0;
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crm-support-broadcast-card {
  padding: 30px;
  border-radius: 28px;
}

.crm-promo-avatars-card {
  padding: 30px;
  border-radius: 28px;
  display: grid;
  gap: 24px;
}

.crm-promo-text-card {
  padding: 30px;
  border-radius: 28px;
  display: grid;
  gap: 24px;
}

#promo-avatars-state {
  display: none !important;
}

.crm-promo-inline-state {
  margin: 0;
  min-height: 24px;
  color: #7f88a1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.crm-promo-inline-state.is-error {
  color: #c2410c;
}

.crm-promo-inline-state.is-success {
  color: #0f766e;
}

.crm-promo-inline-state.is-neutral {
  color: #64748b;
}

.crm-promo-avatars-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: start;
}

.crm-promo-text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.crm-promo-uploader {
  display: grid;
  gap: 18px;
}

.crm-promo-category-select,
.crm-promo-avatar-select {
  min-height: 54px;
}

.crm-promo-uploader-box {
  padding: 22px;
  border-radius: 24px;
  border: 1px dashed rgba(112, 118, 144, 0.24);
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.95), rgba(245, 248, 255, 0.92));
  display: grid;
  gap: 16px;
}

.crm-promo-uploader-box h3,
.crm-promo-library-head h3,
.crm-promo-queue-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.crm-promo-uploader-box p,
.crm-promo-library-head p,
.crm-promo-queue-head p {
  margin: 6px 0 0;
  color: #7f88a1;
  line-height: 1.6;
}

.crm-promo-upload-actions,
.crm-promo-library-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crm-promo-upload-input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(112, 118, 144, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #1f2432;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.crm-promo-upload-input input {
  display: none;
}

.crm-promo-textarea {
  min-height: 280px;
}

.crm-promo-queue {
  display: grid;
  gap: 14px;
}

.crm-promo-queue-list {
  display: grid;
  gap: 10px;
}

.crm-promo-queue-empty {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(112, 118, 144, 0.22);
  color: #7f88a1;
  background: rgba(255, 255, 255, 0.72);
}

.crm-promo-queue-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crm-promo-queue-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.crm-promo-queue-copy strong,
.crm-promo-avatar-copy strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-promo-queue-copy span,
.crm-promo-avatar-copy span {
  color: #7f88a1;
  font-size: 0.84rem;
}

.crm-promo-queue-remove {
  flex: 0 0 auto;
}

.crm-promo-library {
  display: grid;
  gap: 18px;
}

.crm-promo-text-list {
  display: grid;
  gap: 16px;
}

.crm-promo-text-item {
  min-width: 0;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: 0 16px 30px rgba(89, 104, 140, 0.08);
  display: grid;
  gap: 14px;
}

.crm-promo-text-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crm-promo-text-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.crm-promo-text-copy strong {
  display: block;
  min-width: 0;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-promo-text-copy span {
  color: #7f88a1;
  font-size: 0.84rem;
}

.crm-promo-text-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crm-promo-text-body {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(112, 118, 144, 0.12);
  background: rgba(249, 251, 255, 0.88);
  color: #273142;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.crm-promo-library-filter {
  flex: 0 1 300px;
  min-width: min(300px, 100%);
}

.crm-promo-library-grid {
  display: grid;
  gap: 18px;
}

.crm-promo-library-section {
  display: grid;
  gap: 16px;
}

.crm-promo-library-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crm-promo-library-section-head h4 {
  margin: 0;
  font-size: 1rem;
}

.crm-promo-library-section-head p {
  margin: 6px 0 0;
  color: #7f88a1;
  line-height: 1.55;
}

.crm-promo-library-section-count {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(112, 118, 144, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: #3a4663;
}

.crm-promo-library-section-count.is-male {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

.crm-promo-library-section-count.is-female {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.24);
  color: #be185d;
}

.crm-promo-library-section-count.is-animals {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #b45309;
}

.crm-promo-library-section-count.is-unassigned {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.24);
  color: #475569;
}

.crm-promo-library-section-count.is-all {
  background: rgba(109, 93, 252, 0.1);
  border-color: rgba(109, 93, 252, 0.24);
  color: #5b4ce0;
}

.crm-promo-library-grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.crm-promo-library-empty {
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(112, 118, 144, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #7f88a1;
  text-align: center;
}

.crm-promo-library-empty-inline {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(112, 118, 144, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: #7f88a1;
}

.crm-promo-avatar-card {
  min-width: 0;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: 0 16px 30px rgba(89, 104, 140, 0.08);
  display: grid;
  gap: 14px;
}

.crm-promo-avatar-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(240, 245, 255, 0.96), rgba(231, 239, 255, 0.92));
  border: 1px solid rgba(112, 118, 144, 0.14);
}

.crm-promo-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crm-promo-avatar-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.crm-promo-avatar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.crm-promo-avatar-badge {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(112, 118, 144, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
}

.crm-promo-avatar-badge.is-male {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

.crm-promo-avatar-badge.is-female {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.24);
  color: #be185d;
}

.crm-promo-avatar-badge.is-animals {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #b45309;
}

.crm-promo-avatar-badge.is-unassigned {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.24);
  color: #475569;
}

.crm-promo-avatar-field {
  gap: 8px;
}

.crm-promo-avatar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crm-promo-avatar-actions .button {
  flex: 1 1 auto;
  min-width: 0;
}

.crm-promo-pagination {
  margin-top: 0;
}

.crm-support-broadcast-form {
  display: grid;
  gap: 22px;
}

.crm-support-broadcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.crm-support-broadcast-composer {
  display: grid;
  gap: 18px;
}

.crm-support-broadcast-field {
  display: grid;
  gap: 10px;
}

.crm-support-broadcast-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.crm-support-broadcast-field span {
  color: #7f88a1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-support-broadcast-input {
  width: 100%;
  min-height: 240px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: #1f2432;
  font: inherit;
  line-height: 1.7;
  resize: vertical;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.crm-support-broadcast-text-input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: #1f2432;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.crm-support-broadcast-text-input:focus {
  border-color: rgba(92, 76, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(92, 76, 255, 0.08);
}

.crm-support-broadcast-input:focus {
  border-color: rgba(92, 76, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(92, 76, 255, 0.08);
}

.crm-support-broadcast-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-support-broadcast-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px dashed rgba(92, 76, 255, 0.28);
  background: rgba(92, 76, 255, 0.06);
  color: #5c4cff;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

.crm-support-broadcast-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.crm-support-broadcast-file-note {
  color: #7a84a0;
  font-size: 0.86rem;
}

.crm-support-broadcast-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crm-support-broadcast-hint {
  max-width: 64ch;
  color: #7a84a0;
  line-height: 1.65;
}

.crm-support-broadcast-preview-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.96), rgba(239, 244, 255, 0.94));
  border: 1px solid rgba(112, 118, 144, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 16px;
}

.crm-support-broadcast-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.crm-support-broadcast-preview-head strong {
  display: block;
  color: #1c2231;
  font-size: 1rem;
}

.crm-support-broadcast-preview-head p {
  margin: 6px 0 0;
  color: #7a84a0;
  line-height: 1.55;
}

.crm-support-broadcast-preview-phone {
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(92, 76, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #1d2233 0%, #131826 100%);
  box-shadow: 0 24px 48px rgba(28, 34, 49, 0.18);
}

.crm-support-broadcast-preview-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crm-support-broadcast-preview-bubble {
  margin-top: 14px;
  padding: 14px;
  border-radius: 22px 22px 22px 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(12, 18, 34, 0.24);
  display: grid;
  gap: 12px;
}

.crm-support-broadcast-preview-image-wrap {
  overflow: hidden;
  border-radius: 16px;
  background: #e9eef9;
}

.crm-support-broadcast-preview-image-wrap img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.crm-support-broadcast-preview-text {
  color: #1e2433;
  font-size: 0.96rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.crm-support-broadcast-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #5c4cff, #7d49ff);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(92, 76, 255, 0.22);
}

.crm-support-broadcast-progress {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(246, 248, 252, 0.92);
  border: 1px solid rgba(112, 118, 144, 0.12);
  display: grid;
  gap: 16px;
}

.crm-support-broadcast-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.crm-support-broadcast-progress-head strong {
  display: block;
  color: #1c2231;
  font-size: 1rem;
}

.crm-support-broadcast-progress-head p {
  margin: 6px 0 0;
  color: #7a84a0;
  line-height: 1.6;
}

.crm-support-broadcast-progress-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(92, 76, 255, 0.08);
}

.crm-support-broadcast-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c4cff, #0bcf8b);
  transition: width 220ms ease;
}

.crm-support-broadcast-progress-meta {
  display: flex;
  justify-content: flex-end;
  color: #5c4cff;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.crm-support-broadcast-progress-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(112, 118, 144, 0.12);
  display: grid;
  gap: 8px;
}

.crm-support-broadcast-progress-item span {
  color: #7a84a0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crm-support-broadcast-progress-item strong {
  color: #1f2432;
  font-size: 1.38rem;
  line-height: 1;
}

.crm-support-broadcast-results {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(246, 248, 252, 0.92);
  border: 1px solid rgba(112, 118, 144, 0.12);
  color: #4d5770;
  max-height: 320px;
  overflow: auto;
}

.crm-support-broadcast-results strong {
  display: block;
  color: #1c2231;
  font-size: 1rem;
}

.crm-support-broadcast-results p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.crm-support-broadcast-results ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.crm-support-broadcast-results li + li {
  margin-top: 8px;
}

.crm-support-contact-count {
  flex: 0 0 auto;
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(92, 76, 255, 0.1);
  color: #5c4cff;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.crm-support-conversation {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.crm-support-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(112, 118, 144, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 254, 0.9));
}

.crm-support-conversation-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.crm-support-conversation-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.crm-support-conversation-copy strong {
  color: #1d2233;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
}

.crm-support-conversation-copy span {
  color: #8a91ab;
  font-size: 0.84rem;
  line-height: 1.5;
  word-break: break-word;
}

.crm-support-conversation-tools {
  min-width: min(100%, 360px);
  display: grid;
  justify-items: end;
  gap: 12px;
}

.crm-support-telegram-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  color: #5c4cff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.crm-support-telegram-link:hover,
.crm-support-telegram-link:focus-visible {
  color: #4136b9;
  transform: translateX(2px);
}

.crm-support-message-search {
  width: 100%;
  max-width: 320px;
}

.crm-support-chat-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.crm-support-chat-actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.crm-support-contact-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.crm-support-contact-state-hidden {
  background: rgba(255, 193, 7, 0.16);
  color: #8f6500;
}

.crm-support-contact-state-blocked {
  background: rgba(235, 87, 87, 0.14);
  color: #c63f3f;
}

.crm-support-messages {
  flex: 1;
  min-height: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background:
    radial-gradient(circle at top right, rgba(92, 76, 255, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(250, 251, 255, 0.92), rgba(245, 247, 252, 0.96));
}

.crm-support-contact-list::-webkit-scrollbar,
.crm-support-messages::-webkit-scrollbar {
  width: 10px;
}

.crm-support-contact-list::-webkit-scrollbar-track,
.crm-support-messages::-webkit-scrollbar-track {
  background: rgba(236, 240, 248, 0.9);
  border-radius: 999px;
}

.crm-support-contact-list::-webkit-scrollbar-thumb,
.crm-support-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(92, 76, 255, 0.6), rgba(125, 73, 255, 0.78));
  border-radius: 999px;
  border: 2px solid rgba(236, 240, 248, 0.9);
}

.crm-support-contact-list::-webkit-scrollbar-thumb:hover,
.crm-support-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(92, 76, 255, 0.8), rgba(125, 73, 255, 0.95));
}

.crm-support-message-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.crm-support-message-row.is-outgoing {
  align-items: flex-end;
}

.crm-support-message-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a91ab;
  font-size: 0.8rem;
  line-height: 1.35;
}

.crm-support-message-row.is-outgoing .crm-support-message-meta {
  justify-content: flex-end;
}

.crm-support-bubble {
  width: min(100%, 760px);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  border-radius: 20px 20px 20px 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(112, 118, 144, 0.14);
  box-shadow: 0 16px 28px rgba(31, 37, 71, 0.06);
}

.crm-support-bubble.is-outgoing {
  border-radius: 20px 20px 8px 20px;
  background:
    linear-gradient(135deg, rgba(22, 199, 132, 0.12), rgba(92, 76, 255, 0.08)),
    rgba(255, 255, 255, 0.98);
  border-color: rgba(22, 199, 132, 0.18);
  box-shadow: 0 18px 32px rgba(22, 199, 132, 0.08);
}

.crm-support-bubble p {
  margin: 0;
  color: #2b3040;
  font-size: 0.94rem;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
}

.crm-support-media-link {
  display: block;
  width: fit-content;
  max-width: min(100%, 420px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(112, 118, 144, 0.14);
  background: rgba(239, 243, 251, 0.92);
  box-shadow: 0 12px 24px rgba(31, 37, 71, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.crm-support-media-link:hover,
.crm-support-media-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(92, 76, 255, 0.2);
  box-shadow: 0 18px 30px rgba(92, 76, 255, 0.14);
}

.crm-support-media-image {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  object-fit: cover;
  background: rgba(239, 243, 251, 0.92);
}

.crm-support-reply-state {
  margin: 0 22px 18px;
}

.crm-support-reply-form {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(112, 118, 144, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.98));
}

.crm-support-reply-input {
  width: 100%;
  min-height: 104px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(112, 118, 144, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: #1d2233;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.crm-support-reply-input:focus {
  border-color: rgba(92, 76, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(92, 76, 255, 0.08);
}

.crm-support-reply-input:disabled {
  background: rgba(243, 245, 250, 0.9);
  color: #8a91ab;
  cursor: not-allowed;
}

.crm-support-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-support-reply-hint {
  color: #8a91ab;
  font-size: 0.84rem;
  line-height: 1.5;
}

.crm-support-list-empty,
.crm-support-conversation-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 24px;
  border: 1px dashed rgba(112, 118, 144, 0.18);
  border-radius: 20px;
  color: #8a91ab;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
}

.crm-support-error {
  margin-top: 18px;
}

.crm-empty-row td {
  color: #8a91ab;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .motion-tag,
  .motion-bars,
  .motion-beam,
  .motion-arrow,
  .income-pop,
  .ledger-surface,
  .phone-frame {
    animation: none !important;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
  }

  .device-stage {
    min-height: 680px;
  }

  .motion-field {
    inset: -30px -12px -44px -20px;
  }

  .motion-tag-top-right {
    right: 8px;
  }

  .motion-bars {
    right: 42px;
  }

  .phone-frame {
    left: 50%;
    transform: translateX(-50%);
  }

  .ledger-surface {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .income-pop {
    right: 10%;
  }

  .proof-grid,
  .value-grid,
  .auth-section,
  .seo-section,
  .admin-hero,
  .admin-metrics,
  .admin-grid,
  .auth-page-grid,
  .script-panel,
  .crm-dashboard-grid,
  .crm-ip-history-grid {
    grid-template-columns: 1fr;
  }

  .crm-admin-shell,
  .crm-stats {
    grid-template-columns: 1fr;
  }

  .crm-admin-shell {
    width: min(100% - 28px, 1440px);
    zoom: 1;
  }

  @supports not (zoom: 0.82) {
    .crm-admin-shell {
      transform: none;
      margin: 0 auto;
    }
  }

  .crm-sidebar {
    min-height: auto;
  }

  .crm-header,
  .crm-users-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .crm-ip-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-ip-history-header {
    align-items: flex-start;
  }

  body[data-page="dashboard"] .crm-header {
    align-items: flex-start;
  }

  .crm-profile-list,
  .crm-action-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .crm-users-head-profile {
    gap: 14px;
  }

  body[data-page="dashboard"] .crm-profile-overview {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="dashboard"] .crm-profile-overview-meta {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body[data-page="dashboard"] .crm-profile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="dashboard"] .crm-inline-editor {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .crm-inline-editor-actions {
    flex-wrap: wrap;
  }

  .crm-header-tools,
  .crm-users-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .crm-search,
  .crm-search-compact {
    width: 100%;
    min-width: 0;
  }

  .crm-status-filter {
    width: 100%;
    min-width: 0;
  }

  .crm-database-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-database-pagination-controls {
    justify-content: flex-start;
  }

  .crm-server-grid {
    grid-template-columns: 1fr;
  }

  .crm-server-stats,
  .crm-server-kv-grid,
  .crm-server-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-support-broadcast-layout,
  .crm-support-broadcast-inline-fields,
  .crm-support-broadcast-progress-grid {
    grid-template-columns: 1fr;
  }

  .crm-support-conversation-tools {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .crm-support-chat-actions {
    justify-content: flex-start;
  }

  .crm-support-broadcast-preview-card,
  .crm-support-broadcast-progress {
    padding: 20px;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .crm-support-contact {
    padding: 12px;
  }

  .crm-support-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .crm-support-contact-row-sub {
    flex-direction: row;
    align-items: center;
  }

  .crm-support-contact-preview {
    white-space: normal;
  }

  .crm-support-conversation-head,
  .crm-support-messages {
    padding: 18px 16px;
  }

  .crm-support-chat-actions {
    width: 100%;
  }

  .crm-support-chat-actions .button {
    width: 100%;
    justify-content: center;
  }

  .crm-support-broadcast-card {
    padding: 20px;
  }

  .crm-support-broadcast-actions,
  .crm-support-broadcast-progress-head,
  .crm-support-broadcast-preview-head,
  .crm-support-broadcast-upload-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .crm-support-broadcast-preview-phone {
    padding: 16px;
    border-radius: 22px;
  }

  .crm-support-broadcast-preview-bubble {
    padding: 12px;
  }

  .crm-support-broadcast-input {
    min-height: 200px;
    padding: 16px 16px;
    border-radius: 18px;
  }

  .crm-support-broadcast-text-input {
    min-height: 50px;
    border-radius: 16px;
  }

  .crm-support-broadcast-progress-item {
    padding: 14px 16px;
  }

  .crm-support-reply-form {
    padding: 16px;
  }

  .crm-support-reply-state {
    margin: 0 16px 16px;
  }

  .crm-support-avatar {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .crm-support-bubble {
    width: 100%;
    padding: 14px 15px;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    width: min(100% - 28px, 1320px);
    padding-top: 26px;
  }

  .brand {
    margin-bottom: 32px;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .site-header-tools {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-support-header {
    width: 100%;
    max-width: none;
  }

  .hero-support-header .hero-support-link {
    width: 100%;
  }

  .site-header-nav {
    width: 100%;
  }

  .site-header-nav-link {
    width: 100%;
  }

  .brand-logo {
    width: min(100%, 220px);
  }

  .hero-description,
  .proof-card p,
  .value-card p,
  .auth-copy,
  .auth-page-info .auth-copy,
  .seo-copy-panel p,
  .seo-faq-card p,
  .script-copy p,
  .script-points li {
    font-size: 0.96rem;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .seo-faq-grid {
    grid-template-columns: 1fr;
  }

  .admin-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-admin-shell {
    width: min(100% - 20px, 1440px);
    gap: 18px;
    zoom: 1;
  }

  .crm-sidebar,
  .crm-users-card,
  .crm-stat-card {
    border-radius: 22px;
  }

  .crm-subnav {
    margin-left: 12px;
    padding-left: 12px;
  }

  .crm-ip-history-grid {
    grid-template-columns: 1fr;
  }

  .crm-server-stats,
  .crm-server-kv-grid,
  .crm-server-resource-grid {
    grid-template-columns: 1fr;
  }

  .crm-server-card {
    padding: 20px;
  }

  .crm-server-badge {
    width: 100%;
    justify-content: center;
  }

  .crm-database-grid {
    grid-template-columns: 1fr;
  }

  body[data-database-view="add"] #database-add-section {
    padding: 24px 20px;
  }

  .crm-language-dropdown {
    max-height: 280px;
  }

  .crm-social-dropdown {
    max-height: 260px;
  }

  .crm-database-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-database-actions .button {
    width: 100%;
    justify-content: center;
  }

  .crm-support-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
  }

  .crm-support-sidebar,
  .crm-support-conversation {
    min-height: 0;
    height: auto;
  }

  .crm-support-contact-list {
    max-height: 360px;
  }

  .crm-support-conversation-head {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-support-message-search {
    max-width: none;
  }

  .crm-support-messages {
    min-height: 320px;
    max-height: 52vh;
  }

  .crm-support-reply-input {
    min-height: 92px;
  }

  .crm-support-reply-actions .button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="dashboard"] .crm-users-card {
    padding: 22px 20px 18px;
  }

  body[data-page="dashboard"] .crm-profile-surface {
    padding: 14px;
    border-radius: 20px;
  }

  body[data-page="dashboard"] .crm-profile-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="dashboard"] .crm-profile-overview {
    padding: 18px 16px;
    border-radius: 22px;
  }

  body[data-page="dashboard"] .crm-profile-overview-name {
    font-size: 1.4rem;
  }

  body[data-page="dashboard"] .crm-profile-row {
    min-height: 0;
  }

  body[data-page="dashboard"] .crm-profile-row-main {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="dashboard"] .crm-profile-overview-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="dashboard"] .crm-profile-badge {
    align-self: flex-start;
  }

  .crm-stat-card {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .crm-users-card {
    padding: 24px 22px 18px;
  }

  body[data-page="dashboard"] .crm-profile-row {
    min-height: 0;
  }

  .crm-table {
    min-width: 720px;
  }

  @supports not (zoom: 0.82) {
    .crm-admin-shell {
      transform: none;
      margin: 0 auto;
    }
  }

  .auth-page-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-page-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .support-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .device-stage {
    min-height: 820px;
  }

  .motion-field {
    inset: -12px -6px -18px -8px;
  }

  .motion-tag {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .motion-tag::before {
    width: 6px;
    height: 6px;
    margin-right: 6px;
  }

  .motion-tag-top-btc {
    top: 66px;
    left: 12px;
  }

  .motion-tag-top-eth {
    top: 102px;
    left: 18px;
  }

  .motion-tag-top-right {
    display: none;
  }

  .motion-tag-mid-eth {
    display: none;
  }

  .motion-tag-bottom-usdt {
    display: none;
  }

  .motion-tag-bottom-ton {
    display: none;
  }

  .motion-arrow-b {
    display: none;
  }

  .motion-beam {
    left: calc(50% - 84px);
    width: 168px;
    height: 300px;
    opacity: 0.42;
  }

  .motion-bars {
    display: none;
  }

  .motion-arrow-a {
    display: none;
  }

  .hero-badge {
    margin-top: 24px;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 12px 16px;
    gap: 12px;
    border-radius: 26px;
  }

  .hero-badge span:last-child {
    font-size: 0.9rem;
    line-height: 1.16;
  }

  .hero-badge-icon {
    width: 24px;
    height: 24px;
  }

  .hero-badge-icon::before {
    inset: 6px;
  }

  .hero-badge-icon::after {
    inset: 9px;
  }

  .hero-support {
    width: 100%;
    max-width: none;
  }

  .hero-support-link {
    width: 100%;
    min-height: 64px;
    padding: 13px 16px;
    border-radius: 20px;
    gap: 12px;
  }

  .hero-support-copy strong {
    font-size: 0.94rem;
  }

  .growth-pill {
    min-height: 38px;
    padding-inline: 16px;
    font-size: 0.68rem;
  }

  .growth-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .script-box {
    padding: 22px 18px 18px;
  }

  .script-box-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .script-box-head h3 {
    margin-top: 10px;
    font-size: 1.14rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .growth-card {
    margin-top: 18px;
    padding: 16px 14px 16px;
    border-radius: 20px;
  }

  .growth-stat {
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
  }

  .growth-stat strong {
    margin-top: 8px;
    font-size: 1.16rem;
    line-height: 1.14;
    letter-spacing: -0.03em;
    max-width: 9ch;
  }

  .growth-stat small {
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .growth-chart-shell {
    margin-top: 16px;
    padding: 14px 12px 12px;
    border-radius: 20px;
  }

  .growth-chart-value {
    display: none;
  }

  .growth-axis {
    gap: 4px;
    font-size: 0.58rem;
    text-align: center;
  }

  .growth-axis span {
    white-space: nowrap;
  }

  .growth-caption {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    line-height: 1.46;
    color: rgba(193, 197, 204, 0.78);
  }

  .ledger-surface {
    width: min(100%, 332px);
    top: 40px;
    padding: 18px 14px 14px;
    opacity: 0.24;
  }

  .phone-frame {
    top: 124px;
    width: min(100%, 286px);
    padding: 12px 10px 14px;
    border-radius: 34px;
  }

  .phone-screen {
    min-height: 520px;
    padding: 30px 12px 14px;
  }

  .screen-cards {
    grid-template-columns: 1fr;
  }

  .screen-card {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .screen-card strong {
    font-size: 1.3rem;
  }

  .screen-card small {
    margin-top: 6px;
    font-size: 0.76rem;
  }

  .screen-section-head {
    margin-top: 18px;
  }

  .screen-search {
    margin-top: 14px;
    padding: 11px 12px;
    font-size: 0.78rem;
  }

  .screen-list li {
    padding: 12px 0;
  }

  .income-pop {
    top: 88px;
    right: 6px;
    width: 132px;
    padding: 14px 12px 12px;
    border-radius: 18px;
  }

  .income-pop strong {
    margin-top: 10px;
    font-size: 1.12rem;
  }

  .income-pop p {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .income-pop-label {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .script-panel,
  .auth-card,
  .auth-page-info,
  .admin-hero-copy,
  .admin-status-card,
  .admin-card,
  .seo-copy-panel,
  .seo-faq-card,
  .script-box,
  .cta-strip,
  .proof-card,
  .value-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .proof-grid {
    margin-top: 30px;
    gap: 14px;
  }

  .proof-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .proof-card strong {
    margin-top: 12px;
    font-size: 1.9rem;
  }

  .proof-card p {
    margin-top: 10px;
    line-height: 1.52;
  }

  .auth-page-shell {
    width: min(100% - 28px, 1240px);
    padding-top: 26px;
  }

  .admin-shell {
    width: min(100% - 28px, 1320px);
    padding-top: 26px;
  }

  .admin-links {
    grid-template-columns: 1fr;
  }

  .admin-table th,
  .admin-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .admin-table th {
    border-bottom: 0;
  }

  .script-box-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

body[data-page="dashboard"].crm-admin-body {
  background:
    radial-gradient(circle at top left, rgba(86, 95, 255, 0.08), transparent 18%),
    radial-gradient(circle at top right, rgba(255, 167, 86, 0.1), transparent 20%),
    linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%);
  color: #1d2333;
}

body[data-page="dashboard"] .crm-admin-shell {
  width: min(100% - 38px, 1520px);
  gap: 24px;
  padding: 26px 0 34px;
}

body[data-page="dashboard"] .crm-sidebar {
  padding: 20px 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #232a55 0%, #1e2347 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 56px rgba(30, 35, 71, 0.22);
}

body[data-page="dashboard"] .crm-sidebar-brand {
  color: #ffffff;
}

body[data-page="dashboard"] .crm-sidebar-brand strong {
  font-size: 1.18rem;
}

body[data-page="dashboard"] .crm-sidebar-nav {
  margin-top: 28px;
}

body[data-page="dashboard"] .crm-nav-item {
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  color: rgba(223, 228, 255, 0.72);
}

body[data-page="dashboard"] .crm-nav-item:hover,
body[data-page="dashboard"] .crm-nav-item:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="dashboard"] .crm-nav-item.is-active {
  color: #1f2550;
  background: linear-gradient(135deg, #ffffff 0%, #dfe6ff 100%);
  box-shadow: 0 16px 28px rgba(10, 13, 36, 0.22);
}

body[data-page="dashboard"] .crm-sidebar-footer {
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

body[data-page="dashboard"] .crm-sidebar-footer span {
  color: rgba(212, 218, 243, 0.68);
}

body[data-page="dashboard"] .crm-sidebar-avatar {
  background: linear-gradient(135deg, #6b73ff 0%, #ff9c6a 100%);
  box-shadow: 0 14px 28px rgba(107, 115, 255, 0.26);
}

/* Sales Management Dashboard inspired user cabinet */
body[data-page="dashboard"] {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(42, 211, 219, 0.16) 0, rgba(42, 211, 219, 0) 28%),
    linear-gradient(180deg, #12131a 0%, #111218 100%);
  color: #f5f6fb;
  font-family: "Poppins", "Inter", sans-serif;
}

body[data-page="dashboard"] .salescopy-shell {
  width: min(calc(100vw - 24px), 1450px);
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  background: #1a1b24;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(43, 132, 255, 0.92),
    0 24px 68px rgba(4, 8, 16, 0.56);
}

body[data-page="dashboard"] .salescopy-sidebar {
  background: #181921;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 18px 22px;
}

body[data-page="dashboard"] .salescopy-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 34px 8px;
}

body[data-page="dashboard"] .salescopy-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

body[data-page="dashboard"] .salescopy-window-dots .is-red {
  background: #ff5f57;
}

body[data-page="dashboard"] .salescopy-window-dots .is-yellow {
  background: #febc2e;
}

body[data-page="dashboard"] .salescopy-window-dots .is-green {
  background: #28c840;
}

body[data-page="dashboard"] .salescopy-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="dashboard"] .salescopy-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(218, 220, 230, 0.62);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

body[data-page="dashboard"] .salescopy-nav-item:hover {
  transform: translateX(2px);
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="dashboard"] .salescopy-nav-item.is-active {
  background: #c8fff8;
  color: #12161d;
  box-shadow: 0 12px 24px rgba(168, 255, 244, 0.14);
}

body[data-page="dashboard"] .salescopy-nav-item.is-active .salescopy-nav-icon {
  color: #10141c;
}

body[data-page="dashboard"] .salescopy-nav-signout {
  margin-top: 8px;
}

body[data-page="dashboard"] .salescopy-nav-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: inherit;
}

body[data-page="dashboard"] .salescopy-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

body[data-page="dashboard"] .salescopy-main {
  padding: 14px 16px 18px 18px;
}

body[data-page="dashboard"] .salescopy-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

body[data-page="dashboard"] .salescopy-search {
  flex: 1 1 auto;
  max-width: 475px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 10px;
  background: #23242f;
  color: rgba(231, 233, 242, 0.56);
}

body[data-page="dashboard"] .salescopy-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

body[data-page="dashboard"] .salescopy-search input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f6f8fc;
  font: inherit;
}

body[data-page="dashboard"] .salescopy-search input::placeholder {
  color: rgba(231, 233, 242, 0.52);
}

body[data-page="dashboard"] .salescopy-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="dashboard"] .salescopy-lang-switcher.language-switcher {
  gap: 6px;
  padding: 3px;
  border-radius: 10px;
  background: #23242f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

body[data-page="dashboard"] .salescopy-lang-switcher .language-switcher-button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: rgba(229, 232, 240, 0.76);
}

body[data-page="dashboard"] .salescopy-lang-switcher .language-switcher-current {
  min-height: 34px;
  min-width: 78px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #ffffff;
}

body[data-page="dashboard"] .salescopy-lang-switcher .language-switcher-dropdown {
  background: #23242f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.24);
}

body[data-page="dashboard"] .salescopy-lang-switcher .language-switcher-button.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body[data-page="dashboard"] .salescopy-top-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(244, 247, 252, 0.88);
}

body[data-page="dashboard"] .salescopy-top-icon svg {
  width: 16px;
  height: 16px;
}

body[data-page="dashboard"] .salescopy-notify-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3f72;
  box-shadow: 0 0 0 3px rgba(255, 63, 114, 0.12);
}

body[data-page="dashboard"] .salescopy-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(250px, 0.94fr);
  grid-template-areas:
    "sales level"
    "products fulfilment"
    "earnings insights";
  gap: 14px;
}

body[data-page="dashboard"] .salescopy-card {
  border-radius: 14px;
  background: #252632;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 32px rgba(6, 8, 16, 0.26);
}

body[data-page="dashboard"] .salescopy-sales-card {
  grid-area: sales;
  padding: 16px 16px 18px;
  min-height: 188px;
}

body[data-page="dashboard"] .salescopy-level-card {
  grid-area: level;
  padding: 16px 16px 18px;
  min-height: 188px;
}

body[data-page="dashboard"] .salescopy-products-card {
  grid-area: products;
  padding: 16px 16px 14px;
  min-height: 214px;
}

body[data-page="dashboard"] .salescopy-fulfilment-card {
  grid-area: fulfilment;
  padding: 16px;
  min-height: 214px;
}

body[data-page="dashboard"] .salescopy-earnings-card {
  grid-area: earnings;
  padding: 16px 16px 18px;
  min-height: 230px;
}

body[data-page="dashboard"] .salescopy-insights-card {
  grid-area: insights;
  padding: 16px 16px 18px;
  min-height: 230px;
}

body[data-page="dashboard"] .salescopy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="dashboard"] .salescopy-sales-card .salescopy-card-head {
  display: block;
}

body[data-page="dashboard"] .salescopy-card-head-column {
  flex-direction: column;
  align-items: flex-start;
}

body[data-page="dashboard"] .salescopy-card-title {
  margin: 0;
  color: #f7f9fd;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body[data-page="dashboard"] .salescopy-sales-card .salescopy-card-title {
  font-size: 0.98rem;
}

body[data-page="dashboard"] .salescopy-card-subtitle {
  margin: 4px 0 0;
  color: rgba(231, 233, 242, 0.62);
  font-size: 0.8rem;
}

body[data-page="dashboard"] .salescopy-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body[data-page="dashboard"] .salescopy-metric-card {
  min-height: 100px;
  padding: 12px 14px 11px;
  border-radius: 11px;
  background: #20212b;
}

body[data-page="dashboard"] .salescopy-metric-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

body[data-page="dashboard"] .salescopy-metric-icon svg {
  width: 100%;
  height: 100%;
}

body[data-page="dashboard"] .salescopy-metric-icon.is-orange {
  color: #f0b45c;
}

body[data-page="dashboard"] .salescopy-metric-icon.is-mint {
  color: #c1fff7;
}

body[data-page="dashboard"] .salescopy-metric-icon.is-pink {
  color: #f2c2e9;
}

body[data-page="dashboard"] .salescopy-metric-icon.is-blue {
  color: #38b2ff;
}

body[data-page="dashboard"] .salescopy-metric-value {
  display: block;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
}

body[data-page="dashboard"] .salescopy-metric-label {
  display: block;
  margin-top: 8px;
  color: rgba(241, 243, 249, 0.76);
  font-size: 0.76rem;
}

body[data-page="dashboard"] .salescopy-metric-note {
  display: block;
  margin-top: 5px;
  font-size: 0.63rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .salescopy-metric-note.is-orange {
  color: #f0b45c;
}

body[data-page="dashboard"] .salescopy-metric-note.is-mint {
  color: #b9fff4;
}

body[data-page="dashboard"] .salescopy-metric-note.is-pink {
  color: #f2c2e9;
}

body[data-page="dashboard"] .salescopy-metric-note.is-blue {
  color: #39b9ff;
}

body[data-page="dashboard"] .salescopy-level-bars {
  height: 112px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  align-items: end;
  padding: 14px 18px 0;
}

body[data-page="dashboard"] .salescopy-level-bars span {
  position: relative;
  display: block;
  height: 100%;
}

body[data-page="dashboard"] .salescopy-level-bars span::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="dashboard"] .salescopy-level-bars span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar-height);
  border-radius: 4px 4px 0 0;
  background: #bdf5ea;
}

body[data-page="dashboard"] .salescopy-level-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding-left: 16px;
  color: rgba(239, 241, 247, 0.7);
  font-size: 0.76rem;
}

body[data-page="dashboard"] .salescopy-level-legend span {
  position: relative;
  padding-left: 12px;
}

body[data-page="dashboard"] .salescopy-level-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
}

body[data-page="dashboard"] .salescopy-level-legend .is-mint::before {
  background: #bdf5ea;
}

body[data-page="dashboard"] .salescopy-level-legend .is-muted::before {
  background: rgba(255, 255, 255, 0.16);
}

body[data-page="dashboard"] .salescopy-products-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

body[data-page="dashboard"] .salescopy-products-table thead th {
  padding: 8px 0 12px;
  color: rgba(229, 231, 241, 0.46);
  font-size: 0.73rem;
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body[data-page="dashboard"] .salescopy-products-table tbody td {
  padding: 14px 0;
  color: rgba(246, 247, 252, 0.84);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

body[data-page="dashboard"] .salescopy-products-table tbody tr:last-child td {
  border-bottom: 0;
}

body[data-page="dashboard"] .salescopy-row-name strong {
  display: block;
  color: #ffffff;
  font-size: 0.81rem;
  font-weight: 500;
}

body[data-page="dashboard"] .salescopy-row-name span {
  display: block;
  margin-top: 4px;
  max-width: 250px;
  color: rgba(226, 228, 238, 0.68);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .salescopy-progress {
  width: 155px;
  height: 4px;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

body[data-page="dashboard"] .salescopy-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body[data-page="dashboard"] .salescopy-progress .is-orange {
  background: #efb455;
}

body[data-page="dashboard"] .salescopy-progress .is-mint {
  background: #bdf5ea;
}

body[data-page="dashboard"] .salescopy-progress .is-blue {
  background: #37b8ff;
}

body[data-page="dashboard"] .salescopy-progress .is-pink {
  background: #f1c3ea;
}

body[data-page="dashboard"] .salescopy-table-pill {
  min-width: 46px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 500;
}

body[data-page="dashboard"] .salescopy-table-pill.is-orange {
  border-color: rgba(239, 180, 85, 0.42);
  color: #f0b45c;
  background: rgba(239, 180, 85, 0.08);
}

body[data-page="dashboard"] .salescopy-table-pill.is-mint {
  border-color: rgba(189, 245, 234, 0.38);
  color: #c6fff8;
  background: rgba(189, 245, 234, 0.08);
}

body[data-page="dashboard"] .salescopy-table-pill.is-blue {
  border-color: rgba(55, 184, 255, 0.42);
  color: #54c3ff;
  background: rgba(55, 184, 255, 0.09);
}

body[data-page="dashboard"] .salescopy-table-pill.is-pink {
  border-color: rgba(241, 195, 234, 0.42);
  color: #f1c3ea;
  background: rgba(241, 195, 234, 0.08);
}

body[data-page="dashboard"] .salescopy-fulfilment-chart {
  width: 100%;
  height: 132px;
  display: block;
  margin-top: 12px;
}

body[data-page="dashboard"] .salescopy-fulfilment-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .salescopy-legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
}

body[data-page="dashboard"] .salescopy-legend-dot.is-mint {
  background: #bdf5ea;
}

body[data-page="dashboard"] .salescopy-legend-dot.is-pink {
  background: #f1c3ea;
}

body[data-page="dashboard"] .salescopy-fulfilment-footer p {
  display: inline;
  margin: 0;
  color: rgba(227, 229, 239, 0.65);
  font-size: 0.74rem;
}

body[data-page="dashboard"] .salescopy-fulfilment-footer strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .salescopy-earnings-value {
  display: block;
  margin-top: 9px;
  color: #b9f5eb;
  font-size: 1.06rem;
  font-weight: 600;
}

body[data-page="dashboard"] .salescopy-earnings-copy {
  max-width: 235px;
  margin: 7px 0 0;
  color: rgba(231, 233, 241, 0.63);
  font-size: 0.82rem;
  line-height: 1.5;
}

body[data-page="dashboard"] .salescopy-gauge {
  position: relative;
  width: 182px;
  height: 104px;
  margin: 18px auto 0;
}

body[data-page="dashboard"] .salescopy-gauge-outer {
  position: absolute;
  inset: 0;
  border-radius: 182px 182px 0 0;
  background:
    conic-gradient(from 180deg, #bdf5ea 0 80%, rgba(255, 255, 255, 0.06) 80% 100%);
  mask: radial-gradient(circle at 50% 100%, transparent 0 46px, #000 47px);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 0 46px, #000 47px);
}

body[data-page="dashboard"] .salescopy-gauge-needle {
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 3px;
  height: 70px;
  border-radius: 999px;
  background: #bdf5ea;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(48deg);
}

body[data-page="dashboard"] .salescopy-gauge-center {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 600;
}

body[data-page="dashboard"] .salescopy-axis-values {
  position: absolute;
  left: 16px;
  top: 52px;
  display: grid;
  gap: 13px;
  color: rgba(230, 232, 241, 0.85);
  font-size: 0.73rem;
}

body[data-page="dashboard"] .salescopy-insights-card {
  position: relative;
  padding-left: 54px;
}

body[data-page="dashboard"] .salescopy-insights-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 500;
}

body[data-page="dashboard"] .salescopy-insights-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f3c654;
}

body[data-page="dashboard"] .salescopy-insights-chart {
  width: 100%;
  height: 158px;
  display: block;
  margin-top: 10px;
}

body[data-page="dashboard"] .salescopy-month-axis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
  color: rgba(228, 230, 238, 0.9);
  font-size: 0.72rem;
}

body[data-page="dashboard"] .salescopy-month-axis span {
  text-align: center;
}

body[data-page="dashboard"] .salescopy-insights-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .salescopy-telegram-current span {
  display: block;
  color: rgba(226, 228, 238, 0.58);
  font-size: 0.71rem;
}

body[data-page="dashboard"] .salescopy-telegram-current strong {
  display: block;
  margin-top: 5px;
  max-width: 280px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .salescopy-telegram-toggle,
body[data-page="dashboard"] .salescopy-telegram-save,
body[data-page="dashboard"] .salescopy-telegram-cancel {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
}

body[data-page="dashboard"] .salescopy-telegram-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
}

body[data-page="dashboard"] .salescopy-telegram-editor {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

body[data-page="dashboard"] .salescopy-telegram-editor[hidden] {
  display: none;
}

body[data-page="dashboard"] .salescopy-telegram-input {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #20212b;
  color: #ffffff;
  font: inherit;
}

body[data-page="dashboard"] .salescopy-telegram-input::placeholder {
  color: rgba(229, 231, 241, 0.42);
}

body[data-page="dashboard"] .salescopy-telegram-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="dashboard"] .salescopy-telegram-save {
  background: #c8fff8;
  color: #11151b;
}

body[data-page="dashboard"] .salescopy-telegram-cancel {
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
}

body[data-page="dashboard"] .salescopy-state {
  margin-top: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  background: #22242f;
  color: #ffffff;
}

body[data-page="dashboard"] .salescopy-state[hidden] {
  display: none;
}

body[data-page="dashboard"] .salescopy-state-success {
  background: rgba(22, 84, 64, 0.72);
  color: #d9fff2;
}

body[data-page="dashboard"] .salescopy-state-error {
  background: rgba(96, 31, 46, 0.72);
  color: #ffe5ec;
}

@media (max-width: 1180px) {
  body[data-page="dashboard"] .salescopy-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .salescopy-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  body[data-page="dashboard"] .salescopy-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 980px) {
  body[data-page="dashboard"] .salescopy-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sales"
      "level"
      "products"
      "fulfilment"
      "earnings"
      "insights";
  }

  body[data-page="dashboard"] .salescopy-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="dashboard"] .salescopy-top-actions {
    justify-content: space-between;
  }

  body[data-page="dashboard"] .salescopy-insights-card {
    padding-left: 16px;
  }

  body[data-page="dashboard"] .salescopy-axis-values {
    display: none;
  }
}

@media (max-width: 720px) {
  body[data-page="dashboard"] .salescopy-shell {
    width: min(calc(100vw - 12px), 1450px);
    min-height: calc(100vh - 12px);
    margin: 6px auto;
  }

  body[data-page="dashboard"] .salescopy-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="dashboard"] .salescopy-products-table {
    display: block;
    overflow-x: auto;
  }

  body[data-page="dashboard"] .salescopy-progress {
    width: 110px;
  }

  body[data-page="dashboard"] .salescopy-telegram-editor {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-page="dashboard"] .salescopy-nav {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .salescopy-metrics-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .salescopy-top-actions {
    flex-wrap: wrap;
  }

  body[data-page="dashboard"] .salescopy-insights-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sales Management Dashboard inspired user cabinet */
body[data-page="dashboard"] {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 179, 126, 0.12), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(135deg, #060608 0%, #0b0b0d 48%, #121317 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="dashboard"].smdash-drawer-open {
  overflow: hidden;
}

body[data-page="dashboard"] .smdash-shell {
  width: min(calc(100vw - 56px), 1480px);
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(23, 24, 28, 0.98), rgba(12, 13, 16, 0.98));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 1280px) {
  body[data-page="dashboard"] .smdash-shell {
    width: min(calc(100vw - 24px), 1480px);
    min-height: calc(100vh - 16px);
    margin: 8px auto;
  }
}

body[data-page="dashboard"] .smdash-sidebar {
  background:
    linear-gradient(180deg, rgba(17, 18, 22, 0.98), rgba(11, 12, 15, 0.98));
  border-right: 1px solid var(--line);
  padding: 18px 20px 14px;
}

body[data-page="dashboard"] .smdash-sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body[data-page="dashboard"] .smdash-brand {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 34px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  box-sizing: border-box;
}

body[data-page="dashboard"] .smdash-brand-lockup {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="dashboard"] .smdash-brand-mark {
  display: block;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
}

body[data-page="dashboard"] .smdash-brand-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
}

body[data-page="dashboard"] .smdash-brand-copy strong {
  color: #f7f9fc;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-brand-copy small {
  color: rgba(230, 234, 244, 0.46);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px 20px;
}

body[data-page="dashboard"] .smdash-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

body[data-page="dashboard"] .smdash-window-dot-red {
  background: #ff5f56;
}

body[data-page="dashboard"] .smdash-window-dot-yellow {
  background: #ffbd2e;
}

body[data-page="dashboard"] .smdash-window-dot-green {
  background: #27c93f;
}

body[data-page="dashboard"] .smdash-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(245, 247, 251, 0.62);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 12px 14px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body[data-page="dashboard"] .smdash-nav-item-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

body[data-page="dashboard"] .smdash-nav-item span:last-child {
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-nav-item-main > span:last-child {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.22;
}

body[data-page="dashboard"] .smdash-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="dashboard"] .smdash-nav-item.is-active {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #04110d;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0, 179, 126, 0.22);
}

body[data-page="dashboard"] .smdash-nav-toggle {
  position: relative;
  justify-content: space-between;
}

body[data-page="dashboard"] .smdash-nav-caret {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.86;
  transition: transform 180ms ease, opacity 180ms ease;
}

body[data-page="dashboard"] .smdash-nav-caret svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-nav-group:not(.is-open) .smdash-nav-caret {
  transform: rotate(-90deg);
  opacity: 0.64;
}

body[data-page="dashboard"] .smdash-subnav {
  display: grid;
  gap: 6px;
  padding: 2px 0 0 18px;
}

body[data-page="dashboard"] .smdash-nav-group:not(.is-open) .smdash-subnav {
  display: none;
}

body[data-page="dashboard"] .smdash-subnav-item {
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 247, 251, 0.66);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body[data-page="dashboard"] .smdash-subnav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.94);
}

body[data-page="dashboard"] .smdash-subnav-item.is-active {
  background: rgba(0, 179, 126, 0.12);
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px rgba(0, 208, 143, 0.16);
}

body[data-page="dashboard"] .smdash-subnav-item-logout {
  margin-top: 4px;
  background: rgba(247, 90, 104, 0.08);
  color: rgba(255, 214, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(247, 90, 104, 0.12);
}

body[data-page="dashboard"] .smdash-subnav-item-logout:hover,
body[data-page="dashboard"] .smdash-subnav-item-logout:focus-visible {
  background: rgba(247, 90, 104, 0.16);
  color: #ffffff;
}

body[data-page="dashboard"] .smdash-nav-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-page="dashboard"] .smdash-nav-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-main {
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(22, 23, 28, 0.96) 0%, rgba(12, 13, 16, 0.96) 100%);
}

body[data-page="dashboard"] .smdash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="dashboard"] .smdash-search {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body[data-page="dashboard"] .smdash-search-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: rgba(238, 241, 249, 0.58);
}

body[data-page="dashboard"] .smdash-search-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.96rem;
}

body[data-page="dashboard"] .smdash-search input::placeholder {
  color: rgba(238, 241, 249, 0.5);
}

body[data-page="dashboard"] .smdash-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-icon-button,
body[data-page="dashboard"] .smdash-chevron-button,
body[data-page="dashboard"] .smdash-avatar-trigger {
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-icon-button {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-page="dashboard"] .smdash-icon-button svg,
body[data-page="dashboard"] .smdash-chevron-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-notification-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff376b;
  box-shadow: 0 0 0 3px rgba(255, 55, 107, 0.18);
}

body[data-page="dashboard"] .smdash-avatar-trigger {
  padding: 0;
}

body[data-page="dashboard"] .smdash-avatar-face {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.24), transparent 32%),
    linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  color: #04110d;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0, 179, 126, 0.18);
}

body[data-page="dashboard"] .smdash-chevron-button {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
}

body[data-page="dashboard"] .smdash-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1.95fr) minmax(260px, 0.95fr);
  grid-template-areas:
    "sales sales level"
    "products products fulfilment"
    "earnings insights insights";
}

body[data-page="dashboard"] .smdash-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 20px 40px rgba(7, 10, 18, 0.18);
}

body[data-page="dashboard"] .smdash-sales-card {
  grid-area: sales;
}

body[data-page="dashboard"] .smdash-level-card {
  grid-area: level;
}

body[data-page="dashboard"] .smdash-products-card {
  grid-area: products;
}

body[data-page="dashboard"] .smdash-fulfilment-card {
  grid-area: fulfilment;
}

body[data-page="dashboard"] .smdash-earnings-card {
  grid-area: earnings;
}

body[data-page="dashboard"] .smdash-insights-card {
  grid-area: insights;
}

body[data-page="dashboard"] .smdash-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

body[data-page="dashboard"] .smdash-section-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body[data-page="dashboard"] .smdash-section-header p {
  margin: 4px 0 0;
  color: rgba(229, 233, 244, 0.48);
  font-size: 0.8rem;
}

body[data-page="dashboard"] .smdash-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="dashboard"] .smdash-metric-card {
  min-width: 0;
  border-radius: 12px;
  background: #1c1e27;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body[data-page="dashboard"] .smdash-metric-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-page="dashboard"] .smdash-metric-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-metric-icon-orange {
  color: #efb44f;
}

body[data-page="dashboard"] .smdash-metric-icon-mint {
  color: #b8efe6;
}

body[data-page="dashboard"] .smdash-metric-icon-pink {
  color: #f2c3ef;
}

body[data-page="dashboard"] .smdash-metric-icon-blue {
  color: #2cb5ff;
}

body[data-page="dashboard"] .smdash-metric-card strong {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

body[data-page="dashboard"] .smdash-metric-card span {
  color: rgba(233, 237, 246, 0.8);
  font-size: 0.83rem;
}

body[data-page="dashboard"] .smdash-note {
  font-size: 0.72rem;
  font-weight: 600;
}

body[data-page="dashboard"] .smdash-note-orange {
  color: #efb44f;
}

body[data-page="dashboard"] .smdash-note-mint {
  color: #b8efe6;
}

body[data-page="dashboard"] .smdash-note-pink {
  color: #f2c3ef;
}

body[data-page="dashboard"] .smdash-note-blue {
  color: #2cb5ff;
}

body[data-page="dashboard"] .smdash-level-card {
  display: flex;
  flex-direction: column;
}

body[data-page="dashboard"] .smdash-level-chart {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 150px;
  padding: 14px 6px 12px;
}

body[data-page="dashboard"] .smdash-level-chart span {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(184, 239, 230, 0.95) 0%, rgba(184, 239, 230, 0.76) 100%);
  box-shadow: 0 10px 18px rgba(184, 239, 230, 0.12);
}

body[data-page="dashboard"] .smdash-level-chart span:nth-child(odd) {
  opacity: 0.94;
}

body[data-page="dashboard"] .smdash-level-chart::before {
  content: "";
  position: absolute;
  opacity: 0;
}

body[data-page="dashboard"] .smdash-level-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

body[data-page="dashboard"] .smdash-level-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(232, 236, 246, 0.7);
  font-size: 0.84rem;
}

body[data-page="dashboard"] .smdash-level-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

body[data-page="dashboard"] .smdash-level-legend .is-volume {
  background: #b8efe6;
}

body[data-page="dashboard"] .smdash-level-legend .is-service {
  background: rgba(255, 255, 255, 0.12);
}

body[data-page="dashboard"] .smdash-products-table {
  width: 100%;
  border-collapse: collapse;
}

body[data-page="dashboard"] .smdash-products-table th,
body[data-page="dashboard"] .smdash-products-table td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="dashboard"] .smdash-products-table th {
  color: rgba(228, 232, 242, 0.46);
  font-size: 0.82rem;
  font-weight: 500;
}

body[data-page="dashboard"] .smdash-products-table td {
  color: rgba(247, 248, 251, 0.95);
  font-size: 0.92rem;
}

body[data-page="dashboard"] .smdash-progress {
  width: 160px;
  max-width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

body[data-page="dashboard"] .smdash-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body[data-page="dashboard"] .smdash-progress-gold span {
  background: #efb44f;
}

body[data-page="dashboard"] .smdash-progress-mint span {
  background: #b8efe6;
}

body[data-page="dashboard"] .smdash-progress-blue span {
  background: #2cb5ff;
}

body[data-page="dashboard"] .smdash-progress-pink span {
  background: #f2c3ef;
}

body[data-page="dashboard"] .smdash-table-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
}

body[data-page="dashboard"] .smdash-table-pill-gold {
  color: #efb44f;
}

body[data-page="dashboard"] .smdash-table-pill-mint {
  color: #b8efe6;
}

body[data-page="dashboard"] .smdash-table-pill-blue {
  color: #2cb5ff;
}

body[data-page="dashboard"] .smdash-table-pill-pink {
  color: #f2c3ef;
}

body[data-page="dashboard"] .smdash-fulfilment-card {
  display: flex;
  flex-direction: column;
}

body[data-page="dashboard"] .smdash-fulfilment-chart {
  flex: 1 1 auto;
  min-height: 188px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

body[data-page="dashboard"] .smdash-fulfilment-chart svg {
  width: 100%;
  height: 178px;
  display: block;
}

body[data-page="dashboard"] .smdash-fulfilment-legend {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
}

body[data-page="dashboard"] .smdash-fulfilment-legend div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(232, 236, 246, 0.68);
  font-size: 0.8rem;
}

body[data-page="dashboard"] .smdash-fulfilment-legend strong {
  flex-basis: 100%;
  color: #ffffff;
  font-size: 1rem;
}

body[data-page="dashboard"] .smdash-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

body[data-page="dashboard"] .smdash-legend-dot.is-volume {
  background: #b8efe6;
}

body[data-page="dashboard"] .smdash-legend-dot.is-service {
  background: #f2c3ef;
}

body[data-page="dashboard"] .smdash-earnings-amount {
  display: block;
  margin-top: 4px;
  color: #b8efe6;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body[data-page="dashboard"] .smdash-earnings-copy {
  margin: 8px 0 0;
  color: rgba(229, 233, 244, 0.58);
  font-size: 0.95rem;
  max-width: 220px;
}

body[data-page="dashboard"] .smdash-gauge {
  position: relative;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 176px;
}

body[data-page="dashboard"] .smdash-gauge svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

body[data-page="dashboard"] .smdash-gauge span {
  position: absolute;
  bottom: 34px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

body[data-page="dashboard"] .smdash-insights-card {
  padding-bottom: 12px;
}

body[data-page="dashboard"] .smdash-insights-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #181920;
  color: #ffffff;
  font-size: 0.78rem;
}

body[data-page="dashboard"] .smdash-insights-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #efb44f;
}

body[data-page="dashboard"] .smdash-insights-chart {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-axis-values {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(230, 234, 245, 0.76);
  font-size: 0.78rem;
  padding: 10px 0 22px;
}

body[data-page="dashboard"] .smdash-insights-chart svg {
  width: 100%;
  height: 260px;
  display: block;
}

body[data-page="dashboard"] .smdash-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-left: 44px;
  color: rgba(228, 233, 244, 0.72);
  font-size: 0.78rem;
}

body[data-page="dashboard"] .smdash-state {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 32px));
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(24, 25, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

body[data-page="dashboard"] .smdash-state[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-state.is-success {
  background: rgba(17, 67, 55, 0.94);
  color: #d7fff3;
}

body[data-page="dashboard"] .smdash-state.is-error {
  background: rgba(92, 29, 44, 0.94);
  color: #ffe5ee;
}

body[data-page="dashboard"] .smdash-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

body[data-page="dashboard"] .smdash-drawer.is-open {
  pointer-events: auto;
}

body[data-page="dashboard"] .smdash-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 10, 18, 0.56);
  opacity: 0;
  cursor: pointer;
  transition: opacity 220ms ease;
}

body[data-page="dashboard"] .smdash-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100%;
  padding: 20px 18px 22px;
  background: #1d1f29;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
}

body[data-page="dashboard"] .smdash-drawer.is-open .smdash-drawer-backdrop {
  opacity: 1;
}

body[data-page="dashboard"] .smdash-drawer.is-open .smdash-drawer-panel {
  transform: translateX(0);
}

body[data-page="dashboard"] .smdash-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-drawer-kicker {
  margin: 0 0 6px;
  color: rgba(230, 234, 244, 0.56);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-drawer-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body[data-page="dashboard"] .smdash-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="dashboard"] .smdash-drawer-logout {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-drawer-logout svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-drawer-close svg {
  width: 18px;
  height: 18px;
}

body[data-page="dashboard"] .smdash-drawer-summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(184, 239, 230, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

body[data-page="dashboard"] .smdash-drawer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b8efe6 0%, #9adcf6 100%);
  color: #111722;
  font-size: 1.2rem;
  font-weight: 800;
}

body[data-page="dashboard"] .smdash-drawer-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-drawer-summary-copy strong {
  font-size: 1rem;
  color: #ffffff;
}

body[data-page="dashboard"] .smdash-drawer-summary-copy span {
  font-size: 0.82rem;
  color: rgba(232, 237, 246, 0.64);
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 179, 126, 0.18);
  color: #d7fff2;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-status-pill.is-blocked {
  background: rgba(255, 102, 135, 0.16);
  color: #ffdce6;
}

body[data-page="dashboard"] .smdash-drawer-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="dashboard"] .smdash-drawer-field {
  min-width: 0;
  border-radius: 14px;
  background: #242733;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body[data-page="dashboard"] .smdash-drawer-field span {
  color: rgba(232, 236, 246, 0.54);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

body[data-page="dashboard"] .smdash-drawer-field strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.35;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-drawer-field-wide {
  grid-column: 1 / -1;
}

body[data-page="dashboard"] .smdash-drawer-field-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-link-button {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

body[data-page="dashboard"] .smdash-link-button:disabled {
  opacity: 0.5;
  cursor: progress;
}

body[data-page="dashboard"] .smdash-telegram-editor {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

body[data-page="dashboard"] .smdash-telegram-input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(8, 8, 10, 0.42);
  color: #ffffff;
  padding: 0 12px;
  font: inherit;
}

body[data-page="dashboard"] .smdash-telegram-input::placeholder {
  color: rgba(230, 234, 245, 0.4);
}

body[data-page="dashboard"] .smdash-telegram-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-password-editor {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

body[data-page="dashboard"] .smdash-password-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="dashboard"] .smdash-small-button {
  height: 42px;
  border-radius: 10px;
  border: 0;
  padding: 0 14px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-small-button:disabled {
  opacity: 0.6;
  cursor: progress;
}

body[data-page="dashboard"] .smdash-small-button-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #04110d;
  box-shadow: 0 14px 30px rgba(0, 179, 126, 0.18);
}

body[data-page="dashboard"] .smdash-small-button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

body[data-page="dashboard"] .smdash-small-button-awaiting {
  background: rgba(246, 174, 61, 0.18);
  color: #ffd68e;
  box-shadow: inset 0 0 0 1px rgba(246, 174, 61, 0.24);
}

body[data-page="dashboard"] .smdash-small-button-refusal {
  background: rgba(238, 97, 116, 0.16);
  color: #ffc3cd;
  box-shadow: inset 0 0 0 1px rgba(238, 97, 116, 0.22);
}

body[data-page="dashboard"] .smdash-small-button-danger {
  background: rgba(255, 122, 137, 0.14);
  color: #ffb8c1;
  box-shadow: inset 0 0 0 1px rgba(255, 122, 137, 0.2);
}

@media (max-width: 1260px) {
  body[data-page="dashboard"] .smdash-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "sales sales"
      "level fulfilment"
      "products products"
      "earnings insights";
  }

  body[data-page="dashboard"] .smdash-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body[data-page="dashboard"] .smdash-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body[data-page="dashboard"] .smdash-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 14px;
  }

  body[data-page="dashboard"] .smdash-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  body[data-page="dashboard"] .smdash-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sales"
      "level"
      "products"
      "fulfilment"
      "earnings"
      "insights";
  }

  body[data-page="dashboard"] .smdash-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="dashboard"] .smdash-top-actions {
    justify-content: flex-end;
  }

  body[data-page="dashboard"] .smdash-drawer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body[data-page="dashboard"] .smdash-shell {
    width: min(calc(100vw - 8px), 1680px);
    margin: 4px auto;
    border-radius: 14px;
  }

  body[data-page="dashboard"] .smdash-main {
    padding-inline: 12px;
  }

  body[data-page="dashboard"] .smdash-products-table {
    display: block;
    overflow-x: auto;
  }

  body[data-page="dashboard"] .smdash-months {
    margin-left: 0;
    font-size: 0.72rem;
  }

  body[data-page="dashboard"] .smdash-insights-chart {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-axis-values {
    display: none;
  }

  body[data-page="dashboard"] .smdash-telegram-editor {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-password-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-page="dashboard"] .smdash-brand {
    padding: 12px 12px;
    border-radius: 14px;
  }

  body[data-page="dashboard"] .smdash-brand-lockup {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-brand-mark {
    width: 56px;
    height: 56px;
  }

  body[data-page="dashboard"] .smdash-brand-copy strong {
    font-size: 1.02rem;
  }

  body[data-page="dashboard"] .smdash-brand-copy small {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-badge {
    padding: 11px 14px;
    border-radius: 24px;
  }

  .hero-badge span:last-child {
    font-size: 0.84rem;
  }

  .device-stage {
    min-height: 820px;
  }

  .motion-field,
  .ledger-surface,
  .income-pop {
    display: none;
  }

  .phone-frame {
    top: 88px;
    left: 50%;
    width: min(100%, 292px);
    padding: 12px 10px 14px;
    transform: translateX(-50%);
  }

  .phone-screen {
    min-height: 502px;
    padding: 30px 13px 16px;
  }

  .screen-brand {
    font-size: 0.88rem;
  }

  .screen-action {
    padding: 9px 11px;
    font-size: 0.68rem;
  }

  .screen-card {
    padding: 15px 13px;
  }

  .screen-search {
    margin-top: 16px;
  }

  .screen-list li {
    padding: 14px 0;
  }

  .proof-grid {
    margin-top: 34px;
    gap: 12px;
  }

  .script-box {
    padding: 20px 16px 16px;
  }

  .script-box-head h3 {
    font-size: 1.06rem;
  }

  .growth-pill {
    min-height: 36px;
    padding-inline: 14px;
    font-size: 0.64rem;
  }

  .growth-card {
    padding: 14px 12px 14px;
    border-radius: 18px;
  }

  .growth-stat {
    padding: 16px 16px 14px;
    border-radius: 20px;
  }

  .growth-stat strong {
    font-size: 1rem;
  }

  .growth-stat small {
    font-size: 0.8rem;
  }

  .growth-chart-shell {
    padding: 12px 10px 10px;
    border-radius: 16px;
  }

  .growth-axis {
    font-size: 0.54rem;
  }

  .growth-caption {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .proof-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .proof-card strong {
    font-size: 1.72rem;
  }

  .proof-card p {
    font-size: 0.92rem;
  }

  body[data-page="dashboard"] .smdash-nav {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-metric-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-top-actions {
    gap: 8px;
  }

  body[data-page="dashboard"] .smdash-fulfilment-legend {
    flex-direction: column;
  }

  body[data-page="dashboard"] .smdash-drawer-panel {
    padding-inline: 14px;
  }
}

body[data-page="dashboard"] .smdash-profile-main {
  gap: 12px;
}

body[data-page="dashboard"] .smdash-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-page-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body[data-page="dashboard"] .smdash-page-kicker {
  margin: 0;
  color: rgba(230, 234, 244, 0.54);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .smdash-page-title-group h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.2rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body[data-page="dashboard"] .smdash-page-subtitle {
  margin: 0;
  max-width: 540px;
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

body[data-page="dashboard"] .smdash-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="dashboard"] .smdash-page-actions > * {
  min-width: 0;
}

body[data-page="dashboard"] .smdash-page-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(100%, 248px);
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .smdash-page-user-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-page-user-copy strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .smdash-page-user-copy span {
  display: block;
  color: rgba(232, 236, 246, 0.56);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .smdash-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="dashboard"][data-dashboard-view="contacts"] .smdash-profile-stats,
body[data-page="dashboard"][data-dashboard-view="contacts"] .smdash-profile-layout {
  display: none !important;
}

body[data-page="dashboard"][data-dashboard-view="contacts"] .smdash-work-panel {
  display: block;
}

body[data-page="dashboard"][data-dashboard-view="contacts-list"] .smdash-profile-stats,
body[data-page="dashboard"][data-dashboard-view="contacts-list"] .smdash-profile-layout,
body[data-page="dashboard"][data-dashboard-view="contacts-list"] .smdash-work-panel {
  display: none !important;
}

body[data-page="dashboard"][data-dashboard-view="contacts-list"] .smdash-work-list-panel {
  display: block;
}

body[data-page="dashboard"][data-dashboard-view="support"] .smdash-profile-stats,
body[data-page="dashboard"][data-dashboard-view="support"] .smdash-profile-layout,
body[data-page="dashboard"][data-dashboard-view="support"] .smdash-work-panel,
body[data-page="dashboard"][data-dashboard-view="support"] .smdash-work-list-panel {
  display: none !important;
}

body[data-page="dashboard"][data-dashboard-view="support"] .smdash-support-panel {
  display: block;
}

body[data-page="dashboard"] .smdash-profile-stat {
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  padding: 12px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 42px rgba(7, 10, 18, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body[data-page="dashboard"] .smdash-profile-stat span {
  color: rgba(232, 236, 246, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-profile-stat strong {
  color: #ffffff;
  font-size: clamp(0.96rem, 1.55vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.32fr);
  gap: 16px;
  align-items: start;
}

body[data-page="dashboard"] .smdash-profile-layout.is-view-main,
body[data-page="dashboard"] .smdash-profile-layout.is-view-edit {
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="dashboard"] .smdash-profile-layout.is-view-main #dashboard-section-edit {
  display: none;
}

body[data-page="dashboard"] .smdash-profile-layout.is-view-edit #dashboard-section-main {
  display: none;
}

body[data-page="dashboard"] #dashboard-section-main,
body[data-page="dashboard"] #dashboard-section-edit {
  scroll-margin-top: 22px;
}

body[data-page="dashboard"] .smdash-profile-summary-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(0, 179, 126, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

body[data-page="dashboard"] .smdash-profile-summary-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-profile-summary-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  color: #04110d;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(0, 179, 126, 0.18);
}

body[data-page="dashboard"] .smdash-profile-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-profile-summary-kicker {
  margin: 0;
  color: rgba(232, 236, 246, 0.54);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

body[data-page="dashboard"] .smdash-profile-summary-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body[data-page="dashboard"] .smdash-profile-summary-copy p {
  margin: 0;
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.9rem;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-profile-summary-meta {
  display: grid;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-profile-summary-meta div {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-profile-summary-meta span {
  color: rgba(232, 236, 246, 0.5);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-profile-summary-meta strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-profile-details-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-section-header-tight {
  margin-bottom: 0;
}

body[data-page="dashboard"] .smdash-profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="dashboard"] .smdash-profile-detail {
  min-width: 0;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-profile-detail span {
  color: rgba(232, 236, 246, 0.5);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-profile-detail strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-profile-detail-wide {
  grid-column: 1 / -1;
}

body[data-page="dashboard"] .smdash-work-panel[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-work-list-panel[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-support-panel[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-work-card {
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at top right, rgba(0, 179, 126, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body[data-page="dashboard"] .smdash-section-header-work {
  align-items: center;
}

body[data-page="dashboard"] .smdash-section-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-work-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="dashboard"] .smdash-work-filter-search {
  min-width: min(100%, 290px);
}

body[data-page="dashboard"] .smdash-work-filter span {
  color: rgba(232, 236, 246, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-work-filter-control {
  min-width: 184px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 22, 0.7);
  color: #f7fbff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-work-filter-control-input {
  cursor: text;
  appearance: none;
  -webkit-appearance: none;
}

body[data-page="dashboard"] .smdash-work-filter-control-input::placeholder {
  color: rgba(232, 236, 246, 0.42);
}

body[data-page="dashboard"] .smdash-work-filter-control:hover,
body[data-page="dashboard"] .smdash-work-filter-control:focus-visible {
  border-color: rgba(0, 179, 126, 0.24);
}

body[data-page="dashboard"] .smdash-work-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

body[data-page="dashboard"] #dashboard-promo-empty {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .smdash-work-empty[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-work-contact {
  display: grid;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-work-contact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .smdash-work-contact-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-work-contact-copy span {
  color: rgba(232, 236, 246, 0.52);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-work-contact-copy strong {
  color: #ffffff;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-work-chip-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-work-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 179, 126, 0.16);
  color: #d6fff2;
  border: 1px solid rgba(0, 179, 126, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-work-chip.is-contact-channel {
  justify-content: flex-start;
  gap: 10px;
  padding: 0 15px 0 11px;
}

body[data-page="dashboard"] .smdash-work-chip.is-contact-channel::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.22));
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-telegram {
  background: rgba(59, 130, 246, 0.18);
  color: #dbeafe;
  border-color: rgba(59, 130, 246, 0.3);
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-telegram::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%232AABEE' stroke='%23DDF4FF' stroke-opacity='.28'/%3E%3Cpath d='M17.42 7.42 7.08 11.4c-.7.28-.69.67-.13.84l2.65.82 1.02 3.19c.13.36.07.5.45.5.29 0 .42-.13.58-.29l1.29-1.26 2.66 1.97c.49.27.84.13.97-.45l1.75-8.24c.19-.72-.27-1.04-.9-.76Z' fill='white'/%3E%3C/svg%3E");
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-whatsapp {
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.3);
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-whatsapp::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%2325D366' stroke='%23E7FFF2' stroke-opacity='.3'/%3E%3Cpath d='M12.02 6.65a5.34 5.34 0 0 0-4.55 8.12l-.42 2.54 2.59-.41a5.34 5.34 0 1 0 2.38-10.25Zm0 1.4a3.93 3.93 0 0 1 3.36 5.98l-.2.33-.22.33.24 1.43-1.47-.23-.32.18a3.93 3.93 0 0 1-5.92-3.37 3.93 3.93 0 0 1 3.93-3.93Zm-1.48 2.1c-.11 0-.28.04-.43.2-.15.16-.56.54-.56 1.31 0 .76.57 1.5.64 1.6.08.1 1.13 1.82 2.8 2.48 1.38.55 1.66.44 1.96.41.3-.03.96-.38 1.1-.74.14-.36.14-.66.1-.72-.05-.07-.17-.1-.36-.2l-.84-.41c-.2-.1-.35-.15-.5.08-.14.22-.54.66-.66.8-.12.13-.24.15-.44.05-.2-.1-.85-.32-1.62-1.02-.6-.54-1-1.2-1.12-1.4-.11-.19-.01-.3.09-.4.1-.1.2-.24.3-.36.1-.12.13-.2.2-.34.07-.13.03-.25-.02-.35l-.45-1.08c-.11-.27-.22-.27-.31-.28h-.28Z' fill='white'/%3E%3C/svg%3E");
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-email {
  background: rgba(250, 204, 21, 0.18);
  color: #fef3c7;
  border-color: rgba(250, 204, 21, 0.32);
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%23F59E0B' stroke='%23FFF5DA' stroke-opacity='.3'/%3E%3Crect x='6.3' y='8' width='11.4' height='8' rx='2' fill='none' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M7.2 9.05 12 12.55l4.8-3.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-viber {
  background: rgba(168, 85, 247, 0.18);
  color: #f3e8ff;
  border-color: rgba(168, 85, 247, 0.3);
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-viber::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%238B5CF6' stroke='%23F3E8FF' stroke-opacity='.3'/%3E%3Cpath d='M8.55 7.95h6.9a2.3 2.3 0 0 1 2.3 2.3v3.46a2.3 2.3 0 0 1-2.3 2.3h-1.68l-2.15 1.7c-.39.3-.95.02-.95-.46v-1.24H8.55a2.3 2.3 0 0 1-2.3-2.3v-3.46a2.3 2.3 0 0 1 2.3-2.3Z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10.25 11c.24.7.78 1.32 1.42 1.67.17.1.29.03.39-.06l.34-.33c.09-.08.22-.1.34-.05l.84.41c.15.07.22.23.15.37l-.29.72c-.06.15-.21.26-.37.26-.71 0-1.57-.37-2.35-1.15-.78-.78-1.15-1.64-1.15-2.35 0-.16.1-.31.26-.37l.72-.29c.15-.07.31 0 .38.15l.41.85c.05.11.03.24-.06.33l-.33.34c-.1.1-.15.23-.05.4Z' fill='white'/%3E%3C/svg%3E");
}

body[data-page="dashboard"] .smdash-work-chip.is-channel-generic::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%2364748B' stroke='%23E2E8F0' stroke-opacity='.25'/%3E%3Cpath d='M8.4 12h7.2M12 8.4v7.2' stroke='white' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}

body[data-page="dashboard"] .smdash-work-chip-status {
  background: linear-gradient(135deg, rgba(0, 179, 126, 0.28), rgba(0, 179, 126, 0.18));
  color: #effff9;
  border-color: rgba(0, 179, 126, 0.34);
  box-shadow: 0 12px 24px rgba(0, 179, 126, 0.14);
}

body[data-page="dashboard"] .smdash-work-chip-status.is-awaiting {
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.26), rgba(255, 152, 61, 0.18));
  color: #fff7ea;
  border-color: rgba(255, 178, 67, 0.34);
  box-shadow: 0 12px 24px rgba(255, 176, 54, 0.12);
}

body[data-page="dashboard"] .smdash-work-chip-status.is-moderation {
  background: linear-gradient(135deg, rgba(102, 138, 255, 0.22), rgba(83, 117, 224, 0.16));
  color: #edf2ff;
  border-color: rgba(122, 163, 255, 0.28);
  box-shadow: 0 12px 24px rgba(83, 117, 224, 0.12);
}

body[data-page="dashboard"] .smdash-work-chip-status.is-refusal {
  background: linear-gradient(135deg, rgba(255, 96, 114, 0.22), rgba(224, 76, 104, 0.16));
  color: #fff0f4;
  border-color: rgba(255, 120, 142, 0.3);
  box-shadow: 0 12px 24px rgba(224, 76, 104, 0.14);
}

body[data-page="dashboard"] .smdash-work-chip-muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(232, 236, 246, 0.78);
}

body[data-page="dashboard"] .smdash-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="dashboard"] .smdash-work-note {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="dashboard"] .smdash-work-note-inline {
  margin-top: 14px;
}

body[data-page="dashboard"] .smdash-work-note-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-work-note-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-work-note-copy strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body[data-page="dashboard"] .smdash-work-note-copy p {
  margin: 0;
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}

body[data-page="dashboard"] .smdash-work-note-textarea {
  min-height: 128px;
  resize: vertical;
}

body[data-page="dashboard"] .smdash-work-note-meta {
  color: rgba(232, 236, 246, 0.58);
  font-size: 0.84rem;
  line-height: 1.5;
}

body[data-page="dashboard"] .smdash-work-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="dashboard"] .smdash-work-actions-label {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 236, 246, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-refusal-editor[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-refusal-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="dashboard"] .smdash-refusal-copy {
  display: grid;
  gap: 6px;
}

body[data-page="dashboard"] .smdash-refusal-copy strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body[data-page="dashboard"] .smdash-refusal-copy p {
  margin: 0;
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.94rem;
  line-height: 1.55;
}

body[data-page="dashboard"] .smdash-refusal-grid {
  display: grid;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-refusal-field {
  display: grid;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-refusal-field span {
  color: rgba(232, 236, 246, 0.54);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-refusal-textarea {
  min-height: 128px;
  resize: vertical;
}

body[data-page="dashboard"] .smdash-refusal-file {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 20, 0.64);
  color: rgba(232, 236, 246, 0.92);
}

body[data-page="dashboard"] .smdash-refusal-file::file-selector-button {
  margin-right: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="dashboard"] .smdash-refusal-file-note {
  color: rgba(232, 236, 246, 0.6);
  font-size: 0.88rem;
  line-height: 1.45;
}

body[data-page="dashboard"] .smdash-refusal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="dashboard"] .smdash-work-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .smdash-work-field span {
  color: rgba(232, 236, 246, 0.5);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-work-field strong,
body[data-page="dashboard"] .smdash-work-link {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-work-field-wide {
  grid-column: 1 / -1;
}

body[data-page="dashboard"] .smdash-work-link {
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

body[data-page="dashboard"] .smdash-work-link:hover,
body[data-page="dashboard"] .smdash-work-link:focus-visible {
  color: #b8efe6;
}

body[data-page="dashboard"] .smdash-work-link[aria-disabled="true"] {
  color: rgba(232, 236, 246, 0.58);
  pointer-events: none;
}

body[data-page="dashboard"] .smdash-work-list {
  display: grid;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-work-notes-list {
  gap: 14px;
}

body[data-page="dashboard"] .smdash-work-list-entry {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  display: grid;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-work-list-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body[data-page="dashboard"] .smdash-work-list-entry-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 220px;
}

body[data-page="dashboard"] .smdash-work-list-entry-copy strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-work-list-entry-copy span {
  color: rgba(232, 236, 246, 0.58);
  font-size: 0.9rem;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-work-list-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-work-list-date {
  color: rgba(232, 236, 246, 0.58);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-work-list-toggle {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  color: #f2f6ff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body[data-page="dashboard"] .smdash-work-list-toggle:hover,
body[data-page="dashboard"] .smdash-work-list-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(0, 179, 126, 0.16);
  border-color: rgba(0, 179, 126, 0.22);
  color: #d8fff3;
}

body[data-page="dashboard"] .smdash-work-list-entry.is-open .smdash-work-list-toggle {
  background: rgba(0, 179, 126, 0.18);
  border-color: rgba(0, 179, 126, 0.24);
  color: #d8fff3;
}

body[data-page="dashboard"] .smdash-work-list-details[hidden] {
  display: none;
}

body[data-page="dashboard"] .smdash-work-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="dashboard"] .smdash-work-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body[data-page="dashboard"] .smdash-work-list-field {
  min-width: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body[data-page="dashboard"] .smdash-work-list-field span {
  color: rgba(232, 236, 246, 0.5);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body[data-page="dashboard"] .smdash-work-list-field strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-work-list-field-note {
  grid-column: 1 / -1;
}

body[data-page="dashboard"] .smdash-work-note-entry-text {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-support-card {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(0, 179, 126, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body[data-page="dashboard"] .smdash-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
}

body[data-page="dashboard"] .smdash-support-primary {
  display: grid;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-support-kicker {
  color: rgba(232, 236, 246, 0.54);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .smdash-support-link {
  max-width: 360px;
}

body[data-page="dashboard"] .smdash-support-copy {
  margin: 0;
  max-width: 560px;
  color: rgba(232, 236, 246, 0.68);
  font-size: 0.96rem;
  line-height: 1.7;
}

body[data-page="dashboard"] .smdash-support-button {
  min-height: 48px;
  width: fit-content;
  padding-inline: 18px;
}

body[data-page="dashboard"] .smdash-promo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-count {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
}

body[data-page="dashboard"] .smdash-promo-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

body[data-page="dashboard"] .smdash-promo-filter-label {
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .smdash-promo-filter-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-filter-button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(238, 241, 248, 0.74);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-page="dashboard"] .smdash-promo-filter-button:hover,
body[data-page="dashboard"] .smdash-promo-filter-button:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="male"] {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.24);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.18);
}

body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="female"] {
  background: rgba(236, 72, 153, 0.16);
  color: #fbcfe8;
  border-color: rgba(236, 72, 153, 0.24);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.18);
}

body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="animals"] {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.18);
}

body[data-page="dashboard"] .smdash-promo-grid {
  display: grid;
  gap: 18px;
}

body[data-page="dashboard"] .smdash-promo-pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-pagination-summary {
  color: rgba(232, 236, 246, 0.58);
  font-size: 0.84rem;
  line-height: 1.5;
}

body[data-page="dashboard"] .smdash-promo-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-pagination-button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(241, 245, 249, 0.84);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body[data-page="dashboard"] .smdash-promo-pagination-button:hover,
body[data-page="dashboard"] .smdash-promo-pagination-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 208, 143, 0.24);
  color: #ffffff;
  outline: none;
}

body[data-page="dashboard"] .smdash-promo-pagination-button.is-active {
  border-color: rgba(0, 208, 143, 0.24);
  background: linear-gradient(135deg, rgba(0, 208, 143, 0.24), rgba(16, 185, 129, 0.18));
  box-shadow: 0 14px 28px rgba(0, 208, 143, 0.16);
  color: #dcfce7;
}

body[data-page="dashboard"] .smdash-promo-pagination-button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
  box-shadow: none;
}

body[data-page="dashboard"] .smdash-promo-pagination-ellipsis {
  min-width: 18px;
  color: rgba(232, 236, 246, 0.46);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

body[data-page="dashboard"] .smdash-promo-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="dashboard"] .smdash-promo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-section-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
}

body[data-page="dashboard"] .smdash-promo-section-head p {
  margin: 6px 0 0;
  color: rgba(232, 236, 246, 0.56);
  line-height: 1.6;
}

body[data-page="dashboard"] .smdash-promo-section-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="dashboard"] .smdash-promo-section-pill.is-male {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
}

body[data-page="dashboard"] .smdash-promo-section-pill.is-female {
  background: rgba(236, 72, 153, 0.14);
  color: #f9a8d4;
}

body[data-page="dashboard"] .smdash-promo-section-pill.is-animals {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

body[data-page="dashboard"] .smdash-promo-section-pill.is-unassigned {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

body[data-page="dashboard"] .smdash-promo-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

body[data-page="dashboard"] .smdash-promo-section-empty {
  padding: 16px 18px;
  border-radius: 18px;
  color: rgba(232, 236, 246, 0.52);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="dashboard"] .smdash-promo-card {
  min-width: 0;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 14px;
}

body[data-page="dashboard"] .smdash-promo-card-media {
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 208, 143, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(21, 26, 38, 0.96), rgba(17, 21, 31, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="dashboard"] .smdash-promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-page="dashboard"] .smdash-promo-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body[data-page="dashboard"] .smdash-promo-card-copy strong {
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="dashboard"] .smdash-promo-card-copy span {
  color: rgba(232, 236, 246, 0.56);
  font-size: 0.82rem;
}

body[data-page="dashboard"] .smdash-promo-card-tag {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="dashboard"] .smdash-promo-card-tag.is-male {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
}

body[data-page="dashboard"] .smdash-promo-card-tag.is-female {
  background: rgba(236, 72, 153, 0.14);
  color: #f9a8d4;
}

body[data-page="dashboard"] .smdash-promo-card-tag.is-animals {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

body[data-page="dashboard"] .smdash-promo-card-tag.is-unassigned {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

body[data-page="dashboard"] .smdash-promo-download {
  width: 100%;
  justify-content: center;
}

body[data-page="dashboard"] .smdash-promo-text-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

body[data-page="dashboard"] .smdash-promo-text-actions .button {
  min-height: 46px;
}

body[data-page="dashboard"] .smdash-promo-text-placeholder {
  min-height: 140px;
  padding: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(232, 236, 246, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.75;
}

body[data-page="dashboard"] .smdash-promo-text-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body[data-page="dashboard"] .smdash-promo-text-card[hidden] {
  display: none !important;
}

body[data-page="dashboard"] .smdash-promo-text-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body[data-page="dashboard"] .smdash-promo-text-meta strong {
  color: #ffffff;
  font-size: 1.04rem;
  line-height: 1.4;
}

body[data-page="dashboard"] .smdash-promo-text-meta span {
  color: rgba(232, 236, 246, 0.56);
  font-size: 0.84rem;
  font-weight: 600;
}

body[data-page="dashboard"] .smdash-promo-text-body {
  color: rgba(232, 236, 246, 0.84);
  font-size: 0.96rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

body[data-page="dashboard"] .smdash-promo-text-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

body[data-page="dashboard"] .smdash-promo-text-footer .button {
  min-height: 44px;
  padding-inline: 18px;
}

body[data-page="dashboard"] .smdash-support-points {
  display: grid;
  gap: 12px;
}

body[data-page="dashboard"] .smdash-support-point {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

body[data-page="dashboard"] .smdash-support-point span {
  color: rgba(232, 236, 246, 0.52);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="dashboard"] .smdash-support-point strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 1180px) {
  body[data-page="dashboard"] .smdash-profile-layout,
  body[data-page="dashboard"] .smdash-support-layout {
    grid-template-columns: 1fr;
  }

  .crm-promo-avatars-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body[data-page="dashboard"] .smdash-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="dashboard"] .smdash-page-actions {
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="dashboard"] .smdash-subnav {
    padding-left: 10px;
  }

  body[data-page="dashboard"] .smdash-profile-stats,
  body[data-page="dashboard"] .smdash-profile-details-grid,
  body[data-page="dashboard"] .smdash-work-grid,
  body[data-page="dashboard"] .smdash-work-list-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-work-contact-top,
  body[data-page="dashboard"] .smdash-work-list-summary,
  body[data-page="dashboard"] .smdash-section-header-work,
  body[data-page="dashboard"] .smdash-work-note-header {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="dashboard"] .smdash-work-chip-group {
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-section-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-work-filter {
    width: 100%;
    justify-content: space-between;
  }

  body[data-page="dashboard"] .smdash-work-filter-control {
    flex: 1 1 auto;
    min-width: 0;
  }

  body[data-page="dashboard"] .smdash-work-list-meta {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-work-list-actions {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-promo-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dashboard"] .smdash-promo-filter {
    align-items: stretch;
  }

  body[data-page="dashboard"] .smdash-promo-filter-buttons {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-promo-filter-button {
    flex: 1 1 0;
    justify-content: center;
  }

  body[data-page="dashboard"] .smdash-promo-pagination {
    align-items: stretch;
  }

  body[data-page="dashboard"] .smdash-promo-pagination-summary {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-promo-pagination-controls {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-promo-text-actions {
    align-items: stretch;
  }

  body[data-page="dashboard"] .smdash-promo-text-actions .button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="dashboard"] .smdash-promo-text-footer {
    justify-content: stretch;
  }

  body[data-page="dashboard"] .smdash-promo-text-footer .button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="dashboard"] .smdash-promo-text-placeholder {
    min-height: 0;
    padding: 18px;
    text-align: left;
    justify-content: flex-start;
  }

  body[data-page="dashboard"] .smdash-promo-text-meta {
    align-items: flex-start;
  }

  .crm-promo-library-grid-section,
  .crm-promo-library-grid,
  body[data-page="dashboard"] .smdash-promo-section-grid {
    grid-template-columns: 1fr;
  }

  .crm-promo-upload-actions,
  .crm-promo-library-head,
  .crm-promo-avatar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-promo-avatar-actions .button {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-work-actions-label,
  body[data-page="dashboard"] .smdash-work-list-actions .smdash-small-button,
  body[data-page="dashboard"] .smdash-work-note .smdash-small-button {
    flex: 1 1 100%;
    justify-content: center;
  }

  body[data-page="dashboard"] .smdash-work-list-toggle {
    width: 100%;
  }

  body[data-page="dashboard"] .smdash-support-link,
  body[data-page="dashboard"] .smdash-support-button {
    width: 100%;
    max-width: none;
  }
}

body[data-page="dashboard"] .smdash-theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="dashboard"] .smdash-theme-switcher-label {
  padding-left: 10px;
  color: rgba(232, 236, 246, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="dashboard"] .smdash-theme-switcher-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body[data-page="dashboard"] .smdash-theme-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(238, 241, 248, 0.72);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body[data-page="dashboard"] .smdash-theme-button:hover,
body[data-page="dashboard"] .smdash-theme-button:focus-visible {
  transform: translateY(-1px);
}

body[data-page="dashboard"] .smdash-theme-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body[data-page="dashboard"] .smdash-theme-button.is-active {
  color: #10131a;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] {
  --accent: #314b70;
  --accent-strong: #1d304c;
  --line: rgba(105, 125, 158, 0.18);
  --line-strong: rgba(105, 125, 158, 0.28);
  --text: #122033;
  --muted: #6d7c97;
  --muted-strong: #43526e;
  background:
    radial-gradient(circle at 14% 18%, rgba(29, 48, 76, 0.12), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(96, 142, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #f7fbff 0%, #edf4ff 52%, #f4f8ff 100%);
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-shell {
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(241, 246, 255, 0.98));
  border-color: rgba(112, 126, 153, 0.16);
  box-shadow:
    0 34px 72px rgba(47, 68, 112, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-sidebar {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 246, 255, 0.96));
  border-right-color: rgba(112, 126, 153, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-main {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.95), rgba(239, 245, 255, 0.95));
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-brand,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-card,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-stat,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-user,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-meta div,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-detail,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-empty,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-contact-top,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-note,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-field,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-entry,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-field,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-actions-label,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-toggle,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-point,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-drawer-logout,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-telegram-input {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-card {
  background:
    radial-gradient(circle at top right, rgba(29, 48, 76, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.94));
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-card {
  background:
    radial-gradient(circle at top right, rgba(29, 48, 76, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.94));
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-card {
  background:
    radial-gradient(circle at top right, rgba(49, 75, 112, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 247, 255, 0.96));
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-kicker,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-subtitle,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-user-copy span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-stat span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-kicker,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-copy p,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-meta span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-detail span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-empty,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-contact-copy span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-note-copy p,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-field span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-entry-copy span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-field span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-actions-label,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-note-meta,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-date,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-kicker,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-copy,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-point span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-section-header p {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-title-group h1,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-page-user-copy strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-stat strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-copy h2,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-summary-meta strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-profile-detail strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-section-header h2,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-contact-copy strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-note-copy strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-field strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-entry-copy strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-field strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-toggle,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-link,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-support-point strong,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-drawer-logout {
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-toggle:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-toggle:focus-visible,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-list-entry.is-open .smdash-work-list-toggle {
  background: rgba(29, 48, 76, 0.1);
  border-color: rgba(29, 48, 76, 0.16);
  color: #1d304c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-link {
  border-color: rgba(112, 126, 153, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 34px rgba(47, 68, 112, 0.1);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-link:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-link:focus-visible {
  border-color: rgba(39, 167, 231, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 40px rgba(47, 68, 112, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-logo {
  background: rgba(39, 167, 231, 0.12);
  border-color: rgba(39, 167, 231, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(39, 167, 231, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-platform {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .hero-support-copy strong {
  color: #1d304c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-nav-item {
  color: #65748d;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-nav-item:hover {
  background: rgba(101, 116, 141, 0.08);
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-nav-item.is-active {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #f8fbff;
  box-shadow: 0 16px 34px rgba(29, 48, 76, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item {
  background: rgba(101, 116, 141, 0.06);
  color: #677791;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item:hover {
  background: rgba(101, 116, 141, 0.12);
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item.is-active {
  background: rgba(29, 48, 76, 0.08);
  color: #1d304c;
  box-shadow: inset 0 0 0 1px rgba(29, 48, 76, 0.14);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(112, 126, 153, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 32px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(112, 126, 153, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-head h3 {
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-head p,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-empty {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-label {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-summary {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.16);
  color: #56657f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(47, 68, 112, 0.06);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button:focus-visible {
  color: #122033;
  border-color: rgba(49, 75, 112, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.16);
  color: #56657f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(47, 68, 112, 0.06);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-button:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-button:focus-visible {
  color: #122033;
  border-color: rgba(0, 163, 116, 0.22);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-button.is-active {
  border-color: rgba(0, 163, 116, 0.2);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(0, 208, 143, 0.12));
  color: #0f3b2f;
  box-shadow: 0 16px 30px rgba(0, 163, 116, 0.14);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-pagination-ellipsis {
  color: rgba(79, 95, 125, 0.54);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="male"] {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.26);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.1);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="female"] {
  background: rgba(236, 72, 153, 0.14);
  color: #be185d;
  border-color: rgba(236, 72, 153, 0.24);
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.1);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-filter-button.is-active[data-promo-filter="animals"] {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.1);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-empty {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(112, 126, 153, 0.14);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card-media {
  background:
    radial-gradient(circle at top right, rgba(49, 75, 112, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(242, 247, 255, 0.98), rgba(233, 241, 255, 0.95));
  border-color: rgba(112, 126, 153, 0.14);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card-copy strong {
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card-copy span {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card-tag,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-pill {
  border-color: rgba(112, 126, 153, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-card-tag.is-animals,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-section-pill.is-animals {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-placeholder,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 32px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-placeholder {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-meta strong {
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-meta span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-promo-text-body {
  color: #5e6f8b;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item-logout {
  background: rgba(207, 70, 99, 0.08);
  color: #b0435d;
  box-shadow: inset 0 0 0 1px rgba(207, 70, 99, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item-logout:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-subnav-item-logout:focus-visible {
  background: rgba(207, 70, 99, 0.14);
  color: #8f2e47;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-theme-switcher,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .language-switcher-light {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(112, 126, 153, 0.16);
  box-shadow: 0 18px 36px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-theme-switcher-label {
  color: #71809b;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-theme-button,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .language-switcher-light .language-switcher-button {
  color: #6f7f99;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .language-switcher-light .language-switcher-current {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #f8fbff;
  box-shadow: 0 12px 26px rgba(29, 48, 76, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .language-switcher-light .language-switcher-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(112, 126, 153, 0.16);
  box-shadow: 0 18px 36px rgba(47, 68, 112, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-theme-button.is-active,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .language-switcher-light .language-switcher-button.is-active {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #f8fbff;
  box-shadow: 0 12px 26px rgba(29, 48, 76, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-link-button,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-link:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-link:focus-visible {
  color: #1d304c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-small-button-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #f8fbff;
  box-shadow: 0 14px 30px rgba(29, 48, 76, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .button-primary {
  background: linear-gradient(180deg, #2b486f, #314b70);
  color: #f8fbff;
  box-shadow: 0 16px 32px rgba(49, 75, 112, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-small-button-secondary {
  background: rgba(101, 116, 141, 0.12);
  color: #26354d;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-small-button-awaiting {
  background: rgba(246, 174, 61, 0.18);
  color: #8a4f00;
  box-shadow: inset 0 0 0 1px rgba(246, 174, 61, 0.24);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-small-button-refusal {
  background: rgba(207, 70, 99, 0.12);
  color: #a23450;
  box-shadow: inset 0 0 0 1px rgba(207, 70, 99, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-small-button-danger {
  background: rgba(207, 70, 99, 0.1);
  color: #9f314c;
  box-shadow: inset 0 0 0 1px rgba(207, 70, 99, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-telegram-input {
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-telegram-input::placeholder {
  color: #8a95aa;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-status-pill {
  background: rgba(29, 48, 76, 0.08);
  color: #1d304c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-status-pill.is-blocked {
  background: rgba(247, 90, 104, 0.12);
  color: #cf4663;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip {
  background: rgba(29, 48, 76, 0.08);
  color: #1d304c;
  border-color: rgba(29, 48, 76, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip.is-channel-telegram {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.22);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip.is-channel-whatsapp {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.22);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip.is-channel-email {
  background: rgba(250, 204, 21, 0.16);
  color: #9a6700;
  border-color: rgba(234, 179, 8, 0.24);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip.is-channel-viber {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
  border-color: rgba(168, 85, 247, 0.22);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip.is-channel-generic {
  background: rgba(101, 116, 141, 0.08);
  color: #4b5b74;
  border-color: rgba(101, 116, 141, 0.16);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip-status {
  background: rgba(8, 92, 66, 0.12);
  color: #085c42;
  border-color: rgba(8, 92, 66, 0.22);
  box-shadow: none;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip-status.is-awaiting {
  background: rgba(255, 184, 77, 0.18);
  color: #8a4f08;
  border-color: rgba(255, 184, 77, 0.24);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip-status.is-moderation {
  background: rgba(102, 138, 255, 0.12);
  color: #3550aa;
  border-color: rgba(102, 138, 255, 0.18);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip-status.is-refusal {
  background: rgba(238, 97, 116, 0.14);
  color: #b4314f;
  border-color: rgba(238, 97, 116, 0.2);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-chip-muted {
  background: rgba(101, 116, 141, 0.08);
  border-color: rgba(101, 116, 141, 0.12);
  color: #53627b;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-editor {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(112, 126, 153, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 34px rgba(47, 68, 112, 0.08);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-copy strong {
  color: #15233c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-copy p,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-field span,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-file-note {
  color: #637391;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-file {
  border-color: rgba(112, 126, 153, 0.14);
  background: rgba(245, 248, 255, 0.92);
  color: #15233c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-refusal-file::file-selector-button {
  background: rgba(29, 48, 76, 0.1);
  color: #1d304c;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter span {
  color: #6d7c97;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter-control {
  background: rgba(29, 48, 76, 0.06);
  border-color: rgba(112, 126, 153, 0.16);
  color: #122033;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter-control-input::placeholder {
  color: #7a89a4;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter-control:hover,
html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-work-filter-control:focus-visible {
  border-color: rgba(29, 48, 76, 0.2);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-state {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(112, 126, 153, 0.18);
  color: #122033;
  box-shadow: 0 22px 44px rgba(47, 68, 112, 0.12);
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-state.is-success {
  background: rgba(236, 255, 248, 0.98);
  color: #0e7652;
}

html[data-dashboard-theme="light"] body[data-page="dashboard"] .smdash-state.is-error {
  background: rgba(255, 241, 245, 0.98);
  color: #b0435d;
}

@media (max-width: 720px) {
  body[data-page="dashboard"] .smdash-theme-switcher {
    width: 100%;
    justify-content: space-between;
  }

  body[data-page="dashboard"] .smdash-theme-switcher-buttons {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  body[data-page="dashboard"] .smdash-theme-switcher {
    padding: 4px;
  }

  body[data-page="dashboard"] .smdash-theme-switcher-label {
    padding-left: 8px;
    font-size: 0.68rem;
  }

  body[data-page="dashboard"] .smdash-theme-button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.76rem;
  }
}

