:root {
  --bg: #eef4f7;
  --ink: #15191d;
  --muted: #6e7780;
  --line: #dde6eb;
  --surface: #ffffff;
  --soft: #f6f9fb;
  --brand: #159bd3;
  --brand-dark: #0c6f9b;
  --pink: #c94aa3;
  --gold: #d79b42;
  --green: #327d62;
  --green-dark: #195f4a;
  --shadow: 0 24px 70px rgba(28, 53, 67, 0.16);
}

/* Strict effect rebuild: independent high-fidelity visual layer for approved member screens. */
body.client-type-member .client-hero,
body.client-type-prospect .client-hero,
body.client-type-visitor .client-hero {
  display: none !important;
}

body .phone-frame {
  width: min(430px, 100%);
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fffaf2;
  color: #1a2722;
}

body.client-type-member #homeView.client-view.active,
body.client-type-prospect #homeView.client-view.active,
body.client-type-visitor #homeView.client-view.active,
body.client-type-member #growthView.client-view.active {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  background: #fffaf2;
}

body #bookView.client-view.active,
body #mineView.client-view.active {
  padding: 18px 20px 104px;
}

body .hl-screen {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.9), rgba(251, 242, 229, 0.86) 46%, #fffaf2 100%),
    #fffaf2;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
}

body .hl-light-hero,
body .hl-goal-hero {
  position: relative;
  min-height: 288px;
  padding: 42px 20px 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.44), rgba(255, 250, 239, 0.96) 92%),
    linear-gradient(105deg, rgba(255, 255, 255, 0) 0 42%, rgba(255, 255, 255, 0.78) 43% 55%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(166deg, rgba(255, 255, 255, 0) 0 63%, rgba(232, 202, 146, 0.18) 64% 65%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(circle at 80% 6%, rgba(255, 243, 211, 0.78), transparent 27%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(249, 235, 209, 0.35));
}

body .hl-light-hero::after,
body .hl-goal-hero::after,
body .hl-sweat-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 48%, rgba(255, 255, 255, 0.72) 48% 57%, transparent 57%),
    linear-gradient(118deg, transparent 0 72%, rgba(207, 168, 99, 0.16) 72% 73%, transparent 73%);
}

body .hl-header {
  position: relative;
  z-index: 2;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

body .hl-header.is-prospect {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}

body .hl-logo {
  width: 128px;
  height: auto;
  filter: hue-rotate(-154deg) saturate(0.72) brightness(1.04);
}

body .hl-header.is-prospect .hl-logo {
  width: 136px;
  justify-self: center;
  grid-column: 2;
}

body .hl-back {
  width: 32px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #18231f;
  font-size: 42px;
  font-family: Georgia, serif;
  font-weight: 300;
  line-height: 1;
  padding: 0;
}

body .hl-greeting {
  display: grid;
  justify-items: end;
  gap: 9px;
  color: #14231f;
  text-align: right;
}

body .hl-greeting strong {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

body .hl-greeting span {
  font-size: 16px;
  letter-spacing: 0.06em;
}

body .hl-page-title {
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  color: #17251f;
  font-size: 24px;
  font-weight: 400;
  white-space: nowrap;
}

body .hl-credential {
  position: relative;
  z-index: 2;
  min-height: 156px;
  margin-top: 50px;
  padding: 23px 31px 21px;
  border: 1px solid rgba(201, 161, 91, 0.56);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 244, 0.96)),
    #fffefa;
  box-shadow: 0 14px 28px rgba(65, 45, 21, 0.12);
}

body .hl-credential::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 161, 91, 0.22);
  pointer-events: none;
}

body .hl-credential::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, #fffaf2 0 13px, rgba(201, 161, 91, 0.72) 13px 14px, transparent 14px) left top / 36px 36px no-repeat,
    linear-gradient(225deg, #fffaf2 0 13px, rgba(201, 161, 91, 0.72) 13px 14px, transparent 14px) right top / 36px 36px no-repeat,
    linear-gradient(45deg, #fffaf2 0 13px, rgba(201, 161, 91, 0.72) 13px 14px, transparent 14px) left bottom / 36px 36px no-repeat,
    linear-gradient(315deg, #fffaf2 0 13px, rgba(201, 161, 91, 0.72) 13px 14px, transparent 14px) right bottom / 36px 36px no-repeat;
}

body .hl-card-title {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 13px;
}

body .hl-card-title strong {
  color: #11221c;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
}

body .hl-card-title i {
  width: 52px;
  height: 2px;
  background: #caa15b;
}

body .hl-seal {
  position: absolute;
  right: 46px;
  top: 32px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 161, 91, 0.22);
  border-radius: 50%;
  color: rgba(201, 161, 91, 0.44);
  font-family: Georgia, serif;
}

body .hl-seal span {
  font-size: 34px;
  line-height: 1;
}

body .hl-seal em {
  position: absolute;
  top: -14px;
  right: -8px;
  color: #667069;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-style: normal;
}

body .hl-card-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.85fr 1fr;
  align-items: end;
  gap: 0;
  margin-top: 27px;
}

body .hl-card-row article {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding-left: 17px;
  border-left: 1px solid rgba(22, 35, 30, 0.12);
}

body .hl-card-row article:first-child {
  padding-left: 0;
  border-left: 0;
}

body .hl-card-row span {
  color: #667069;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1;
}

body .hl-card-row b {
  color: #12251f;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
}

body .hl-card-row small {
  color: #0a8b8b;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  margin-left: 5px;
}

body .hl-student-no b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  letter-spacing: 0.08em;
}

body .hl-dossier {
  display: grid;
  grid-template-columns: 28px auto 1fr auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 5px;
  margin: 24px 20px 0;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(34, 42, 37, 0.12);
}

body .hl-dossier > i {
  grid-row: 1 / 3;
  width: 22px;
  height: 30px;
  border-left: 2px solid #0a8b8b;
  border-radius: 50%;
  transform: rotate(18deg);
}

body .hl-dossier > strong,
body .hl-dossier > span,
body .hl-dossier > em {
  color: #17251f;
  font-weight: 400;
}

body .hl-dossier > strong {
  font-size: 18px;
}

body .hl-dossier > span {
  font-size: 16px;
  white-space: nowrap;
}

body .hl-dossier > em {
  color: #777c78;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-style: normal;
}

body .hl-dossier > div {
  grid-row: 1 / 3;
  grid-column: 4;
  width: 80px;
  display: grid;
  gap: 8px;
  justify-items: end;
}

body .hl-dossier b {
  color: #0a8b8b;
  font-size: 24px;
  font-weight: 400;
}

body .hl-dossier small {
  width: 76px;
  height: 5px;
  border-radius: 999px;
  background: rgba(34, 42, 37, 0.13);
  overflow: hidden;
}

body .hl-dossier u {
  display: block;
  height: 100%;
  background: #0a8b8b;
  text-decoration: none;
}

body .hl-arrange {
  margin: 34px 20px 0;
}

body .hl-section-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

body .hl-section-title h2 {
  margin: 0;
  color: #111f1a;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

body .hl-section-title h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: #0a8b8b;
}

body .hl-section-title small {
  color: #6d716e;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  margin-top: 3px;
}

body .hl-class-card {
  display: grid;
  grid-template-columns: 70px 112px 1px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

body .hl-cal-icon,
body .hl-list-row > i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 139, 139, 0.1);
  color: #0a8b8b;
}

body .hl-cal-icon {
  position: relative;
}

body .hl-cal-icon::before {
  content: "";
  width: 24px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(currentColor, currentColor) 50% 8px / 16px 2px no-repeat;
}

body .hl-cal-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 13px;
  border-right: 2px solid #0a8b8b;
  border-bottom: 2px solid #0a8b8b;
  transform: translate(3px, 3px) rotate(38deg);
}

body .hl-class-card time {
  color: #17251f;
  font-size: 24px;
  font-weight: 400;
  white-space: nowrap;
}

body .hl-class-divider {
  width: 1px;
  height: 72px;
  background: rgba(34, 42, 37, 0.14);
}

body .hl-class-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

body .hl-class-copy strong {
  color: #111f1a;
  font-size: 28px;
  font-weight: 400;
  white-space: nowrap;
}

body .hl-class-copy span {
  color: #646c67;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

body .hl-class-copy i {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d0bd, #8d5f4f);
}

body .hl-outline-button {
  min-height: 42px;
  border: 1px solid #0a8b8b;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.56);
  color: #0a8b8b;
  padding: 8px 17px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

body .hl-arrange-note {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 24px;
  border: 0;
  border-bottom: 1px solid rgba(34, 42, 37, 0.12);
  background: transparent;
  color: #5c625e;
  padding: 0;
  text-align: left;
}

body .hl-arrange-note span {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

body .hl-arrange-note b {
  color: #5c625e;
  font-size: 30px;
  font-weight: 300;
}

body .hl-home-list {
  margin: 0 20px;
}

body .hl-list-row {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid rgba(34, 42, 37, 0.12);
  background: transparent;
  color: #17251f;
  padding: 14px 0;
  text-align: left;
}

body .hl-list-row span {
  display: grid;
  gap: 7px;
}

body .hl-list-row strong {
  color: #17251f;
  font-size: 24px;
  font-weight: 400;
}

body .hl-list-row em {
  color: #6c716d;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-style: normal;
}

body .hl-list-row b {
  color: #0a8b8b;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

body .hl-list-row > i.gift::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-top: 0;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 2px 28px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 9px / 28px 2px no-repeat;
}

body .hl-list-row > i.bell::before {
  content: "";
  width: 25px;
  height: 25px;
  border: 2px solid currentColor;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
}

body .client-tabs {
  position: relative !important;
  inset: auto !important;
  order: 4;
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 !important;
  padding: 10px 16px 14px;
  border: 0;
  border-top: 1px solid rgba(32, 40, 35, 0.12);
  border-radius: 0 !important;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: none;
}

body .tab {
  min-height: 58px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4d514f;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

body .tab.active {
  color: #0a8b8b;
}

body .tab::before {
  width: 28px;
  height: 28px;
}

body .hl-goal-screen {
  padding: 0 22px 40px;
}

body .hl-goal-hero {
  min-height: 150px;
  margin: 0 -22px;
  padding: 40px 22px 0;
}

body .hl-goal-card {
  position: relative;
  z-index: 1;
  padding: 0;
}

body .hl-goal-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -42px;
}

body .hl-goal-topline span {
  color: #0a8b8b;
  font-size: 27px;
  letter-spacing: 0.12em;
}

body .hl-goal-topline b {
  color: #636965;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

body .hl-goal-progress {
  display: block;
  height: 4px;
  margin-top: 31px;
  border-radius: 999px;
  background: rgba(32, 40, 35, 0.13);
  overflow: hidden;
}

body .hl-goal-progress em {
  display: block;
  height: 100%;
  background: #0a8b8b;
}

body .hl-goal-card h2 {
  margin: 50px 0 0;
  color: #17251f;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.28;
}

body .hl-goal-card h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 20px;
  background: #0a8b8b;
}

body .hl-goal-options {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

body .hl-goal-options button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(32, 40, 35, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  color: #17251f;
  padding: 0 24px 0 26px;
  text-align: left;
}

body .hl-goal-options button::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 1px solid rgba(201, 161, 91, 0.36);
  border-radius: 50%;
  background:
    linear-gradient(118deg, transparent 0 47%, rgba(201, 161, 91, 0.8) 48% 50%, transparent 51%),
    linear-gradient(68deg, transparent 0 48%, rgba(201, 161, 91, 0.36) 49% 51%, transparent 52%);
}

body .hl-goal-options button span {
  font-size: 22px;
  line-height: 1;
}

body .hl-goal-options button i {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(32, 40, 35, 0.25);
  border-radius: 50%;
}

body .hl-goal-options button.active {
  border-color: rgba(10, 139, 139, 0.48);
  background: rgba(233, 248, 245, 0.66);
  color: #0a8b8b;
}

body .hl-goal-options button.active i {
  border-color: rgba(10, 139, 139, 0.7);
  box-shadow: inset 0 0 0 6px #0a8b8b;
}

body .hl-goal-choice {
  min-height: 54px;
  display: flex;
  align-items: center;
  margin-top: 26px;
  border: 1px solid rgba(32, 40, 35, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  color: #8a8781;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  padding: 0 16px;
}

body .hl-goal-actions {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

body .hl-primary-button,
body .hl-text-button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
}

body .hl-primary-button {
  background: linear-gradient(135deg, #1d584b, #1a493f);
  color: #fff;
}

body .hl-primary-button:disabled {
  opacity: 0.45;
}

body .hl-text-button {
  background: transparent;
  color: #8a8781;
}

body .hl-prospect-arrange {
  margin-top: 32px;
}

body .hl-sweat-screen {
  position: relative;
  min-height: 100%;
  padding: 40px 20px 48px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.72), rgba(255, 250, 240, 0.92) 54%, #fffaf2 100%),
    radial-gradient(circle at 50% 33%, rgba(255, 255, 255, 0.9), transparent 28%),
    #fffaf2;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
}

body .hl-sweat-screen .hl-header {
  grid-template-columns: 132px minmax(0, 1fr) 132px;
  align-items: center;
}

body .hl-sweat-screen .hl-logo {
  width: 116px;
}

body .hl-sweat-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 72px;
}

body .hl-sweat-stage p {
  margin: 0;
  color: #555d58;
  font-size: 17px;
  line-height: 1.88;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

body .hl-vase {
  position: relative;
  width: 242px;
  height: 294px;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 139, 139, 0.22);
  border-radius: 48% 48% 44% 44% / 36% 36% 54% 54%;
  background:
    radial-gradient(circle at 50% 80%, rgba(10, 139, 139, 0.16), transparent 42%),
    radial-gradient(circle at 42% 26%, rgba(255, 255, 255, 0.92), transparent 35%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.58), rgba(210, 238, 234, 0.2)),
    rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.9),
    inset 0 -26px 38px rgba(10, 139, 139, 0.08),
    0 22px 48px rgba(30, 45, 40, 0.08);
}

body .hl-vase::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 98px;
  height: 28px;
  border: 1px solid rgba(32, 40, 35, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

body .hl-vase strong {
  color: #202825;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  font-weight: 400;
  line-height: 1;
}

body .hl-vase small {
  margin-left: 7px;
  font-size: 28px;
}

body .hl-vase span {
  position: absolute;
  top: 174px;
  color: #777c78;
  font-size: 16px;
}

body .hl-vase-orbit {
  position: absolute;
  inset: 60px 35px 68px;
  border: 1px solid rgba(201, 161, 91, 0.24);
  border-radius: 50%;
}

body .hl-vase-orbit i,
body .hl-drop-line i {
  position: absolute;
  width: 20px;
  height: 29px;
  border: 1px solid rgba(201, 161, 91, 0.28);
  border-radius: 999px 999px 999px 5px;
  background: rgba(255, 253, 248, 0.48);
  transform: rotate(38deg);
}

body .hl-vase-orbit i.lit,
body .hl-drop-line i.lit {
  border-color: rgba(10, 139, 139, 0.36);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(112, 202, 196, 0.7));
  box-shadow: 0 0 16px rgba(10, 139, 139, 0.26);
}

body .hl-vase-orbit i:nth-child(1) { left: 18px; top: 31px; }
body .hl-vase-orbit i:nth-child(2) { left: 74px; top: 4px; }
body .hl-vase-orbit i:nth-child(3) { right: 19px; top: 30px; }
body .hl-vase-orbit i:nth-child(4) { right: 1px; top: 81px; }
body .hl-vase-orbit i:nth-child(5) { right: 23px; bottom: 22px; }
body .hl-vase-orbit i:nth-child(6) { left: 77px; bottom: 0; }
body .hl-vase-orbit i:nth-child(7) { left: 22px; bottom: 21px; }
body .hl-vase-orbit i:nth-child(8) { left: 0; top: 82px; }

body .hl-sweat-needed {
  position: relative;
  z-index: 1;
  margin: 34px 0 0;
  color: #17251f;
  font-size: 25px;
  text-align: center;
}

body .hl-sweat-needed b {
  color: #0a8b8b;
  font-size: 38px;
  font-weight: 400;
}

body .hl-drop-line {
  position: relative;
  z-index: 1;
  height: 44px;
  margin: 25px 12px 22px;
  border-top: 1px solid rgba(32, 40, 35, 0.12);
}

body .hl-drop-line i {
  position: static;
  display: inline-block;
  margin: 9px 9px 0;
}

body .hl-sweat-rules {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(32, 40, 35, 0.12);
}

body .hl-sweat-rules article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(32, 40, 35, 0.12);
}

body .hl-sweat-rules article > i {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(32, 40, 35, 0.12);
  border-radius: 50%;
}

body .hl-sweat-rules strong {
  color: #17251f;
  font-size: 19px;
  font-weight: 400;
}

