:root {
  --dashboard-bg: #050505;
  --dashboard-text: #f7f7fb;
  --dashboard-muted: rgba(255, 255, 255, 0.46);
  --dashboard-muted-soft: rgba(255, 255, 255, 0.28);
  --dashboard-line: rgba(255, 255, 255, 0.045);
  --dashboard-line-strong: rgba(255, 255, 255, 0.09);
  --dashboard-accent: #8b5cf6;
  --dashboard-success: #00e06d;
  --dashboard-danger: #ff3434;
  --dashboard-blue: #6d86ff;
  --dashboard-amber: #ffb32e;
  --dashboard-max: 980px;
  --dashboard-sidebar: 225px;
  --dashboard-gap: 42px;
  --dashboard-stage: 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--dashboard-bg);
  scroll-behavior: auto;
}

body.dashboard-body {
  margin: 0;
  min-height: 100vh;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: -0.025em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

body.dashboard-body::-webkit-scrollbar {
  width: 8px;
}

body.dashboard-body::-webkit-scrollbar-track {
  background: var(--dashboard-bg);
}

body.dashboard-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
}

.dashboard-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 38% 26%, rgba(95, 70, 150, 0.06), transparent 17%),
    radial-gradient(circle at 73% 36%, rgba(95, 70, 150, 0.035), transparent 18%),
    #050505;
}

.dashboard-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #050505;
  pointer-events: none;
}

.dashboard-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0.45px, transparent 0.7px),
    radial-gradient(circle, rgba(139, 92, 246, 0.28) 0.45px, transparent 0.7px);
  background-position: 0 0, 16px 22px;
  background-size: 32px 32px, 48px 48px;
}

.dashboard-glow {
  display: none;
}

.dashboard-topbar {
  position: relative;
  z-index: 20;
  background: transparent;
  border: 0;
}

.dashboard-topbar__inner {
  width: min(var(--dashboard-max), calc(100% - 48px));
  min-height: 56px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.dashboard-brand__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.dashboard-brand__name {
  color: #f4f2f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-topbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.dashboard-topbar__links a {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.dashboard-topbar__links a:hover {
  color: rgba(255, 255, 255, 0.86);
}

.dashboard-topbar__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.dashboard-topbar__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-topbar__cta-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
}

.dashboard-topbar__cta-icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-shell {
  width: min(var(--dashboard-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.dashboard-loading {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.dashboard-loading.is-complete {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.dashboard-loading[hidden] {
  display: none !important;
}

.dashboard-loading__inner {
  width: min(100%, 180px);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.dashboard-loading__logo {
  width: 40px;
  opacity: 0.96;
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.18));
}

.dashboard-loading__track {
  position: relative;
  width: 140px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.dashboard-loading__bar {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.92), rgba(255, 255, 255, 0.85), transparent);
  transform: translateX(-72%);
  animation: dashboard-loader-scan 1.25s ease-in-out infinite;
}

.dashboard-loading__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-content {
  display: grid;
  gap: 70px;
}

.dashboard-content:not(.is-ready) .dashboard-hero,
.dashboard-content:not(.is-ready) .dashboard-sidebar,
.dashboard-content:not(.is-ready) .dashboard-panels {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(10px);
}

.dashboard-content.is-ready .dashboard-hero,
.dashboard-content.is-ready .dashboard-sidebar,
.dashboard-content.is-ready .dashboard-panels {
  animation: dashboard-stage-in var(--dashboard-stage) both;
}

.dashboard-content.is-ready .dashboard-sidebar {
  animation-delay: 60ms;
}

.dashboard-content.is-ready .dashboard-panels {
  animation-delay: 105ms;
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}

.dashboard-hero__avatar-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  margin-top: 0;
  cursor: pointer;
  outline: none;
}

.dashboard-hero__avatar-frame {
  position: relative;
  width: 66px;
  height: 66px;
  overflow: visible;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(139, 92, 246, 0.2), rgba(36, 13, 58, 0.96)),
    #16091f;
  box-shadow:
    inset 0 0 24px rgba(139, 92, 246, 0.12),
    0 0 30px rgba(139, 92, 246, 0.16);
}

.dashboard-hero__avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.dashboard-hero__avatar-frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b982ff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 21a6 6 0 0 0-12 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
  transition: opacity 180ms ease;
}

/* When the user has an uploaded avatar, the image replaces the silhouette.
   The default (no `has-avatar` class) keeps the refined placeholder look. */
.dashboard-hero__avatar-wrap.has-avatar .dashboard-hero__avatar {
  opacity: 1;
  pointer-events: auto;
}
.dashboard-hero__avatar-wrap.has-avatar .dashboard-hero__avatar-frame::before {
  opacity: 0;
}

.dashboard-hero__avatar-overlay {
  display: none;
}

