body.dashboard-page main {
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vh, 2.25rem));
  padding-bottom: clamp(3rem, 6vh, 4rem);
}

.dash-shell {
  max-width: 52rem;
  position: relative;
  z-index: 1;
}

.dash {
  position: relative;
}

.dash-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 8%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(ellipse 45% 40% at 88% 18%, rgba(16, 185, 129, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(37, 99, 235, 0.05), transparent 55%);
  animation: dash-ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes dash-ambient-drift {
  0% { opacity: 0.75; transform: scale(1) translateY(0); }
  100% { opacity: 1; transform: scale(1.03) translateY(-1%); }
}

/* Structured single-column dashboard */
.dash-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.dash-zone__head {
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-zone__title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dash-zone__desc {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-2);
}

/* Paid plan strip */
.dash-plan-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.dash-plan-strip__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-plan-strip__detail {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 40ch;
}

.dash-plan-strip__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: capitalize;
}

.dash-plan-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-self: center;
}

/* Desktop download — one place only */
.dash-download-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.02));
}

.dash-download-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.dash-download-bar__title {
  margin: 0 0 0.15rem;
  font-size: 0.9375rem;
  font-weight: 650;
}

.dash-download-bar__sub {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-2);
}

.dash-download-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dash-download-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
  color: #fff;
}

@media (max-width: 640px) {
  .dash-download-bar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon copy"
      "btn btn";
  }

  .dash-download-bar__icon { grid-area: icon; }
  .dash-download-bar__copy { grid-area: copy; }
  .dash-download-bar__btn {
    grid-area: btn;
    width: 100%;
  }
}

/* Support tiles */
.dash-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-support-grid:has(.dash-support-tile:only-child) {
  grid-template-columns: 1fr;
  max-width: 24rem;
}

.dash-support-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 9.5rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.dash-support-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
}

.dash-support-tile--calendly {
  border-color: rgba(37, 99, 235, 0.2);
}

.dash-support-tile--forum {
  border-color: rgba(16, 185, 129, 0.18);
}

.dash-support-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 1rem;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
}

.dash-support-tile--forum .dash-support-tile__icon {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
}

.dash-support-tile__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.dash-support-tile__text {
  margin: 0;
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-2);
}

.dash-support-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
}

.dash-support-tile__link:hover {
  color: #bfdbfe;
}

.dash-support-tile--forum .dash-support-tile__link {
  color: #6ee7b7;
}

.dash-support-tile--forum .dash-support-tile__link:hover {
  color: #a7f3d0;
}

@media (max-width: 640px) {
  .dash-support-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer links */
.dash-footlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  padding-top: 0.25rem;
  font-size: 0.8125rem;
}

.dash-footlinks a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.dash-footlinks a:hover {
  color: var(--text);
}

.dash-footlinks__sep {
  color: var(--text-3);
  user-select: none;
}

/* Flat usage card (section title lives in dash-zone) */
.dash-usage--flat .dash-usage__glow {
  display: none;
}

.dash-usage--flat {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem 1.1rem;
  gap: 0.75rem;
}

.dash-usage--flat .dash-usage__head {
  display: none;
}

.dash-usage__foot--duo {
  grid-template-columns: 1fr 1fr;
}

/* Legacy layout helpers (unused) */
.dash-layout {
  display: none;
}

/* Header */
.dash-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-eyebrow {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.35rem;
}

.dash-title {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.dash-lead {
  font-size: 0.8125rem;
  color: var(--text-3);
  max-width: 46ch;
  line-height: 1.5;
}

/* Plan badges */
.dash-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: var(--brand-glow);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
}

.dash-plan-badge--pro {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.dash-plan-row {
  margin-bottom: 0.65rem;
}

/* Dashboard upgrade promo */
@keyframes promo-signal-sweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(320%);
    opacity: 0;
  }
}

@keyframes promo-glow-drift {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-4%, 3%) scale(1.06);
  }
}

@keyframes promo-border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes promo-offer-glow {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

@keyframes promo-price-glow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(96, 165, 250, 0);
  }
  50% {
    text-shadow: 0 0 32px rgba(96, 165, 250, 0.42);
  }
}

@keyframes promo-cta-shimmer {
  0% {
    transform: translateX(-130%) skewX(-12deg);
  }
  100% {
    transform: translateX(230%) skewX(-12deg);
  }
}

