.account-page {
  background: #f6f2ec;
}
.brand-with-logo {
  gap: 11px;
}
.brand-with-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.account-main {
  min-height: calc(100vh - var(--header-height));
  padding: 52px 0 80px;
}
.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.account-heading h1 {
  margin: 5px 0 7px;
  font-family: Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.04;
}
.account-heading > div > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
.account-status-chip {
  flex: none;
  padding: 9px 14px;
  color: #6b1f2a;
  border: 1px solid #d8b6a3;
  border-radius: 999px;
  background: #fff8ed;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.account-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.member-summary,
.profile-workspace {
  border: 1px solid #e2d7cc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(60, 28, 22, 0.07);
}
.member-summary {
  position: sticky;
  top: 92px;
  padding: 25px;
  text-align: center;
}
.member-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  place-items: center;
  color: white;
  border-radius: 22px;
  background: linear-gradient(145deg, #6b1f2a, #a74437);
  font-family: Georgia, serif;
  font-size: 2rem;
  box-shadow: 0 12px 28px rgba(107, 31, 42, 0.22);
}
.member-summary h2 {
  margin: 0;
  font-size: 1.18rem;
}
.member-summary > p {
  margin: 5px 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
}
.membership-card {
  display: grid;
  gap: 3px;
  padding: 13px;
  text-align: left;
  border-radius: 12px;
  background: #f7f1e8;
}
.membership-card span {
  color: var(--muted);
  font-size: 0.72rem;
}
.membership-card strong {
  color: #6b1f2a;
  font-size: 0.9rem;
}
.approval-steps {
  display: grid;
  gap: 0;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.approval-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  min-height: 58px;
  color: #8a7b71;
}
.approval-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 31px;
  bottom: 2px;
  width: 1px;
  background: #ddcfc4;
}
.approval-steps li > span {
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #ddcfc4;
  border-radius: 50%;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}
.approval-steps li.complete > span {
  color: white;
  border-color: #46745b;
  background: #46745b;
}
.approval-steps strong,
.approval-steps small {
  display: block;
}
.approval-steps strong {
  color: var(--ink);
  font-size: 0.82rem;
}
.approval-steps small {
  margin-top: 2px;
  font-size: 0.7rem;
}
.privacy-note {
  padding: 14px;
  text-align: left;
  border: 1px solid #d8e3d9;
  border-radius: 12px;
  background: #f0f6ef;
}
.privacy-note strong {
  color: #2f6346;
  font-size: 0.8rem;
}
.privacy-note p {
  margin: 5px 0 0;
  color: #52705d;
  font-size: 0.72rem;
  line-height: 1.5;
}
.profile-workspace {
  padding: clamp(22px, 4vw, 38px);
}
.workspace-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee4dc;
}
.workspace-intro h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}
.save-state {
  color: var(--muted);
  font-size: 0.8rem;
}
.approval-lock {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin-top: 25px;
  padding: 24px;
  border: 1px solid #ead3a2;
  border-radius: 16px;
  background: #fff7df;
}
.approval-lock > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: #d29a35;
  font-weight: 900;
}
.approval-lock h3 {
  margin: 1px 0 6px;
}
.approval-lock p {
  margin: 0;
  color: #77613d;
}
.account-profile-form {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
.account-profile-form fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid #e5d9cf;
  border-radius: 15px;
}
.account-profile-form legend {
  padding: 0 8px;
  color: #6b1f2a;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.account-profile-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.account-profile-form .three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.account-profile-form label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #594a41;
  font-size: 0.76rem;
  font-weight: 800;
}
.account-profile-form input,
.account-profile-form select,
.account-profile-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #d9ccc1;
  border-radius: 9px;
  background: #fff;
}
.account-profile-form textarea {
  min-height: 100px;
  resize: vertical;
}
.account-profile-form input:focus,
.account-profile-form select:focus,
.account-profile-form textarea:focus {
  outline: 3px solid rgba(107, 31, 42, 0.1);
  border-color: #8f3944;
}
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.form-submit-row p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.photo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
  padding: 23px;
  border: 1px solid #d8e3d9;
  border-radius: 15px;
  background: #f3f7f2;
}
.photo-panel h3 {
  margin: 0 0 5px;
}
.photo-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.photo-panel form {
  display: grid;
  gap: 9px;
}
.file-drop {
  display: grid;
  padding: 14px;
  border: 1px dashed #78927d;
  border-radius: 10px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.file-drop input {
  margin-top: 7px;
}
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .member-summary {
    position: static;
  }
  .account-profile-form .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .account-heading,
  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-profile-form .form-grid,
  .account-profile-form .three-col,
  .photo-panel {
    grid-template-columns: 1fr;
  }
  .profile-workspace {
    padding: 18px;
  }
}