.dashboard-hero__avatar-spinner {
  position: absolute;
  inset: 3px;
  z-index: 3;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.18);
  border-top-color: var(--dashboard-accent);
  opacity: 0;
  pointer-events: none;
  animation: dashboard-avatar-spin 0.8s linear infinite;
}

.dashboard-hero__avatar-wrap.is-uploading .dashboard-hero__avatar-spinner {
  opacity: 1;
}

.dashboard-hero__status-dot {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 14px;
  height: 14px;
  border: 0;
  border: 3px solid #050505;
  border-radius: 5px;
  background: var(--dashboard-success);
  box-shadow: 0 0 10px rgba(0, 224, 109, 0.78);
}

.dashboard-hero__copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dashboard-hero__meta {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dashboard-hero__divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dashboard-pill::before,
.dashboard-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.dashboard-pill--success,
.dashboard-chip--success {
  color: var(--dashboard-success);
}

.dashboard-pill--danger {
  color: var(--dashboard-danger);
}

.dashboard-pill--accent {
  color: var(--dashboard-accent);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: var(--dashboard-sidebar) minmax(0, 1fr);
  gap: var(--dashboard-gap);
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 34px;
}

.dashboard-nav {
  position: relative;
  display: grid;
  gap: 14px;
}

.dashboard-nav__item {
  width: 100%;
  display: grid;
  grid-template-columns: 18px 1fr 8px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  text-align: left;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.dashboard-nav__item:hover,
.dashboard-nav__item.is-active {
  color: #ffffff;
}

.dashboard-nav__item.is-active {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
}

.dashboard-nav__icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  color: rgba(255, 255, 255, 0.42);
}

.dashboard-nav__item.is-active .dashboard-nav__icon {
  color: var(--dashboard-accent);
}

.dashboard-nav__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.7;
}

.dashboard-nav__label {
  font-size: 13px;
  font-weight: 700;
}

.dashboard-nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
  opacity: 0;
}

.dashboard-nav__item.is-active .dashboard-nav__dot {
  opacity: 0;
}

.dashboard-nav__active-dot {
  position: absolute;
  right: 19px;
  top: 0;
  width: 6px;
  height: 6px;
  z-index: 3;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(var(--dashboard-active-dot-y, 0));
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 160ms ease;
}

.dashboard-nav__active-dot.is-visible {
  opacity: 1;
}

.dashboard-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-card--sidebar {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-card--sidebar h3 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.dashboard-card--sidebar a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: color 160ms ease;
}

.dashboard-card--sidebar a:hover {
  color: #ffffff;
}

.dashboard-signout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 0;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  color: var(--dashboard-danger);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dashboard-signout__icon {
  width: 11px;
  height: 11px;
  display: inline-flex;
  color: rgba(255, 255, 255, 0.32);
}

.dashboard-signout__icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-panels {
  position: relative;
  isolation: isolate;
  display: grid;
  padding-top: 0;
}

.dashboard-panels::before,
.dashboard-panels.is-switching::before {
  display: none;
}

.dashboard-panel {
  position: relative;
  z-index: 1;
  padding: 0;
}

.dashboard-panel.is-entering {
  animation: dashboard-panel-enter 200ms ease-out both;
}

.dashboard-panel.is-exiting {
  animation: dashboard-panel-exit 200ms ease-out both;
  pointer-events: none;
}

.dashboard-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.dashboard-panel__head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.dashboard-panel__head p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.dashboard-panel__divider {
  display: none;
}

.dashboard-primary-button,
.dashboard-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.dashboard-primary-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  color: #050505;
}

.dashboard-primary-button:hover:not(:disabled),
.dashboard-secondary-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.dashboard-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.012);
  color: rgba(255, 255, 255, 0.86);
}

.dashboard-secondary-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-primary-button:disabled,
.dashboard-secondary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.dashboard-secondary-button--full {
  width: 100%;
}

.dashboard-button__icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
}

.dashboard-button__icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-alert {
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

#panel-subscription,
#panel-hardware {
  padding: 34px 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 62%, rgba(139, 92, 246, 0.055), transparent 32%),
    rgba(15, 15, 17, 0.82);
}

#panel-subscription .dashboard-panel__head > .dashboard-pill,
#panel-hardware .dashboard-panel__head > .dashboard-pill {
  min-height: 28px;
  padding: 0 18px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.13);
  color: #b58cff;
  font-size: 9px;
}

.dashboard-alert--error {
  border-color: rgba(255, 52, 52, 0.22);
  background: rgba(255, 52, 52, 0.08);
  color: #ffb7b7;
}

.dashboard-alert--success {
  border-color: rgba(0, 224, 109, 0.22);
  background: rgba(0, 224, 109, 0.08);
  color: #b1ffd1;
}