@keyframes promo-cta-pulse {
  0%,
  100% {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.48);
  }
  50% {
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.62), 0 0 24px rgba(96, 165, 250, 0.22);
  }
}

@keyframes promo-icon-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
    border-color: rgba(96, 165, 250, 0.22);
  }
  50% {
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.28);
    border-color: rgba(147, 197, 253, 0.48);
  }
}

@keyframes promo-kicker-pulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

.promo-upgrade {
  position: relative;
  margin-bottom: 1rem;
  padding: 2rem 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 55%),
    linear-gradient(155deg, rgba(15, 23, 42, 0.45) 0%, rgba(8, 11, 22, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.promo-upgrade__signal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.promo-upgrade__signal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.35) 25%,
    rgba(147, 197, 253, 0.95) 50%,
    rgba(37, 99, 235, 0.35) 75%,
    transparent 100%
  );
  animation: promo-signal-sweep 4.2s ease-in-out infinite;
}

.promo-upgrade__glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.16) 0%, transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  animation: promo-glow-drift 6s ease-in-out infinite;
}

.promo-upgrade__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .promo-upgrade__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    max-width: 40rem;
    margin-inline: auto;
  }

  .promo-upgrade {
    padding: 2rem 2rem;
  }

  .promo-upgrade__main {
    flex: 0 1 auto;
    min-height: 0;
    max-width: 19rem;
  }

  .promo-upgrade__offer {
    flex: 0 0 16.5rem;
    width: 16.5rem;
  }

  .promo-upgrade__social {
    margin-top: 1rem;
    padding-top: 0;
  }
}

.promo-upgrade__save {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: max-content;
  flex-shrink: 0;
  margin-bottom: 1.15rem;
  padding: 0.28rem 0.62rem;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7db8a0;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
}

.promo-upgrade__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.promo-upgrade__kicker {
  margin: 0 0 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #c5d4f8;
  max-width: 36ch;
  animation: promo-kicker-pulse 3.6s ease-in-out infinite;
}

.promo-upgrade__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.promo-upgrade__benefits li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.3;
}

.promo-upgrade__benefits strong {
  font-weight: 600;
  color: rgba(244, 244, 245, 0.88);
}

.promo-upgrade__benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  flex-shrink: 0;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.22);
  animation: promo-icon-pulse 3s ease-in-out infinite;
}

.promo-upgrade__benefits li:nth-child(1) .promo-upgrade__benefit-icon {
  animation-delay: 0s;
}

.promo-upgrade__benefits li:nth-child(2) .promo-upgrade__benefit-icon {
  animation-delay: 0.65s;
}

.promo-upgrade__benefits li:nth-child(3) .promo-upgrade__benefit-icon {
  animation-delay: 1.3s;
}

.promo-upgrade__benefit-icon i {
  font-size: 0.9rem;
}

.promo-upgrade__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8b97b3;
}

.promo-upgrade__social i {
  font-size: 0.8rem;
  color: #fbbf24;
}

.promo-upgrade__offer {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 65%),
    rgba(255, 255, 255, 0.03);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(147, 197, 253, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.08),
    0 8px 28px rgba(37, 99, 235, 0.14);
  overflow: hidden;
  isolation: isolate;
}

.promo-upgrade__offer::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.25) 0%,
    rgba(96, 165, 250, 0.95) 35%,
    rgba(147, 197, 253, 1) 50%,
    rgba(96, 165, 250, 0.95) 65%,
    rgba(37, 99, 235, 0.25) 100%
  );
  background-size: 220% 220%;
  animation: promo-border-flow 3.5s ease infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.promo-upgrade__offer-glow {
  position: absolute;
  inset: -30% -15%;
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.35) 0%, transparent 58%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.2) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: promo-offer-glow 4s ease-in-out infinite;
}

.promo-upgrade__offer > :not(.promo-upgrade__offer-glow) {
  position: relative;
  z-index: 1;
}

.promo-upgrade__offer-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b97b3;
}

.promo-upgrade__offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  line-height: 1;
}

.promo-upgrade__price-strike {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.promo-upgrade__price-now {
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  animation: promo-price-glow 3.2s ease-in-out infinite;
}

.promo-upgrade__offer-term {
  margin: 0.65rem 0 1.35rem;
  font-size: 0.75rem;
  color: #8b97b3;
}

.promo-upgrade__cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: 11px;
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.48) !important;
  animation: promo-cta-pulse 3.4s ease-in-out infinite;
}

