:root {
  --choreo-header-offset: 96px;
  --choreo-elev-1: 0 28px 80px rgba(7, 5, 24, 0.42);
  --choreo-elev-2: 0 36px 96px rgba(100, 76, 255, 0.22);
  --choreo-line: rgba(255, 255, 255, 0.1);
  --choreo-line-strong: rgba(255, 255, 255, 0.18);
}

html {
  scroll-padding-top: var(--choreo-header-offset);
}

body {
  background: #030213;
}

img[data-choreopro-header-logo="1"] {
  height: 72px !important;
  width: auto !important;
  max-width: min(240px, 32vw);
  object-fit: contain;
}

img[data-choreopro-footer-logo="1"] {
  height: 88px !important;
  width: auto !important;
  max-width: min(280px, 44vw);
  object-fit: contain;
  opacity: 0.98 !important;
}

[data-choreopro-section="pricing"] {
  position: relative;
}

[data-choreopro-section="pricing"]::before {
  content: "";
  position: absolute;
  inset: 96px 20px 72px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at top left, rgba(125, 58, 237, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

[data-choreopro-pricing-grid="1"] {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

[data-choreopro-pricing-card="1"] {
  transition: transform 0.35s ease, filter 0.35s ease;
}

[data-choreopro-pricing-card="1"] > div {
  min-height: 100%;
  box-shadow: var(--choreo-elev-1);
}

[data-choreopro-pricing-card="1"]:hover {
  transform: translateY(-10px);
}

[data-choreopro-pricing-card="1"]:hover > div {
  box-shadow: var(--choreo-elev-2);
}

[data-choreopro-plan="педагог"] > div {
  border-color: rgba(180, 133, 255, 0.34);
  box-shadow:
    0 30px 84px rgba(20, 12, 48, 0.46),
    0 0 0 1px rgba(180, 133, 255, 0.12);
}

[data-choreopro-plan="сеть-white-label"] > div,
[data-choreopro-plan="сеть-white-label"] {
  position: relative;
}

[data-choreopro-plan="сеть-white-label"] > div::after {
  content: "White Label";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3dfc4;
  background: rgba(240, 197, 140, 0.12);
  border: 1px solid rgba(240, 197, 140, 0.18);
}

[data-choreopro-pricing-card="1"] h3 {
  line-height: 1.05;
}

[data-choreopro-pricing-card="1"] ul {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
}

[data-choreopro-pricing-card="1"] button {
  letter-spacing: -0.01em;
}

[data-choreopro-footer="1"] {
  background:
    radial-gradient(circle at top center, rgba(92, 64, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #04030b 0%, #020205 100%);
}

[data-choreopro-footer-brand="1"] {
  padding: 26px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

[data-choreopro-footer-column="1"] {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-choreopro-footer-legal-links="1"] {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-choreopro-footer-meta="1"] {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-choreopro-hero-ctas="1"] {
  position: relative;
  z-index: 2;
}

[data-choreopro-dashboard-preview="1"] {
  display: block;
}

.cp-dashboard-shell {
  display: grid;
  grid-template-columns: 0.95fr 2.4fr;
  min-height: clamp(360px, 48vw, 640px);
  background: linear-gradient(180deg, #f7f7fc 0%, #eef1f9 100%);
  color: #1f2a44;
}

.cp-dashboard-sidebar {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 40%),
    linear-gradient(180deg, #7f7ff1 0%, #7065da 52%, #6a56c9 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-dashboard-brand {
  font: 800 clamp(18px, 2vw, 24px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.cp-dashboard-branch {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: 600 14px/1.2 system-ui, sans-serif;
}

.cp-dashboard-side-section {
  margin-top: 10px;
  font: 800 12px/1.2 system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.cp-dashboard-side-item {
  padding: 14px 16px;
  border-radius: 18px;
  font: 600 15px/1.25 system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.78);
}

.cp-dashboard-side-item.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cp-dashboard-main {
  padding: clamp(18px, 2.6vw, 30px);
  display: grid;
  gap: 18px;
}

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

.cp-dashboard-metric,
.cp-dashboard-panel,
.cp-dashboard-route-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(196, 205, 228, 0.72);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(85, 102, 150, 0.08);
}

.cp-dashboard-metric {
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
}

.cp-dashboard-metric::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -24px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.08;
  background: currentColor;
}

.cp-dashboard-metric-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(92, 108, 255, 0.08);
  font-size: 22px;
  margin-bottom: 18px;
}

.cp-dashboard-metric-title {
  font: 800 13px/1.25 system-ui, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7183a6;
  margin-bottom: 12px;
}

.cp-dashboard-metric-value {
  font: 900 clamp(30px, 3vw, 42px)/1 system-ui, sans-serif;
  margin-bottom: 10px;
}

.cp-dashboard-metric-note {
  font: 500 14px/1.4 system-ui, sans-serif;
  color: #91a0bd;
}

.metric-blue {
  color: #6174e8;
}

.metric-green {
  color: #15b77f;
}

.metric-orange {
  color: #f59e0b;
}

.metric-gold {
  color: #b28c32;
}

.cp-dashboard-panel {
  padding: 22px;
}

.cp-dashboard-panel-title {
  font: 900 18px/1.2 system-ui, sans-serif;
  color: #2b3654;
  margin-bottom: 18px;
}

.cp-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.cp-dashboard-action {
  min-height: 112px;
  border-radius: 22px;
  border: 1px solid rgba(201, 210, 231, 0.82);
  background: #ffffff;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: #2e3a58;
  font: 700 16px/1.3 system-ui, sans-serif;
}

.cp-dashboard-action.is-featured {
  color: #ffffff;
  border-color: rgba(109, 108, 239, 0.54);
  background: linear-gradient(180deg, #7c82f5 0%, #685de0 100%);
  box-shadow: 0 20px 40px rgba(104, 93, 224, 0.26);
}

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

.cp-dashboard-route-card {
  padding: 20px;
}

.cp-dashboard-route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cp-dashboard-route-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.09);
  color: #5562dd;
  font: 800 12px/1 system-ui, sans-serif;
}

.cp-dashboard-route-card h4 {
  margin: 0 0 12px;
  font: 800 16px/1.25 system-ui, sans-serif;
  color: #27334f;
}

.cp-dashboard-route-card p {
  margin: 0;
  font: 500 14px/1.55 system-ui, sans-serif;
  color: #7a89a5;
}

[data-choreopro-import-note="1"] {
  margin-top: 22px;
}

.cp-import-note-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(16, 185, 129, 0.14));
  border: 1px solid rgba(45, 212, 191, 0.24);
  color: #d9fff6;
  font: 800 18px/1.35 system-ui, sans-serif;
  text-align: center;
  box-shadow: 0 18px 48px rgba(16, 185, 129, 0.12);
}

@media (max-width: 1023px) {
  img[data-choreopro-header-logo="1"] {
    height: 58px !important;
    max-width: 168px;
  }

  img[data-choreopro-footer-logo="1"] {
    height: 72px !important;
    max-width: 220px;
  }

  [data-choreopro-section="pricing"]::before {
    inset: 76px 12px 48px;
    border-radius: 28px;
  }

  [data-choreopro-footer-brand="1"],
  [data-choreopro-footer-meta="1"] {
    padding: 20px;
    border-radius: 24px;
  }

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

  .cp-dashboard-sidebar {
    display: none;
  }

  .cp-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-dashboard-action {
    min-height: 88px;
    font-size: 14px;
  }

  .cp-dashboard-routes {
    grid-template-columns: 1fr;
  }

  .cp-import-note-pill {
    font-size: 16px;
    padding: 16px 18px;
  }
}

@media (max-width: 640px) {
  .cp-dashboard-main {
    padding: 14px;
    gap: 14px;
  }

  .cp-dashboard-metric {
    padding: 14px;
    border-radius: 20px;
  }

  .cp-dashboard-metric-title {
    font-size: 11px;
  }

  .cp-dashboard-metric-value {
    font-size: 26px;
  }

  .cp-dashboard-metric-note {
    font-size: 12px;
  }

  .cp-dashboard-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .cp-dashboard-panel-title {
    font-size: 16px;
  }
}
