.dash-body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(700px 360px at 100% 0%, rgba(124, 58, 237, 0.1), transparent 55%),
    #f5f6fb;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

.dash-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: auto;
  min-height: 60px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dash-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-svg {
  width: 22px;
  height: 22px;
}

.dash-header .img-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
}

.dash-header .header-tools {
  gap: 8px;
}

.dash-header .header-tools a {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}

.dash-header .header-tools a:hover {
  background: #eef0f6;
  color: #111827;
}

.dash-header .nav-cta {
  color: #4f46e5 !important;
}

.dash-header .accent-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: none;
  color: #fff;
}

.dash-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.dash-gate {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 56px 28px;
  text-align: center;
  animation: dashIn 0.35s ease;
}

.dash-gate h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.dash-gate p {
  color: #6b7280;
  margin: 0 0 24px;
}

.dash-welcome {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
  animation: dashIn 0.35s ease;
}

.dash-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366f1;
}

.dash-welcome h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
}

.dash-sub {
  margin: 8px 0 0;
  color: #6b7280;
}

.dash-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: 0 12px 24px -12px rgba(99, 102, 241, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-secondary {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #d8dce8 !important;
  border-radius: 12px !important;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 16px;
  padding: 18px;
  animation: dashIn 0.4s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.04s; }
.stat-card:nth-child(3) { animation-delay: 0.08s; }
.stat-card:nth-child(4) { animation-delay: 0.12s; }

.stat-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.stat-card span {
  font-size: 13px;
  color: #9ca3af;
}

.meter {
  height: 8px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: inherit;
  transition: width 0.5s ease;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.dash-panel {
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 16px;
  padding: 18px 18px 8px;
  animation: dashIn 0.45s ease;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-title h2 {
  margin: 0;
  font-size: 16px;
}

.panel-title a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-list li {
  border-top: 1px solid #f1f3f8;
  padding: 14px 0;
}

.work-list a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.work-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.empty-note {
  color: #6b7280;
  font-size: 14px;
  padding: 18px 0 24px;
}

@keyframes dashIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .dash-stats,
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-welcome {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .dash-header .account-email,
  .dash-header .usage-chip {
    display: none;
  }
}
