:root {
  --bg: #07111f;
  --text: #eef6f8;
  --muted: #9fb0c0;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  height: 100%;
}
body {
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(900px 480px at 50% -8%, rgba(34, 211, 238, 0.12), transparent 55%), var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main {
  min-height: 100%;
  min-height: 100dvh;
}

.profile-card {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: max(32px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.profile-inner {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 clamp(12px, 2vh, 18px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.lang button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(159, 176, 192, 0.7);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.lang button.is-active { color: var(--cyan); }
.lang-sep { color: rgba(159, 176, 192, 0.35); }
.avatar {
  width: min(260px, 68vw);
  height: min(260px, 68vw);
  border-radius: 32px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(34, 211, 238, 0.4);
  margin: 0 auto clamp(18px, 3vh, 28px);
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 8vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 800;
}
.role, .lead {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 auto 12px;
  font-size: clamp(15px, 3.8vw, 18px);
}
.lead {
  margin-bottom: clamp(22px, 4vh, 34px);
  max-width: 28em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--cyan);
  color: #062027;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(15px, 3.6vw, 18px);
  text-align: center;
}
.btn:hover,
.btn:focus-visible { background: var(--cyan-2); }

html[data-manager="pending"] main { visibility: hidden; }

html[data-manager="samir"] {
  --bg: #0b0b0b;
  --text: #f4e7c8;
  --muted: #cbb992;
  --cyan: #c6a36a;
  --cyan-2: #e2c48a;
}
html[data-manager="samir"] body {
  background: radial-gradient(900px 480px at 50% -8%, rgba(198, 163, 106, 0.16), transparent 55%), var(--bg);
}
html[data-manager="samir"] h1 { color: #e8d3a4; }
html[data-manager="samir"] .avatar {
  border-color: rgba(198, 163, 106, 0.72);
  object-position: center 16%;
}
html[data-manager="samir"] .btn { color: #1a140c; }

@media (min-width: 768px) {
  .profile-inner { width: min(480px, 100%); }
  .avatar {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 430px) {
  h1 { font-size: clamp(30px, 9vw, 40px); }
  .btn { min-height: 52px; }
}
