
.member-account { color: #43554f; }
.member-account h1 {
  color: #3e554c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -.025em;
}
.member-account .pack-description { color: #55635d; }
.member-account .pack-studio {
  border: 1px solid #c8d2cb;
  border-radius: 10px;
  background: #fcfbf8;
}
html body .pack-page.member-account .pack-studio h2 {
  padding: 10px 14px;
  background: #e4ebe5;
  color: #435951;
  font-size: 1rem !important;
  font-weight: 600;
}
.member-account .pack-table :is(th,td) {
  color: #43554f;
  border-color: #d9e0da;
}
.member-account .pack-buy { background: #4b6359; color: #fff; }
.member-account .pack-studio-buy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
  margin-inline: auto;
}
.member-account .pack-studio-buy .pack-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  text-align: center;
  font-size: .8rem;
  line-height: 1.35;
}

/* Account form pages (desktop): smaller title, first field closer to it.
   Same layer as desktop-standard.css, whose !important rules otherwise win. */
@layer club-desktop-standard {
  @media (min-width: 761px) {
    html body main.member-account:is(.account-form-width, .account-dashboard-width) > h1.club-page-title { font-size: 30px !important; line-height: 40px !important; }
    html body main.member-account.account-form-width > section.pack-studio.signup-panel { margin-top: 0 !important; padding-block-start: 8px !important; }
  }
}

/* Account forms: sit in the middle of the screen with room above, on every width.
   Standalone text links under the form look like buttons. */
@layer club-desktop-standard {
  html body main.member-account.account-form-width {
    display: flex !important; flex-direction: column; justify-content: center;
    min-height: calc(100vh - 150px); min-height: calc(100svh - 150px);
    padding-block: 56px !important;
  }
  html body main.member-account.account-dashboard-width { padding-block-start: 56px !important; }
  html body main.member-account.account-form-width > section.pack-studio.signup-panel { width: 100%; }
  @media (max-width: 760px) {
    html body main.member-account.account-form-width > section.pack-studio.signup-panel { margin-top: 6px !important; }
  }
  html body main.member-account.account-form-width .signup-panel p:has(> a:only-child) { margin: 10px 0 0 !important; }
  html body main.member-account.account-form-width .signup-panel p > a:only-child {
    display: flex !important; align-items: center; justify-content: center; box-sizing: border-box;
    width: 100%; min-height: 46px !important; padding: 10px 14px !important;
    border: 1px solid #4b6359 !important; border-radius: 2px !important;
    background: #fff !important; color: #33463e !important; text-decoration: none !important;
  }
}