.dashboard-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 82px;
}

.dashboard-form label {
  display: grid;
  gap: 16px;
}

.dashboard-form span,
.dashboard-info-box span,
.dashboard-stat-card div > span {
  color: var(--dashboard-muted-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.29em;
  text-transform: uppercase;
}

.dashboard-form input {
  width: 100%;
  min-height: 28px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.dashboard-form input:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.28);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.06), transparent 78%);
}

.dashboard-form input[disabled] {
  color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.dashboard-empty-state {
  display: grid;
  gap: 9px;
  max-width: 330px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dashboard-empty-state h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dashboard-empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  line-height: 1.55;
}

.dashboard-subscription,
.dashboard-hardware {
  display: grid;
  gap: 34px;
  padding: 40px 32px 34px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 44%, rgba(139, 92, 246, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.018);
}

.dashboard-subscription__hero,
.dashboard-hardware__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dashboard-subscription__identity,
.dashboard-hardware__identity {
  display: flex;
  align-items: center;
  gap: 26px;
}

.dashboard-subscription__identity h3,
.dashboard-hardware__identity h3,
.dashboard-security-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.dashboard-feature-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.dashboard-feature-badge svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.dashboard-feature-badge--amber {
  color: var(--dashboard-amber);
  border-color: rgba(255, 179, 46, 0.18);
  background: rgba(255, 179, 46, 0.025);
}

.dashboard-feature-badge--violet {
  color: #a780ff;
  border-color: rgba(139, 92, 246, 0.18);
  background: rgba(139, 92, 246, 0.025);
}

.dashboard-inline-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  min-height: 22px;
  padding: 0 10px;
  border: 1px solid rgba(0, 224, 109, 0.2);
  border-radius: 5px;
  background: rgba(0, 224, 109, 0.1);
}

.dashboard-info-box {
  min-width: 198px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-info-box strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-info-box code {
  display: inline-flex;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d4c0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.dashboard-info-box__meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 68px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.dashboard-stat-card__icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
  opacity: 0.95;
}

.dashboard-stat-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.dashboard-stat-card__icon--purple {
  color: var(--dashboard-accent);
}

.dashboard-stat-card__icon--blue {
  color: var(--dashboard-blue);
}

.dashboard-stat-card__icon--green {
  color: var(--dashboard-success);
}

.dashboard-stat-card__icon--amber {
  color: var(--dashboard-amber);
}

.dashboard-stat-card div > strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  max-width: 580px;
  padding-left: 24px;
}

.dashboard-security-card {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dashboard-security-card--muted {
  opacity: 0.42;
}

.dashboard-security-card__icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  margin-bottom: 8px;
}

.dashboard-security-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.dashboard-security-card__icon--violet {
  color: var(--dashboard-accent);
}

.dashboard-security-card__icon--blue {
  color: var(--dashboard-blue);
}

.dashboard-security-card h3 {
  font-size: 13px;
  letter-spacing: -0.035em;
}

.dashboard-security-card p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  line-height: 1.35;
}

.dashboard-security-card .dashboard-secondary-button {
  max-width: 250px;
}

@keyframes dashboard-loader-scan {
  0% {
    transform: translateX(-72%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(72%);
  }
}

@keyframes dashboard-avatar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dashboard-stage-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes dashboard-panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashboard-panel-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (max-width: 1040px) {
  :root {
    --dashboard-max: 860px;
    --dashboard-sidebar: 174px;
    --dashboard-gap: 48px;
  }

  .dashboard-topbar__links {
    gap: 18px;
  }

  .dashboard-form {
    gap: 28px 48px;
  }
}

@media (max-width: 820px) {
  .dashboard-topbar__inner {
    width: min(100%, calc(100% - 32px));
    grid-template-columns: 1fr auto;
  }

  .dashboard-topbar__links {
    display: none;
  }

  .dashboard-brand__name {
    font-size: 9px;
  }

  .dashboard-shell {
    width: min(100%, calc(100% - 32px));
    padding-top: 36px;
  }

  .dashboard-content {
    gap: 34px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dashboard-sidebar {
    position: static;
  }

  .dashboard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

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

  .dashboard-panels {
    padding-top: 0;
  }

  .dashboard-form,
  .dashboard-stats-grid,
  .dashboard-security-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-subscription__hero,
  .dashboard-hardware__top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
  }

  .dashboard-stats-grid,
  .dashboard-security-grid {
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .dashboard-topbar__inner {
    min-height: 54px;
  }

  .dashboard-hero {
    flex-direction: row;
  }

  .dashboard-hero__copy h1 {
    font-size: 20px;
  }

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

  .dashboard-panel__head {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .dashboard-primary-button,
  .dashboard-secondary-button {
    width: fit-content;
  }
}