.promo-upgrade__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%
  );
  animation: promo-cta-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.promo-upgrade__cta:hover {
  animation: none;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.58) !important;
}

.promo-upgrade__cta i {
  position: relative;
  z-index: 1;
  transition: transform 0.18s var(--ease);
}

.promo-upgrade__cta:hover i {
  transform: translateX(3px);
}

.promo-upgrade__trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.promo-upgrade__trust li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  color: #6b7280;
}

.promo-upgrade__trust i {
  font-size: 0.85rem;
  color: #8b97b3;
}

/* Pro active state */
.dash-pro-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.38);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.dash-pro-active:hover {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(37, 99, 235, 0.08),
    0 12px 36px rgba(37, 99, 235, 0.1);
}

.dash-pro-active__title {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.dash-pro-active__text {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 44ch;
}

.dash-pro-active__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: capitalize;
}

.dash-pro-active__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dash-pro-active__download {
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.32);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dash-pro-active__download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-130%) skewX(-12deg);
  animation: dash-download-shimmer 4.5s ease-in-out infinite;
}

@keyframes dash-download-shimmer {
  0%, 72% { transform: translateX(-130%) skewX(-12deg); }
  100% { transform: translateX(180%) skewX(-12deg); }
}

.dash-pro-active__download:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
}

/* Sticky rail — download card */
.dash-rail-download {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.2rem 1.1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.32);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.dash-rail-download__shine {
  position: absolute;
  inset: -40% -30%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(96, 165, 250, 0.14), transparent 55%);
  animation: dash-rail-glow 6s ease-in-out infinite alternate;
}

@keyframes dash-rail-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

.dash-rail-download__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  font-size: 1.4rem;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.28);
  animation: dash-icon-float 4s ease-in-out infinite;
}

@keyframes dash-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.dash-rail-download__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-rail-download__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-2);
  max-width: 22ch;
}

.dash-rail-download__text strong {
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.dash-rail-download__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dash-rail-download__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.42);
  color: #fff;
}

.dash-rail-download__fine {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.68rem;
  color: var(--text-3);
}

.dash-rail-quick {
  padding: 1rem 1.05rem;
}

.dash-actions--rail {
  gap: 0.45rem;
}

.dash-actions--rail .dash-action {
  padding: 0.65rem 0.7rem;
}

/* Get help promos */
.dash-help {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0;
}

