.account-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 245px;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  border-radius: 24px;
  background: #252523;
  color: #fffdf8;
}
.account-hero::after {
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border: 70px solid #343431;
  border-radius: 50%;
  content: "";
}
.account-hero-copy {
  position: relative;
  z-index: 1;
}
.account-hero h2 {
  max-width: 660px;
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 60px);
}
.account-hero p {
  margin: 14px 0 0;
  color: #aaa9a1;
  font-size: 14px;
}
.account-usage-ring {
  --usage: 0%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 9px;
  width: 126px;
  height: 126px;
  padding: 25px;
  border-radius: 50%;
  background: conic-gradient(var(--account-green) var(--usage), #454540 0);
}
.account-usage-ring::before {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #252523;
  content: "";
}
.account-usage-ring strong,
.account-usage-ring span {
  position: relative;
}
.account-usage-ring strong {
  font:
    700 28px/1 "Manrope",
    sans-serif;
}
.account-usage-ring span {
  color: #aaa9a1;
  font-size: 9px;
  line-height: 1.25;
  text-transform: uppercase;
}
.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  border: 1px solid var(--portal-line);
  border-radius: 15px;
  background: #f7f4ed;
}
.account-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 20px 24px;
  border-right: 1px solid var(--portal-line);
}
.account-metric:last-child {
  border: 0;
}
.account-metric span {
  color: var(--portal-muted);
  font-size: 11px;
}
.account-metric strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font:
    700 31px/1 "Manrope",
    sans-serif;
}
.account-metric small {
  color: #8f8c84;
  font-size: 9px;
}
.dashboard-storefront-callout {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #c8b3f5;
  border-radius: 15px;
  background: linear-gradient(115deg, #f3edff, #e9ddff);
}
.dashboard-storefront-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 14px; background: #1b1b19; color: var(--account-green); }
.dashboard-storefront-icon .portal-icon { width: 25px; height: 25px; }
.dashboard-storefront-callout h2 { margin-top: 5px; font-size: 19px; }
.dashboard-storefront-callout p { margin: 5px 0 0; color: #696269; font-size: 11px; }
.dashboard-storefront-callout > a { display: inline-flex; align-items: center; text-decoration: none; }
.dashboard-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-product {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid var(--portal-line);
  border-radius: 15px;
  background: #f8f5ee;
}
.dashboard-product img {
  width: 76px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}
.dashboard-product > div {
  min-width: 0;
}
.dashboard-product span {
  color: var(--portal-muted);
  font-size: 9px;
  text-transform: uppercase;
}
.dashboard-product h3 {
  margin-top: 4px;
  font-size: 17px;
}
.dashboard-product p {
  margin: 5px 0 0;
  color: var(--portal-muted);
  font-size: 10px;
}
.account-empty-state {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
}
.account-empty-state > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  background: #e9ddff;
  color: #6735bd;
  font-size: 24px;
}
.account-empty-state h3 {
  font-size: 17px;
}
.account-empty-state p {
  margin: 5px 0 0;
  color: var(--portal-muted);
  font-size: 12px;
}
.account-ready-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  margin-top: 16px;
}
.readiness-card,
.next-step-card {
  padding: 25px;
}
.readiness-card h2 {
  margin-top: 15px;
  font-size: 42px;
}
.readiness-card p,
.next-step-card p {
  margin: 8px 0 0;
  color: var(--portal-muted);
  font-size: 12px;
}
.readiness-bar {
  height: 6px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 99px;
  background: #e2ded4;
}
.readiness-bar i {
  display: block;
  height: 100%;
  background: var(--portal-violet-dark);
}
.next-step-card {
  background: #e9ddff;
}
.next-step-card h3 {
  margin-top: 20px;
  font-size: 25px;
}
.next-step-card a {
  display: inline-block;
  margin-top: 24px;
}

.account-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