body .hl-sweat-rules span {
  display: block;
  margin-top: 6px;
  color: #777c78;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

body .hl-sweat-cta {
  width: calc(100% - 80px);
  margin: 30px 40px 0;
  background: linear-gradient(135deg, #6bb9b5, #2f8d88);
}

@media (max-width: 390px) {
  body .hl-light-hero {
    min-height: 288px;
    padding-top: 41px;
  }

  body .hl-logo {
    width: 122px;
  }

  body .hl-greeting strong {
    font-size: 21px;
  }

  body .hl-greeting span {
    font-size: 15px;
  }

  body .hl-credential {
    min-height: 153px;
    margin-top: 50px;
    padding: 21px 24px 18px;
  }

  body .hl-card-title strong {
    font-size: 24px;
  }

  body .hl-card-row {
    grid-template-columns: 1.42fr 0.9fr 0.75fr 0.9fr;
    margin-top: 24px;
  }

  body .hl-card-row article {
    padding-left: 10px;
  }

  body .hl-card-row b {
    font-size: 20px;
  }

  body .hl-card-row small {
    display: block;
    margin: 4px 0 0;
  }

  body .hl-student-no b {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  body .hl-seal {
    right: 34px;
    top: 30px;
    width: 66px;
    height: 66px;
  }

  body .hl-dossier {
    grid-template-columns: 26px auto 1fr auto;
    margin-top: 22px;
    padding-bottom: 19px;
  }

  body .hl-dossier > span {
    font-size: 15px;
    white-space: normal;
  }

  body .hl-arrange {
    margin-top: 31px;
  }

  body .hl-section-title h2 {
    font-size: 30px;
  }

  body .hl-class-card {
    grid-template-columns: 54px 88px minmax(0, 1fr);
    gap: 10px;
    margin-top: 36px;
  }

  body .hl-cal-icon {
    width: 50px;
    height: 50px;
  }

  body .hl-class-card time {
    font-size: 18px;
  }

  body .hl-class-divider {
    display: none;
  }

  body .hl-class-copy strong {
    font-size: 23px;
  }

  body .hl-outline-button {
    grid-column: 3;
    justify-self: start;
    min-height: 36px;
    margin-top: 7px;
    font-size: 14px;
  }

  body .hl-arrange-note {
    min-height: 60px;
    margin-top: 18px;
  }

  body .hl-list-row {
    min-height: 84px;
  }

  body .hl-list-row strong {
    font-size: 21px;
  }

  body .hl-goal-card h2 {
    font-size: 32px;
  }

  body .hl-goal-options button {
    min-height: 58px;
  }

  body .hl-goal-options button span {
    font-size: 21px;
  }

  body .hl-vase {
    width: 228px;
    height: 278px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.client-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: linear-gradient(145deg, #eaf3f7, #f7f0f6);
}

.phone-frame {
  width: min(430px, 100%);
  min-height: 880px;
  overflow: hidden;
  background: #f7fafc;
  border: 1px solid rgba(28, 53, 67, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.client-hero {
  position: relative;
  min-height: 420px;
  padding: 18px 18px 20px;
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(28, 53, 67, 0.1);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(236, 246, 249, 0.96) 58%, rgba(248, 244, 236, 0.96)),
    #f6fafb;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 111, 155, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(12, 111, 155, 0.09) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  opacity: 0.45;
}

.hero-top,
.academy-intro,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  width: 178px;
  height: 64px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(8, 27, 38, 0.16);
  padding: 9px 14px;
}

.brand-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.academy-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.academy-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(12, 111, 155, 0.22);
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.academy-brand span,
.academy-intro span {
  display: block;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.academy-brand strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.academy-intro {
  margin-top: 28px;
  border-left: 3px solid var(--brand);
  padding-left: 14px;
}

.academy-intro h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.academy-intro p {
  margin: 9px 0 0;
  max-width: 330px;
  color: var(--muted);
  line-height: 1.65;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(12, 111, 155, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-dark);
  font-size: 18px;
}

.icon-button.dark {
  border-color: var(--line);
  background: #f6f9fb;
  color: var(--ink);
}

.hero-card {
  margin-top: 20px;
  border: 1px solid rgba(28, 53, 67, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 16px;
  box-shadow: 0 16px 34px rgba(28, 53, 67, 0.11);
}

.hero-card span,
.hero-card p {
  color: var(--muted);
}

.hero-card span {
  font-size: 12px;
  font-weight: 700;
}

.hero-card strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  color: var(--ink);
}

.progress-card {
  display: grid;
  gap: 12px;
}

.progress-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress-card-head strong {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.05;
}

.record-status {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.1;
}

.progress-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.progress-summary div {
  min-width: 0;
  padding: 10px 0;
}

.progress-summary div + div {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.progress-summary div:first-child {
  padding-right: 14px;
}

.progress-summary span,
.progress-summary b {
  display: block;
}

.progress-summary b {
  margin-top: 5px;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.1;
  white-space: nowrap;
}

.record-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.record-progress-row b {
  color: var(--brand-dark);
  font-size: 13px;
}

.record-progress-row span {
  color: var(--ink);
}

.hero-card p {
  margin: 0;
  line-height: 1.55;
}

.record-note {
  display: none;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(221, 230, 235, 0.78);
  padding-top: 10px;
}

.record-note span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.hero-progress {
  height: 7px;
  margin-top: 8px;
  border-radius: 0;
  background: #e7eef2;
  overflow: hidden;
}

.hero-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--pink));
}

.client-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: -18px 16px 0;
  padding: 7px;
  border: 1px solid rgba(221, 230, 235, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(28, 53, 67, 0.12);
}

.member-mode-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 10px 16px 0;
  padding: 6px;
  border: 1px solid rgba(221, 230, 235, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.mode-button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mode-button.active {
  border-color: #b8dfef;
  background: #e6f6fc;
  color: var(--brand-dark);
}

.tab,
.segment {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.tab.active,
.segment.active {
  background: #e6f6fc;
  color: var(--brand-dark);
  border-color: #b8dfef;
}

.client-view {
  display: none;
  padding: 18px 16px 30px;
}

.client-view.active {
  display: grid;
  gap: 14px;
}

.quick-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-status article,
.panel,
.class-card,
.map-step,
.member-card,
.product-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(28, 53, 67, 0.07);
}

.quick-status article {
  min-height: 98px;
  padding: 14px 12px;
  border-radius: 18px;
}

.quick-status span,
.quick-status small,
.section-title span,
.class-meta,
.product-item p,
.entitlement-list span,
.coach-note p {
  color: var(--muted);
}

.quick-status span,
.quick-status small {
  display: block;
  font-size: 12px;
}

.quick-status strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 28px;
  color: var(--brand-dark);
}

.panel {
  padding: 17px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.section-title span {
  font-size: 12px;
  font-weight: 700;
}

.page-title {
  margin: 2px 0 0;
}

.next-class {
  display: grid;
  gap: 12px;
}

.next-class h3,
.class-card h3,
.map-step h3 {
  margin: 0;
  font-size: 18px;
}

.next-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.next-meta span {
  padding: 10px;
  background: var(--soft);
  color: var(--muted);
  line-height: 1.45;
  border-radius: 14px;
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 38px;
  border-radius: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.primary-button {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 155, 211, 0.22);
}

.ghost-button,
.small-button {
  background: #fff;
  color: var(--ink);
}

.primary-button:disabled,
.ghost-button:disabled,
.small-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.mission-list,
.plan-stack,
.class-list,
.light-map,
.entitlement-list,
.rank-list,
.product-list,
.activity-list,
.trial-list,
.store-list {
  display: grid;
  gap: 10px;
}

.mission {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mission:last-child {
  border-bottom: 0;
}

.check-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f6fc;
  color: var(--brand-dark);
  font-weight: 800;
}

.mission strong,
.plan-item strong,
.product-item strong,
.entitlement strong {
  display: block;
}

.mission span,
.plan-item span {
  color: var(--muted);
  font-size: 12px;
}

.plan-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.price {
  color: var(--pink);
  font-size: 18px;
  font-weight: 800;
}

.full-button {
  width: 100%;
}

.lead-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lead-form input {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  padding: 9px 11px;
}

.lead-form select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  padding: 9px 11px;
}

.lead-next {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 12px;
}

.lead-next span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trial-card,
.store-card,
.activity-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.trial-card {
  display: grid;
  gap: 12px;
}

.trial-card span,
.trial-card p,
.store-head span,
.store-card p,
.store-meta,
.activity-item span,
.activity-item em {
  color: var(--muted);
}

.trial-card span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
}

.trial-card strong {
  display: block;
  font-size: 17px;
}

.trial-card p,
.store-card p {
  margin: 7px 0 0;
  line-height: 1.6;
}

.trial-foot,
.store-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trial-foot b {
  color: var(--pink);
  font-size: 20px;
}

.store-card {
  display: grid;
  gap: 11px;
}

.store-card.selected {
  border-color: #b8dfef;
  background: #f4fbfe;
}

.store-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.store-head h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.store-head span,
.store-meta {
  font-size: 12px;
  line-height: 1.45;
}

.store-features {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.store-features span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.activity-item > span {
  min-width: 70px;
  border-radius: 999px;
  background: #e6f6fc;
  color: var(--brand-dark);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.activity-item strong,
.activity-item em {
  display: block;
}

.activity-item em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.presale-status-grid strong {
  font-size: 24px;
}

.presale-lead-panel,
.presale-preview {
  border-radius: 8px;
  background: #ffffff;
}

.presale-lead-panel p,
.presale-preview p,
.presale-form-panel p,
.internal-desk p,
.presale-story p {
  margin: 0 0 13px;
  color: var(--muted);
  line-height: 1.7;
}

.presale-mini-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 7px;
  align-items: center;
  margin: 14px 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.presale-mini-flow i {
  height: 1px;
  background: #b8dfef;
}

.presale-cover {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(28, 53, 67, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 53, 67, 0.07);
}

.presale-cover-copy {
  padding: 18px 18px 0;
}

.presale-eyebrow {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.presale-cover h2 {
  margin: 8px 0 8px;
  font-size: 25px;
  line-height: 1.2;
}

.presale-cover p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.presale-video {
  min-height: 210px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin: 0 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 26, 35, 0.08), rgba(11, 26, 35, 0.62)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
  color: #fff;
  padding: 16px;
}

.video-play {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
}

.presale-video strong,
.presale-video span {
  display: block;
}

.presale-video span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.presale-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.presale-facts article {
  min-width: 0;
  padding: 12px;
}

.presale-facts article + article {
  border-left: 1px solid var(--line);
}

.presale-facts span,
.presale-facts strong {
  display: block;
}

.presale-facts span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.presale-facts strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.media-grid,
.presale-product-list,
.gift-grid,
.audit-list,
.record-list {
  display: grid;
  gap: 10px;
}

.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.media-thumb {
  height: 68px;
  background:
    linear-gradient(135deg, rgba(21, 155, 211, 0.18), rgba(215, 155, 66, 0.18)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
}

.media-grid strong,
.media-grid span {
  display: block;
  padding: 0 9px;
}

.media-grid strong {
  margin-top: 9px;
  font-size: 13px;
}

.media-grid span {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.presale-product-card {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px;
  text-align: left;
}

.presale-product-card.active {
  border-color: #b8dfef;
  background: #f4fbfe;
}

.presale-product-card span,
.presale-product-card p {
  color: var(--muted);
}

.presale-product-card span {
  font-size: 12px;
  font-weight: 800;
}

.presale-product-card strong {
  font-size: 16px;
}

.presale-product-card p {
  margin: 0;
  line-height: 1.55;
}

.presale-product-card b {
  color: var(--pink);
  font-size: 18px;
}

.presale-form-panel,
.presale-progress-panel,
.presale-gift-panel,
.internal-desk {
  border-radius: 8px;
}

.presale-form-panel .full-button {
  margin-top: 12px;
}

.presale-api-status {
  border: 1px solid rgba(180, 73, 66, 0.24);
  border-radius: 8px;
  background: rgba(180, 73, 66, 0.08);
  color: #8b2d28;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 10px;
}

.presale-api-status.online {
  border-color: rgba(50, 125, 98, 0.24);
  background: rgba(50, 125, 98, 0.08);
  color: var(--green-dark);
}

.presale-empty {
  border: 1px dashed #c8d5dc;
  border-radius: 8px;
  background: #f8fbfd;
  color: var(--muted);
  padding: 14px;
  line-height: 1.65;
}

.redemption-summary {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 12px;
}

.redemption-summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.redemption-summary b {
  color: var(--brand-dark);
  font-size: 12px;
}

.presale-steps {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.presale-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.presale-step i {
  width: 18px;
  height: 18px;
  border: 1px solid #c8d5dc;
  border-radius: 50%;
  background: #fff;
}

.presale-step.active {
  color: var(--brand-dark);
}

.presale-step.active i {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: inset 0 0 0 4px #e6f6fc;
}

.audit-warning {
  margin-top: 12px;
  border-radius: 8px;
  background: #fff6e8;
  color: #8a5b16;
  padding: 11px;
  line-height: 1.55;
}

.gift-card,
.record-row,
.audit-card,
.gift-claimed {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.gift-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.gift-card strong,
.gift-card p,
.gift-claimed strong,
.gift-claimed span,
.gift-claimed b {
  display: block;
}

.gift-card p,
.gift-claimed span,
.gift-claimed b {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.record-row strong,
.record-row span,
.record-row em {
  display: block;
}

.record-row span,
.record-row em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.record-row em {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.status-pill {
  border-radius: 999px;
  background: #e6f6fc;
  color: var(--brand-dark);
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.status-pill.manager_pending {
  background: #faefd7;
  color: #8a5b16;
}

.status-pill.rejected,
.status-pill.refund_exception {
  background: #f8e8ea;
  color: #9b2838;
}

.status-pill.gift_claimed,
.status-pill.gift_picked {
  background: #e8f4ef;
  color: var(--green-dark);
}

.audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.audit-head strong,
.audit-head span {
  display: block;
}

.audit-head span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.audit-grid span {
  min-width: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 9px;
  font-size: 11px;
  font-weight: 800;
}

.audit-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.audit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.class-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.class-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 9px;
  background: #edf2ee;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tag.group {
  background: #e6f6fc;
  color: var(--brand-dark);
}

.tag.private {
  background: #faefd7;
  color: #8a5b16;
}

.tag.assessment {
  background: #e5edf2;
  color: #3b657f;
}

.tag.green {
  background: #e7f4ec;
  color: #286545;
}

.tag.gold {
  background: #faefd7;
  color: #8a5b16;
}

.tag.red {
  background: #f8e7e4;
  color: #9b3b2d;
}

.class-meta {
  line-height: 1.6;
}

.class-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.class-card {
  cursor: pointer;
}

.class-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.capacity {
  color: var(--muted);
  font-size: 12px;
}

.sale-window {
  display: inline-flex;
  margin-top: 7px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #faefd7;
  color: #8a5b16;
  font-size: 12px;
  font-weight: 700;
}

.booking-seat {
  display: inline-flex;
  margin-top: 7px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #e6f6fc;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.map-step {
  padding: 14px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
}

.map-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2ee;
  color: var(--muted);
  font-weight: 800;
}

.map-step.active {
  border-color: #b8dfef;
  background: #f4fbfe;
}

.map-step.active .map-index {
  background: var(--brand);
  color: #fff;
}

.map-step p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.change-grid article {
  padding: 12px;
  background: var(--soft);
}

.change-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.change-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  color: var(--brand-dark);
}

.coach-note strong {
  display: block;
  margin-bottom: 8px;
}

.coach-note p {
  margin: 0;
  line-height: 1.75;
}

.member-card {
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(12, 111, 155, 0.98), rgba(201, 74, 163, 0.82));
}

.member-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.member-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.member-card p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.entitlement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.entitlement:last-child {
  border-bottom: 0;
}

.entitlement b {
  color: var(--brand-dark);
  font-size: 22px;
}

.entitlement-detail {
  padding-left: 10px;
  border-left: 3px solid rgba(176, 138, 74, 0.28);
}

.entitlement-detail em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.muted-detail {
  opacity: 0.78;
}

.member-booking-list {
  display: grid;
  gap: 10px;
}

.member-order-list {
  display: grid;
  gap: 12px;
}

.member-order {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.member-order header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.member-order header span,
.member-payment-row span,
.member-payment-row em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.member-order header strong,
.member-payment-row strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.member-order p,
.member-payment-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.member-order-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-order-amounts span {
  min-width: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 8px;
  font-size: 11px;
  font-weight: 800;
}

.member-order-amounts strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.member-payment-list {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.member-payment-list > strong {
  color: var(--muted);
  font-size: 12px;
}

.member-payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.member-notification-list {
  display: grid;
  gap: 10px;
}

.member-fulfillment {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-fulfillment:last-child {
  border-bottom: 0;
}

.member-booking {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-notification {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-notification.unread {
  border-left: 3px solid rgba(176, 138, 74, 0.36);
  padding-left: 10px;
}

.member-booking:last-child {
  border-bottom: 0;
}

.member-notification:last-child {
  border-bottom: 0;
}

.member-booking header,
.member-fulfillment header,
.member-notification header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.member-booking p,
.member-booking em,
.member-fulfillment p,
.member-fulfillment em,
.member-notification p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.member-booking-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.small-pill {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.small-pill:disabled {
  opacity: 0.45;
}

.rank-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rank-row strong,
.rank-row em {
  display: block;
}

.rank-row em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-row b {
  color: var(--brand-dark);
  font-size: 20px;
}

.rank-row.self {
  margin: 0 -8px;
  border: 1px solid #b8dfef;
  border-radius: 15px;
  background: #f4fbfe;
  padding: 11px 8px;
}

.product-item {
  padding: 14px;
  display: grid;
  gap: 9px;
}

.product-item p {
  margin: 0;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.subscription-product-item {
  gap: 12px;
}

.subscription-card-head,
.subscription-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.subscription-card-head span,
.subscription-card-head b,
.subscription-rule-box span,
.subscription-rule-box em,
.subscription-row span,
.subscription-row small,
.subscription-row em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.subscription-card-head b,
.subscription-badges b {
  color: var(--brand-dark);
}

.subscription-rule-box {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}

.subscription-rule-box span {
  color: var(--ink);
}

.subscription-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--muted);
  padding: 14px;
  line-height: 1.65;
}

.subscription-list {
  display: grid;
  gap: 10px;
}

.subscription-row {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.subscription-row strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 17px;
}

.subscription-badges {
  flex-wrap: wrap;
}

.subscription-badges b,
.subscription-badges em {
  border-radius: 999px;
  background: var(--soft);
  padding: 6px 9px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  min-width: min(360px, calc(100vw - 36px));
  background: #17231d;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 13px 16px;
  text-align: center;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.detail-sheet[hidden],
.seat-sheet[hidden],
.share-sheet[hidden] {
  display: none;
}

.detail-sheet,
.seat-sheet,
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
}

.detail-backdrop,
.seat-backdrop,
.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 28, 0.48);
}

.detail-panel,
.seat-panel,
.share-panel {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  background: #fff;
  padding: 18px 18px 22px;
  box-shadow: 0 -20px 70px rgba(8, 20, 28, 0.24);
}

.detail-panel {
  display: grid;
  gap: 13px;
}

.share-panel {
  display: grid;
  gap: 12px;
}

.detail-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(12, 111, 155, 0.98), rgba(201, 74, 163, 0.82));
}

.detail-hero .icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.detail-hero .tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.detail-hero h2 {
  margin: 14px 42px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.detail-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 11px;
}

.detail-meta strong,
.detail-meta span {
  display: block;
}

.detail-meta strong {
  font-size: 14px;
  line-height: 1.35;
}

.detail-meta span,
.detail-section span,
.detail-coach span,
.detail-coach b,
.booking-summary span,
.booking-head span,
.booking-mode span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.detail-booking {
  display: grid;
  gap: 10px;
}

.booking-summary,
.booking-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.booking-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-summary strong,
.booking-summary span {
  display: block;
}

.booking-summary b {
  color: var(--brand-dark);
  font-size: 18px;
}

.booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-head strong,
.booking-head span {
  display: block;
}

.booking-head em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e6f6fc;
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.booking-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.booking-mode {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
  color: var(--ink);
  padding: 9px 10px;
  text-align: left;
}

.booking-mode strong,
.booking-mode span {
  display: block;
}

.booking-mode strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.booking-mode.active {
  border-color: #b8dfef;
  background: #e6f6fc;
  color: var(--brand-dark);
}

.booking-mode:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.detail-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.detail-section p {
  margin: 8px 0 0;
  color: var(--ink);
  line-height: 1.65;
}

.detail-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.detail-list-item {
  border-radius: 13px;
  background: var(--soft);
  padding: 9px 10px;
  color: var(--ink);
  line-height: 1.45;
}

.detail-coach {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.detail-coach strong {
  display: block;
  margin-bottom: 4px;
}

.detail-actions {
  position: sticky;
  bottom: -22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 10px;
  margin: 2px -18px -22px;
  padding: 12px 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}

.seat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.seat-panel-head span,
.seat-class-info,
.seat-confirm span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.seat-panel-head h2 {
  margin: 5px 0 0;
  font-size: 20px;
}

.seat-class-info {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--soft);
  line-height: 1.55;
}

.studio-map {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbfd, #eef6fa);
  padding: 14px;
}

.mirror-line {
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dceff7;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.seat-button {
  min-height: 56px;
  border: 1px solid #bddce8;
  border-radius: 15px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
  padding: 8px 6px;
}

.seat-button strong,
.seat-button small {
  display: block;
}

.seat-button small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.seat-button:hover {
  border-color: var(--brand);
  background: #f4fbfe;
}

.seat-button.selected {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

.seat-button.selected small {
  color: rgba(255, 255, 255, 0.82);
}

.seat-button.occupied {
  cursor: not-allowed;
  border-color: #d7dde2;
  background: #e9edf0;
  color: #9ba3aa;
}

.seat-button.occupied small {
  color: #9ba3aa;
}

.seat-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.seat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.seat-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 4px;
}

.seat-legend .available {
  border: 1px solid #bddce8;
  background: #fff;
}

.seat-legend .selected {
  background: var(--pink);
}

.seat-legend .occupied {
  background: #d7dde2;
}

.seat-confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.seat-confirm strong {
  color: var(--brand-dark);
  font-size: 12px;
}

.share-text {
  width: 100%;
  min-height: 148px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  padding: 12px;
  line-height: 1.6;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .client-shell {
    padding: 0;
    place-items: stretch;
  }

  .phone-frame {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .seat-panel {
    width: 100%;
  }

  .detail-panel,
  .share-panel {
    width: 100%;
  }

  .media-grid,
  .presale-facts,
  .audit-grid {
    grid-template-columns: 1fr;
  }

  .presale-facts article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .presale-mini-flow {
    grid-template-columns: 1fr;
  }

  .presale-mini-flow i {
    display: none;
  }

  .record-row,
  .gift-card {
    grid-template-columns: 1fr;
  }
}

/* Premium client redesign */
:root {
  --bg: #e9eeec;
  --ink: #172321;
  --muted: #66716d;
  --line: #dde3df;
  --surface: #fffdfa;
  --soft: #f4f7f5;
  --brand: #2d746f;
  --brand-dark: #164944;
  --pink: #8b5968;
  --gold: #b58a45;
  --green: #2f7760;
  --green-dark: #1f5b47;
  --shadow: 0 28px 80px rgba(20, 35, 32, 0.18);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}

.client-shell {
  min-height: 100vh;
  padding: 30px;
  background:
    radial-gradient(circle at 18% 10%, rgba(181, 138, 69, 0.14), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(45, 116, 111, 0.16), transparent 32%),
    linear-gradient(145deg, #eef2f0, #dfe8e5);
}

.phone-frame {
  width: min(430px, 100%);
  height: min(920px, calc(100vh - 60px));
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbfcfa;
  border: 1px solid rgba(23, 35, 33, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.client-hero {
  min-height: 328px;
  flex: 0 0 auto;
  padding: 18px;
  border-bottom: 0;
  border-radius: 0;
  color: #fff;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(10, 22, 22, 0.22), rgba(10, 22, 22, 0.72)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
}

.hero-photo::after {
  display: none;
}

.academy-brand {
  color: #fff;
}

.academy-brand img {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.92);
}

.academy-brand span,
.academy-intro span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.academy-brand strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.academy-intro {
  margin-top: 48px;
  border-left: 0;
  padding-left: 0;
}

.academy-intro h1 {
  max-width: 320px;
  color: #fff;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.16;
}

.academy-intro p {
  max-width: 315px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.75;
}

.icon-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-card {
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 14px;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.hero-card span,
.hero-card p,
.record-progress-row span {
  color: rgba(255, 255, 255, 0.72);
}

.progress-card {
  gap: 10px;
}

.progress-card-head strong {
  color: #fff;
  font-size: 23px;
  font-weight: 600;
}

.record-status {
  color: #f0c979;
  font-size: 14px;
}

.progress-summary {
  border-color: rgba(255, 255, 255, 0.18);
}

.progress-summary div + div {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.progress-summary b,
.record-progress-row b {
  color: #f0c979;
}

.progress-summary b {
  font-size: 17px;
}

.hero-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-progress i {
  background: linear-gradient(90deg, #f0c979, #78b5ad);
}

.member-mode-switch {
  flex: 0 0 auto;
  order: 2;
  margin: 12px 18px 0;
  padding: 4px;
  border: 1px solid rgba(23, 35, 33, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.mode-button {
  min-height: 32px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.mode-button.active {
  border-color: transparent;
  background: #e7efed;
  color: var(--brand-dark);
}

body:not(.demo-mode) .member-mode-switch,
body:not(.demo-mode) #resetClient {
  display: none;
}

.client-view {
  flex: 1 1 auto;
  order: 3;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 26px;
  scrollbar-width: none;
}

.client-view::-webkit-scrollbar {
  display: none;
}

.client-view.active {
  gap: 14px;
}

.client-tabs {
  position: relative;
  top: auto;
  bottom: auto;
  order: 4;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 14px 14px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border: 0;
  border-top: 1px solid rgba(23, 35, 33, 0.08);
  border-radius: 0;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 -12px 30px rgba(23, 35, 33, 0.07);
  backdrop-filter: blur(16px);
}

.tab,
.segment {
  min-height: 38px;
  border-radius: 7px;
  color: #7b8580;
  font-size: 13px;
  font-weight: 600;
}

.tab.active,
.segment.active {
  border-color: transparent;
  background: var(--brand-dark);
  color: #fff;
}

.page-title {
  padding-top: 2px;
  margin: 0;
}

.section-title {
  align-items: center;
  margin-bottom: 13px;
}

.section-title h2 {
  font-size: 18px;
  font-weight: 650;
}

.section-title span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel,
.class-card,
.map-step,
.member-card,
.product-item,
.trial-card,
.store-card,
.activity-item,
.gift-card,
.record-row,
.gift-claimed,
.booking-summary,
.booking-box,
.detail-section,
.detail-coach {
  border: 1px solid rgba(23, 35, 33, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.panel {
  padding: 16px;
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 9px 13px;
  font-weight: 650;
}

.primary-button {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
  box-shadow: none;
}

.ghost-button,
.small-button {
  border-color: rgba(23, 35, 33, 0.14);
  background: #fffdfa;
  color: var(--brand-dark);
}

.service-hero {
  position: relative;
  min-height: 232px;
  display: grid;
  align-content: end;
  gap: 16px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 27, 25, 0.05), rgba(12, 27, 25, 0.72)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
  color: #fff;
  padding: 18px;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.service-hero > * {
  position: relative;
  z-index: 1;
}

.service-hero span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-hero h2 {
  margin: 8px 0 0;
  max-width: 310px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.18;
}

.service-hero p {
  margin: 10px 0 0;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.service-hero em {
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
}

.service-hero .primary-button {
  width: fit-content;
  min-width: 132px;
  border-color: rgba(255, 255, 255, 0.92);
  background: #fffdfa;
  color: var(--brand-dark);
}

.store-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(23, 35, 33, 0.1);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.store-strip span,
.store-strip p {
  color: var(--muted);
}

.store-strip span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.store-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.store-strip p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.quick-status {
  grid-template-columns: 1fr;
}

.quick-status article {
  min-height: 72px;
  border-radius: 8px;
}

.quick-status strong {
  color: var(--brand-dark);
  font-size: 23px;
}

.lead-panel p,
.presale-lead-panel p,
.presale-preview p,
.presale-form-panel p,
.internal-desk p,
.presale-story p,
.product-item p,
.coach-note p,
.trial-card p,
.store-card p {
  color: var(--muted);
  line-height: 1.72;
}

.trial-card,
.store-card,
.product-item {
  gap: 12px;
}

.trial-card strong,
.store-head h3 {
  font-size: 18px;
  font-weight: 650;
}

.trial-foot b,
.price,
.presale-product-card b {
  color: var(--gold);
}

.store-card.selected {
  border-color: rgba(45, 116, 111, 0.34);
  background: #f6faf8;
}

.store-features span,
.tag {
  border-radius: 999px;
  background: #edf2ef;
  color: var(--brand-dark);
  font-weight: 650;
}

.tag.private {
  background: #f6eee2;
  color: #7b5626;
}

.tag.assessment {
  background: #eef0f3;
  color: #475866;
}

.segmented {
  position: sticky;
  top: 0;
  z-index: 2;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(23, 35, 33, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
}

.course-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 15px;
}

.course-time {
  min-height: 64px;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.course-time strong,
.course-time span {
  display: block;
}

.course-time strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.course-time span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.course-title-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.course-main h3 {
  font-size: 18px;
  font-weight: 650;
}

.class-meta {
  margin-top: 6px;
  color: var(--muted);
}

.course-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.course-actions .primary-button,
.course-actions .ghost-button {
  min-width: 92px;
}

.sale-window,
.booking-seat {
  border-radius: 999px;
  background: #f6eee2;
  color: #7b5626;
}

.next-class > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.next-class h3 {
  font-size: 23px;
  font-weight: 650;
}

.next-meta {
  grid-template-columns: 1fr;
}

.next-meta span,
.plan-item,
.lead-next,
.detail-list-item,
.booking-mode,
.presale-empty,
.redemption-summary,
.audit-grid span {
  border-radius: 8px;
  background: var(--soft);
}

.member-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(22, 73, 68, 0.12), rgba(22, 73, 68, 0.04)),
    var(--surface);
  color: var(--ink);
}

.member-card span,
.member-card p {
  color: var(--muted);
}

.member-card strong {
  font-size: 20px;
  font-weight: 650;
}

.entitlement b,
.rank-row b,
.change-grid strong {
  color: var(--brand-dark);
}

.rank-row.self {
  border-color: rgba(45, 116, 111, 0.24);
  border-radius: 8px;
  background: #f6faf8;
}

.presale-cover {
  display: block;
  gap: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  overflow: visible;
}

.presale-cover-copy {
  min-height: 170px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(12, 27, 25, 0.04), rgba(12, 27, 25, 0.72)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
  color: #fff;
  padding: 18px;
}

.presale-eyebrow,
.presale-cover p {
  color: rgba(255, 255, 255, 0.78);
}

.presale-cover h2 {
  color: #fff;
  font-size: 27px;
  font-weight: 600;
}

.presale-video {
  min-height: 92px;
  margin: 0;
  border-radius: 0;
  background: var(--brand-dark);
}

.presale-facts {
  grid-template-columns: 1fr;
  border: 1px solid rgba(23, 35, 33, 0.1);
  border-top: 0;
  background: var(--surface);
}

.presale-facts article + article {
  border-left: 0;
  border-top: 1px solid var(--line);
}

.presale-facts strong {
  font-size: 13px;
}

.media-grid {
  grid-template-columns: 1fr;
}

.media-grid article {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  background: var(--surface);
}

.media-thumb {
  height: 92px;
}

.media-grid strong,
.media-grid span {
  padding: 0;
}

.media-grid span {
  margin-right: 10px;
}

.presale-product-card {
  border-radius: 8px;
  background: var(--surface);
}

.presale-product-card.active {
  border-color: rgba(45, 116, 111, 0.38);
  background: #f6faf8;
}

.presale-mini-flow {
  grid-template-columns: 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.presale-mini-flow i {
  display: none;
}

.presale-step.active {
  color: var(--brand-dark);
}

.presale-step.active i {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  box-shadow: inset 0 0 0 4px #dce9e5;
}

.internal-desk {
  display: none;
}

.detail-panel,
.seat-panel,
.share-panel {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.detail-hero {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 27, 25, 0.18), rgba(12, 27, 25, 0.76)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
}

.detail-actions {
  grid-template-columns: 1fr 1fr 1.35fr;
}

.studio-map {
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfcfa, #edf4f1);
}

.mirror-line,
.seat-button,
.booking-mode,
.seat-class-info,
.share-text {
  border-radius: 8px;
}

.seat-button.selected {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.seat-button {
  border-color: #cddbd7;
  color: var(--brand-dark);
}

.toast {
  bottom: 86px;
  border-radius: 8px;
  background: var(--brand-dark);
}

@media (max-width: 520px) {
  .client-shell {
    padding: 0;
  }

  .phone-frame {
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }

  .client-hero {
    min-height: 315px;
  }

  .academy-intro {
    margin-top: 38px;
  }

  .academy-intro h1 {
    font-size: 29px;
  }

  .service-hero {
    min-height: 218px;
  }

  .service-hero h2 {
    font-size: 25px;
  }

  .course-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

/* Remove legacy poster artwork from primary surfaces */
.client-hero {
  min-height: 286px;
}

.hero-photo {
  background:
    radial-gradient(circle at 88% 18%, rgba(181, 138, 69, 0.32), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(79, 141, 132, 0.28), transparent 34%),
    linear-gradient(145deg, #162b29 0%, #0c1414 62%, #243c38 100%);
}

.client-hero::after {
  content: "";
  position: absolute;
  right: -86px;
  top: 42px;
  width: 260px;
  height: 260px;
  background: url("./assets/research-logo.png") center / contain no-repeat;
  opacity: 0.075;
  filter: grayscale(1);
  z-index: 0;
  pointer-events: none;
}

.academy-intro {
  margin-top: 46px;
}

.hero-card {
  display: none;
}

.service-hero,
.presale-cover-copy,
.detail-hero {
  background:
    radial-gradient(circle at 86% 16%, rgba(181, 138, 69, 0.28), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(111, 155, 146, 0.24), transparent 32%),
    linear-gradient(145deg, #17342f 0%, #0e1818 68%, #243d38 100%);
}

.service-hero::before,
.presale-cover-copy::before,
.detail-hero::before {
  content: "";
  position: absolute;
  right: -54px;
  top: 18px;
  width: 190px;
  height: 190px;
  background: url("./assets/research-logo.png") center / contain no-repeat;
  opacity: 0.07;
  filter: grayscale(1);
  z-index: 0;
  pointer-events: none;
}

.presale-cover-copy,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.presale-cover-copy > *,
.detail-hero > * {
  position: relative;
  z-index: 1;
}

.media-thumb {
  background:
    radial-gradient(circle at 80% 20%, rgba(181, 138, 69, 0.26), transparent 32%),
    linear-gradient(145deg, #eef4f1, #dfeae6);
  position: relative;
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: url("./assets/research-logo.png") center / contain no-repeat;
  opacity: 0.18;
}

.presale-video {
  background:
    linear-gradient(135deg, rgba(22, 73, 68, 0.96), rgba(23, 35, 33, 0.96));
}

@media (max-width: 520px) {
  .client-hero {
    min-height: 232px;
  }

  .academy-intro {
    margin-top: 24px;
  }

  .academy-intro h1 {
    font-size: 26px;
  }

  .academy-intro p {
    line-height: 1.58;
  }
}

/* Image-led client UI upgrade */
.visual-hero,
.image-card,
.course-thumb,
.store-strip-image,
.trial-image,
.store-image,
.presale-preview-image,
.gift-visual,
.next-class-image,
.media-thumb {
  background-image: var(--image-url);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.client-hero {
  min-height: 334px;
  color: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(9, 20, 20, 0.12) 0%, rgba(9, 20, 20, 0.58) 68%, rgba(9, 20, 20, 0.82) 100%),
    url("./assets/visuals/client-hero-premium.jpg") center 46% / cover no-repeat;
}

.hero-photo::after,
.client-hero::after {
  display: none;
}

.academy-brand {
  width: fit-content;
  max-width: 255px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.9);
  color: var(--brand-dark);
  padding: 8px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.academy-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.academy-brand span {
  color: rgba(23, 35, 33, 0.58);
}

.academy-intro {
  max-width: 320px;
  margin-top: 82px;
}

.academy-intro span {
  color: rgba(255, 255, 255, 0.72);
}

.academy-intro h1 {
  color: #fff;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.academy-intro p {
  max-width: 285px;
  color: rgba(255, 255, 255, 0.82);
}

.service-hero,
.presale-cover-copy,
.detail-hero {
  background-image:
    linear-gradient(180deg, rgba(8, 18, 18, 0.1) 0%, rgba(8, 18, 18, 0.5) 56%, rgba(8, 18, 18, 0.86) 100%),
    var(--image-url, url("./assets/visuals/client-hero-premium.jpg"));
  background-position: center;
  background-size: cover;
}

.service-hero::before,
.presale-cover-copy::before,
.detail-hero::before,
.media-thumb::after {
  display: none;
}

.service-hero {
  min-height: 286px;
  padding: 20px;
}

.service-hero h2 {
  max-width: 280px;
}

.service-hero p {
  max-width: 290px;
}

.store-strip {
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  padding: 10px;
}

.store-strip-image {
  width: 84px;
  height: 92px;
  border-radius: 8px;
  background-color: var(--soft);
}

.store-strip-copy {
  min-width: 0;
}

.store-strip .ghost-button {
  grid-column: 2;
  justify-self: start;
  min-height: 36px;
}

.next-class {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

.next-class-image {
  min-height: 150px;
  border-radius: 8px;
  background-color: var(--soft);
}

.next-class-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 9px;
}

.next-class-copy > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.next-class-copy h3 {
  font-size: 21px;
}

.course-row {
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  padding: 10px;
}

.course-thumb {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--soft);
  color: #fff;
  padding: 9px;
}

.course-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.68));
}

.course-thumb span,
.course-thumb strong {
  position: relative;
  z-index: 1;
}

.course-thumb span {
  font-size: 12px;
  font-weight: 800;
}

.course-thumb strong {
  margin-top: 2px;
  font-size: 17px;
}

.course-main {
  min-width: 0;
  align-self: center;
}

.course-title-line {
  align-items: center;
}

.course-main h3 {
  line-height: 1.25;
}

.class-meta {
  font-size: 12px;
  line-height: 1.55;
}

.course-actions {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.trial-card,
.store-card {
  overflow: hidden;
  padding: 0;
}

.trial-card > div:not(.trial-image),
.store-card > :not(.store-image) {
  padding-left: 14px;
  padding-right: 14px;
}

.trial-card > div:nth-last-child(2),
.store-card .store-head {
  padding-top: 14px;
}

.trial-foot,
.store-card > button,
.store-meta {
  margin-left: 14px;
  margin-right: 14px;
}

.trial-card > .trial-foot,
.store-card > button {
  margin-bottom: 14px;
}

.trial-image,
.store-image,
.presale-preview-image,
.gift-visual {
  min-height: 136px;
  background-color: var(--soft);
}

.store-image {
  min-height: 154px;
}

.presale-preview-image,
.gift-visual {
  border-radius: 8px;
  margin-bottom: 14px;
}

.presale-cover-copy {
  min-height: 248px;
  border-radius: 8px 8px 0 0;
}

.presale-cover h2 {
  max-width: 290px;
}

.presale-video {
  min-height: 142px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(8, 18, 18, 0.08), rgba(8, 18, 18, 0.78)),
    var(--image-url, url("./assets/visuals/presale-store-cover.jpg"));
  background-position: center;
  background-size: cover;
}

.video-play {
  background: rgba(255, 253, 250, 0.92);
  color: var(--brand-dark);
}

.media-grid article {
  overflow: hidden;
  padding: 0 0 12px;
  border: 1px solid var(--line);
}

.media-thumb {
  height: 112px;
  border-radius: 8px 0 0 8px;
}

.gift-visual {
  min-height: 150px;
}

.presale-product-card p,
.presale-form-panel p,
.presale-story p,
.presale-preview p {
  line-height: 1.62;
}

@media (max-width: 520px) {
  .client-hero {
    min-height: 318px;
  }

  .academy-intro {
    margin-top: 72px;
  }

  .service-hero {
    min-height: 264px;
  }

  .course-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .course-thumb {
    min-height: 118px;
  }

  .next-class {
    grid-template-columns: 106px minmax(0, 1fr);
  }
}

/* Identity-aware luxury refresh: first concept direction */
:root {
  --bg: #f5f0e8;
  --ink: #17231d;
  --muted: #7c776c;
  --line: rgba(45, 57, 49, 0.12);
  --surface: #fffaf2;
  --soft: #f3eadf;
  --brand: #123d35;
  --brand-dark: #123d35;
  --gold: #b89155;
  --pink: #9b6b45;
  --green: #123d35;
  --green-dark: #0c2d27;
  --shadow: 0 24px 70px rgba(34, 35, 29, 0.16);
}

body {
  background: #efe7dc;
  color: var(--ink);
}

.client-shell {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(145deg, #eee4d7 0%, #fbf7ef 48%, #e9dfd1 100%);
}

.phone-frame {
  background: #fbf7ef;
  border-color: rgba(45, 57, 49, 0.1);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(33, 28, 20, 0.22);
}

.client-hero {
  min-height: 444px;
  padding: 22px 20px 28px;
  border-bottom: 0;
  border-radius: 0;
  color: #fff;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(14, 18, 15, 0.18) 0%, rgba(14, 18, 15, 0.34) 46%, rgba(14, 18, 15, 0.86) 100%),
    url("./assets/visuals/client-hero-premium.jpg") center 43% / cover no-repeat;
}

.hero-top {
  align-items: center;
}

.academy-brand {
  gap: 13px;
  max-width: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  box-shadow: none;
}

.academy-brand img {
  width: 56px;
  height: 56px;
  border-color: rgba(214, 183, 128, 0.58);
  background: rgba(13, 29, 25, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.academy-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 500;
}

.academy-brand strong {
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.icon-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.academy-intro {
  max-width: 330px;
  margin-top: 112px;
  border-left: 0;
  padding-left: 0;
}

.academy-intro::after {
  content: "";
  display: block;
  width: 76px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.academy-intro span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.28em;
  font-weight: 500;
}

.academy-intro h1 {
  margin-top: 14px;
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: 0.08em;
}

.academy-intro p {
  max-width: 292px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.9;
}

.client-type-visitor .progress-card,
.client-type-prospect .progress-card,
.client-type-historical .progress-card {
  display: none;
}

.client-type-member .progress-card {
  display: grid;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 61, 53, 0.72);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.client-type-member .hero-card span,
.client-type-member .hero-card p {
  color: rgba(255, 255, 255, 0.72);
}

.client-type-member .hero-card strong,
.client-type-member .record-progress-row span,
.client-type-member .record-progress-row b,
.client-type-member .record-status,
.client-type-member .progress-summary b {
  color: #fff;
}

.client-type-member .progress-summary {
  border-color: rgba(255, 255, 255, 0.18);
}

.client-type-member .progress-summary div + div {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.client-type-member .hero-progress {
  background: rgba(255, 255, 255, 0.18);
}

.client-type-member .hero-progress i {
  background: linear-gradient(90deg, #f5e2b6, var(--gold));
}

.member-mode-switch {
  grid-template-columns: repeat(4, 1fr);
  margin: 12px 18px 0;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  border-color: rgba(45, 57, 49, 0.1);
  box-shadow: none;
}

.mode-button,
.tab,
.segment {
  border-radius: 8px;
}

.mode-button.active,
.tab.active,
.segment.active {
  border-color: rgba(184, 145, 85, 0.34);
  background: var(--brand);
  color: #fff;
}

.client-tabs {
  top: auto;
  bottom: 14px;
  margin: 0 18px 18px;
  border-color: rgba(45, 57, 49, 0.12);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 14px 42px rgba(33, 28, 20, 0.14);
  backdrop-filter: blur(16px);
}

.client-view {
  padding: 20px 18px 24px;
}

.client-view.active {
  gap: 16px;
}

.panel,
.class-card,
.map-step,
.member-card,
.product-item,
.trial-card,
.store-card,
.activity-item {
  border-color: rgba(45, 57, 49, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(33, 28, 20, 0.06);
}

.section-title {
  margin-bottom: 14px;
}

.section-title h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.section-title span {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-hero {
  min-height: 306px;
  display: grid;
  align-content: end;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(33, 28, 20, 0.16);
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 84px;
  width: 82px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.service-hero span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.service-hero h2 {
  max-width: 305px;
  margin-top: 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.service-hero p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.service-hero em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  letter-spacing: 0.06em;
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.primary-button {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 32px rgba(18, 61, 53, 0.18);
}

.ghost-button,
.small-button {
  border-color: rgba(45, 57, 49, 0.14);
  background: rgba(255, 250, 242, 0.86);
  color: var(--ink);
}

.store-strip {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(45, 57, 49, 0.1);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
  box-shadow: 0 12px 34px rgba(33, 28, 20, 0.06);
}

.store-strip-image {
  width: 118px;
  height: 116px;
  border-radius: 8px;
}

.store-strip-copy span,
.trial-card span,
.next-class-copy > span,
.capacity,
.class-meta,
.lead-panel p,
.product-item p,
.store-card p,
.store-head span,
.store-meta,
.activity-item em,
.entitlement-list span,
.coach-note p {
  color: var(--muted);
}

.store-strip-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.store-strip .ghost-button {
  grid-column: 2;
}

.trial-card {
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.trial-card > div:not(.trial-image) {
  padding: 16px 16px 0;
}

.trial-card .trial-foot {
  grid-column: 2;
  margin: 0;
  padding: 12px 16px 16px;
}

.trial-image {
  grid-row: 1 / span 2;
  min-height: 178px;
  border-radius: 0;
}

.trial-card strong,
.product-item strong,
.entitlement strong,
.activity-item strong {
  color: var(--ink);
  font-weight: 500;
}

.trial-foot b,
.price,
.rank-row b,
.entitlement b,
.change-grid strong {
  color: var(--gold);
}

.store-card {
  overflow: hidden;
  padding: 0;
}

.store-card.selected {
  border-color: rgba(184, 145, 85, 0.38);
  background: #fffaf2;
}

.store-features span,
.tag,
.sale-window,
.booking-seat,
.activity-item > span {
  border-radius: 999px;
  background: #f2eadf;
  color: var(--brand);
}

.tag.group,
.tag.private,
.tag.assessment {
  background: #f2eadf;
  color: var(--brand);
}

.class-list,
.trial-list,
.store-list {
  gap: 14px;
}

.course-row {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
}

.course-thumb {
  min-height: 136px;
  border-radius: 8px;
}

.course-main h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}

.course-actions {
  border-top-color: rgba(45, 57, 49, 0.1);
}

.next-class {
  grid-template-columns: 126px minmax(0, 1fr);
}

.next-class-image {
  min-height: 164px;
  border-radius: 8px;
}

.next-class-copy h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
}

.lead-next,
.plan-item,
.next-meta span,
.quick-status article,
.change-grid article,
.detail-list-item,
.booking-mode,
.redemption-summary,
.presale-empty {
  border-color: rgba(45, 57, 49, 0.1);
  border-radius: 8px;
  background: var(--soft);
}

.lead-form input,
.lead-form select {
  border-color: rgba(45, 57, 49, 0.14);
  border-radius: 8px;
  background: #fffaf2;
}

.member-card {
  background:
    linear-gradient(135deg, rgba(18, 61, 53, 0.95), rgba(18, 61, 53, 0.78)),
    url("./assets/visuals/client-hero-premium.jpg") center / cover;
}

.rank-row.self,
.map-step.active {
  border-color: rgba(184, 145, 85, 0.38);
  background: #fbf3e7;
}

.map-step.active .map-index {
  background: var(--brand);
}

.presale-cover,
.presale-product-card,
.presale-form-panel,
.presale-progress-panel,
.presale-gift-panel,
.presale-lead-panel,
.presale-preview,
.gift-card,
.record-row,
.gift-claimed,
.detail-section,
.booking-summary,
.booking-box,
.detail-coach,
.detail-meta div {
  border-color: rgba(45, 57, 49, 0.1);
  border-radius: 8px;
  background-color: var(--surface);
}

.presale-cover-copy,
.detail-hero {
  border-radius: 8px;
}

.detail-panel,
.seat-panel,
.share-panel {
  background: #fbf7ef;
}

.detail-actions {
  background: rgba(251, 247, 239, 0.96);
  border-top-color: rgba(45, 57, 49, 0.1);
}

@media (max-width: 520px) {
  .client-shell {
    padding: 0;
  }

  .phone-frame {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .client-hero {
    min-height: 418px;
  }

  .academy-intro {
    margin-top: 102px;
  }

  .academy-intro h1 {
    font-size: 31px;
  }

  .service-hero {
    min-height: 292px;
  }

  .trial-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .trial-image {
    min-height: 170px;
  }

  .course-row {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .next-class {
    grid-template-columns: 114px minmax(0, 1fr);
  }
}

/* Match the first premium concept instead of skinning the old layout */
.client-hero {
  min-height: 424px;
}

.client-type-member .progress-card {
  display: none;
}

.client-view {
  padding: 18px 18px 112px;
}

.luxury-home-stack {
  display: grid;
  gap: 18px;
}

.luxury-action-card {
  position: relative;
  width: 100%;
  min-height: 158px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 22px;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(229, 196, 132, 0.22), transparent 28%),
    linear-gradient(135deg, #173e36 0%, #0a2a24 100%);
  color: #fff;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 20px 46px rgba(18, 61, 53, 0.22);
}

.luxury-action-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(229, 196, 132, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.luxury-action-card.member,
.luxury-action-card.reserved,
.luxury-action-card.return {
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 218, 176, 0.2), transparent 30%),
    linear-gradient(135deg, #193a34, #102923);
}

.luxury-action-icon {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 196, 132, 0.58);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.04);
}

.luxury-action-icon::before,
.luxury-action-icon::after,
.luxury-action-icon i {
  content: "";
  position: absolute;
  border-color: rgba(229, 196, 132, 0.9);
}

.luxury-action-icon::before {
  width: 26px;
  height: 36px;
  border-left: 1px solid rgba(229, 196, 132, 0.9);
  border-bottom: 1px solid rgba(229, 196, 132, 0.9);
  transform: translate(4px, 4px) rotate(-34deg);
}

.luxury-action-icon::after {
  width: 34px;
  height: 1px;
  background: rgba(229, 196, 132, 0.9);
  transform: translate(3px, 23px) rotate(7deg);
}

.luxury-action-icon i {
  width: 1px;
  height: 42px;
  background: rgba(229, 196, 132, 0.9);
  transform: translate(-5px, 0) rotate(24deg);
}

.luxury-action-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.luxury-action-copy em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.luxury-action-copy strong {
  color: #fff;
  font-size: 31px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.08em;
}

.luxury-action-copy small,
.luxury-action-copy b {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.luxury-action-copy b {
  color: #e5c484;
  letter-spacing: 0.04em;
}

.luxury-action-arrow {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 44px;
  font-weight: 100;
  line-height: 1;
}

.luxury-action-cta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.luxury-store-feature,
.luxury-course-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 57, 49, 0.1);
  border-radius: 18px;
  background: #fffaf2;
  box-shadow: 0 14px 34px rgba(33, 28, 20, 0.08);
}

.luxury-store-feature {
  min-height: 172px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 42%;
}

.luxury-store-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 22px 0 22px 22px;
}

.luxury-store-copy span,
.luxury-course-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.luxury-store-copy h2,
.luxury-course-copy h2 {
  margin: 0;
  color: var(--brand);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: 0.08em;
}

.luxury-store-copy p,
.luxury-course-copy p,
.luxury-course-copy em {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.luxury-store-image {
  min-height: 172px;
  background-image:
    linear-gradient(90deg, #fffaf2 0%, rgba(255, 250, 242, 0.2) 45%, rgba(255, 250, 242, 0) 100%),
    var(--image-url);
  background-position: center;
  background-size: cover;
}

.soft-pill-button,
.text-arrow-button {
  min-height: 38px;
  border: 1px solid rgba(45, 57, 49, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 8px 16px;
  font-weight: 600;
}

.text-arrow-button {
  width: fit-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
}

.text-arrow-button::after {
  content: "  ›";
  color: var(--gold);
  font-size: 20px;
}

.luxury-course-feature {
  min-height: 150px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
}

.luxury-course-image {
  min-height: 150px;
  background-image: var(--image-url);
  background-position: center;
  background-size: cover;
}

.luxury-course-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.luxury-course-copy h2 {
  font-size: 23px;
}

.luxury-course-copy em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.luxury-member-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(45, 57, 49, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #fffaf2;
  box-shadow: 0 12px 28px rgba(33, 28, 20, 0.06);
}

.luxury-member-summary article {
  min-width: 0;
  padding: 15px 10px;
  text-align: center;
}

.luxury-member-summary article + article {
  border-left: 1px solid rgba(45, 57, 49, 0.1);
}

.luxury-member-summary span,
.luxury-member-summary small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.luxury-member-summary strong {
  display: block;
  margin: 5px 0;
  color: var(--brand);
  font-size: 25px;
  font-weight: 500;
}

.client-tabs {
  z-index: 8;
}

.tab {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 50px;
}

.tab::before {
  display: block;
  color: currentColor;
  font-size: 20px;
  line-height: 1;
}

.tab[data-tab="home"]::before {
  content: "⌂";
}

.tab[data-tab="book"]::before {
  content: "◇";
}

.tab[data-tab="growth"]::before {
  content: "□";
}

.tab[data-tab="mine"]::before {
  content: "○";
}

@media (max-width: 520px) {
  .client-hero {
    min-height: 366px;
  }

  .academy-intro {
    margin-top: 72px;
  }

  .luxury-action-card {
    grid-template-columns: 78px minmax(0, 1fr) 18px;
    gap: 16px;
    min-height: 142px;
    padding: 20px 18px;
  }

  .luxury-action-icon {
    width: 70px;
    height: 70px;
  }

  .luxury-action-copy strong {
    font-size: 28px;
  }

  .luxury-store-copy h2,
  .luxury-course-copy h2 {
    font-size: 21px;
  }

  .luxury-home-stack {
    gap: 14px;
  }

  .luxury-store-feature {
    min-height: 154px;
  }

  .luxury-store-image {
    min-height: 154px;
  }

  .luxury-course-feature {
    min-height: 142px;
  }

  .luxury-course-image {
    min-height: 142px;
  }
}

/* Visual master implementation: first generated concept as layout source */
:root {
  --master-bg: #fbf7ef;
  --master-card: #fffaf2;
  --master-green: #123d35;
  --master-green-deep: #082923;
  --master-gold: #b89155;
  --master-ink: #173027;
  --master-muted: #746d62;
  --master-line: rgba(40, 49, 42, 0.11);
}

.phone-frame {
  background: var(--master-bg);
}

.client-hero {
  min-height: 360px;
  padding: 24px 20px 28px;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(11, 18, 15, 0.18) 0%, rgba(11, 18, 15, 0.36) 50%, rgba(11, 18, 15, 0.82) 100%),
    url("./assets/visuals/home-hero-master.jpg") center 44% / cover no-repeat;
}

.hero-photo::after,
.client-hero::after {
  display: none;
}

.hero-top {
  min-height: 60px;
}

.academy-brand {
  align-items: center;
  gap: 12px;
}

.academy-brand img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(222, 196, 142, 0.62);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.08);
}

.academy-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.academy-brand strong {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

#resetClient,
.member-mode-switch,
.demo-mode .member-mode-switch {
  display: none !important;
}

.academy-intro {
  max-width: 345px;
  margin-top: 92px;
  padding-left: 0;
  border: 0;
}

.academy-intro span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.academy-intro h1 {
  margin: 14px 0 0;
  color: #fff;
  font-size: 31px;
  font-weight: 300;
  line-height: 1.36;
  letter-spacing: 0.08em;
}

.academy-intro p {
  max-width: 310px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.academy-intro::after {
  width: 76px;
  margin-top: 21px;
  background: linear-gradient(90deg, var(--master-gold), rgba(184, 145, 85, 0));
}

.progress-card,
.client-type-member .progress-card {
  display: none;
}

.client-view {
  padding: 18px 18px 112px;
}

.client-view.active {
  gap: 0;
}

.master-home {
  display: grid;
  gap: 17px;
}

/* Final academy layer: make the new learner-growth system win over earlier visual drafts. */
.client-shell {
  background:
    radial-gradient(circle at 14% 0%, rgba(55, 185, 179, 0.12), transparent 28%),
    linear-gradient(145deg, #eef7f5 0%, #fbf3e7 58%, #f7fbf8 100%);
}

.phone-frame {
  background: var(--academy-bg);
}

.client-hero {
  min-height: 78px;
  padding: 13px 18px 8px;
  border-bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(251, 247, 238, 0.72)),
    var(--academy-bg);
}

.hero-photo::after,
.academy-intro,
.hero-card {
  display: none;
}

.hero-top {
  align-items: center;
}

.academy-brand {
  max-width: min(132px, 34vw);
  padding: 0;
}

.academy-brand::before,
.academy-brand > div {
  display: none;
}

.academy-brand img {
  width: min(128px, 34vw);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-color: rgba(18, 61, 53, 0.1);
  background: rgba(255, 253, 248, 0.76);
  color: var(--academy-green);
  font-size: 15px;
}

.client-view.active {
  padding: 12px 18px 96px;
}

.academy-home-stack,
.academy-growth-stack {
  gap: 12px;
}

.academy-credential {
  min-height: 118px;
  border-radius: 13px;
  padding: 13px 15px 12px;
}

.academy-credential > strong {
  font-size: 24px;
}

.credential-metrics b {
  font-size: 17px;
}

.growth-dossier strong,
.academy-mini-row strong,
.academy-store-strip strong {
  font-size: 16px;
}

.arrangement-panel,
.goal-setup-card,
.sweat-center,
.postcard-builder,
.honor-panel,
.witness-panel,
.practice-share-panel {
  border-radius: 15px;
  padding: 15px;
}

.academy-section-head h2,
.goal-setup-card h2 {
  font-size: 22px;
}

.arrangement-main strong {
  font-size: 21px;
}

.goal-options button {
  font-size: 16px;
}

.client-tabs {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 390px) {
  .client-hero {
    min-height: 72px;
    padding-inline: 15px;
  }

  .client-view.active {
    padding-inline: 15px;
  }

  .academy-brand,
  .academy-brand img {
    max-width: min(118px, 34vw);
    width: min(118px, 34vw);
  }

  .academy-credential > strong {
    font-size: 22px;
  }

  .credential-metrics {
    gap: 8px;
  }

  .credential-metrics article + article {
    padding-left: 8px;
  }

  .growth-dossier,
  .sweat-preview,
  .academy-mini-grid,
  .arrangement-main,
  .companion-mini,
  .companion-seat-offer {
    grid-template-columns: 1fr;
  }

  .sweat-preview {
    gap: 10px;
  }

  .sweat-preview > b {
    justify-self: start;
  }
}

/* Academy rebuild: credential-led member experience + sweat-drop fission system. */
:root {
  --academy-bg: #fbf7ee;
  --academy-card: #fffdf8;
  --academy-ink: #172b24;
  --academy-muted: #776f64;
  --academy-green: #123d35;
  --academy-green-soft: #e7f0eb;
  --academy-tiffany: #37b9b3;
  --academy-tiffany-soft: #dff5f2;
  --academy-gold: #b89155;
  --academy-line: rgba(35, 45, 38, 0.12);
  --academy-shadow: 0 18px 42px rgba(30, 42, 35, 0.1);
}

.client-shell {
  background:
    radial-gradient(circle at 18% 0%, rgba(55, 185, 179, 0.12), transparent 30%),
    linear-gradient(145deg, #eef7f5, #fbf3e7 58%, #f7fbf8);
}

.phone-frame {
  background: var(--academy-bg);
}

.client-hero {
  min-height: 86px;
  padding: 14px 18px 10px;
  border-bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(251, 247, 238, 0.82)),
    var(--academy-bg);
}

.hero-photo {
  background:
    radial-gradient(circle at 78% 0%, rgba(184, 145, 85, 0.16), transparent 32%),
    linear-gradient(120deg, rgba(255, 253, 248, 0.98), rgba(231, 240, 235, 0.72));
}

.hero-photo::after,
.academy-intro,
.hero-card {
  display: none;
}

.hero-top {
  align-items: center;
}

.academy-brand img {
  width: min(118px, 34vw);
  filter: none;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-color: rgba(18, 61, 53, 0.1);
  background: rgba(255, 253, 248, 0.78);
  color: var(--academy-green);
  font-size: 15px;
}

.client-view {
  background: var(--academy-bg);
}

.client-view.active {
  padding: 14px 18px 96px;
}

.academy-home-stack,
.academy-growth-stack {
  display: grid;
  gap: 12px;
}

.academy-credential {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid rgba(184, 145, 85, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(248, 240, 226, 0.96)),
    var(--academy-card);
  color: var(--academy-ink);
  padding: 14px 16px 13px;
  box-shadow: 0 16px 34px rgba(31, 43, 35, 0.09);
}

.academy-credential::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184, 145, 85, 0.2);
  border-radius: 10px;
  pointer-events: none;
}

.credential-watermark {
  position: absolute;
  right: 14px;
  top: 18px;
  color: rgba(55, 185, 179, 0.08);
  font-family: Georgia, serif;
  font-size: 64px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.credential-head,
.academy-section-head,
.goal-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.credential-head span,
.academy-section-head span,
.goal-topline span {
  color: var(--academy-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.credential-head b,
.academy-section-head small,
.goal-topline b {
  color: var(--academy-muted);
  font-size: 12px;
  font-weight: 700;
}

.academy-credential > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 11px;
  color: var(--academy-green);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.credential-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 11px;
  border-top: 1px solid var(--academy-line);
  padding-top: 10px;
}

.credential-metrics article {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.credential-metrics article + article {
  border-left: 1px solid var(--academy-line);
  padding-left: 12px;
}

.credential-metrics span,
.growth-dossier span,
.sweat-copy em,
.academy-mini-row span,
.academy-store-strip span {
  color: var(--academy-muted);
  font-size: 12px;
  font-weight: 700;
}

.credential-metrics b {
  color: var(--academy-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.prospect-credential {
  min-height: 118px;
}

.growth-dossier,
.sweat-preview,
.academy-mini-row,
.academy-store-strip {
  border: 1px solid var(--academy-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 26px rgba(30, 42, 35, 0.06);
}

.growth-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 14px;
  align-items: center;
  padding: 11px 13px;
}

.growth-dossier strong {
  display: block;
  margin-top: 3px;
  color: var(--academy-ink);
  font-size: 15px;
  line-height: 1.3;
}

.dossier-progress {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.dossier-progress b {
  color: var(--academy-green);
  font-size: 18px;
}

.dossier-progress i,
.goal-progress,
.honor-line i {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 61, 53, 0.1);
}

.dossier-progress em,
.goal-progress em,
.honor-line em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--academy-green), var(--academy-tiffany));
}

.arrangement-panel,
.goal-setup-card,
.sweat-center,
.postcard-builder,
.honor-panel,
.witness-panel,
.practice-share-panel {
  border: 1px solid var(--academy-line);
  border-radius: 16px;
  background: var(--academy-card);
  box-shadow: var(--academy-shadow);
  padding: 16px;
}

.academy-section-head h2,
.goal-setup-card h2 {
  margin: 4px 0 0;
  color: var(--academy-green);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.arrangement-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  border-top: 1px solid var(--academy-line);
  border-bottom: 1px solid var(--academy-line);
  padding: 13px 0;
}

.arrangement-main span,
.arrangement-main em,
.practice-card-preview em,
.companion-mini span {
  color: var(--academy-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.arrangement-main strong {
  display: block;
  margin: 3px 0;
  color: var(--academy-ink);
  font-size: 21px;
  line-height: 1.22;
}

.arrangement-main b {
  border: 1px solid rgba(55, 185, 179, 0.24);
  border-radius: 999px;
  background: var(--academy-tiffany-soft);
  color: #167a75;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.arrangement-actions,
.goal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.academy-primary-button,
.academy-text-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.academy-primary-button {
  border: 0;
  background: var(--academy-green);
  color: #fff;
}

.academy-primary-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.academy-text-button {
  border: 1px solid rgba(18, 61, 53, 0.12);
  background: rgba(255, 253, 248, 0.74);
  color: var(--academy-green);
}

.sweat-preview {
  width: 100%;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 12px;
  color: inherit;
  text-align: left;
}

.sweat-vial {
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  place-items: center;
  border: 1px solid rgba(55, 185, 179, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(223, 245, 242, 0.72), rgba(255, 253, 248, 0.9));
  padding: 9px;
}

.sweat-vial i,
.sweat-bottle i {
  width: 9px;
  height: 14px;
  border-radius: 999px 999px 999px 2px;
  background: rgba(18, 61, 53, 0.12);
  transform: rotate(38deg);
}

.sweat-vial i.lit,
.sweat-bottle i.lit {
  background: linear-gradient(135deg, #9be7e2, var(--academy-tiffany));
  box-shadow: 0 0 12px rgba(55, 185, 179, 0.48);
}

.sweat-copy {
  display: grid;
  gap: 3px;
}

.sweat-copy strong {
  color: var(--academy-green);
  font-size: 25px;
  line-height: 1;
}

.sweat-copy small,
.academy-mini-row em,
.academy-store-strip em,
.goal-live-choice,
.goal-setup-card p,
.sweat-center p,
.witness-panel p {
  color: var(--academy-muted);
  font-size: 14px;
  line-height: 1.55;
}

.sweat-preview > b {
  color: var(--academy-gold);
  font-size: 13px;
}

.academy-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.academy-mini-row {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px;
  color: inherit;
  text-align: left;
}

.academy-mini-row strong {
  color: var(--academy-ink);
  font-size: 15px;
  line-height: 1.3;
}

.goal-progress {
  display: block;
  margin-top: 12px;
}

.goal-setup-card h2 {
  margin-top: 18px;
  font-size: 23px;
}

.goal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.goal-options button {
  min-height: 48px;
  border: 1px solid var(--academy-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--academy-ink);
  font-size: 16px;
  font-weight: 700;
}

.goal-options button.active {
  border-color: rgba(55, 185, 179, 0.65);
  background: var(--academy-tiffany-soft);
  color: #126d69;
}

.goal-live-choice {
  margin-top: 11px;
}

.goal-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid var(--academy-line);
  padding-top: 12px;
}

.goal-summary div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.goal-summary span {
  color: var(--academy-muted);
  font-size: 13px;
}

.goal-summary strong {
  color: var(--academy-ink);
  font-size: 15px;
  line-height: 1.35;
}

.academy-store-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.academy-store-strip strong {
  display: block;
  margin: 3px 0;
  color: var(--academy-ink);
  font-size: 16px;
}

.sweat-bottle {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(55, 185, 179, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 185, 179, 0.18), transparent 55%),
    rgba(255, 253, 248, 0.72);
  padding: 18px 14px;
}

.sweat-bottle i {
  width: 15px;
  height: 23px;
  justify-self: center;
}

.sweat-bottle strong {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: var(--academy-green);
  font-size: 17px;
  text-align: center;
}

.light-postcard {
  min-height: 196px;
  display: grid;
  align-content: center;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(184, 145, 85, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 12%, rgba(55, 185, 179, 0.16), transparent 28%),
    linear-gradient(135deg, #fffef9, #f4ead8);
  padding: 24px;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.24);
}

.light-postcard span {
  color: var(--academy-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.light-postcard strong {
  color: var(--academy-green);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
}

.light-postcard p,
.light-postcard em {
  margin: 0;
  color: var(--academy-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.postcard-input,
.witness-inputs label {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  color: var(--academy-muted);
  font-size: 13px;
  font-weight: 800;
}

.postcard-input input,
.witness-inputs input {
  min-height: 44px;
  border: 1px solid var(--academy-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--academy-ink);
  padding: 10px 12px;
  font-size: 16px;
}

.postcard-builder .academy-primary-button {
  width: 100%;
  margin-top: 13px;
}

.honor-line {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.honor-line b {
  color: var(--academy-green);
  font-size: 15px;
}

.honor-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.honor-benefits span {
  border: 1px solid rgba(184, 145, 85, 0.22);
  border-radius: 999px;
  background: #fff9ef;
  color: var(--academy-gold);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.witness-inputs {
  display: grid;
  gap: 0;
}

.practice-card-preview {
  min-height: 152px;
  display: grid;
  align-content: end;
  gap: 7px;
  margin-top: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 61, 53, 0.06), rgba(18, 61, 53, 0.78)),
    var(--image-url, url("./assets/visuals/course-flow.jpg")) center / cover;
  color: #fff;
  padding: 16px;
}

.practice-card-preview span,
.practice-card-preview em {
  color: rgba(255, 255, 255, 0.78);
}

.practice-card-preview strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.18;
}

.companion-mini,
.companion-seat-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 13px;
  border: 1px solid rgba(55, 185, 179, 0.2);
  border-radius: 13px;
  background: rgba(223, 245, 242, 0.48);
  padding: 12px;
}

.companion-mini strong,
.companion-seat-offer strong {
  display: block;
  margin-top: 3px;
  color: var(--academy-green);
  font-size: 16px;
}

.companion-seat-offer span,
.companion-seat-offer em,
.companion-mini em {
  display: block;
  color: var(--academy-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.companion-pay-actions {
  display: grid;
  gap: 8px;
}

.companion-pay-actions .academy-text-button {
  min-height: 36px;
  padding: 7px 12px;
  white-space: nowrap;
}

.practice-share-panel > .academy-primary-button {
  width: 100%;
  margin-top: 13px;
}

@media (max-width: 380px) {
  .client-view.active {
    padding-inline: 14px;
  }

  .academy-mini-grid,
  .goal-options {
    grid-template-columns: 1fr;
  }

  .arrangement-main,
  .companion-mini,
  .companion-seat-offer {
    grid-template-columns: 1fr;
  }

  .academy-credential > strong {
    font-size: 22px;
  }
}

.master-action-card {
  position: relative;
  width: 100%;
  min-height: 150px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 18px;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 6% 4%, rgba(237, 209, 151, 0.22), transparent 30%),
    linear-gradient(135deg, #163d35 0%, #082923 100%);
  color: #fff;
  padding: 20px 19px;
  text-align: left;
  box-shadow: 0 20px 46px rgba(18, 61, 53, 0.22);
}

.master-action-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(222, 196, 142, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.master-action-mark {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(222, 196, 142, 0.66);
  border-radius: 50%;
}

.master-action-mark::before,
.master-action-mark::after,
.master-action-mark i {
  content: "";
  position: absolute;
  background: rgba(222, 196, 142, 0.88);
  transform-origin: center;
}

.master-action-mark::before {
  width: 1px;
  height: 44px;
  transform: translate(-5px, 0) rotate(21deg);
}

.master-action-mark::after {
  width: 36px;
  height: 1px;
  transform: translate(1px, 21px) rotate(8deg);
}

.master-action-mark i {
  width: 1px;
  height: 38px;
  transform: translate(11px, 3px) rotate(-42deg);
}

.master-action-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}

.master-action-copy em,
.master-store-copy span,
.master-course-copy span {
  color: var(--master-gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.master-action-copy strong {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0.08em;
}

.master-action-copy small,
.master-action-copy b {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
}

.master-action-copy b {
  color: #e7c784;
}

.master-action-arrow {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  font-size: 46px;
  font-weight: 100;
}

.master-action-cta {
  position: absolute;
  right: 20px;
  bottom: 19px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.master-store-card,
.master-course-card {
  overflow: hidden;
  border: 1px solid var(--master-line);
  border-radius: 18px;
  background: var(--master-card);
  box-shadow: 0 13px 32px rgba(34, 30, 22, 0.07);
}

.master-store-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 42%;
}

.master-store-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 21px 0 21px 22px;
}

.master-store-copy h2,
.master-course-copy h2 {
  margin: 0;
  color: var(--master-green);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.master-store-copy p,
.master-course-copy p,
.master-course-copy em {
  margin: 0;
  color: var(--master-muted);
  font-size: 13px;
  line-height: 1.6;
}

.master-store-image {
  min-height: 170px;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 242, 0.9) 0%, rgba(255, 250, 242, 0.2) 35%, rgba(255, 250, 242, 0) 58%),
    var(--image-url);
  background-position: center;
  background-size: cover;
}

.master-soft-button {
  min-height: 38px;
  border: 1px solid rgba(40, 49, 42, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--master-ink);
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
}

.master-course-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 43% minmax(0, 1fr);
}

.master-course-image {
  min-height: 150px;
  background-image: var(--image-url);
  background-position: center;
  background-size: cover;
}

.master-course-copy {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 18px 18px 20px;
}

.master-course-copy h2 {
  font-size: 23px;
}

.master-course-copy em {
  color: var(--master-gold);
  font-style: normal;
  font-weight: 700;
}

.master-text-button {
  width: fit-content;
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--master-green);
  padding: 0;
  font-weight: 600;
}

.master-text-button::after {
  content: "  ›";
  color: var(--master-gold);
  font-size: 20px;
}

.client-tabs {
  position: sticky;
  bottom: 18px;
  z-index: 8;
  margin: 0 18px 18px;
  min-height: 68px;
  border: 1px solid rgba(40, 49, 42, 0.1);
  border-radius: 34px;
  background: rgba(255, 250, 242, 0.95);
  box-shadow: 0 18px 44px rgba(34, 30, 22, 0.14);
  backdrop-filter: blur(18px);
}

.tab {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 28px;
  color: rgba(23, 48, 39, 0.55);
  font-size: 13px;
}

.tab.active {
  border-color: transparent;
  background: var(--master-green);
  color: #fff;
}

.tab::before {
  display: block;
  color: currentColor;
  font-size: 19px;
  line-height: 1;
}

.tab[data-tab="home"]::before {
  content: "⌂";
}

.tab[data-tab="book"]::before {
  content: "◇";
}

.tab[data-tab="growth"]::before {
  content: "□";
}

.tab[data-tab="mine"]::before {
  content: "○";
}

@media (max-width: 520px) {
  .client-hero {
    min-height: 360px;
  }

  .academy-intro {
    margin-top: 88px;
  }

  .academy-intro h1 {
    font-size: 30px;
  }

  .master-home {
    gap: 16px;
  }

  .master-action-card {
    min-height: 148px;
    grid-template-columns: 78px minmax(0, 1fr) 16px;
    gap: 17px;
    padding: 19px 18px;
  }

  .master-action-mark {
    width: 70px;
    height: 70px;
  }

  .master-action-copy strong {
    font-size: 28px;
  }

  .master-store-card {
    min-height: 166px;
  }

  .master-store-image {
    min-height: 166px;
  }

  .master-course-card,
  .master-course-image {
    min-height: 148px;
  }
}

/* Final strict visual-master pass */
.client-hero {
  min-height: 330px;
  padding: 22px 20px 22px;
}

.hero-photo {
  background:
    linear-gradient(180deg, rgba(9, 13, 10, 0.03) 0%, rgba(9, 13, 10, 0.16) 46%, rgba(9, 13, 10, 0.48) 100%),
    url("./assets/visuals/home-hero-master.jpg") center 42% / cover no-repeat;
}

.academy-brand {
  gap: 14px;
}

.academy-brand img {
  display: none;
}

.academy-brand::before {
  content: "";
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(232, 207, 154, 0.88);
  border-radius: 50%;
  background:
    linear-gradient(120deg, transparent 43%, rgba(232, 207, 154, 0.92) 44% 45%, transparent 46%),
    linear-gradient(65deg, transparent 48%, rgba(232, 207, 154, 0.82) 49% 50%, transparent 51%),
    linear-gradient(10deg, transparent 48%, rgba(232, 207, 154, 0.74) 49% 50%, transparent 51%);
  box-shadow: inset 0 0 0 6px rgba(13, 38, 33, 0.18), inset 0 0 0 8px rgba(232, 207, 154, 0.22);
}

.academy-brand > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.academy-brand strong {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.22em;
}

.academy-brand span {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
}

.academy-intro {
  margin-top: 74px;
  max-width: 346px;
}

.academy-intro h1 {
  white-space: pre-line;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.academy-intro p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.13em;
}

.academy-intro::after {
  margin-top: -58px;
  width: 92px;
  transform: translateY(118px);
}

.client-view {
  padding: 16px 18px 106px;
}

.master-home {
  gap: 15px;
}

.master-action-card {
  min-height: 128px;
  grid-template-columns: 84px minmax(0, 1fr) 22px;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(18, 61, 53, 0.2);
}

.master-action-mark {
  width: 72px;
  height: 72px;
}

.master-action-copy {
  gap: 4px;
}

.master-action-copy em {
  font-size: 9px;
  letter-spacing: 0.28em;
}

.master-action-copy strong {
  font-size: 23px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.master-action-copy small {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
}

.master-action-copy b,
.master-action-cta {
  display: none;
}

.master-action-arrow {
  font-size: 38px;
  font-weight: 100;
}

.master-store-card {
  min-height: 156px;
  grid-template-columns: minmax(0, 1.28fr) 38%;
}

.master-store-copy {
  position: relative;
  padding: 27px 0 20px 70px;
  gap: 9px;
}

.master-store-copy span {
  position: absolute;
  left: 27px;
  top: 34px;
  width: 27px;
  height: 31px;
  color: transparent;
  background: var(--master-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 27s8.3-8.9 8.3-16.1A8.3 8.3 0 0 0 3.7 10.9C3.7 18.1 12 27 12 27Z' fill='black'/%3E%3Ccircle cx='12' cy='10.8' r='3.2' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 27s8.3-8.9 8.3-16.1A8.3 8.3 0 0 0 3.7 10.9C3.7 18.1 12 27 12 27Z' fill='black'/%3E%3Ccircle cx='12' cy='10.8' r='3.2' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
}

.master-store-copy h2 {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.master-store-copy p {
  font-size: 11px;
  line-height: 1.42;
}

.master-store-image {
  min-height: 156px;
}

.master-soft-button {
  align-self: flex-start;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(203, 190, 171, 0.34);
  box-shadow: 0 10px 25px rgba(47, 41, 31, 0.08);
  font-size: 11px;
}

.master-course-card,
.master-course-image {
  min-height: 124px;
}

.master-course-card {
  grid-template-columns: 42% minmax(0, 1fr);
}

.master-course-copy {
  padding: 18px 18px 14px;
  gap: 5px;
}

.master-course-copy span {
  display: none;
}

.master-course-copy h2 {
  font-size: 18px;
  font-weight: 300;
}

.master-course-copy p {
  font-size: 11px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.master-course-copy em {
  width: 44px;
  height: 1px;
  margin: 2px 0 1px;
  background: var(--master-gold);
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.master-text-button {
  margin-top: 0;
  color: rgba(23, 48, 39, 0.78);
  font-size: 11px;
  font-weight: 500;
}

.client-tabs {
  min-height: 62px;
  padding: 7px;
}

.tab {
  min-height: 46px;
  font-size: 11px;
}

.tab::before {
  content: "" !important;
  width: 21px;
  height: 21px;
  background: currentColor;
  opacity: 0.88;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.tab[data-tab="home"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 11.5 12 4l8.5 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 11.5 12 4l8.5 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3C/svg%3E");
}

.tab[data-tab="book"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5.5h9a3 3 0 0 1 3 3V19H9a3 3 0 0 0-3 3V5.5Z'/%3E%3Cpath d='M6 5.5A3 3 0 0 1 9 3h9v16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5.5h9a3 3 0 0 1 3 3V19H9a3 3 0 0 0-3 3V5.5Z'/%3E%3Cpath d='M6 5.5A3 3 0 0 1 9 3h9v16'/%3E%3C/svg%3E");
}

.tab[data-tab="growth"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10.5h16v9H4z'/%3E%3Cpath d='M6 10.5V7a6 6 0 0 1 12 0v3.5'/%3E%3Cpath d='M8.5 14h7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10.5h16v9H4z'/%3E%3Cpath d='M6 10.5V7a6 6 0 0 1 12 0v3.5'/%3E%3Cpath d='M8.5 14h7'/%3E%3C/svg%3E");
}

.tab[data-tab="mine"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E");
}

@media (max-width: 520px) {
  .client-hero {
    min-height: 330px;
  }

  .academy-intro {
    margin-top: 70px;
  }

  .academy-intro h1 {
    font-size: 24px;
  }

  .academy-intro p {
    font-size: 12px;
  }

  .master-home {
    gap: 14px;
  }

  .master-action-card {
    min-height: 126px;
    grid-template-columns: 78px minmax(0, 1fr) 18px;
    padding: 17px 18px;
  }

  .master-action-mark {
    width: 68px;
    height: 68px;
  }

  .master-action-copy strong {
    font-size: 22px;
  }

  .master-store-card {
    min-height: 152px;
  }

  .master-store-image {
    min-height: 152px;
  }

  .master-course-card,
  .master-course-image {
    min-height: 124px;
  }
}

@media (max-width: 360px) {
  .client-view {
    padding-left: 14px;
    padding-right: 14px;
  }

  .academy-brand::before {
    width: 50px;
    height: 50px;
  }

  .academy-brand strong {
    font-size: 15px;
  }

  .academy-intro h1 {
    font-size: 22px;
  }

  .academy-intro p {
    font-size: 11px;
  }

  .master-action-card {
    grid-template-columns: 58px minmax(0, 1fr) 14px;
    gap: 12px;
    min-height: 118px;
    padding: 15px 14px;
  }

  .master-action-mark {
    width: 54px;
    height: 54px;
  }

  .master-action-mark::before {
    height: 35px;
  }

  .master-action-mark::after {
    width: 28px;
    transform: translate(1px, 17px) rotate(8deg);
  }

  .master-action-mark i {
    height: 31px;
    transform: translate(8px, 2px) rotate(-42deg);
  }

  .master-action-copy strong {
    font-size: 20px;
    white-space: nowrap;
  }

  .master-action-copy small {
    font-size: 10px;
    line-height: 1.35;
  }

  .master-action-arrow {
    font-size: 34px;
  }

  .master-store-copy {
    padding-left: 58px;
  }

  .master-store-copy span {
    left: 22px;
  }

  .master-store-copy h2 {
    font-size: 17px;
  }
}

/* Motherboard exact type scale: keep the first screen closer to the visual mockup, not app-prototype sizing. */
.academy-brand strong {
  font-size: 16px;
  letter-spacing: 0.24em;
}

.academy-brand span {
  font-size: 8px;
  letter-spacing: 0.28em;
}

.academy-intro h1 {
  font-size: 21px;
  line-height: 1.56;
  letter-spacing: 0.13em;
}

.academy-intro p {
  font-size: 11px;
  letter-spacing: 0.16em;
}

.master-action-card {
  min-height: 122px;
}

.master-action-mark {
  width: 64px;
  height: 64px;
}

.master-action-copy em {
  font-size: 8px;
  letter-spacing: 0.3em;
}

.master-action-copy strong {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.master-action-copy small {
  font-size: 10px;
  line-height: 1.5;
}

.master-action-arrow {
  font-size: 34px;
}

.master-store-copy h2 {
  font-size: 17px;
  letter-spacing: 0.05em;
}

.master-store-copy p,
.master-soft-button {
  font-size: 10px;
}

.master-course-copy h2 {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.master-course-copy p,
.master-text-button {
  font-size: 10px;
}

.client-tabs {
  min-height: 58px;
}

.tab {
  min-height: 42px;
  font-size: 10px;
}

.tab::before {
  width: 19px;
  height: 19px;
}

@media (max-width: 520px) {
  .academy-intro h1 {
    font-size: 20px;
  }

  .academy-intro p {
    font-size: 10px;
  }

  .master-action-copy strong {
    font-size: 19px;
  }
}

@media (max-width: 360px) {
  .academy-brand strong {
    font-size: 13px;
  }

  .academy-brand span {
    font-size: 7px;
  }

  .academy-intro h1 {
    font-size: 18px;
  }

  .academy-intro p {
    font-size: 9px;
  }

  .master-action-copy strong {
    font-size: 17px;
  }

  .master-action-copy small {
    font-size: 9px;
  }

  .master-store-copy h2 {
    font-size: 15px;
  }

  .master-course-copy h2 {
    font-size: 14px;
  }
}

/* Light journey redesign */
:root {
  --master-bg: #edf5f4;
  --master-card: #ffffff;
  --master-green: #173f45;
  --master-green-deep: #0b2c32;
  --master-gold: #b5813e;
  --master-ink: #14272d;
  --master-muted: #64737a;
  --master-line: rgba(20, 39, 45, 0.12);
  --journey-rose: #b84c7b;
  --journey-blue: #159bd3;
}

.phone-frame {
  background: #f4f8f8;
}

.client-view.active {
  gap: 14px;
}

.light-home,
.journey-section,
.mine-journey {
  display: grid;
  gap: 14px;
}

.current-quest,
.path-hero,
.photo-quest {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 45, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 37, 45, 0.9), rgba(16, 84, 101, 0.72)),
    var(--image-url) center / cover;
  color: #fff;
  box-shadow: 0 16px 38px rgba(15, 52, 61, 0.15);
}

.current-quest {
  min-height: 238px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 20px;
}

.current-quest-copy,
.photo-quest-copy {
  display: grid;
  gap: 9px;
}

.current-quest span,
.path-hero span,
.photo-quest span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.current-quest h2,
.path-hero h2,
.photo-quest h2 {
  margin: 0;
  color: #fff;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.current-quest p,
.path-hero p,
.photo-quest p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.quest-progress {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 11px;
  backdrop-filter: blur(10px);
}

.quest-progress div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quest-progress span {
  letter-spacing: 0;
}

.quest-progress b {
  color: #fff;
  font-size: 18px;
}

.quest-progress i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.quest-progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #e2bb72, #e58aae);
}

.light-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.light-stats article,
.journey-section {
  border: 1px solid var(--master-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 39, 45, 0.07);
}

.light-stats article {
  min-width: 0;
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
}

.light-stats span,
.light-stats small {
  color: var(--master-muted);
  font-size: 11px;
  line-height: 1.35;
}

.light-stats strong {
  color: var(--master-green);
  font-size: 24px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.journey-section {
  padding: 16px;
}

.journey-track {
  display: grid;
  gap: 10px;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(20, 39, 45, 0.1);
  border-radius: 12px;
  background: #f9fbfb;
  padding: 13px;
}

.journey-step.featured {
  border-color: rgba(184, 76, 123, 0.34);
  background: linear-gradient(135deg, #fff, #fff7fb);
}

.journey-step.active {
  border-color: rgba(21, 155, 211, 0.36);
  background: #f1fbff;
}

.journey-step.completed {
  border-color: rgba(50, 125, 98, 0.24);
}

.journey-step.locked {
  opacity: 0.72;
}

.journey-step-index {
  width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 12px;
  background: #e6f1f2;
  color: var(--master-green);
  padding: 7px 4px;
  text-align: center;
}

.journey-step.active .journey-step-index {
  background: var(--journey-blue);
  color: #fff;
}

.journey-step.featured.active .journey-step-index,
.journey-step.featured .journey-step-index {
  background: var(--journey-rose);
  color: #fff;
}

.journey-step-index span,
.journey-step-index b {
  display: block;
}

.journey-step-index span {
  font-size: 15px;
  font-weight: 900;
}

.journey-step-index b {
  font-size: 10px;
  line-height: 1.2;
}

.journey-step-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.journey-step-copy em,
.journey-step-copy small {
  color: var(--master-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.journey-step-copy h3 {
  margin: 0;
  color: var(--master-ink);
  font-size: 16px;
  line-height: 1.25;
}

.journey-step-copy p {
  margin: 0;
  color: var(--master-muted);
  font-size: 12px;
  line-height: 1.55;
}

.journey-step-copy small {
  color: var(--master-gold);
}

.journey-step .small-button {
  grid-column: 2;
  justify-self: start;
  min-height: 32px;
  border-radius: 999px;
  font-size: 12px;
}

.journey-more {
  min-height: 38px;
  border: 1px dashed rgba(21, 155, 211, 0.38);
  border-radius: 999px;
  background: #f2fbff;
  color: var(--brand-dark);
  font-weight: 800;
}

.photo-quest {
  min-height: 202px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(6, 15, 19, 0.08), rgba(6, 15, 19, 0.82)),
    var(--image-url) center 42% / cover;
}

.photo-quest.expanded {
  min-height: 240px;
}

.photo-quest h2 {
  font-size: 26px;
}

.photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.photo-tags b {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 5px 9px;
  font-size: 11px;
}

.path-hero {
  min-height: 210px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 10px;
  padding: 18px;
}

.path-hero h2 {
  font-size: 27px;
}

.full-path {
  box-shadow: none;
}

.full-path .journey-track {
  gap: 11px;
}

.light-map {
  display: grid;
  gap: 10px;
}

.mine-journey {
  box-shadow: 0 10px 28px rgba(20, 39, 45, 0.07);
}

.member-card {
  background:
    linear-gradient(135deg, rgba(20, 95, 108, 0.96), rgba(184, 76, 123, 0.84)),
    #145f6c;
  color: #fff;
}

.member-card span,
.member-card p {
  color: rgba(255, 255, 255, 0.78);
}

.member-card strong {
  color: #fff;
}

.tab[data-tab="growth"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19c4.8-7.6 9-11.3 16-14'/%3E%3Cpath d='M8.2 17.2 4 19l.8-4.6'/%3E%3Cpath d='M14 5h6v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19c4.8-7.6 9-11.3 16-14'/%3E%3Cpath d='M8.2 17.2 4 19l.8-4.6'/%3E%3Cpath d='M14 5h6v6'/%3E%3C/svg%3E");
}

@media (max-width: 520px) {
  .current-quest {
    min-height: 226px;
    padding: 18px;
  }

  .current-quest h2,
  .path-hero h2 {
    font-size: 25px;
  }

  .light-stats article {
    padding: 10px;
  }

  .light-stats strong {
    font-size: 20px;
  }

  .journey-section {
    padding: 14px;
  }

  .journey-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .journey-step-index {
    width: 52px;
    min-height: 52px;
  }

  .journey-step-copy h3 {
    font-size: 15px;
  }

  .photo-quest h2 {
    font-size: 23px;
  }
}

@media (max-width: 360px) {
  .light-stats {
    grid-template-columns: 1fr;
  }

  .current-quest h2,
  .path-hero h2 {
    font-size: 22px;
  }

  .journey-step {
    grid-template-columns: 1fr;
  }

  .journey-step-index {
    width: 100%;
    min-height: 42px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 8px 10px;
  }

  .journey-step .small-button {
    grid-column: 1;
  }
}

/* Return the member landing page to the approved visual master, with the live transparent HomeLight logo. */
:root {
  --master-bg: #fbf7ef;
  --master-card: #fffaf2;
  --master-green: #123d35;
  --master-green-deep: #082923;
  --master-gold: #b89155;
  --master-ink: #173027;
  --master-muted: #746d62;
  --master-line: rgba(40, 49, 42, 0.11);
}

.phone-frame {
  background: var(--master-bg);
}

.client-view.active {
  gap: 0;
}

.academy-brand {
  width: fit-content;
  max-width: min(218px, 56vw);
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.academy-brand::before,
.academy-brand > div {
  display: none;
}

.academy-brand img {
  display: block;
  width: min(184px, 47vw);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
}

.master-home {
  display: grid;
  gap: 17px;
}

/* Actual final academy override: compact logo header, no oversized hero image. */
body .client-shell {
  background:
    radial-gradient(circle at 14% 0%, rgba(55, 185, 179, 0.12), transparent 28%),
    linear-gradient(145deg, #eef7f5 0%, #fbf3e7 58%, #f7fbf8 100%);
}

body .phone-frame {
  background: var(--academy-bg);
}

body .client-hero {
  min-height: 74px !important;
  height: 74px !important;
  max-height: 74px !important;
  padding: 13px 18px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--academy-bg) !important;
}

body .client-hero .hero-photo,
body .client-hero::after,
body .hero-photo::after,
body .academy-intro,
body .hero-card {
  display: none !important;
}

body .hero-top {
  align-items: center;
}

body .academy-brand {
  width: fit-content;
  max-width: min(132px, 34vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .academy-brand::before,
body .academy-brand > div {
  display: none !important;
}

body .academy-brand img {
  display: block;
  width: min(128px, 34vw);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: none;
}

body .icon-button {
  width: 34px;
  height: 34px;
  border-color: rgba(18, 61, 53, 0.1);
  background: rgba(255, 253, 248, 0.76);
  color: var(--academy-green);
  font-size: 15px;
}

body .client-view.active {
  padding: 12px 18px 96px;
}

body .academy-credential {
  min-height: 118px;
  border-radius: 13px;
  padding: 13px 15px 12px;
}

body .academy-credential > strong {
  font-size: 24px;
}

body .growth-dossier strong,
body .academy-mini-row strong,
body .academy-store-strip strong {
  font-size: 16px;
}

body .academy-section-head h2,
body .goal-setup-card h2 {
  font-size: 22px;
}

body .arrangement-main strong {
  font-size: 21px;
}

body .goal-options button {
  font-size: 16px;
}

@media (max-width: 390px) {
  body .client-hero {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding-inline: 15px !important;
  }

  body .client-view.active {
    padding-inline: 15px;
  }

  body .academy-brand,
  body .academy-brand img {
    max-width: min(118px, 34vw);
    width: min(118px, 34vw);
  }

  body .academy-credential > strong {
    font-size: 22px;
  }

  body .credential-metrics article + article {
    padding-left: 8px;
  }

  body .growth-dossier,
  body .sweat-preview,
  body .academy-mini-grid,
  body .arrangement-main,
  body .companion-mini,
  body .companion-seat-offer {
    grid-template-columns: 1fr;
  }

  body .sweat-preview > b {
    justify-self: start;
  }
}

/* 2026-06-19 final light-academy direction.
   Source references: recovered-latest-effects/16, 18, 19, 20-25. */
:root {
  --hl-bg: #f8f1e6;
  --hl-paper: #fffdf8;
  --hl-paper-soft: rgba(255, 253, 248, 0.74);
  --hl-ink: #1d2925;
  --hl-green: #123d35;
  --hl-teal: #178f8d;
  --hl-teal-soft: #e5f5f2;
  --hl-gold: #c79c57;
  --hl-muted: #797168;
  --hl-line: rgba(38, 45, 39, 0.12);
  --hl-gold-line: rgba(199, 156, 87, 0.36);
  --hl-shadow: 0 18px 44px rgba(44, 39, 31, 0.08);
}

body {
  background: #eee7db;
  color: var(--hl-ink);
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body .client-shell {
  padding: 0;
  background:
    linear-gradient(180deg, #f6efe4 0%, #fffaf1 38%, #edf7f5 100%);
}

body .phone-frame {
  width: min(430px, 100%);
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: var(--hl-bg);
  box-shadow: none;
}

body .client-hero {
  height: 198px !important;
  min-height: 198px !important;
  max-height: 198px !important;
  padding: 38px 26px 0 !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.62) 0%, rgba(255, 248, 235, 0.9) 72%, var(--hl-bg) 100%) !important;
}

body.client-type-prospect .client-hero,
body.client-type-visitor .client-hero {
  height: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;
}

body.client-type-prospect .client-hero::before,
body.client-type-visitor .client-hero::before {
  content: "‹";
  position: absolute;
  left: 24px;
  top: 34px;
  z-index: 3;
  color: var(--hl-ink);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
}

body .client-hero .hero-photo {
  display: block !important;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 252, 243, 0.88) 42%, rgba(242, 218, 174, 0.18) 100%),
    linear-gradient(165deg, transparent 0 48%, rgba(255, 255, 255, 0.72) 48% 61%, transparent 61%),
    url("./assets/visuals/client-hero-premium.jpg") center 38% / cover no-repeat;
  opacity: 0.38;
}

body .client-hero .hero-photo::after {
  display: block !important;
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(255, 255, 255, 0.52) 62% 64%, transparent 64%),
    linear-gradient(105deg, transparent 0 58%, rgba(255, 241, 209, 0.44) 58% 59%, transparent 59%);
  opacity: 0.62;
}

body .hero-top {
  position: relative;
  z-index: 2;
  align-items: flex-start;
}

body.client-type-prospect .hero-top,
body.client-type-visitor .hero-top {
  justify-content: center;
}

body.client-type-prospect .member-greeting,
body.client-type-visitor .member-greeting {
  display: none;
}

body.client-type-prospect .academy-brand,
body.client-type-visitor .academy-brand {
  margin: 0 auto;
}

body .academy-brand,
body .academy-brand img {
  width: 124px !important;
  max-width: 124px !important;
}

body .academy-brand img {
  filter: hue-rotate(-154deg) saturate(0.72) brightness(1.04);
}

body .member-greeting {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: var(--hl-ink);
  text-align: right;
}

body .member-greeting strong {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

body .member-greeting span {
  color: var(--hl-ink);
  font-size: 14px;
  letter-spacing: 0.08em;
}

body .reset-ghost {
  position: absolute;
  right: 8px;
  top: -26px;
  width: 24px;
  height: 24px;
  opacity: 0;
}

body .member-mode-switch,
body.demo-mode .member-mode-switch {
  display: none !important;
}

body .client-view.active {
  padding: 0 22px 104px;
  background: var(--hl-bg);
}

body.client-type-prospect .client-view.active,
body.client-type-visitor .client-view.active {
  padding-top: 0;
  padding-bottom: 34px;
}

body.client-type-prospect .client-tabs,
body.client-type-visitor .client-tabs {
  display: none;
}

body .academy-home-stack,
body .academy-growth-stack {
  display: grid;
  gap: 18px;
  padding-top: 0 !important;
}

body.client-type-member .academy-home-stack {
  margin-top: 0;
}

body.client-type-member #homeView.client-view.active {
  margin-top: -74px;
}

body .academy-credential {
  display: grid;
  grid-template-columns: 1.62fr 0.62fr 0.55fr 0.62fr;
  grid-template-rows: auto 1fr;
  min-height: 154px;
  padding: 20px 22px 16px;
  overflow: hidden;
  border: 1px solid var(--hl-gold-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.94)),
    var(--hl-paper);
  box-shadow: 0 18px 42px rgba(43, 34, 21, 0.12);
}

body .academy-credential::before {
  inset: 11px;
  border-color: rgba(199, 156, 87, 0.44);
  border-radius: 4px;
}

body .academy-credential::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(199, 156, 87, 0.8), rgba(199, 156, 87, 0.8)) 22px 70px / 44px 1px no-repeat,
    linear-gradient(135deg, transparent 0 18px, rgba(199, 156, 87, 0.38) 18px 19px, transparent 19px) left top / 42px 42px no-repeat,
    linear-gradient(225deg, transparent 0 18px, rgba(199, 156, 87, 0.38) 18px 19px, transparent 19px) right top / 42px 42px no-repeat,
    linear-gradient(45deg, transparent 0 18px, rgba(199, 156, 87, 0.38) 18px 19px, transparent 19px) left bottom / 42px 42px no-repeat,
    linear-gradient(315deg, transparent 0 18px, rgba(199, 156, 87, 0.38) 18px 19px, transparent 19px) right bottom / 42px 42px no-repeat;
}

body .credential-seal {
  position: absolute;
  right: 26px;
  top: 31px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 156, 87, 0.26);
  border-radius: 50%;
  color: rgba(199, 156, 87, 0.4);
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1;
}

body .credential-seal::before,
body .credential-seal::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(199, 156, 87, 0.12);
}

body .credential-seal::after {
  inset: 9px;
}

body .credential-head,
body .academy-section-head,
body .goal-topline {
  position: relative;
  z-index: 2;
}

body .credential-head {
  grid-column: 1 / -1;
  align-items: center;
}

body .credential-head span {
  color: var(--hl-ink);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

body .academy-credential .credential-head span {
  font-size: 0;
}

body .academy-credential .credential-head span::before {
  content: "一束光学员证";
  color: var(--hl-ink);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

body .prospect-credential .credential-head span::before {
  content: "一束光预备学员";
}

body .credential-head b {
  color: var(--hl-muted);
  font-size: 12px;
}

body .credential-id-row {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: end;
  margin-top: 27px;
}

body .credential-id-row article {
  display: grid;
  gap: 10px;
}

body .credential-id-row span {
  color: var(--hl-muted);
  font-size: 13px;
  font-weight: 700;
}

body .credential-id-row strong {
  color: var(--hl-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

body .academy-credential > strong {
  display: none;
}

body .credential-metrics {
  position: relative;
  z-index: 2;
  grid-column: 2 / -1;
  align-self: end;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

body .credential-metrics article {
  gap: 7px;
  padding-left: 10px;
  border-left: 1px solid rgba(38, 45, 39, 0.12);
}

body .credential-metrics article:first-child {
  border-left: 0;
  padding-left: 0;
}

body .credential-metrics span {
  color: var(--hl-muted);
  font-size: 12px;
}

body .credential-metrics b {
  color: var(--hl-ink);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

body .credential-metrics b small {
  display: block;
  margin: 3px 0 0;
  color: var(--hl-teal);
  font-size: 12px;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body .growth-dossier {
  grid-template-columns: 28px minmax(0, 1fr) 72px;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--hl-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 0 17px;
}

body .dossier-mark {
  color: var(--hl-teal);
  font-size: 30px;
  line-height: 1;
}

body .growth-dossier span {
  color: var(--hl-ink);
  font-size: 17px;
  font-weight: 500;
}

body .growth-dossier strong {
  margin-top: 0;
  color: var(--hl-ink);
  font-size: 15px;
  font-weight: 500;
}

body .growth-dossier em {
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

body .dossier-progress b {
  color: var(--hl-teal);
  font-size: 22px;
  font-weight: 500;
}

body .dossier-progress i {
  height: 4px;
  background: rgba(38, 45, 39, 0.12);
}

body .dossier-progress em {
  background: var(--hl-teal);
}

body .arrangement-panel {
  border: 0;
  border-bottom: 1px solid var(--hl-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 21px 0 20px;
}

body .academy-section-head span,
body .goal-topline span {
  color: var(--hl-ink);
  font-size: 12px;
  letter-spacing: 0.18em;
}

body .arrangement-panel .academy-section-head span {
  display: none;
}

body .academy-section-head h2,
body .goal-setup-card h2 {
  color: var(--hl-ink);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.22;
}

body .academy-section-head h2::after,
body .goal-setup-card h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 14px;
  background: var(--hl-teal);
}

body .arrangement-main {
  grid-template-columns: 64px 118px minmax(0, 1fr) auto;
  gap: 15px;
  margin-top: 25px;
  border: 0;
  padding: 0;
}

body .arrangement-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 143, 141, 0.09);
  color: var(--hl-teal);
  font-size: 0;
}

body .arrangement-icon::before {
  content: "";
  width: 22px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) 50% 7px / 14px 2px no-repeat;
}

body .arrangement-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--hl-teal);
  border-bottom: 2px solid var(--hl-teal);
  transform: translate(2px, 2px) rotate(38deg);
}

body .arrangement-time span {
  display: block;
  color: var(--hl-ink);
  font-size: 20px;
  line-height: 52px;
  white-space: nowrap;
}

body .arrangement-main strong {
  color: var(--hl-ink);
  font-size: 26px;
  font-weight: 500;
  white-space: nowrap;
}

body .arrangement-main em,
body .arrangement-note {
  color: var(--hl-muted);
  font-size: 14px;
}

body .arrangement-note {
  margin: 20px 0 0;
  line-height: 1.8;
}

body .academy-outline-button {
  min-height: 38px;
  border: 1px solid var(--hl-teal);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--hl-teal);
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

body .arrangement-actions {
  display: none;
}

body .prospect-arrangement .arrangement-actions {
  display: flex;
}

body .prospect-arrangement .arrangement-main {
  grid-template-columns: minmax(0, 1fr) auto;
}

body .academy-mini-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

body .academy-mini-row {
  position: relative;
  min-height: 84px;
  border: 0;
  border-bottom: 1px solid var(--hl-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0 18px 56px;
}

body .academy-mini-row::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(23, 143, 141, 0.08);
}

body .academy-mini-row span {
  color: var(--hl-ink);
  font-size: 19px;
  font-weight: 500;
}

body .academy-mini-row strong {
  color: var(--hl-muted);
  font-size: 14px;
  font-weight: 400;
}

body .academy-mini-row em {
  color: var(--hl-teal);
  font-size: 13px;
}

body .academy-mini-row > b,
body .sweat-preview > b {
  justify-self: end;
}

body .sweat-home-entry strong {
  color: var(--hl-teal);
}

body .academy-primary-button,
body .academy-text-button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
}

body .academy-primary-button {
  background: linear-gradient(135deg, #1f5b4c, var(--hl-green));
}

body .academy-text-button {
  color: var(--hl-teal);
}

body.client-type-prospect .academy-home-stack,
body.client-type-visitor .academy-home-stack {
  margin-top: -12px;
}

body.client-type-prospect .goal-setup-card,
body.client-type-visitor .goal-setup-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 2px 22px;
}

body.client-type-prospect .goal-topline,
body.client-type-visitor .goal-topline {
  align-items: center;
}

body.client-type-prospect .goal-topline span,
body.client-type-visitor .goal-topline span {
  color: var(--hl-teal);
  font-size: 24px;
  letter-spacing: 0.08em;
}

body.client-type-prospect .goal-progress,
body.client-type-visitor .goal-progress {
  margin-top: 28px;
  height: 4px;
  background: rgba(38, 45, 39, 0.12);
}

body.client-type-prospect .goal-setup-card h2,
body.client-type-visitor .goal-setup-card h2 {
  margin-top: 48px;
  font-size: 32px;
  line-height: 1.24;
}

body .goal-options {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

body .goal-options button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-color: rgba(38, 45, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--hl-ink);
  font-size: 21px;
  font-weight: 500;
  text-align: left;
  padding: 0 26px 0 70px;
}

body .goal-options button::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(199, 156, 87, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(112deg, transparent 0 48%, rgba(199, 156, 87, 0.82) 49% 51%, transparent 52%),
    linear-gradient(68deg, transparent 0 48%, rgba(199, 156, 87, 0.38) 49% 51%, transparent 52%);
  opacity: 0.78;
  transform: translateY(-50%);
}

body .goal-options button::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(38, 45, 39, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
}

body .goal-options button.active {
  border-color: rgba(23, 143, 141, 0.58);
  background: rgba(229, 245, 242, 0.58);
  color: var(--hl-teal);
  box-shadow: inset 0 0 0 1px rgba(23, 143, 141, 0.2);
}

body .goal-options button.active::before {
  border-color: rgba(23, 143, 141, 0.5);
  background:
    radial-gradient(circle at 50% 56%, rgba(23, 143, 141, 0.16), transparent 48%),
    linear-gradient(112deg, transparent 0 48%, rgba(23, 143, 141, 0.86) 49% 51%, transparent 52%);
}

body .goal-options button.active::after {
  border-color: rgba(23, 143, 141, 0.58);
  box-shadow: inset 0 0 0 6px rgba(23, 143, 141, 0.88);
}

body .goal-live-choice {
  margin-top: 22px;
  border: 1px solid rgba(38, 45, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  padding: 14px 16px;
  color: var(--hl-muted);
  font-size: 16px;
}

body .goal-actions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

body .goal-actions .academy-primary-button {
  width: 100%;
}

body .prospect-arrangement {
  border: 1px solid var(--hl-line);
  border-radius: 18px;
  background: var(--hl-paper-soft);
  padding: 18px;
}

body .academy-store-strip {
  border: 0;
  border-top: 1px solid var(--hl-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 17px 0;
}

body .academy-growth-stack {
  padding-top: 18px;
}

body .academy-growth-stack .page-title {
  display: none;
}

body .sweat-center,
body .postcard-builder,
body .honor-panel,
body .witness-panel,
body .practice-share-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 12px 0 24px;
}

body .sweat-center .academy-section-head {
  justify-content: center;
  text-align: center;
}

body .sweat-center .academy-section-head span,
body .sweat-center .academy-section-head small {
  display: none;
}

body .sweat-center .academy-section-head h2 {
  font-size: 30px;
}

body .sweat-center .academy-section-head h2::after {
  display: none;
}

body .sweat-ritual {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

body .sweat-mantra {
  margin: 0;
  color: var(--hl-muted);
  font-size: 15px;
  line-height: 1.9;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
}

body .sweat-bottle {
  position: relative;
  width: 236px;
  height: 276px;
  justify-self: center;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(23, 143, 141, 0.18);
  border-radius: 48% 48% 44% 44% / 36% 36% 54% 54%;
  background:
    radial-gradient(circle at 50% 72%, rgba(23, 143, 141, 0.16), transparent 42%),
    radial-gradient(circle at 44% 28%, rgba(255, 255, 255, 0.86), transparent 34%),
    rgba(255, 255, 255, 0.33);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.88),
    inset 0 -24px 38px rgba(23, 143, 141, 0.08),
    0 22px 46px rgba(30, 45, 40, 0.08);
}

body .sweat-bottle::before {
  content: "";
  position: absolute;
  top: -8px;
  width: 94px;
  height: 28px;
  border: 1px solid rgba(38, 45, 39, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

body .sweat-bottle strong {
  margin: 0;
  color: var(--hl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
}

body .sweat-bottle strong small {
  margin-left: 8px;
  font-size: 28px;
}

body .sweat-bottle span {
  position: absolute;
  top: 166px;
  color: var(--hl-muted);
  font-size: 15px;
}

body .sweat-orbit {
  position: absolute;
  inset: 54px 34px 62px;
  border: 1px solid rgba(199, 156, 87, 0.24);
  border-radius: 50%;
}

body .sweat-orbit i {
  position: absolute;
  width: 18px;
  height: 27px;
  border: 1px solid rgba(199, 156, 87, 0.28);
  border-radius: 999px 999px 999px 4px;
  background: rgba(255, 253, 248, 0.46);
  transform: rotate(38deg);
}

body .sweat-orbit i.lit {
  border-color: rgba(23, 143, 141, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(118, 205, 199, 0.72));
  box-shadow: 0 0 16px rgba(23, 143, 141, 0.28);
}

body .sweat-orbit i:nth-child(1) { left: 22px; top: 26px; }
body .sweat-orbit i:nth-child(2) { left: 75px; top: 5px; }
body .sweat-orbit i:nth-child(3) { right: 23px; top: 25px; }
body .sweat-orbit i:nth-child(4) { right: 5px; top: 78px; }
body .sweat-orbit i:nth-child(5) { right: 24px; bottom: 21px; }
body .sweat-orbit i:nth-child(6) { left: 76px; bottom: 1px; }
body .sweat-orbit i:nth-child(7) { left: 24px; bottom: 20px; }
body .sweat-orbit i:nth-child(8) { left: 4px; top: 78px; }

body .sweat-needed {
  margin: 26px 0 0;
  color: var(--hl-ink);
  font-size: 24px;
  text-align: center;
}

body .sweat-rule-list {
  display: grid;
  gap: 0;
  margin: 32px 0 22px;
  border-top: 1px solid var(--hl-line);
}

body .sweat-rule-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-bottom: 1px solid var(--hl-line);
  padding: 15px 0 15px 62px;
}

body .sweat-rule-list span {
  color: var(--hl-ink);
  font-size: 17px;
}

body .sweat-rule-list strong {
  color: var(--hl-muted);
  font-size: 14px;
  font-weight: 400;
}

body .light-postcard {
  min-height: 222px;
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(255, 253, 248, 0.96), rgba(246, 233, 206, 0.84)),
    url("./assets/visuals/gift-ritual.jpg") right 12% / 44% auto no-repeat;
}

body .light-postcard strong,
body .practice-card-preview strong {
  font-size: 27px;
  font-weight: 500;
}

body .honor-panel,
body .witness-panel,
body .practice-share-panel {
  border-top: 1px solid var(--hl-line);
}

body .practice-card-preview {
  min-height: 246px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 35, 30, 0.08), rgba(18, 35, 30, 0.74)),
    url("./assets/visuals/course-flow.jpg") center / cover no-repeat;
}

body .client-tabs {
  position: relative !important;
  inset: auto !important;
  order: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  min-height: 72px;
  margin: 0 !important;
  padding: 7px 18px 12px;
  border-top: 1px solid rgba(38, 45, 39, 0.08);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 !important;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 -10px 28px rgba(31, 37, 33, 0.06);
  backdrop-filter: blur(16px);
}

body .tab {
  min-height: 50px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4d514f;
  font-size: 15px;
  font-weight: 400;
}

body .tab.active {
  background: transparent !important;
  color: var(--hl-teal);
}

@media (max-width: 390px) {
  body .client-hero {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 34px 22px 0 !important;
  }

  body.client-type-prospect .client-hero,
  body.client-type-visitor .client-hero {
    height: 106px !important;
    min-height: 106px !important;
    max-height: 106px !important;
  }

  body.client-type-prospect .client-hero::before,
  body.client-type-visitor .client-hero::before {
    top: 31px;
  }

  body .client-view.active {
    padding-inline: 20px;
  }

  body .credential-head span {
    font-size: 22px;
  }

  body .credential-id-row strong {
    font-size: 22px;
  }

  body .credential-metrics b {
    font-size: 17px;
  }

  body .arrangement-main {
    grid-template-columns: 52px 92px minmax(0, 1fr);
    gap: 11px;
  }

  body .arrangement-main .academy-outline-button {
    grid-column: 3;
    width: fit-content;
  }

  body .arrangement-time span {
    font-size: 17px;
  }

  body .arrangement-main strong {
    font-size: 21px;
  }

  body .goal-options button {
    font-size: 20px;
    padding-left: 58px;
  }

  body .sweat-bottle {
    width: 218px;
    height: 260px;
  }
}

/* Final ordering lock: keep the strict hl screens above all legacy shell rules. */
body.client-type-member .client-hero,
body.client-type-prospect .client-hero,
body.client-type-visitor .client-hero {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
}

body .phone-frame {
  width: min(430px, 100%) !important;
  height: 100vh !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
}

body.client-type-member #homeView.client-view.active,
body.client-type-prospect #homeView.client-view.active,
body.client-type-visitor #homeView.client-view.active,
body.client-type-member #growthView.client-view.active {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  background: #fffaf2 !important;
}

body .client-tabs {
  position: relative !important;
  inset: auto !important;
  order: 4 !important;
  min-height: 86px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 10px 16px 14px !important;
  border: 0 !important;
  border-top: 1px solid rgba(32, 40, 35, 0.12) !important;
  border-radius: 0 !important;
  background: rgba(255, 254, 250, 0.96) !important;
  box-shadow: none !important;
}

body .tab {
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4d514f !important;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

body .tab.active {
  color: #0a8b8b !important;
}

/* Strict rebuild corrections after screenshot comparison. */
body.client-type-prospect .client-tabs,
body.client-type-visitor .client-tabs {
  display: none !important;
}

body .hl-light-hero {
  min-height: 264px !important;
}

body .hl-credential {
  min-height: 142px !important;
  margin-top: 28px !important;
  padding: 18px 22px 15px !important;
}

body .hl-card-title {
  gap: 10px !important;
}

body .hl-card-title strong {
  font-size: 23px !important;
}

body .hl-card-title i {
  width: 44px !important;
}

body .hl-seal {
  right: 36px !important;
  top: 26px !important;
  width: 58px !important;
  height: 58px !important;
}

body .hl-seal span {
  font-size: 28px !important;
}

body .hl-card-row {
  grid-template-columns: 1.58fr 0.7fr 0.6fr 0.7fr !important;
  margin-top: 20px !important;
}

body .hl-card-row article {
  gap: 5px !important;
  padding-left: 8px !important;
}

body .hl-card-row span {
  font-size: 11px !important;
}

body .hl-card-row b {
  font-size: 17px !important;
}

body .hl-card-row small {
  display: block !important;
  margin: 3px 0 0 !important;
  font-size: 10px !important;
}

body .hl-student-no b {
  font-size: 22px !important;
  letter-spacing: 0.04em !important;
}

body .hl-dossier {
  grid-template-columns: 28px minmax(0, 1fr) 72px !important;
  column-gap: 12px !important;
  margin-top: 21px !important;
  padding-bottom: 18px !important;
}

body .hl-dossier > i {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
}

body .hl-dossier > strong,
body .hl-dossier > span,
body .hl-dossier > em {
  grid-column: 2 !important;
}

body .hl-dossier > strong {
  font-size: 18px !important;
}

body .hl-dossier > span {
  font-size: 15px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

body .hl-dossier > em {
  font-size: 12px !important;
}

body .hl-dossier > div {
  grid-column: 3 !important;
  grid-row: 1 / 4 !important;
  width: 72px !important;
}

body .hl-dossier small {
  width: 70px !important;
}

body .hl-arrange {
  margin-top: 29px !important;
}

body .hl-section-title h2 {
  font-size: 30px !important;
}

body .hl-section-title h2::after {
  margin-top: 15px !important;
}

body .hl-class-card {
  grid-template-columns: 52px 88px minmax(0, 1fr) !important;
  gap: 10px !important;
  margin-top: 34px !important;
}

body .hl-cal-icon {
  width: 50px !important;
  height: 50px !important;
}

body .hl-class-card time {
  font-size: 18px !important;
}

body .hl-class-divider {
  display: none !important;
}

body .hl-class-copy {
  gap: 7px !important;
}

body .hl-class-copy strong {
  font-size: 22px !important;
  white-space: nowrap !important;
}

body .hl-class-copy span {
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

body .hl-class-copy i {
  width: 22px !important;
  height: 22px !important;
  margin-right: 6px !important;
}

body .hl-outline-button {
  grid-column: 3 !important;
  justify-self: start !important;
  min-height: 34px !important;
  margin-top: 6px !important;
  padding: 6px 15px !important;
  font-size: 14px !important;
}

body .hl-arrange-note {
  min-height: 54px !important;
  margin-top: 15px !important;
}

body .hl-arrange-note span {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body .hl-list-row {
  min-height: 78px !important;
  padding: 12px 0 !important;
}

body .hl-list-row strong {
  font-size: 20px !important;
}

body .hl-sweat-screen .hl-greeting {
  display: none !important;
}

body .hl-sweat-screen .hl-page-title {
  top: 0 !important;
}

body .hl-sweat-screen .hl-header {
  grid-template-columns: 128px minmax(0, 1fr) 40px !important;
}

/* Locked 16-larger-font-home reference restoration.
   Source truth: artifacts/recovered-latest-effects/16-larger-font-home.png */
body.client-type-member .phone-frame {
  max-width: 430px !important;
  height: 100vh !important;
  background: #fffaf2 !important;
}

body.client-type-member #homeView.client-view.active {
  overflow-y: auto !important;
  background: #fffaf2 !important;
  scrollbar-width: none;
}

body.client-type-member #homeView.client-view.active::-webkit-scrollbar {
  display: none;
}

body.client-type-member .hl-home-screen {
  min-height: 100%;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.82) 0%, rgba(255, 253, 249, 0.98) 39%, rgba(255, 255, 253, 1) 100%),
    #fffefd;
  color: #152620;
}

body.client-type-member .hl-light-hero {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 318px !important;
  padding: 40px 22px 0 !important;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.24), rgba(255, 250, 241, 0.78) 83%, rgba(255, 253, 248, 0.98) 100%),
    linear-gradient(100deg, rgba(255,255,255,0) 0 53%, rgba(255,255,255,0.66) 53% 59%, rgba(255,255,255,0) 59%),
    radial-gradient(ellipse at 84% 8%, rgba(255, 238, 192, 0.92), transparent 38%),
    linear-gradient(98deg, #fffefb 0%, #f6ecd9 63%, #fff9ec 100%) !important;
  box-shadow: 0 18px 28px rgba(225, 208, 176, 0.12);
}

body.client-type-member .hl-light-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 58%),
    linear-gradient(90deg, transparent 0 63%, rgba(255,255,255,0.58) 63% 68%, transparent 68%),
    linear-gradient(90deg, transparent 0 72%, rgba(255,255,255,0.5) 72% 76%, transparent 76%),
    linear-gradient(180deg, transparent 0 58%, rgba(232, 199, 146, 0.16) 58% 59%, transparent 59%);
  opacity: 0.82;
}

body.client-type-member .hl-light-hero::after {
  display: none !important;
}

body.client-type-member .hl-header {
  min-height: 44px;
  grid-template-columns: 122px minmax(0, 1fr) !important;
  align-items: start;
}

body.client-type-member .hl-logo {
  width: 122px !important;
  filter: hue-rotate(-160deg) saturate(0.62) brightness(1.08) contrast(0.94) !important;
}

body.client-type-member .hl-greeting {
  gap: 9px;
  padding-top: 4px;
}

body.client-type-member .hl-greeting strong {
  color: #15231f;
  font-size: 23px !important;
  font-weight: 400;
  letter-spacing: 0.025em;
}

body.client-type-member .hl-greeting span {
  color: #23312d;
  font-size: 15px !important;
  letter-spacing: 0.075em;
}

body.client-type-member .hl-credential {
  min-height: 168px !important;
  margin-top: 62px !important;
  padding: 30px 33px 23px !important;
  border: 1px solid rgba(205, 169, 105, 0.48);
  border-radius: 10px 10px 8px 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,252,247,0.98)),
    #fffefa !important;
  box-shadow:
    0 16px 28px rgba(65, 46, 23, 0.1),
    0 2px 10px rgba(255, 255, 255, 0.92) inset,
    0 3px 0 rgba(255,255,255,0.92) inset !important;
}

body.client-type-member .hl-credential::before {
  inset: 11px;
  border: 1px solid rgba(205, 169, 105, 0.38);
  border-radius: 7px;
}

body.client-type-member .hl-credential::after {
  background:
    linear-gradient(90deg, rgba(205, 169, 105, 0.72), rgba(205, 169, 105, 0.72)) 72px 80px / 50px 2px no-repeat,
    linear-gradient(135deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) left top / 48px 48px no-repeat,
    linear-gradient(225deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) right top / 48px 48px no-repeat,
    linear-gradient(45deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) left bottom / 48px 48px no-repeat,
    linear-gradient(315deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) right bottom / 48px 48px no-repeat !important;
}

body.client-type-member .hl-card-title {
  gap: 14px !important;
}

body.client-type-member .hl-card-title strong {
  color: #12231e;
  font-size: 27px !important;
  font-weight: 400 !important;
  letter-spacing: 0.11em;
}

body.client-type-member .hl-card-title i {
  width: 52px !important;
  height: 2px;
  background: #cda969;
}

body.client-type-member .hl-seal {
  right: 55px !important;
  top: 32px !important;
  width: 76px !important;
  height: 76px !important;
  border-color: rgba(205, 169, 105, 0.2);
  color: rgba(205, 169, 105, 0.45);
}

body.client-type-member .hl-seal::before,
body.client-type-member .hl-seal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(205, 169, 105, 0.12);
}

body.client-type-member .hl-seal::before {
  inset: -8px;
}

body.client-type-member .hl-seal::after {
  inset: 10px;
}

body.client-type-member .hl-seal span {
  font-size: 35px !important;
  font-weight: 400;
}

body.client-type-member .hl-seal em {
  display: none;
}

body.client-type-member .hl-card-row {
  grid-template-columns: 1.56fr 0.88fr 0.88fr 0.95fr !important;
  align-items: end;
  margin-top: 39px !important;
}

body.client-type-member .hl-card-row article {
  gap: 10px !important;
  padding-left: 26px !important;
  border-left-color: rgba(26, 38, 32, 0.14);
}

body.client-type-member .hl-card-row article:first-child {
  padding-left: 0 !important;
}

body.client-type-member .hl-card-row span {
  color: #4f5d55;
  font-size: 18px !important;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif !important;
}

body.client-type-member .hl-card-row b {
  color: #12231e;
  font-size: 25px !important;
  font-weight: 400 !important;
  line-height: 1;
}

body.client-type-member .hl-card-row small {
  display: inline !important;
  margin: 0 0 0 6px !important;
  color: #0a8b8b;
  font-size: 14px !important;
}

body.client-type-member .hl-student-no b {
  color: #0e2d27;
  font-size: 36px !important;
  letter-spacing: 0.08em !important;
}

body.client-type-member .hl-dossier {
  grid-template-columns: 28px auto auto minmax(0, 1fr) 84px !important;
  column-gap: 15px !important;
  row-gap: 0;
  align-items: center;
  margin: 50px 24px 0 !important;
  padding-bottom: 34px !important;
  border-bottom-color: rgba(34, 42, 37, 0.12);
}

body.client-type-member .hl-dossier > i {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 22px;
  height: 38px;
}

body.client-type-member .hl-dossier > strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 24px !important;
  white-space: nowrap;
}

body.client-type-member .hl-dossier > strong::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 28px;
  margin: 0 0 -7px 20px;
  background: rgba(34, 42, 37, 0.16);
}

body.client-type-member .hl-dossier > span {
  grid-column: 3 !important;
  grid-row: 1 !important;
  color: #17251f;
  font-size: 21px !important;
  white-space: nowrap !important;
}

body.client-type-member .hl-dossier > em {
  grid-column: 4 !important;
  grid-row: 1 !important;
  color: #6d746f;
  font-size: 18px !important;
  white-space: nowrap;
}

body.client-type-member .hl-dossier > div {
  grid-column: 5 !important;
  grid-row: 1 !important;
  width: 84px !important;
  gap: 12px;
}

body.client-type-member .hl-dossier b {
  color: #0a8b8b;
  font-size: 28px !important;
}

body.client-type-member .hl-dossier small {
  width: 84px !important;
  height: 5px;
}

body.client-type-member .hl-arrange {
  margin: 58px 24px 0 !important;
}

body.client-type-member .hl-section-title h2 {
  color: #111f1a;
  font-size: 37px !important;
  font-weight: 400;
}

body.client-type-member .hl-section-title h2::after {
  width: 54px;
  height: 3px;
  margin-top: 24px !important;
}

body.client-type-member .hl-section-title small {
  margin-top: 9px;
  color: #6d716e;
  font-size: 18px;
}

body.client-type-member .hl-class-card {
  grid-template-columns: 70px 142px 1px minmax(0, 1fr) auto !important;
  gap: 22px !important;
  margin-top: 74px !important;
}

body.client-type-member .hl-cal-icon {
  width: 62px !important;
  height: 62px !important;
}

body.client-type-member .hl-class-card time {
  color: #17251f;
  font-size: 29px !important;
  white-space: nowrap;
}

body.client-type-member .hl-class-divider {
  display: block !important;
  height: 92px;
}

body.client-type-member .hl-class-copy {
  gap: 18px !important;
}

body.client-type-member .hl-class-copy strong {
  color: #111f1a;
  font-size: 34px !important;
  font-weight: 400;
}

body.client-type-member .hl-class-copy span {
  color: #5e6661;
  font-size: 19px !important;
  line-height: 1.3;
  white-space: nowrap !important;
}

body.client-type-member .hl-class-copy i {
  width: 36px !important;
  height: 36px !important;
  margin-right: 11px !important;
  background:
    radial-gradient(circle at 52% 34%, #f2d5c3 0 22%, transparent 23%),
    linear-gradient(135deg, #f3d8c6, #7d5548) !important;
}

body.client-type-member .hl-outline-button {
  grid-column: 5 !important;
  justify-self: end !important;
  align-self: center;
  min-height: 46px !important;
  margin-top: 0 !important;
  padding: 8px 22px !important;
  border-color: #0a8b8b;
  color: #0a8b8b;
  font-size: 20px !important;
}

body.client-type-member .hl-arrange-note {
  min-height: 108px !important;
  margin-top: 62px !important;
  border-bottom-color: rgba(34, 42, 37, 0.12);
}

body.client-type-member .hl-arrange-note span {
  color: #555d58;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif !important;
}

body.client-type-member .hl-arrange-note b {
  font-size: 42px;
}

body.client-type-member .hl-home-list {
  margin: 0 24px !important;
}

body.client-type-member .hl-list-row {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  min-height: 112px !important;
  gap: 22px;
  padding: 19px 0 !important;
  border-bottom-color: rgba(34, 42, 37, 0.12);
}

body.client-type-member .hl-list-row > i {
  width: 62px;
  height: 62px;
}

body.client-type-member .hl-list-row strong {
  color: #17251f;
  font-size: 28px !important;
}

body.client-type-member .hl-list-row em,
body.client-type-member .hl-list-row b {
  font-size: 20px;
}

body.client-type-member .client-tabs {
  min-height: 98px !important;
  padding: 12px 18px 16px !important;
  background: rgba(255, 254, 250, 0.97) !important;
}

body.client-type-member .tab {
  min-height: 64px !important;
  gap: 7px;
  color: #4b514d !important;
  font-size: 18px !important;
}

body.client-type-member .tab[data-tab="growth"] {
  font-size: 0 !important;
}

body.client-type-member .tab[data-tab="growth"]::after {
  content: "学院";
  font-size: 18px;
}

body.client-type-member .tab.active {
  color: #0a8b8b !important;
}

@media (max-width: 430px) {
  body.client-type-member .hl-light-hero {
    min-height: 318px !important;
    padding: 40px 22px 0 !important;
  }

  body.client-type-member .hl-credential {
    min-height: 168px !important;
    margin-top: 62px !important;
  }
}

@media (max-width: 390px) {
  body.client-type-member .hl-light-hero {
    min-height: 300px !important;
    padding: 36px 20px 0 !important;
  }

  body.client-type-member .hl-logo {
    width: 108px !important;
  }

  body.client-type-member .hl-greeting strong {
    font-size: 20px !important;
  }

  body.client-type-member .hl-greeting span {
    font-size: 13px !important;
  }

  body.client-type-member .hl-credential {
    min-height: 154px !important;
    margin-top: 55px !important;
    padding: 24px 23px 20px !important;
  }

  body.client-type-member .hl-card-title strong {
    font-size: 23px !important;
  }

  body.client-type-member .hl-seal {
    right: 39px !important;
    top: 28px !important;
    width: 62px !important;
    height: 62px !important;
  }

  body.client-type-member .hl-seal span {
    font-size: 29px !important;
  }

  body.client-type-member .hl-card-row {
    grid-template-columns: 1.55fr 0.78fr 0.78fr 0.86fr !important;
    margin-top: 30px !important;
  }

  body.client-type-member .hl-card-row article {
    gap: 7px !important;
    padding-left: 10px !important;
  }

  body.client-type-member .hl-card-row span {
    font-size: 13px !important;
  }

  body.client-type-member .hl-card-row b {
    font-size: 17px !important;
  }

  body.client-type-member .hl-card-row small {
    display: block !important;
    margin: 4px 0 0 !important;
    font-size: 10px !important;
  }

  body.client-type-member .hl-student-no b {
    font-size: 22px !important;
    letter-spacing: 0.05em !important;
  }

  body.client-type-member .hl-dossier {
    grid-template-columns: 28px auto minmax(0, 1fr) 72px !important;
    margin: 30px 20px 0 !important;
    padding-bottom: 24px !important;
  }

  body.client-type-member .hl-dossier > strong {
    grid-column: 2 !important;
    font-size: 19px !important;
  }

  body.client-type-member .hl-dossier > strong::after {
    display: none;
  }

  body.client-type-member .hl-dossier > span {
    grid-column: 3 !important;
    font-size: 16px !important;
    white-space: normal !important;
  }

  body.client-type-member .hl-dossier > em {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    margin-top: 8px;
    font-size: 12px !important;
  }

  body.client-type-member .hl-dossier > div {
    grid-column: 4 !important;
    grid-row: 1 / 3 !important;
    width: 72px !important;
  }

  body.client-type-member .hl-dossier b {
    font-size: 24px !important;
  }

  body.client-type-member .hl-dossier small {
    width: 70px !important;
  }

  body.client-type-member .hl-arrange {
    margin: 38px 20px 0 !important;
  }

  body.client-type-member .hl-section-title h2 {
    font-size: 31px !important;
  }

  body.client-type-member .hl-section-title small {
    font-size: 13px;
  }

  body.client-type-member .hl-class-card {
    grid-template-columns: 54px 88px minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-top: 34px !important;
  }

  body.client-type-member .hl-cal-icon {
    width: 50px !important;
    height: 50px !important;
  }

  body.client-type-member .hl-class-card time {
    font-size: 18px !important;
  }

  body.client-type-member .hl-class-divider {
    display: none !important;
  }

  body.client-type-member .hl-class-copy {
    grid-column: 2 / span 2;
    grid-row: 2;
    gap: 8px !important;
  }

  body.client-type-member .hl-class-copy strong {
    font-size: 24px !important;
  }

  body.client-type-member .hl-class-copy span {
    font-size: 13px !important;
    white-space: normal !important;
  }

  body.client-type-member .hl-outline-button {
    grid-column: 3 !important;
    grid-row: 1;
    min-height: 34px !important;
    padding: 6px 13px !important;
    font-size: 14px !important;
  }

  body.client-type-member .hl-arrange-note {
    min-height: 62px !important;
    margin-top: 24px !important;
  }

  body.client-type-member .hl-arrange-note span {
    font-size: 15px !important;
  }

  body.client-type-member .hl-list-row {
    min-height: 84px !important;
  }

  body.client-type-member .hl-list-row strong {
    font-size: 21px !important;
  }

  body.client-type-member .hl-list-row em,
  body.client-type-member .hl-list-row b {
    font-size: 14px;
  }
}

/* Pixel-scale correction for the 853px reference rendered into a 430px mobile viewport. */
body.client-type-member .hl-home-screen,
body.client-type-member .hl-light-hero,
body.client-type-member .hl-credential,
body.client-type-member .hl-dossier,
body.client-type-member .hl-arrange,
body.client-type-member .hl-home-list {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.client-type-member .hl-home-screen {
  overflow: visible !important;
  overflow-x: clip !important;
}

body.client-type-member .hl-light-hero {
  width: 100% !important;
  min-height: 318px !important;
  padding: 29px 21px 0 !important;
  overflow: hidden !important;
}

body.client-type-member .hl-header {
  grid-template-columns: 122px minmax(0, 1fr) !important;
}

body.client-type-member .hl-logo {
  width: 120px !important;
}

body.client-type-member .hl-greeting strong {
  font-size: 20px !important;
}

body.client-type-member .hl-greeting span {
  font-size: 12px !important;
}

body.client-type-member .hl-credential {
  width: 100% !important;
  min-height: 168px !important;
  margin-top: 45px !important;
  padding: 25px 28px 18px !important;
}

body.client-type-member .hl-card-title strong {
  font-size: 22px !important;
}

body.client-type-member .hl-seal {
  right: 44px !important;
  top: 20px !important;
  width: 94px !important;
  height: 94px !important;
  border: 0 !important;
  background: url("./assets/recovered-ui/academy-seal-crop-290.png") center / contain no-repeat !important;
}

body.client-type-member .hl-seal span {
  display: none !important;
}

body.client-type-member .hl-seal::before,
body.client-type-member .hl-seal::after {
  content: none !important;
}

body.client-type-member .hl-card-row {
  grid-template-columns: 1.54fr 0.78fr 0.72fr 0.82fr !important;
  margin-top: 28px !important;
}

body.client-type-member .hl-card-row article {
  gap: 7px !important;
  padding-left: 11px !important;
}

body.client-type-member .hl-card-row span {
  font-size: 12px !important;
}

body.client-type-member .hl-card-row b {
  font-size: 15px !important;
}

body.client-type-member .hl-card-row small {
  display: block !important;
  margin: 4px 0 0 !important;
  font-size: 10px !important;
}

body.client-type-member .hl-student-no b {
  font-size: 21px !important;
  letter-spacing: 0.06em !important;
}

body.client-type-member .hl-dossier {
  grid-template-columns: 28px 82px minmax(0, 1fr) 74px !important;
  column-gap: 12px !important;
  margin: 24px 22px 0 !important;
  padding-bottom: 14px !important;
}

body.client-type-member .hl-dossier > i {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  height: 38px;
}

body.client-type-member .hl-dossier > strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 18px !important;
}

body.client-type-member .hl-dossier > strong::after {
  display: none !important;
}

body.client-type-member .hl-dossier > span {
  grid-column: 3 !important;
  grid-row: 1 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

body.client-type-member .hl-dossier > em {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  margin-top: 5px !important;
  font-size: 12px !important;
}

body.client-type-member .hl-dossier > div {
  grid-column: 4 !important;
  grid-row: 1 / 3 !important;
  width: 74px !important;
}

body.client-type-member .hl-dossier b {
  font-size: 23px !important;
}

body.client-type-member .hl-dossier small {
  width: 72px !important;
}

body.client-type-member .hl-arrange {
  margin: 24px 22px 0 !important;
}

body.client-type-member .hl-section-title h2 {
  font-size: 31px !important;
}

body.client-type-member .hl-section-title h2::after {
  margin-top: 10px !important;
}

body.client-type-member .hl-section-title small {
  font-size: 13px !important;
}

body.client-type-member .hl-class-card {
  grid-template-columns: 52px 82px 1px minmax(0, 1fr) 86px !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

body.client-type-member .hl-cal-icon {
  width: 50px !important;
  height: 50px !important;
}

body.client-type-member .hl-class-card time {
  font-size: 20px !important;
}

body.client-type-member .hl-class-divider {
  display: block !important;
  height: 70px !important;
}

body.client-type-member .hl-class-copy {
  gap: 10px !important;
  overflow: visible;
}

body.client-type-member .hl-class-copy strong {
  font-size: 22px !important;
}

body.client-type-member .hl-class-copy span {
  font-size: 13px !important;
  white-space: nowrap !important;
}

body.client-type-member .hl-class-copy i {
  width: 28px !important;
  height: 28px !important;
  margin-right: 8px !important;
}

body.client-type-member .hl-outline-button {
  grid-column: 5 !important;
  justify-self: end !important;
  min-height: 36px !important;
  padding: 6px 11px !important;
  font-size: 14px !important;
}

body.client-type-member .hl-arrange-note {
  min-height: 60px !important;
  margin-top: 12px !important;
}

body.client-type-member .hl-arrange-note span {
  font-size: 14px !important;
}

body.client-type-member .hl-home-list {
  margin: 0 22px !important;
}

body.client-type-member .hl-list-row {
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  min-height: 76px !important;
  gap: 16px !important;
  padding: 14px 0 !important;
}

body.client-type-member .hl-list-row > i {
  width: 50px !important;
  height: 50px !important;
}

body.client-type-member .hl-list-row strong {
  font-size: 20px !important;
}

body.client-type-member .hl-list-row em,
body.client-type-member .hl-list-row b {
  font-size: 13px !important;
}

body.client-type-member .hl-list-row.subtle strong {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.client-type-member .tab {
  font-size: 14px !important;
}

body.client-type-member .tab[data-tab="growth"]::after {
  font-size: 14px !important;
}

body.client-type-member .tab[data-tab="growth"] {
  font-size: var(--hl-fs-body) !important;
}

body.client-type-member .tab[data-tab="growth"]::after {
  content: none !important;
}

@media (max-width: 390px) {
  body.client-type-member .hl-light-hero {
    min-height: 300px !important;
    padding: 36px 20px 0 !important;
  }

  body.client-type-member .hl-logo {
    width: 108px !important;
  }

  body.client-type-member .hl-greeting strong {
    font-size: 20px !important;
  }

  body.client-type-member .hl-greeting span {
    font-size: 13px !important;
  }

  body.client-type-member .hl-credential {
    min-height: 154px !important;
    margin-top: 55px !important;
    padding: 24px 23px 20px !important;
  }

  body.client-type-member .hl-card-title strong {
    font-size: 23px !important;
  }

  body.client-type-member .hl-seal {
    right: 39px !important;
    top: 28px !important;
    width: 62px !important;
    height: 62px !important;
  }

  body.client-type-member .hl-card-row {
    grid-template-columns: 1.55fr 0.78fr 0.78fr 0.86fr !important;
    margin-top: 30px !important;
  }

  body.client-type-member .hl-card-row article {
    gap: 7px !important;
    padding-left: 10px !important;
  }

  body.client-type-member .hl-card-row b {
    font-size: 17px !important;
  }

  body.client-type-member .hl-student-no b {
    font-size: 22px !important;
  }

  body.client-type-member .hl-dossier {
    margin: 30px 20px 0 !important;
  }

  body.client-type-member .hl-arrange {
    margin: 38px 20px 0 !important;
  }

  body.client-type-member .hl-class-card {
    grid-template-columns: 54px 88px minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-top: 34px !important;
  }

  body.client-type-member .hl-class-divider {
    display: none !important;
  }

  body.client-type-member .hl-class-copy {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  body.client-type-member .hl-outline-button {
    grid-column: 3 !important;
    grid-row: 1;
    min-height: 34px !important;
    padding: 6px 13px !important;
    font-size: 14px !important;
  }
}

/* Member home typography normalization: keep the screen on a small, calm type scale. */
body.client-type-member .hl-home-screen {
  --hl-fs-display: 26px;
  --hl-fs-title: 22px;
  --hl-fs-subtitle: 17px;
  --hl-fs-body: 14px;
  --hl-fs-meta: 12px;
  --hl-fs-micro: 12px;
}

body.client-type-member .hl-greeting strong {
  font-size: var(--hl-fs-subtitle) !important;
}

body.client-type-member .hl-greeting span,
body.client-type-member .hl-card-title em,
body.client-type-member .hl-seal em,
body.client-type-member .hl-card-row span,
body.client-type-member .hl-dossier > em,
body.client-type-member .hl-section-title small,
body.client-type-member .hl-class-copy span {
  font-size: var(--hl-fs-meta) !important;
}

body.client-type-member .hl-card-title strong,
body.client-type-member .hl-student-no b,
body.client-type-member .hl-class-copy strong {
  font-size: var(--hl-fs-title) !important;
}

body.client-type-member .hl-card-row b,
body.client-type-member .hl-dossier > strong,
body.client-type-member .hl-class-card time,
body.client-type-member .hl-list-row strong {
  font-size: var(--hl-fs-subtitle) !important;
}

body.client-type-member .hl-card-row .hl-student-no b {
  font-size: var(--hl-fs-title) !important;
}

body.client-type-member .hl-card-row small {
  font-size: var(--hl-fs-micro) !important;
}

body.client-type-member .hl-dossier > span,
body.client-type-member .hl-outline-button,
body.client-type-member .hl-arrange-note span,
body.client-type-member .hl-list-row em,
body.client-type-member .hl-list-row b,
body.client-type-member .tab,
body.client-type-member .tab[data-tab="growth"]::after {
  font-size: var(--hl-fs-body) !important;
}

body.client-type-member .hl-dossier b {
  font-size: var(--hl-fs-title) !important;
}

body.client-type-member .hl-section-title h2 {
  font-size: var(--hl-fs-display) !important;
}

body.client-type-member .hl-list-row.subtle strong {
  font-size: var(--hl-fs-subtitle) !important;
}

body.client-type-member .hl-arrange-note b {
  font-size: var(--hl-fs-display) !important;
  line-height: 1 !important;
}

@media (max-width: 390px) {
  body.client-type-member .hl-home-screen {
    --hl-fs-display: 25px;
    --hl-fs-title: 21px;
    --hl-fs-subtitle: 16px;
    --hl-fs-body: 14px;
    --hl-fs-meta: 12px;
  }
}

/* Member home hierarchy correction: equalize like-for-like information. */
body.client-type-member .hl-home-screen {
  --hl-fs-display: 22px;
  --hl-fs-title: 18px;
  --hl-fs-subtitle: 16px;
  --hl-fs-body: 14px;
  --hl-fs-meta: 12px;
}

body.client-type-member .hl-card-title strong,
body.client-type-member .hl-section-title h2 {
  font-size: var(--hl-fs-display) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.client-type-member .hl-section-title h2::after {
  width: 48px !important;
  margin-top: 8px !important;
}

body.client-type-member .hl-card-row b,
body.client-type-member .hl-card-row .hl-student-no b,
body.client-type-member .hl-class-copy strong {
  font-size: var(--hl-fs-title) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.client-type-member .hl-student-no b {
  letter-spacing: 0.03em !important;
}

body.client-type-member .hl-card-row small,
body.client-type-member .hl-card-row span,
body.client-type-member .hl-seal em,
body.client-type-member .hl-greeting span,
body.client-type-member .hl-section-title small,
body.client-type-member .hl-class-copy span,
body.client-type-member .hl-dossier > em {
  font-size: var(--hl-fs-meta) !important;
  line-height: 1.35 !important;
}

body.client-type-member .hl-dossier {
  grid-template-columns: 28px minmax(0, 1fr) 70px !important;
  grid-template-rows: auto auto auto !important;
  column-gap: 12px !important;
  row-gap: 3px !important;
  align-items: center !important;
  margin: 24px 22px 0 !important;
  padding-bottom: 15px !important;
}

body.client-type-member .hl-dossier > i {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  align-self: center !important;
  height: 42px !important;
}

body.client-type-member .hl-dossier > strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: var(--hl-fs-meta) !important;
  line-height: 1.2 !important;
  color: rgba(38, 63, 58, 0.58) !important;
}

body.client-type-member .hl-dossier > span {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: var(--hl-fs-subtitle) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  color: #243a36 !important;
}

body.client-type-member .hl-dossier > em {
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin-top: 0 !important;
  color: rgba(38, 63, 58, 0.54) !important;
}

body.client-type-member .hl-dossier > div {
  grid-column: 3 !important;
  grid-row: 1 / 4 !important;
  align-self: center !important;
  width: 70px !important;
}

body.client-type-member .hl-dossier b {
  font-size: var(--hl-fs-title) !important;
  line-height: 1.2 !important;
}

body.client-type-member .hl-dossier small {
  width: 68px !important;
}

body.client-type-member .hl-arrange {
  margin-top: 30px !important;
}

body.client-type-member .hl-class-card {
  grid-template-columns: 48px 72px 1px minmax(0, 1fr) 82px !important;
  gap: 6px !important;
  margin-top: 18px !important;
  align-items: center !important;
}

body.client-type-member .hl-class-card time {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

body.client-type-member .hl-class-copy {
  gap: 7px !important;
  overflow: hidden !important;
}

body.client-type-member .hl-class-copy strong {
  font-size: 17px !important;
  white-space: nowrap !important;
}

body.client-type-member .hl-outline-button,
body.client-type-member .hl-arrange-note span,
body.client-type-member .hl-list-row em,
body.client-type-member .hl-list-row b,
body.client-type-member .tab {
  font-size: var(--hl-fs-body) !important;
}

body.client-type-member .hl-outline-button {
  width: 82px !important;
  min-width: 82px !important;
  padding: 6px 8px !important;
  white-space: nowrap !important;
}

body.client-type-member .hl-arrange-note b {
  font-size: var(--hl-fs-display) !important;
}

body.client-type-member .hl-list-row strong,
body.client-type-member .hl-list-row.subtle strong {
  font-size: var(--hl-fs-subtitle) !important;
  line-height: 1.35 !important;
}

@media (max-width: 390px) {
  body.client-type-member .hl-home-screen {
    --hl-fs-display: 21px;
    --hl-fs-title: 17px;
    --hl-fs-subtitle: 15px;
    --hl-fs-body: 14px;
    --hl-fs-meta: 12px;
  }

  body.client-type-member .hl-dossier {
    grid-template-columns: 28px minmax(0, 1fr) 64px !important;
    margin-top: 26px !important;
  }

  body.client-type-member .hl-dossier > div {
    width: 64px !important;
  }

  body.client-type-member .hl-dossier small {
    width: 62px !important;
  }

  body.client-type-member .hl-arrange {
    margin-top: 34px !important;
  }

  body.client-type-member .hl-class-card {
    grid-template-columns: 52px 82px minmax(0, 1fr) !important;
    margin-top: 24px !important;
  }
}

/* Member home basic alignment lock: fix visible craft defects before further styling. */
body.client-type-member .hl-home-screen {
  --hl-card-title-size: 22px;
  --hl-card-number-size: 17px;
  --hl-card-label-size: 12px;
  --hl-module-title-size: 19px;
  --hl-course-title-size: 16px;
}

body.client-type-member .hl-credential::after {
  background:
    linear-gradient(135deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) left top / 48px 48px no-repeat,
    linear-gradient(225deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) right top / 48px 48px no-repeat,
    linear-gradient(45deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) left bottom / 48px 48px no-repeat,
    linear-gradient(315deg, #fffaf2 0 17px, rgba(205, 169, 105, 0.78) 17px 18px, transparent 18px) right bottom / 48px 48px no-repeat !important;
}

body.client-type-member .hl-card-title {
  display: block !important;
  gap: 0 !important;
}

body.client-type-member .hl-card-title strong {
  display: block !important;
  font-size: var(--hl-card-title-size) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.08em !important;
}

body.client-type-member .hl-card-title i,
body.client-type-member .hl-card-title::after {
  display: block !important;
  width: 52px !important;
  height: 1px !important;
  margin-left: 0 !important;
  background: rgba(205, 169, 105, 0.78) !important;
}

body.client-type-member .hl-card-title i {
  margin-top: 10px !important;
}

body.client-type-member .hl-card-title::after {
  content: "" !important;
  margin-top: 9px !important;
}

body.client-type-member .hl-seal {
  top: 22px !important;
  right: 50px !important;
  width: 84px !important;
  height: 84px !important;
  border: 0 !important;
  background: url("./assets/recovered-ui/academy-seal-crop-290.png") center / contain no-repeat !important;
  mix-blend-mode: multiply !important;
  opacity: 0.72 !important;
}

body.client-type-member .hl-seal span,
body.client-type-member .hl-seal em {
  display: none !important;
}

body.client-type-member .hl-seal::before,
body.client-type-member .hl-seal::after {
  content: none !important;
}

body.client-type-member .hl-card-row span {
  font-size: var(--hl-card-label-size) !important;
  line-height: 1.25 !important;
}

body.client-type-member .hl-card-row b,
body.client-type-member .hl-card-row .hl-student-no b {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif !important;
  font-size: var(--hl-card-number-size) !important;
  font-weight: 500 !important;
  font-kerning: none !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1, "kern" 0 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
}

body.client-type-member .hl-card-row small {
  display: block !important;
  margin: 4px 0 0 !important;
  font-size: var(--hl-card-label-size) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

body.client-type-member .hl-section-title h2 {
  font-size: var(--hl-module-title-size) !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body.client-type-member .hl-section-title h2::after {
  width: 42px !important;
  height: 2px !important;
  margin-top: 8px !important;
}

body.client-type-member .hl-section-title small {
  font-size: var(--hl-card-label-size) !important;
  line-height: 1.35 !important;
}

body.client-type-member .hl-class-copy strong {
  font-size: var(--hl-course-title-size) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 390px) {
  body.client-type-member .hl-home-screen {
    --hl-card-title-size: 21px;
    --hl-card-number-size: 16px;
    --hl-module-title-size: 18px;
    --hl-course-title-size: 16px;
  }

  body.client-type-member .hl-seal {
    top: 23px !important;
    right: 42px !important;
    width: 78px !important;
    height: 78px !important;
  }
}

/* Prospect and expired-member state rebuilds. */
body.client-type-historical .client-hero {
  display: none !important;
}

body.client-type-historical #homeView.client-view.active,
body.client-type-historical #growthView.client-view.active {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  background: #fffaf2;
}

body.client-type-prospect .hl-goal-screen,
body.client-type-visitor .hl-goal-screen {
  padding-bottom: 44px;
  overflow: visible;
}

body.client-type-prospect .hl-goal-card,
body.client-type-visitor .hl-goal-card {
  scroll-margin-top: 18px;
}

body.client-type-prospect .hl-goal-hero,
body.client-type-visitor .hl-goal-hero {
  min-height: 132px;
  padding-top: 34px;
}

body .hl-pre-member-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
  margin: -28px 0 20px;
  padding: 19px 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(27, 130, 124, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0 62%, rgba(238, 250, 247, 0.9)),
    linear-gradient(150deg, transparent 0 68%, rgba(202, 163, 91, 0.14) 68% 69%, transparent 69%),
    #fffefa;
  box-shadow:
    0 16px 34px rgba(30, 74, 65, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body .hl-pre-member-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -44px;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(10, 127, 124, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 34%, rgba(236, 250, 246, 0.6) 35% 56%, transparent 57%);
  pointer-events: none;
}

body .hl-pre-member-top,
body .hl-return-card-title {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

body .hl-pre-member-top div {
  display: grid;
  gap: 5px;
}

body .hl-pre-member-top span {
  color: #0a7f7c;
  font-family: "Avenir Next", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

body .hl-pre-member-top strong {
  color: #17251f;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

body .hl-pre-member-top b,
body .hl-return-card-title b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 127, 124, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(236, 250, 246, 0.72);
  color: #0f615d;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

body .hl-pre-member-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #17251f;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.22;
  max-width: 260px;
}

body .hl-pre-member-card p,
body .hl-state-note p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #67706b;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

body .hl-pre-member-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 2px 0 0;
}

body .hl-pre-member-path article {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 34px;
  color: rgba(23, 37, 31, 0.55);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

body .hl-pre-member-path article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: -5px;
  top: 50%;
  height: 1px;
  background: rgba(10, 127, 124, 0.14);
  transform: translateY(-50%);
}

body .hl-pre-member-path article:last-child::after {
  content: none;
}

body .hl-pre-member-path i {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 127, 124, 0.22);
  border-radius: 50%;
  background: #fffefa;
  color: #0a7f7c;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
}

body .hl-pre-member-path .active i,
body .hl-pre-member-path .done i {
  background: #0f615d;
  border-color: #0f615d;
  color: #fff;
}

body .hl-pre-member-path span {
  position: relative;
  z-index: 1;
  background: rgba(255, 253, 248, 0.72);
  white-space: nowrap;
}

body .hl-pre-member-store span,
body .hl-history-grid span,
body .hl-return-metrics span,
body .hl-return-arrange article span {
  color: #8c938d;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

body .hl-pre-member-grid strong,
body .hl-history-grid strong,
body .hl-return-metrics strong {
  color: #17251f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

body .hl-pre-member-store {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(248, 244, 234, 0.68);
}

body .hl-pre-member-store strong {
  color: #17251f;
  font-size: 18px;
  font-weight: 500;
}

body .hl-pre-member-store em {
  color: #69726c;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

body .hl-pre-member-card + .hl-goal-card .hl-goal-topline {
  margin-top: 0;
}

body .hl-pre-member-card + .hl-goal-card h2 {
  margin-top: 26px;
}

body.client-type-prospect .hl-goal-card,
body.client-type-visitor .hl-goal-card {
  padding: 0 2px;
}

body.client-type-prospect .hl-goal-topline,
body.client-type-visitor .hl-goal-topline {
  margin-top: 0;
}

body.client-type-prospect .hl-goal-topline span,
body.client-type-visitor .hl-goal-topline span {
  font-size: 22px;
}

body.client-type-prospect .hl-goal-card h2,
body.client-type-visitor .hl-goal-card h2 {
  margin-top: 36px;
  font-size: 30px;
  line-height: 1.22;
}

body.client-type-historical .hl-return-screen {
  min-height: 100%;
  padding-bottom: 104px;
}

body .hl-return-hero {
  position: relative;
  padding: 40px 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.62), rgba(255, 250, 239, 0.96) 92%),
    linear-gradient(105deg, rgba(255, 255, 255, 0) 0 42%, rgba(255, 255, 255, 0.72) 43% 55%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(circle at 80% 8%, rgba(255, 243, 211, 0.78), transparent 27%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(249, 235, 209, 0.35));
}

body .hl-return-credential {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  min-height: 164px;
  margin-top: 32px;
  padding: 24px 28px 19px;
  overflow: hidden;
  border: 1px solid rgba(202, 163, 91, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(108deg, rgba(14, 45, 38, 0.055) 0 8px, transparent 8px 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 246, 0.97) 45%, rgba(244, 236, 218, 0.78)),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.92), transparent 34%),
    #fffefa;
  box-shadow:
    0 22px 38px rgba(66, 48, 19, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.86) inset,
    0 -1px 0 rgba(152, 115, 59, 0.2) inset,
    0 0 0 6px rgba(18, 53, 45, 0.045) inset,
    0 0 0 8px rgba(202, 163, 91, 0.12) inset;
}

body .hl-return-credential::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-top: 1px solid rgba(202, 163, 91, 0.24);
  border-bottom: 1px solid rgba(202, 163, 91, 0.24);
  border-right: 0;
  border-left: 0;
  pointer-events: none;
}

body .hl-return-credential::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-left: 1px solid rgba(21, 60, 51, 0.1);
  border-right: 1px solid rgba(21, 60, 51, 0.1);
  pointer-events: none;
}

body .hl-return-card-title div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 220px;
}

body .hl-return-card-title strong {
  color: #17251f;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

body .hl-return-card-title i {
  width: 52px;
  height: 1px;
  background: rgba(202, 163, 91, 0.42);
}

body .hl-return-card-title b {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  border-color: rgba(157, 126, 74, 0.28);
  background: rgba(251, 247, 237, 0.86);
  color: #7e6a49;
}

body .hl-return-id {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #66706b;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  white-space: nowrap;
  max-width: calc(100% - 100px);
}

body .hl-return-id span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  border: 1px solid rgba(21, 60, 51, 0.12);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.58);
  color: #153c33;
  font-size: 12px;
}

body .hl-return-id small {
  color: rgba(21, 37, 31, 0.46);
  font-size: 12px;
}

body .hl-return-id strong {
  color: #17251f;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body .hl-return-seal {
  position: absolute;
  top: 39px;
  right: 36px;
  z-index: 1;
  width: 82px;
  height: 82px;
  background: url("./assets/recovered-ui/academy-seal-crop-290.png") center / contain no-repeat;
  filter: saturate(0.55) sepia(0.14);
  mix-blend-mode: multiply;
  opacity: 0.42;
  pointer-events: none;
}

body .hl-return-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 6px;
  border-top: 1px solid rgba(202, 163, 91, 0.2);
  padding-top: 14px;
}

body .hl-return-metrics article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(32, 40, 35, 0.1);
}

body .hl-return-metrics article:first-child {
  padding-left: 0;
  border-left: 0;
}

body .hl-return-dossier,
body .hl-return-arrange,
body .hl-state-note,
body .hl-history-grid {
  margin: 18px 20px 0;
  border: 1px solid rgba(32, 40, 35, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 24px rgba(51, 48, 40, 0.06);
}

body .hl-return-dossier {
  padding: 18px 20px;
}

body .hl-return-dossier div {
  display: grid;
  gap: 7px;
}

body .hl-return-dossier span,
body .hl-state-note span {
  color: #0a7f7c;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

body .hl-return-dossier strong,
body .hl-state-note strong {
  color: #17251f;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

body .hl-return-dossier em,
body .hl-return-arrange article em,
body .hl-history-grid em {
  color: #69726c;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

body .hl-return-arrange,
body .hl-state-note {
  display: grid;
  gap: 16px;
  padding: 20px;
}

body .hl-return-arrange article {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  border-radius: 8px;
  background: rgba(236, 250, 246, 0.54);
}

body .hl-return-arrange article strong {
  color: #17251f;
  font-size: 23px;
  font-weight: 400;
}

body .hl-return-actions {
  display: grid;
  gap: 10px;
}

body .hl-return-list {
  display: grid;
  gap: 12px;
  margin: 18px 20px 0;
}

body .hl-state-note {
  margin: 0;
}

body .hl-state-note.is-return {
  border-color: rgba(179, 148, 94, 0.2);
}

body .hl-history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

body .hl-history-grid article {
  display: grid;
  gap: 7px;
  padding: 14px 12px;
  border-right: 1px solid rgba(32, 40, 35, 0.08);
}

body .hl-history-grid article:last-child {
  border-right: 0;
}

body .hl-limited-growth {
  padding: 20px 20px 104px;
}

body .hl-limited-growth .section-title.page-title {
  margin: 0;
}

@media (max-width: 390px) {
  body .hl-pre-member-card {
    padding: 20px 18px;
  }

  body .hl-pre-member-card h2,
  body .hl-return-credential h2 {
    font-size: 24px;
  }

  body .hl-return-metrics strong,
  body .hl-pre-member-grid strong,
  body .hl-history-grid strong {
    font-size: 15px;
  }

  body .hl-return-arrange article strong,
  body .hl-return-dossier strong,
  body .hl-state-note strong {
    font-size: 20px;
  }
}

body .site-compliance-footer {
  order: 5 !important;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(38, 45, 39, 0.08);
  background: rgba(255, 250, 241, 0.96);
  color: var(--hl-muted, var(--academy-muted, var(--muted)));
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

body .site-compliance-footer a {
  color: inherit;
  text-decoration: none;
}

body .site-compliance-footer a:hover {
  color: var(--hl-teal, var(--academy-green, var(--brand-dark)));
  text-decoration: underline;
  text-underline-offset: 3px;
}