@media (min-width: 720px) {
  .dash-help {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-help:has(.dash-help-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

.dash-help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.dash-help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.dash-help-card--calendly {
  border-color: rgba(37, 99, 235, 0.28);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(37, 99, 235, 0.14) 0%, transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.dash-help-card--forum {
  border-color: rgba(16, 185, 129, 0.22);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.dash-help-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dash-help-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 999px;
}

.dash-help-badge--forum {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.32);
}

.dash-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  color: var(--brand-light);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.dash-help-icon i {
  font-size: 1.15rem;
}

.dash-help-icon--forum {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.22);
}

.dash-help-title {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

.dash-help-copy {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
}

.dash-help-list {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.dash-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-2);
}

.dash-help-list i {
  color: var(--brand-light);
  font-size: 0.85rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.dash-help-card--forum .dash-help-list i {
  color: #6ee7b7;
}

.dash-help-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.dash-help-cta {
  width: 100%;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.dash-help-cta i {
  font-size: 1rem;
  opacity: 0.9;
}

.dash-help-link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  text-align: center;
  padding: 0.15rem 0;
}

.dash-help-link:hover {
  color: var(--brand-light);
}

@media (min-width: 720px) {
  .dash-help {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cards grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.dash-grid--settings {
  gap: clamp(0.95rem, 2.5vw, 1.25rem);
}

.settings-page .dash-grid--settings .dash-card {
  padding: clamp(1.2rem, 3vw, 1.55rem) clamp(1.1rem, 3vw, 1.65rem);
}

.dash-card {
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.25s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.25s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.25s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.settings-page .dash-grid--settings .dash-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.dash-card-head i {
  font-size: 1.05rem;
  color: var(--brand-light);
}

.dash-card-head h2 {
  font-size: 0.9375rem;
  font-weight: 650;
}

.dash-meta {
  display: grid;
  gap: 0.8rem;
}

.dash-meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.18rem;
}

.dash-meta dd {
  font-size: 0.875rem;
  color: var(--text);
  word-break: break-word;
}

.dash-card-copy {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.dash-card-copy--spaced {
  margin-bottom: 1.15rem;
}

.dash-meta--spaced {
  margin-top: 0.15rem;
}

.dash-card-btn {
  transition:
    transform 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    background 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-card-btn:hover {
  transform: translateY(-1px);
}

.dash-card-btn:active {
  transform: translateY(0);
}

.dash-text-link {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

.dash-text-link:hover {
  color: var(--text);
}

.dash-text-link--accent {
  color: var(--brand-light);
}

.dash-text-link--accent:hover {
  color: #fff;
}

.dash-profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.dash-profile-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem 1.75rem;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-profile-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-profile-avatar-wrap:hover {
  transform: translateY(-2px);
}

.dash-profile-avatar-wrap:hover .dash-profile-avatar-edit {
  color: #fff;
}

.dash-profile-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  transition:
    transform 0.28s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.28s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.28s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-profile-avatar.is-updated {
  animation: dash-avatar-pop 0.38s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

@keyframes dash-avatar-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
  100% { transform: scale(1); }
}

.dash-profile-avatar-wrap:hover .dash-profile-avatar {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.18);
}

.dash-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-profile-avatar-edit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-light);
  transition: color 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-profile-fields {
  flex: 1;
  min-width: min(100%, 14rem);
}

.dash-profile-name-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .dash-profile-name-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.dash-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-profile-label {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dash-profile-input,
.dash-profile-textarea {
  width: 100%;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  outline: none;
  transition:
    border-color 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    background 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-profile-input:hover:not(:focus):not([readonly]),
.dash-profile-textarea:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.dash-profile-input:focus,
.dash-profile-textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.dash-profile-input[readonly] {
  opacity: 0.85;
  cursor: default;
}

.dash-profile-textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.dash-profile-hint {
  font-size: 0.75rem;
  color: var(--text-3);
}

.dash-profile-hint a {
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 600;
}

.dash-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.15rem;
}

.dash-profile-actions .btn-primary {
  transition:
    transform 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 0.2s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.dash-profile-actions .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.dash-profile-actions .btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.dash-profile-actions .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.dash-profile-msg {
  font-size: 0.8125rem;
  margin: 0;
}

.dash-profile-msg.dash-msg-pop {
  animation: dash-msg-in 0.32s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

@keyframes dash-msg-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dash-profile-msg.is-ok {
  color: #4ade80;
}

.dash-profile-msg.is-err {
  color: #fbbf24;
}

.dash-profile-msg.hidden {
  display: none;
}

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

/* Quick actions — single column so every row matches logout width */
.dash-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.dash-action-form {
  display: block;
}

.dash-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.dash-action:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.dash-action > .ti:first-child {
  font-size: 1.125rem;
  color: var(--text-2);
  flex-shrink: 0;
}

.dash-action span {
  flex: 1;
  min-width: 0;
}

.dash-action strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.dash-action small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.08rem;
}

.dash-action__chev {
  font-size: 1rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.dash-action:hover .dash-action__chev {
  transform: translateX(2px);
  color: var(--text-2);
}

.dash-action--primary {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.1);
}

.dash-action--primary > .ti:first-child {
  color: var(--brand-light);
}

.dash-action--upgrade {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.dash-action--upgrade > .ti:first-child {
  color: var(--brand-light);
}

.dash-action--upgrade strong {
  color: var(--text);
}

.dash-action--button {
  font: inherit;
}

@media (min-width: 720px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-grid--settings {
    gap: clamp(1rem, 2vw, 1.35rem);
  }

  .settings-page .dash-grid--settings .dash-card {
    padding: clamp(1.35rem, 2.5vw, 1.65rem) clamp(1.35rem, 2.5vw, 1.75rem);
  }

  .dash-card--wide {
    grid-column: 1 / -1;
  }

  .dash-profile-row {
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-in,
  .dash-in--1,
  .dash-in--2,
  .dash-in--3,
  .dash-in--4 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .promo-upgrade__signal::after,
  .promo-upgrade__glow,
  .promo-upgrade__kicker,
  .promo-upgrade__benefit-icon,
  .promo-upgrade__offer::before,
  .promo-upgrade__offer-glow,
  .promo-upgrade__price-now,
  .promo-upgrade__cta,
  .promo-upgrade__cta::before {
    animation: none !important;
  }

  .promo-upgrade__price-now {
    text-shadow: none;
  }

  .dash-action:hover,
  .dash-card-btn:hover,
  .dash-profile-actions .btn-primary:hover:not(:disabled),
  .dash-profile-avatar-wrap:hover {
    transform: none;
  }

  .dash-profile-avatar.is-updated,
  .dash-profile-msg.dash-msg-pop {
    animation: none !important;
  }

  .settings-page .dash-grid--settings .dash-card {
    transition: none;
  }
}

@media (max-width: 639px) {
  .settings-page .dash-profile-row {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-page .dash-profile-avatar-wrap {
    align-self: center;
  }

  .settings-page .dash-profile-fields {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 479px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Credit-native dashboard upgrade (replaces Auto-Pilot promo) */
.dash-upgrade-credits {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.dash-upgrade-credits:hover {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.08);
}

.dash-upgrade-credits__glow {
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.12), transparent 65%);
  animation: dash-upgrade-glow 10s ease-in-out infinite alternate;
}

@keyframes dash-upgrade-glow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.dash-upgrade-credits__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .dash-upgrade-credits__grid {
    grid-template-columns: 1.35fr minmax(240px, 0.9fr);
    align-items: center;
    gap: 1.5rem 2rem;
  }
}

.dash-upgrade-credits__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.dash-upgrade-credits__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.dash-upgrade-credits__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 36rem;
}

.dash-credit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.dash-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-credit-pills--hero .dash-credit-pill {
  flex-direction: column;
  align-items: flex-start;
  min-width: 7.5rem;
  padding: 0.65rem 0.85rem;
}

.dash-credit-pills--hero .dash-credit-pill strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.dash-credit-pills--hero .dash-credit-pill small {
  font-size: 0.72rem;
  color: var(--text-3);
}

.dash-credit-pill--listings strong { color: #93c5fd; }
.dash-credit-pill--refresh strong { color: #6ee7b7; }

.dash-upgrade-credits__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.dash-upgrade-credits__perks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-2);
}

.dash-upgrade-credits__perks i {
  color: #4ade80;
}

.dash-upgrade-credits__offer {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.dash-upgrade-credits__offer-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dash-upgrade-plan-stack {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.dash-upgrade-plan-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-2);
}

.dash-upgrade-plan-line strong {
  color: var(--text);
  font-weight: 700;
}

.dash-upgrade-plan-line--featured {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--text);
}

.dash-upgrade-credits__cta {
  width: 100%;
  justify-content: center;
}

.dash-upgrade-credits__fine {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-3);
}

@media (prefers-reduced-motion: reduce) {
  .dash-upgrade-credits__glow { animation: none; }
}

/* Credit usage meters */
.dash-usage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0;
  padding: 1.25rem 1.35rem;
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.18);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(16, 185, 129, 0.08), transparent 50%),
    rgba(255, 255, 255, 0.025);
}

.dash-usage--god,
.dash-usage--unlimited {
  border-color: rgba(251, 191, 36, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(251, 191, 36, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.dash-usage--legacy {
  border-color: rgba(148, 163, 184, 0.22);
}

.dash-usage__glow {
  position: absolute;
  inset: -20% 30% auto;
  height: 55%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.14), transparent 70%);
  opacity: 0.8;
}

.dash-usage__head {
  position: relative;
  z-index: 1;
}

.dash-usage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.dash-usage__title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.dash-usage__sub {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 36rem;
}

.dash-usage__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-usage__grid--special {
  grid-template-columns: 1fr;
}

.dash-usage-pool {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.dash-usage-gauge {
  --pct: 0;
  --ring-c: 326.73;
  position: relative;
  width: 4.75rem;
  height: 4.75rem;
  flex-shrink: 0;
}

.dash-usage-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-usage-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
}

.dash-usage-ring__arc {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke: url(#dash-usage-grad-listings);
  stroke-dasharray: var(--ring-c);
  stroke-dashoffset: calc(var(--ring-c) * (1 - var(--pct) / 100));
  transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-usage-gauge.is-animated .dash-usage-ring__arc {
  stroke-dashoffset: var(--ring-c);
  transition: none;
  animation: dash-ring-draw 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--gauge-delay, 0s);
}

@keyframes dash-ring-draw {
  to {
    stroke-dashoffset: calc(var(--ring-c) * (1 - var(--pct) / 100));
  }
}

.dash-usage-pool--refresh .dash-usage-ring__arc {
  stroke: url(#dash-usage-grad-refresh);
}

.dash-usage-pool.is-low .dash-usage-ring__arc {
  stroke: url(#dash-usage-grad-warn);
}

.dash-usage-pool.is-out .dash-usage-ring__arc {
  stroke: url(#dash-usage-grad-out);
}

.dash-usage-gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  text-align: center;
  pointer-events: none;
}

.dash-usage-gauge__center strong,
.dash-usage-gauge__val {
  display: block;
  max-width: 3.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.dash-usage-gauge__val.is-sm,
.dash-usage-gauge__center strong.is-sm { font-size: 0.95rem; }

.dash-usage-gauge__val.is-md,
.dash-usage-gauge__center strong.is-md {
  font-size: 0.84rem;
  letter-spacing: -0.03em;
}

.dash-usage-gauge__val.is-lg,
.dash-usage-gauge__center strong.is-lg {
  font-size: 0.72rem;
  letter-spacing: -0.035em;
}

.dash-usage-gauge__val.is-xl,
.dash-usage-gauge__center strong.is-xl {
  font-size: 0.64rem;
  letter-spacing: -0.04em;
}

.dash-usage-gauge__val.is-compact,
.dash-usage-gauge__center strong.is-compact {
  font-size: 0.88rem;
  letter-spacing: -0.015em;
}

.dash-usage-pool--listings .dash-usage-gauge__center strong,
.dash-usage-pool--listings .dash-usage-gauge__val { color: #bfdbfe; }

.dash-usage-pool--refresh .dash-usage-gauge__center strong,
.dash-usage-pool--refresh .dash-usage-gauge__val { color: #a7f3d0; }

.dash-usage-gauge__center span {
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dash-usage-pool__copy {
  min-width: 0;
}

.dash-usage-pool__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-2);
}

.dash-usage-pool__label i {
  font-size: 0.85rem;
  opacity: 0.85;
}

.dash-usage-pool__stat {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text);
}

.dash-usage-pool__meta {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
}

.dash-usage-pool__meta span {
  display: inline-block;
  max-width: 100%;
}

.dash-usage-pool__meta em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--text-3);
  opacity: 0.9;
}

.dash-usage-special {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-usage-special--god {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.08), rgba(0, 0, 0, 0.12));
}

.dash-usage-special--legacy {
  border-color: rgba(148, 163, 184, 0.22);
}

.dash-usage-special__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.35rem;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.dash-usage-special--legacy .dash-usage-special__icon {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.28);
}

.dash-usage-special__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.dash-usage-special__text {
  margin: 0;
  max-width: 22rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-2);
}

.dash-usage__alert {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
}

.dash-usage__alert--low {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.dash-usage__alert--out {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.dash-usage__foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-usage-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.dash-usage__foot--single {
  grid-template-columns: 1fr;
}

.dash-usage__foot:has(.dash-usage-btn--wide:only-child) {
  grid-template-columns: 1fr;
}

.dash-usage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.dash-usage-btn--wide {
  width: 100%;
}

.dash-usage-btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}

.dash-usage-btn--primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.dash-usage-btn--secondary {
  background: var(--surface);
  border-color: var(--border2);
  color: var(--text);
}

.dash-usage-btn--secondary:hover {
  background: var(--surface2);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

@media (max-width: 640px) {
  .dash-usage__grid:not(.dash-usage__grid--special) {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-ambient,
  .dash-upgrade-credits__glow {
    animation: none;
  }

  .dash-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dash-usage-gauge.is-animated .dash-usage-ring__arc {
    animation: none;
    stroke-dashoffset: calc(var(--ring-c) * (1 - var(--pct) / 100));
  }

  .dash-usage-ring__arc {
    transition: none;
  }

  .dash-download-bar__btn:hover,
  .dash-support-tile:hover {
    transform: none;
  }
}

