:root{
  --ink:#0f172a;
  --muted:#64748b;
  --paper:#ffffff;
  --line:#e2e8f0;
  --accent:#14b8a6;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:#fafafa;
  color:var(--ink);
}

.account-wrap{
  max-width:1480px;
  margin:0 auto;
  padding:118px 24px 80px;
  display:grid;
  grid-template-columns:minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap:18px;
  align-items:stretch;
  align-content:start;
  min-height:100vh;
}

.pc-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.05);
}

#pcAccountSignedOut{
  grid-column:1 / -1;
}

.pc-empty h2{
  margin:0 0 8px;
  font-size:20px;
}

.pc-empty p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.6;
}

#pcAccountPanel{
  grid-column:1;
}

.pc-hero{
  display:flex;
  align-items:center;
  gap:20px;
  margin:0;
  min-height:100%;
}

.pc-hero-left{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.pc-avatar-shell{
  width:96px;
  height:96px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(135deg, #f8fafc, #eef2ff);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.pc-avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pc-avatar-fallback{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  border-radius: inherit;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

.pc-hero-copy{
  min-width:0;
}

.pc-eyebrow{
  margin:0 0 6px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
}

.pc-hero-copy h1{
  margin:0;
  font-size:clamp(28px, 5vw, 42px);
  line-height:1.08;
  overflow-wrap:anywhere;
  font-weight:500;
}

.pc-email{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.5;
  overflow-wrap:anywhere;
}

#pcAccountStats{
  grid-column:2 / 4;
}

.pc-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:0;
  align-items:stretch;
}

.pc-stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  min-height:100%;
}

.pc-stat-label{
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}

.pc-stat-value{
  font-size:34px;
  line-height:1;
  font-weight:600;
}

@media (max-width: 980px){
  .account-wrap{
    grid-template-columns:1fr;
  }

  #pcAccountSignedOut,
  #pcAccountPanel,
  #pcAccountStats{
    grid-column:1;
  }

  #pcAccountStats{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 720px){
  .pc-hero{
    flex-direction:column;
    align-items:flex-start;
  }

  #pcAccountStats{
    grid-template-columns:1fr;
  }
}

#pcAccountPrivacyNote{
  grid-column:1 / -1;
}

.pc-account-note{
  margin:0;
  padding:0 4px;
}

.pc-account-note__text{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  display: flex;
  justify-content: center;
}

@media (max-width: 560px){
  .account-wrap{
    padding-left:16px;
    padding-right:16px;
  }

  .pc-card{
    padding:18px;
  }

  .pc-avatar-shell{
    width:82px;
    height:82px;
  }
}