.zp-dashboard,
.zp-form-shell {
  --mint: #75ead7;
  --ink: #071423;
  color: #18314d;
}

/* Role-separated account access */
.zauth-center,
.zauth-join {
  --auth-accent: #75ead7;
  --auth-accent-soft: rgba(117,234,215,.15);
  min-height: calc(100vh - 112px);
  padding: clamp(28px, 5vw, 74px) 24px;
  color: #edf8ff;
  background:
    radial-gradient(circle at 84% 3%, rgba(70,98,204,.2), transparent 31%),
    radial-gradient(circle at 8% 88%, var(--auth-accent-soft), transparent 30%),
    linear-gradient(145deg, #040c17, #071524 63%, #071727);
}
.zauth-center.accent-cyan { --auth-accent: #8ee4f5; --auth-accent-soft: rgba(98,202,231,.15); }
.zauth-center.accent-blue { --auth-accent: #8eacff; --auth-accent-soft: rgba(93,122,232,.16); }
.zauth-center-shell,
.zauth-join-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  width: min(1240px, 100%);
  min-height: 690px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(151,197,226,.15);
  border-radius: 34px;
  background: rgba(7,20,34,.8);
  box-shadow: 0 48px 140px rgba(0,0,0,.38);
}
.zauth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(36px, 5vw, 70px);
  border-right: 1px solid rgba(151,197,226,.14);
  background:
    linear-gradient(rgba(151,197,226,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,197,226,.035) 1px, transparent 1px);
  background-size: 58px 58px;
}
.zauth-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent 35%, rgba(4,12,23,.92));
  pointer-events: none;
}
.zauth-story-top,
.zauth-story-copy,
.zauth-story-proof { position: relative; z-index: 2; }
.zauth-story-top { display: flex; justify-content: space-between; align-items: center; }
.zauth-story-top > span { color: var(--auth-accent); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.zauth-story-top > b { padding: 7px 9px; border: 1px solid rgba(151,197,226,.14); border-radius: 99px; color: #7893a5; font-size: 7px; letter-spacing: .12em; }
.zauth-story-copy { max-width: 650px; margin: auto 0; padding: 55px 0; }
.zauth-story-copy > i {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid color-mix(in srgb, var(--auth-accent) 38%, transparent);
  border-radius: 24px;
  color: var(--auth-accent);
  background: var(--auth-accent-soft);
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
  box-shadow: inset 0 0 25px rgba(255,255,255,.04), 0 18px 50px rgba(0,0,0,.2);
}
.zauth-story-copy h1 { margin: 0 0 24px; color: #fff; font-size: clamp(48px, 5vw, 72px); font-weight: 580; line-height: 1.02; letter-spacing: -.06em; }
.zauth-story-copy p { max-width: 570px; margin: 0; color: #94acbc; font-size: 14px; line-height: 1.9; }
.zauth-story-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zauth-story-proof article { padding: 15px; border: 1px solid rgba(151,197,226,.11); border-radius: 14px; background: rgba(255,255,255,.025); }
.zauth-story-proof b,
.zauth-story-proof span { display: block; }
.zauth-story-proof b { margin-bottom: 9px; color: var(--auth-accent); font-size: 8px; }
.zauth-story-proof span { color: #7992a4; font-size: 8px; line-height: 1.55; }
.zauth-orbit { position: absolute; z-index: 1; right: -120px; top: 10%; width: 430px; height: 430px; border: 1px solid rgba(151,197,226,.09); border-radius: 50%; }
.zauth-orbit i { position: absolute; inset: 50%; width: 120%; height: 33%; margin: -16.5% -60%; border: 1px solid color-mix(in srgb, var(--auth-accent) 17%, transparent); border-radius: 50%; transform: rotate(36deg); }
.zauth-orbit i:nth-child(2) { width: 92%; margin-left: -46%; transform: rotate(-34deg); }
.zauth-orbit i:nth-child(3) { width: 105%; margin-left: -52.5%; transform: rotate(86deg); }
.zauth-orbit b { position: absolute; inset: 36%; display: grid; place-items: center; border: 1px solid rgba(151,197,226,.11); border-radius: 50%; color: rgba(255,255,255,.12); font-size: 55px; }
.zauth-login-card {
  align-self: center;
  width: min(100% - 64px, 510px);
  margin: auto;
  padding: 38px 0;
}
.zauth-login-card > header > span,
.zauth-join main > header > span { color: var(--auth-accent); font-size: 8px; font-weight: 900; letter-spacing: .2em; }
.zauth-login-card > header h2,
.zauth-join main > header h2 { margin: 11px 0 8px; color: #fff; font-size: 30px; letter-spacing: -.04em; }
.zauth-login-card > header p,
.zauth-join main > header p { margin: 0; color: #7f98a9; font-size: 10px; line-height: 1.7; }
.zauth-role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0; }
.zauth-role-tabs a { display: flex; gap: 8px; align-items: center; padding: 10px; border: 1px solid rgba(151,197,226,.12); border-radius: 12px; color: #819aab; background: rgba(255,255,255,.02); font-size: 9px; font-weight: 800; }
.zauth-role-tabs a i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #7190a3; background: rgba(255,255,255,.045); font-size: 9px; font-style: normal; }
.zauth-role-tabs a.is-active { border-color: color-mix(in srgb, var(--auth-accent) 38%, transparent); color: #fff; background: var(--auth-accent-soft); }
.zauth-role-tabs a.is-active i { color: #071621; background: var(--auth-accent); }
.zauth-form-wrap form { display: grid; gap: 16px; }
.zauth-form-wrap p { display: grid; gap: 7px; margin: 0; }
.zauth-form-wrap label { color: #abc0cc; font-size: 9px; font-weight: 800; }
.zauth-form-wrap input[type=text],
.zauth-form-wrap input[type=password] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(151,197,226,.17); border-radius: 11px; outline: 0; color: #fff; background: #06131f; font-size: 12px; }
.zauth-form-wrap input:focus { border-color: var(--auth-accent); box-shadow: 0 0 0 3px var(--auth-accent-soft); }
.zauth-form-wrap .login-remember { display: flex; grid-template-columns: auto 1fr; align-items: center; }
.zauth-form-wrap .login-remember label { display: flex; gap: 7px; align-items: center; color: #7992a3; font-size: 9px; font-weight: 500; }
.zauth-form-wrap input[type=checkbox] { accent-color: var(--auth-accent); }
.zauth-form-wrap input[type=submit] { width: 100%; min-height: 51px; border: 0; border-radius: 11px; color: #06141b; background: linear-gradient(135deg, var(--auth-accent), #b7eaff); font-size: 10px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 30px var(--auth-accent-soft); }
.zauth-login-help { display: flex; justify-content: space-between; gap: 18px; margin-top: 15px; color: #718a9b; font-size: 8px; }
.zauth-login-help a { color: var(--auth-accent); }
.zauth-teacher-note { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 18px; padding: 13px; border: 1px solid rgba(142,172,255,.18); border-radius: 12px; background: rgba(142,172,255,.06); }
.zauth-teacher-note > i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #081524; background: var(--auth-accent); font-style: normal; font-weight: 900; }
.zauth-teacher-note p { display: grid; gap: 3px; margin: 0; }
.zauth-teacher-note strong { color: #dbe8ff; font-size: 9px; }
.zauth-teacher-note span { color: #7e95af; font-size: 7px; }
.zauth-teacher-note a { color: var(--auth-accent); font-size: 8px; white-space: nowrap; }
.zauth-login-card > footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(151,197,226,.1); color: #627d90; font-size: 8px; }
.zauth-login-card > footer a { color: #8ca5b6; }

.zauth-join { --auth-accent: #75ead7; --auth-accent-soft: rgba(117,234,215,.14); }
.zauth-join-shell { grid-template-columns: minmax(370px, .82fr) minmax(490px, 1.18fr); }
.zauth-join > div > aside { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(38px,5vw,68px); border-right: 1px solid rgba(151,197,226,.14); background: radial-gradient(circle at 0 100%, rgba(117,234,215,.15), transparent 37%); }
.zauth-join > div > aside::after { content: ""; position: absolute; right: -210px; top: -150px; width: 480px; height: 480px; border: 1px solid rgba(117,234,215,.11); border-radius: 50%; }
.zauth-join > div > aside > span { position: relative; z-index: 1; color: var(--auth-accent); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.zauth-join > div > aside h1 { position: relative; z-index: 1; margin: 24px 0; color: #fff; font-size: clamp(45px,4.6vw,68px); font-weight: 580; line-height: 1.04; letter-spacing: -.06em; }
.zauth-join > div > aside > p { position: relative; z-index: 1; margin: 0; color: #8ca4b4; font-size: 12px; line-height: 1.85; }
.zauth-join > div > aside > div { position: relative; z-index: 1; display: grid; gap: 9px; margin: 42px 0; }
.zauth-join > div > aside article { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: center; padding: 14px; border: 1px solid rgba(151,197,226,.11); border-radius: 13px; background: rgba(255,255,255,.025); }
.zauth-join > div > aside article > i { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; color: #071721; background: var(--auth-accent); font-style: normal; font-weight: 900; }
.zauth-join > div > aside article p { display: grid; gap: 4px; margin: 0; }
.zauth-join > div > aside article strong { font-size: 11px; }
.zauth-join > div > aside article small { color: #718b9d; font-size: 8px; }
.zauth-join > div > aside footer { position: relative; z-index: 1; display: grid; gap: 5px; padding-top: 19px; border-top: 1px solid rgba(151,197,226,.11); }
.zauth-join > div > aside footer b { color: #809aaa; font-size: 8px; }
.zauth-join > div > aside footer a { color: var(--auth-accent); font-size: 9px; }
.zauth-join main { align-self: center; width: min(100% - 64px, 590px); margin: auto; padding: 42px 0; }
.zauth-form-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid rgba(255,126,126,.24); border-radius: 10px; color: #ffb8b8; background: rgba(255,80,80,.07); font-size: 9px; }
.zauth-join-form { display: grid; gap: 17px; margin-top: 24px; }
.zauth-join-form fieldset { margin: 0; padding: 0; border: 0; }
.zauth-join-form legend,
.zauth-join-form label > span { display: block; margin-bottom: 8px; color: #a9bec9; font-size: 9px; font-weight: 800; }
.zauth-identity-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.zauth-identity-picker label { cursor: pointer; }
.zauth-identity-picker input { position: absolute; opacity: 0; pointer-events: none; }
.zauth-identity-picker label > span { display: grid; grid-template-columns: 38px 1fr; gap: 1px 10px; align-items: center; min-height: 72px; margin: 0; padding: 11px; border: 1px solid rgba(151,197,226,.14); border-radius: 13px; color: #7f99aa; background: rgba(255,255,255,.02); }
.zauth-identity-picker label i { grid-row: 1 / 3; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #7793a5; background: rgba(255,255,255,.045); font-style: normal; }
.zauth-identity-picker label b { color: #adc1cc; font-size: 10px; }
.zauth-identity-picker label small { font-size: 7px; }
.zauth-identity-picker input:checked + span { border-color: rgba(117,234,215,.42); background: rgba(117,234,215,.08); box-shadow: inset 0 0 25px rgba(117,234,215,.04); }
.zauth-identity-picker input:checked + span i { color: #071721; background: var(--auth-accent); }
.zauth-identity-picker input:checked + span b { color: #fff; }
.zauth-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zauth-join-form input[type=text],
.zauth-join-form input[type=email],
.zauth-join-form input[type=password] { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid rgba(151,197,226,.16); border-radius: 10px; outline: 0; color: #fff; background: #06131f; font-size: 11px; box-sizing: border-box; }
.zauth-join-form input:focus { border-color: var(--auth-accent); box-shadow: 0 0 0 3px var(--auth-accent-soft); }
.zauth-join-form label > small { display: block; margin-top: 6px; color: #607c8f; font-size: 7px; }
.zauth-consent { display: flex; gap: 8px; align-items: flex-start; }
.zauth-consent input { margin-top: 2px; accent-color: var(--auth-accent); }
.zauth-consent > span { margin: 0 !important; color: #758fa1 !important; font-size: 8px !important; font-weight: 500 !important; }
.zauth-consent a { color: var(--auth-accent); }
.zauth-join-form > button { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border: 0; border-radius: 11px; color: #06141b; background: linear-gradient(135deg, var(--auth-accent), #aeeaff); font-size: 10px; font-weight: 900; cursor: pointer; }
.zauth-join-form > button i { font-size: 18px; font-style: normal; }
.zauth-join main > footer { margin-top: 18px; color: #6c8798; font-size: 8px; text-align: center; }
.zauth-join main > footer a { color: var(--auth-accent); }
.zauth-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.zauth-return { width: min(700px, calc(100% - 32px)); margin: 80px auto; padding: 60px; border-radius: 28px; color: #dcecf5; text-align: center; background: linear-gradient(145deg,#071523,#0b3344); }
.zauth-return span { color: #75ead7; font-size: 8px; letter-spacing: .2em; }
.zauth-return h1 { margin: 15px 0; color: #fff; font-size: 44px; }
.zauth-return p { color: #8ea5b5; }
.zauth-return a { display: inline-flex; margin-top: 18px; padding: 14px 18px; border-radius: 11px; color: #06141b; background: #75ead7; font-size: 10px; font-weight: 900; }

@media (max-width: 980px) {
  .zauth-center-shell,
  .zauth-join-shell { grid-template-columns: 1fr; }
  .zauth-story { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(151,197,226,.14); }
  .zauth-story-copy { padding: 65px 0; }
  .zauth-login-card,
  .zauth-join main { width: min(100% - 48px, 600px); padding: 50px 0; }
  .zauth-join > div > aside { border-right: 0; border-bottom: 1px solid rgba(151,197,226,.14); }
  .zauth-join > div > aside > div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .zauth-center,
  .zauth-join { min-height: calc(100vh - 100px); padding: 12px 10px 34px; }
  .zauth-center-shell,
  .zauth-join-shell { min-height: 0; border-radius: 22px; }
  .zauth-story { min-height: auto; padding: 26px 20px 34px; }
  .zauth-story-copy { padding: 55px 0 38px; }
  .zauth-story-copy > i { width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; font-size: 18px; }
  .zauth-story-copy h1 { font-size: 41px; }
  .zauth-story-copy p { font-size: 11px; line-height: 1.75; }
  .zauth-story-proof { grid-template-columns: 1fr; }
  .zauth-orbit { width: 280px; height: 280px; right: -130px; }
  .zauth-login-card,
  .zauth-join main { width: calc(100% - 34px); padding: 34px 0; }
  .zauth-role-tabs a { display: grid; justify-items: center; gap: 5px; padding: 9px 5px; }
  .zauth-login-help,
  .zauth-login-card > footer { flex-direction: column; }
  .zauth-teacher-note { grid-template-columns: auto 1fr; }
  .zauth-teacher-note > a { grid-column: 2; }
  .zauth-join > div > aside { padding: 34px 21px; }
  .zauth-join > div > aside h1 { font-size: 42px; }
  .zauth-join > div > aside > div { grid-template-columns: 1fr; margin: 30px 0; }
  .zauth-identity-picker,
  .zauth-field-grid { grid-template-columns: 1fr; }
  .zauth-return { margin: 35px auto; padding: 38px 20px; }
  .zauth-return h1 { font-size: 34px; }
}
.zp-dashboard {
  display: grid;
  gap: 18px;
}
.zp-hero {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(117, 234, 215, 0.24),
      transparent 34%
    ),
    linear-gradient(135deg, #071b35, #0b5364);
}
.zp-hero.parent {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(232, 192, 255, 0.24),
      transparent 34%
    ),
    linear-gradient(135deg, #251b50, #69479b);
}
.zp-hero.teacher {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(105, 241, 199, 0.24),
      transparent 34%
    ),
    linear-gradient(135deg, #073c46, #087260);
}
.zp-hero span,
.zp-form-shell > header span {
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}
.zp-hero h1 {
  margin: 12px 0 9px;
  font-size: 38px;
}
.zp-hero p {
  max-width: 680px;
  margin: 0;
  color: #c2d8e5;
  line-height: 1.7;
}
.zp-hero > b {
  width: 90px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  font-size: 32px;
  background: rgba(255, 255, 255, 0.08);
}
.zp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 18px;
  background: #fff;
}
.zp-kpis article {
  padding: 21px;
  border-right: 1px solid #e3eaf0;
}
.zp-kpis article:last-child {
  border: 0;
}
.zp-kpis span,
.zp-kpis strong,
.zp-kpis small {
  display: block;
}
.zp-kpis span {
  color: #728399;
  font-size: 10px;
}
.zp-kpis strong {
  margin: 7px 0;
  font-size: 25px;
}
.zp-kpis strong small {
  display: inline;
  font-size: 10px;
}
.zp-kpis small {
  color: #8795a6;
  font-size: 9px;
}
.zp-grid,
.zp-wallet-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}
.zp-grid > section,
.zp-grid > aside,
.zp-panel {
  padding: 22px;
  border: 1px solid #dce5ed;
  border-radius: 18px;
  background: #fff;
}
.zp-grid > section > header,
.zp-panel > header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf2;
}
.zp-grid > section > header span,
.zp-panel > header span {
  font-weight: 800;
}
.zp-grid > section > header a {
  color: #14708d;
  font-size: 11px;
}
.zp-grid > aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #0a294c, #0b6065);
}
.zp-grid > aside span {
  color: var(--mint);
  font-size: 9px;
}
.zp-grid > aside h2 {
  font-size: 27px;
}
.zp-grid > aside p {
  color: #b7ced9;
  line-height: 1.7;
}
.zp-grid > aside a {
  align-self: flex-start;
  padding: 11px 15px;
  border-radius: 9px;
  color: #071423;
  background: var(--mint);
}
.zp-order,
.zp-course-row,
.zp-person {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f4;
}
.zp-order > div,
.zp-course-row > div,
.zp-person > div {
  display: grid;
  gap: 3px;
}
.zp-order small,
.zp-course-row small,
.zp-person small {
  color: #8493a4;
  font-size: 9px;
}
.zp-order > b {
  padding: 5px 8px;
  border-radius: 99px;
  color: #15745f;
  background: #e7f7f1;
  font-size: 9px;
}
.zp-course-row {
  grid-template-columns: 40px 1fr auto;
}
.zp-course-row > i,
.zp-person > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #0b685d;
  background: #e4f5f2;
  font-style: normal;
}
.zp-course-row > a {
  color: #126f8b;
}
.zp-person {
  grid-template-columns: 42px 1fr auto;
}
.zp-empty {
  padding: 30px;
  color: #8291a3;
  text-align: center;
}
.zp-wallet-grid {
  grid-template-columns: 0.7fr 1.3fr;
}
.zp-withdraw-form {
  display: grid;
  gap: 13px;
}
.zp-withdraw-form label,
.zp-form-shell form label {
  display: grid;
  gap: 6px;
  color: #62758a;
  font-size: 10px;
}
.zp-withdraw-form input,
.zp-withdraw-form select,
.zp-form-shell input,
.zp-form-shell textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d6e0e8;
  border-radius: 9px;
  background: #fff;
}
.zp-withdraw-form button,
.zp-form-shell form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  color: #06151d;
  background: var(--mint);
  font-weight: 850;
}
.zp-withdraw-form > small {
  color: #8493a4;
  line-height: 1.6;
}
.zp-table {
  max-width: 100%;
  overflow: auto;
}
.zp-table table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}
.zp-table th,
.zp-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #e8edf1;
  text-align: left;
  font-size: 10px;
}
.zp-table td > strong,
.zp-table td > small {
  display: block;
}
.zp-table td > small {
  color: #8493a4;
}
.zp-notice {
  padding: 13px 16px;
  border-radius: 10px;
}
.zp-notice.success {
  color: #146b51;
  background: #e7f7ef;
}
.zp-notice.error {
  color: #9c3e36;
  background: #fff0ee;
}
.zp-gate {
  padding: 70px 30px;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #071c37, #0b5965);
}
.zp-gate span {
  color: #75ead7;
  font-size: 10px;
}
.zp-gate a {
  display: inline-flex;
  margin-top: 15px;
  padding: 12px 17px;
  border-radius: 9px;
  color: #071423;
  background: #75ead7;
}
.zp-form-shell > header {
  padding: 38px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(117, 234, 215, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #071c37, #0a5362);
}
.zp-form-shell > header h1 {
  margin: 12px 0;
  font-size: 39px;
}
.zp-form-shell > header p {
  max-width: 760px;
  color: #c2d7e2;
  line-height: 1.7;
}
.zp-form-shell form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 25px;
  border: 1px solid #dce5ed;
  border-radius: 18px;
  background: #fff;
}
.zp-form-shell form .wide,
.zp-form-shell form button {
  grid-column: 1/-1;
}
.zp-form-shell textarea {
  min-height: 120px;
}
.zp-diagnostic,
.zp-donate,
.zp-support {
  margin-top: 18px;
  padding: 25px;
  border: 1px solid #dce5ed;
  border-radius: 18px;
  background: #fff;
}
.zp-diagnostic article label {
  display: block;
  padding: 10px 0;
}
.zp-diagnostic > a,
.zp-donate > a {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 9px;
  color: #071423;
  background: #75ead7;
}
.zp-donate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zp-donate > div {
  padding: 20px;
  border: 1px solid #e1e8ee;
  border-radius: 12px;
}
.zp-donate strong,
.zp-donate span {
  display: block;
}
.zp-donate strong {
  font-size: 28px;
}
.zp-donate span {
  margin-top: 5px;
  color: #74869a;
}
.zp-donate > a {
  grid-column: 1/-1;
  justify-self: start;
}
.zp-support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.zp-support a {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid #e1e8ee;
  border-radius: 12px;
}
.zp-support span {
  color: #7b8b9d;
  font-size: 10px;
}
@media (max-width: 850px) {
  .zp-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .zp-kpis article:nth-child(2) {
    border-right: 0;
  }
  .zp-kpis article:nth-child(-n + 2) {
    border-bottom: 1px solid #e3eaf0;
  }
  .zp-grid,
  .zp-wallet-grid {
    grid-template-columns: 1fr;
  }
  .zp-support {
    grid-template-columns: 1fr;
  }
}

/* Final readability guard for account access and role selection screens. */
.zauth-story-top > span,
.zauth-story-top > b,
.zauth-story-proof b,
.zauth-story-proof span,
.zauth-login-card > header > span,
.zauth-join main > header > span,
.zauth-role-tabs a,
.zauth-role-tabs a i,
.zauth-teacher-note strong,
.zauth-teacher-note span,
.zauth-teacher-note a,
.zauth-join > div > aside > span,
.zauth-join > div > aside article small,
.zauth-join > div > aside footer b,
.zauth-join > div > aside footer a,
.zauth-form-error,
.zauth-join main > footer,
.zauth-return span,
.zauth-return a {
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 520px) {
  .zp-hero {
    padding: 25px 20px;
  }
  .zp-hero h1,
  .zp-form-shell > header h1 {
    font-size: 30px;
  }
  .zp-hero > b {
    width: 58px;
    border-radius: 18px;
  }
  .zp-kpis {
    grid-template-columns: 1fr;
  }
  .zp-kpis article {
    border-right: 0;
    border-bottom: 1px solid #e3eaf0 !important;
  }
  .zp-form-shell > header {
    padding: 28px 20px;
  }
  .zp-form-shell form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .zp-form-shell form .wide,
  .zp-form-shell form button {
    grid-column: 1;
  }
  .zp-donate {
    grid-template-columns: 1fr;
  }
  .zp-donate > a {
    grid-column: 1;
  }
}

/* Balanced, readable typography across every role surface. */
.zauth-story-copy h1 { font-size: clamp(44px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.045em; }
.zauth-story-copy p { font-size: 15px; line-height: 1.8; }
.zauth-story-top > span,
.zauth-login-card > header > span,
.zauth-join main > header > span,
.zauth-join > div > aside > span { font-size: 10px; letter-spacing: .16em; }
.zauth-story-top > b { font-size: 9px; }
.zauth-story-proof b { font-size: 10px; }
.zauth-story-proof span { font-size: 11px; line-height: 1.55; }
.zauth-login-card > header h2,
.zauth-join main > header h2 { font-size: 27px; line-height: 1.2; }
.zauth-login-card > header p,
.zauth-join main > header p { font-size: 13px; line-height: 1.65; }
.zauth-role-tabs a { font-size: 12px; }
.zauth-role-tabs a i { font-size: 11px; }
.zauth-form-wrap label,
.zauth-form-wrap .login-remember label { font-size: 12px; }
.zauth-form-wrap input[type=text],
.zauth-form-wrap input[type=password] { font-size: 14px; }
.zauth-form-wrap input[type=submit] { font-size: 13px; }
.zauth-login-help { font-size: 11px; line-height: 1.55; }
.zauth-login-card > footer { font-size: 10px; line-height: 1.5; }
.zauth-teacher-note strong { font-size: 11px; }
.zauth-teacher-note span,
.zauth-teacher-note a { font-size: 10px; line-height: 1.45; }
.zauth-join > div > aside h1 { font-size: clamp(42px, 4.1vw, 58px); line-height: 1.08; }
.zauth-join > div > aside > p { font-size: 14px; line-height: 1.8; }
.zauth-join > div > aside article strong { font-size: 13px; }
.zauth-join > div > aside article small,
.zauth-join > div > aside footer b,
.zauth-join > div > aside footer a { font-size: 11px; line-height: 1.5; }
.zauth-join-form legend,
.zauth-join-form label > span { font-size: 12px; }
.zauth-identity-picker label b { font-size: 12px; }
.zauth-identity-picker label small { font-size: 10px; }
.zauth-join-form input[type=text],
.zauth-join-form input[type=email],
.zauth-join-form input[type=password] { font-size: 14px; }
.zauth-join-form label > small,
.zauth-consent > span,
.zauth-join main > footer { font-size: 11px; line-height: 1.5; }
.zauth-join-form > button { font-size: 13px; }

body .z-platform-page .z-platform-entry :where(p) { font-size: clamp(13px, .95vw, 15px); line-height: 1.75; }
body .z-platform-page .z-platform-entry :where(label, button, input, select, textarea) { font-size: clamp(12px, .85vw, 14px); }
body .z-platform-page .z-platform-entry :where(small, time) { font-size: clamp(10px, .76vw, 12px); line-height: 1.5; }
body .z-platform-page .zp-dashboard :where(a) { font-size: clamp(11px, .82vw, 13px); }
body .z-platform-page .zp-dashboard :where(.zp-kpis span, .zp-kpis small) { font-size: 12px; line-height: 1.45; }
body .z-platform-page .zp-dashboard :where(.zp-action-rail span, .zp-action-rail i) { font-size: 12px; line-height: 1.45; }
body .z-platform-page .zp-dashboard :where(.zp-panel > header span, .zp-panel > header a) { font-size: 13px; }
body .z-platform-page .zp-dashboard :where(.zp-person small, .zp-order small, .zp-notification-list span) { font-size: 11px; }
body .z-platform-page .zp-dashboard :where(.zp-empty, .zp-guide-list, .zp-live-guide) { font-size: 13px; line-height: 1.65; }
.zp-hero h1 { font-size: clamp(31px, 3vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
.zp-hero p { font-size: 15px; line-height: 1.75; }
.zp-hero > div > span { font-size: 11px; letter-spacing: .14em; }
.zp-kpis strong { font-size: 24px; }
.zp-action-rail strong { font-size: 18px; line-height: 1.3; }

@media (max-width: 620px) {
  .zauth-story-copy h1 { font-size: 35px; line-height: 1.08; }
  .zauth-story-copy p { font-size: 14px; }
  .zauth-story-proof span { font-size: 12px; }
  .zauth-login-card > header h2,
  .zauth-join main > header h2 { font-size: 26px; }
  .zauth-join > div > aside h1 { font-size: 36px; line-height: 1.1; }
  .zauth-login-help,
  .zauth-login-card > footer { gap: 8px; }
  .zp-hero h1 { font-size: 30px; }
  .zp-hero p { font-size: 14px; }
}

/* Family trust center */
.zp-family-hub {
  --family-ink: #102f44;
  --family-mint: #65e6d2;
  --family-blue: #9bdff2;
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 90px;
  color: var(--family-ink);
}
.zp-family-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 42px;
  align-items: end;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  color: #edfaff;
  background:
    radial-gradient(circle at 85% 20%, rgba(101,230,210,.28), transparent 28%),
    radial-gradient(circle at 4% 100%, rgba(66,137,255,.24), transparent 35%),
    linear-gradient(125deg, #071c2d 0%, #0c3550 58%, #123749 100%);
  box-shadow: 0 30px 80px rgba(10,42,62,.18);
}
.zp-family-hero::before,
.zp-family-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(154,228,239,.14);
  border-radius: 50%;
  pointer-events: none;
}
.zp-family-hero::before { width: 460px; height: 460px; right: -120px; top: -230px; }
.zp-family-hero::after { width: 620px; height: 220px; right: -80px; bottom: -130px; transform: rotate(-10deg); }
.zp-family-hero > div,
.zp-family-hero > aside { position: relative; z-index: 1; }
.zp-family-hero > div > span,
.zp-family-request > span,
.zp-family-relations header span {
  display: block;
  margin-bottom: 16px;
  color: #74e8d7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}
.zp-family-hero h1 {
  max-width: 700px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(37px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.zp-family-hero p {
  max-width: 720px;
  margin: 0;
  color: #b8d1de;
  font-size: 15px;
  line-height: 1.9;
}
.zp-family-hero > aside {
  display: grid;
  justify-items: center;
  padding: 30px 18px;
  border: 1px solid rgba(139,235,220,.25);
  border-radius: 50%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(125,239,223,.15), rgba(4,26,41,.16));
  box-shadow: inset 0 0 50px rgba(104,226,211,.08);
}
.zp-family-hero > aside b { align-self: end; color: #fff; font-size: 56px; line-height: 1; }
.zp-family-hero > aside span { font-size: 11px; font-weight: 800; }
.zp-family-hero > aside i { color: #76dfd1; font-size: 9px; font-style: normal; }
.zp-family-alert {
  margin: 18px 4px 0;
  padding: 14px 18px;
  border: 1px solid #c8e8e3;
  border-radius: 13px;
  background: #eafaf6;
  color: #176c62;
  font-size: 12px;
  font-weight: 750;
}
.zp-family-alert.is-error { border-color: #f3cccc; background: #fff1f1; color: #a54141; }
.zp-family-alert.is-notice { border-color: #eadba9; background: #fff9e7; color: #7c6728; }
.zp-family-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(900px, calc(100% - 48px));
  margin: -30px auto 38px;
  padding: 17px;
  border: 1px solid rgba(213,230,235,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 50px rgba(14,47,64,.12);
  backdrop-filter: blur(16px);
}
.zp-family-flow article { display: flex; gap: 10px; align-items: center; min-width: 0; }
.zp-family-flow article > b {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #6a8190;
  background: #edf3f5;
  font-size: 9px;
}
.zp-family-flow article.is-done > b { color: #086c62; background: #d9f7f1; }
.zp-family-flow article.is-current > b { color: #fff; background: #173f5a; box-shadow: 0 6px 16px rgba(23,63,90,.25); }
.zp-family-flow strong,
.zp-family-flow span { display: block; }
.zp-family-flow strong { margin-bottom: 2px; font-size: 11px; }
.zp-family-flow span { overflow: hidden; color: #8395a0; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.zp-family-flow > i { color: #aec0ca; font-style: normal; }
.zp-family-layout {
  display: grid;
  grid-template-columns: minmax(330px, .84fr) minmax(0, 1.36fr);
  gap: 22px;
  align-items: start;
}
.zp-family-request,
.zp-family-relations {
  border: 1px solid #dae7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(16,47,68,.06);
}
.zp-family-request { position: sticky; top: 110px; padding: 30px; }
.zp-family-request > span,
.zp-family-relations header span { margin-bottom: 10px; color: #168b7e; }
.zp-family-request h2,
.zp-family-relations h2 { margin: 0 0 9px; color: #15354b; font-size: 22px; letter-spacing: -.03em; }
.zp-family-request > p { margin: 0 0 24px; color: #718793; font-size: 11px; line-height: 1.7; }
.zp-family-request form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zp-family-request label { display: grid; gap: 7px; }
.zp-family-request label.is-wide,
.zp-family-request form > button { grid-column: 1 / -1; }
.zp-family-request label > span { color: #4f6774; font-size: 9px; font-weight: 850; }
.zp-family-request input,
.zp-family-request select,
.zp-family-request textarea,
.zp-family-response input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #d5e1e5;
  border-radius: 10px;
  outline: none;
  color: #17394d;
  background: #f8fbfc;
  font-size: 11px;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.zp-family-request textarea { resize: vertical; }
.zp-family-request input:focus,
.zp-family-request select:focus,
.zp-family-request textarea:focus,
.zp-family-response input:focus { border-color: #58cdbd; background: #fff; box-shadow: 0 0 0 3px rgba(88,205,189,.14); }
.zp-family-request form > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  padding: 0 17px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(110deg, #133c54, #0f756e);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15,94,89,.16);
}
.zp-family-request form > button i { font-style: normal; font-size: 18px; }
.zp-family-request footer { display: grid; gap: 4px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #e6eef1; }
.zp-family-request footer b { color: #21445a; font-size: 9px; }
.zp-family-request footer span { color: #83949e; font-size: 8px; line-height: 1.6; }
.zp-family-explain { position: sticky; overflow: hidden; color: #dcecf2; background: linear-gradient(155deg, #102f45, #0d5160); }
.zp-family-explain h2 { color: #fff; }
.zp-family-explain > p { color: #b8d0d8; }
.zp-family-explain ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.zp-family-explain li { position: relative; padding-left: 20px; color: #c6dce3; font-size: 10px; line-height: 1.7; }
.zp-family-explain li::before { content: "✓"; position: absolute; left: 0; color: #72e4d2; font-weight: 900; }
.zp-family-relations { overflow: hidden; }
.zp-family-relations > header { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px 18px; border-bottom: 1px solid #e7eef1; }
.zp-family-relations > header h2 { margin: 0; }
.zp-family-relations > header > b { display: grid; min-width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #176d65; background: #e0f7f2; font-size: 10px; }
.zp-family-list { display: grid; }
.zp-family-list > article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 21px 26px;
  border-bottom: 1px solid #edf2f4;
}
.zp-family-list > article:last-child { border-bottom: 0; }
.zp-family-list > article > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #166f67;
  background: linear-gradient(145deg, #d8f8f1, #e7f4fb);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}
.zp-family-list article > div { min-width: 0; }
.zp-family-list article > div small,
.zp-family-list article > div strong,
.zp-family-list article > div p,
.zp-family-list article > div em { display: block; }
.zp-family-list article > div small { margin-bottom: 4px; color: #7b929e; font-size: 8px; }
.zp-family-list article > div strong { color: #173a50; font-size: 13px; }
.zp-family-list article > div p { overflow: hidden; margin: 4px 0 0; color: #738894; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.zp-family-list article > div em { margin-top: 5px; color: #467483; font-size: 8px; font-style: normal; }
.zp-family-list article > aside { display: grid; justify-items: end; gap: 5px; }
.zp-family-list article > aside b { padding: 6px 9px; border-radius: 99px; color: #806b31; background: #fff5d9; font-size: 8px; }
.zp-family-list article.status-active > aside b { color: #096b61; background: #ddf7f1; }
.zp-family-list article.status-rejected > aside b,
.zp-family-list article.status-revoked > aside b { color: #7a7d83; background: #edf0f2; }
.zp-family-list article > aside time { color: #9aaab2; font-size: 7px; }
.zp-family-response {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}
.zp-family-response button,
.zp-family-revoke button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #126e67;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}
.zp-family-response button.is-quiet,
.zp-family-revoke button { border: 1px solid #d8e2e6; color: #677b86; background: #fff; }
.zp-family-revoke { grid-column: 2 / -1; justify-self: end; }
.zp-family-list > .zp-empty { margin: 22px; padding: 35px; }

@media (max-width: 900px) {
  .zp-family-layout { grid-template-columns: 1fr; }
  .zp-family-request,
  .zp-family-explain { position: static; }
}
@media (max-width: 680px) {
  .zp-family-hub { width: min(100% - 20px, 1180px); margin-top: 18px; }
  .zp-family-hero { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding: 34px 24px 62px; border-radius: 24px; }
  .zp-family-hero h1 { font-size: clamp(34px, 12vw, 52px); }
  .zp-family-hero p { font-size: 12px; line-height: 1.75; }
  .zp-family-hero > aside { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 5px 14px; width: auto; padding: 16px 18px; border-radius: 16px; aspect-ratio: auto; }
  .zp-family-hero > aside b { grid-row: 1 / 3; align-self: center; font-size: 38px; }
  .zp-family-flow { grid-template-columns: 1fr; gap: 8px; width: calc(100% - 28px); margin-top: -38px; }
  .zp-family-flow > i { display: none; }
  .zp-family-flow article { padding: 2px; }
  .zp-family-request { padding: 24px 19px; }
  .zp-family-request form { grid-template-columns: 1fr; }
  .zp-family-request label.is-wide,
  .zp-family-request form > button { grid-column: auto; }
  .zp-family-relations > header { padding: 22px 19px 16px; }
  .zp-family-list > article { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
  .zp-family-list > article > i { width: 42px; height: 42px; }
  .zp-family-list article > aside { grid-column: 2; grid-row: auto; justify-items: start; }
  .zp-family-response { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .zp-family-response input { grid-column: 1 / -1; }
  .zp-family-revoke { grid-column: 1 / -1; justify-self: stretch; }
  .zp-family-revoke button { width: 100%; }
}

/* Tutor lesson learning workbench */
.z-lesson-workbench {
  margin: 34px 0 10px;
  padding: 24px;
  border: 1px solid #d8e5ea;
  border-radius: 22px;
  color: #18344c;
  background:
    radial-gradient(circle at 92% 0, rgba(117, 234, 215, 0.16), transparent 27%),
    #f7fbfc;
}
.z-lesson-workbench > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce7eb;
}
.z-lesson-workbench header span,
.z-lesson-actions section > span {
  color: #0d7a79;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.z-lesson-workbench h2 {
  margin: 6px 0 0;
  font-size: 25px;
}
.z-lesson-workbench > header > b {
  max-width: 48%;
  color: #657d8f;
  font-size: 10px;
  text-align: right;
}
.z-lesson-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 17px 0;
}
.z-lesson-segments article {
  min-height: 165px;
  padding: 18px;
  border: 1px solid #dce7eb;
  border-radius: 15px;
  background: #fff;
}
.z-lesson-segments i {
  color: #15a697;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.z-lesson-segments strong {
  display: block;
  margin: 20px 0 8px;
}
.z-lesson-segments p,
.z-lesson-actions p {
  margin: 0;
  color: #6b8091;
  font-size: 10px;
  line-height: 1.7;
}
.z-lesson-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 10px;
}
.z-lesson-actions > * {
  padding: 18px;
  border: 1px solid #dce7eb;
  border-radius: 15px;
  background: #fff;
}
.z-lesson-actions h3 {
  margin: 8px 0 12px;
  font-size: 16px;
}
.z-lesson-actions ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.z-lesson-actions li {
  position: relative;
  padding-left: 17px;
  color: #61798a;
  font-size: 10px;
}
.z-lesson-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65dac7;
}
.z-lesson-actions section a {
  display: inline-flex;
  margin-top: 15px;
  color: #0b7480;
  font-size: 10px;
  font-weight: 850;
}
.z-lesson-actions aside {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(145deg, #092a47, #0b5e63);
}
.z-lesson-actions aside a {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.z-lesson-actions aside small {
  color: #9fc0ca;
  font-size: 8px;
}
@media (max-width: 850px) {
  .z-lesson-segments { grid-template-columns: 1fr; }
  .z-lesson-segments article { min-height: 0; }
  .z-lesson-actions { grid-template-columns: 1fr 1fr; }
  .z-lesson-actions aside { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .z-lesson-workbench { padding: 17px; }
  .z-lesson-workbench > header { display: grid; }
  .z-lesson-workbench > header > b { max-width: none; text-align: left; }
  .z-lesson-actions { grid-template-columns: 1fr; }
  .z-lesson-actions aside { grid-column: auto; }
}

/* Learning workflow */
.zp-action-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

/* Classes, rosters and notifications */
.z-notifications {
  position: relative;
}
.z-notifications b {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border-radius: 20px;
  color: #06141d;
  background: #75ead7;
  font-size: 8px;
}
.zp-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.zp-class-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(117, 234, 215, 0.18),
      transparent 32%
    ),
    #fff;
  box-shadow: 0 16px 46px rgba(9, 43, 66, 0.06);
}
.zp-class-card > header {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.zp-class-card > header span,
.zp-roster > header span {
  color: #147a86;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.zp-class-card h2,
.zp-roster h2 {
  margin: 6px 0;
  font-size: 23px;
}
.zp-class-card > header > b {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 8px;
  color: #0c6d61;
  background: #e5f8f3;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.zp-student-chip {
  grid-column: 1/-1;
  margin: -6px 0 0;
  color: #684d93;
  font-size: 10px;
}
.zp-progress-ring {
  --progress: 0;
  width: 116px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 78%, transparent 80% 99%),
    conic-gradient(#23baa4 calc(var(--progress) * 1%), #e4edf1 0);
}
.zp-progress-ring strong {
  font-size: 27px;
}
.zp-progress-ring strong small {
  font-size: 10px;
}
.zp-progress-ring span {
  color: #73869a;
  font-size: 8px;
}
.zp-class-metrics {
  display: grid;
  align-content: center;
  gap: 8px;
}
.zp-class-metrics span {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  color: #718399;
  font-size: 10px;
}
.zp-class-metrics b {
  color: #17314d;
  font-size: 15px;
}
.zp-class-card > footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #e8eef2;
  color: #6f8296;
  font-size: 10px;
}
.zp-class-card > footer a {
  color: #0f7286;
  font-weight: 800;
}
.zp-guide-list {
  display: grid;
  gap: 12px;
}
.zp-guide-list p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #557086;
  line-height: 1.6;
}
.zp-guide-list b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #0b6f63;
  background: #e5f7f3;
  font-size: 9px;
}
.zp-class-rosters {
  display: grid;
  gap: 17px;
}
.zp-roster {
  padding: 23px;
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 20px;
  background: #fff;
}
.zp-roster > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.zp-roster > header small {
  display: block;
  color: #778a9d;
}
.zp-roster > header a {
  padding: 8px 11px;
  border-radius: 9px;
  color: #0d6e62;
  background: #e7f8f3;
  font-size: 10px;
  font-weight: 800;
}
.zp-add-student {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 9px;
  align-items: end;
  margin: 18px 0;
  padding: 14px;
  border-radius: 13px;
  background: #f3f8fa;
}
.zp-add-student label {
  display: grid;
  gap: 5px;
  color: #667d91;
  font-size: 9px;
}
.zp-add-student input {
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #d6e0e8;
  border-radius: 9px;
  background: #fff;
}
.zp-add-student button {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #071721;
  background: #75ead7;
  font-weight: 850;
}
.zp-roster-table {
  overflow: auto;
}
.zp-roster-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.zp-roster-table th,
.zp-roster-table td {
  padding: 12px 9px;
  border-bottom: 1px solid #e8eef2;
  text-align: left;
  font-size: 10px;
}
.zp-roster-table td strong,
.zp-roster-table td small {
  display: block;
}
.zp-roster-table td small {
  color: #7a8d9f;
}
.zp-mini-progress {
  width: 82px;
  height: 5px;
  display: inline-block;
  margin-right: 7px;
  overflow: hidden;
  border-radius: 9px;
  background: #e5edf1;
  vertical-align: middle;
}
.zp-mini-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #37c5ac, #6ddfd0);
}
.zp-link-button {
  padding: 0;
  border: 0;
  color: #9a5248;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}
.zp-notification-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 19px;
  border: 1px solid #dce5ed;
  border-radius: 15px;
  background: #fff;
}
.zp-notification-toolbar button,
.zp-notification-list button {
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: #0d6d62;
  background: #e5f7f2;
  font-size: 9px;
  cursor: pointer;
}
.zp-notification-list {
  display: grid;
  gap: 10px;
}
.zp-notification-list > article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dce5ed;
  border-radius: 16px;
  background: #fff;
}
.zp-notification-list > article.unread {
  border-color: #a8ddd5;
  background: linear-gradient(100deg, #f0fbf8, #fff 60%);
}
.zp-notification-list > article > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #09695f;
  background: #dff6f1;
  font-style: normal;
  font-weight: 850;
}
.zp-notification-list h2 {
  margin: 3px 0;
  font-size: 17px;
}
.zp-notification-list p {
  margin: 0;
  color: #647c91;
  font-size: 10px;
}
.zp-notification-list span {
  color: #8898a7;
  font-size: 8px;
}
.zp-notification-list footer {
  display: grid;
  gap: 6px;
  justify-items: end;
}
.zp-notification-list footer a {
  color: #0e7286;
  font-size: 10px;
  font-weight: 800;
}
@media (max-width: 720px) {
  .zp-class-card {
    grid-template-columns: 1fr;
  }
  .zp-class-card > * {
    grid-column: 1 !important;
  }
  .zp-progress-ring {
    justify-self: center;
  }
  .zp-class-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .zp-class-metrics span {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .zp-add-student {
    grid-template-columns: 1fr;
  }
  .zp-notification-list > article {
    grid-template-columns: 44px 1fr;
  }
  .zp-notification-list footer {
    grid-column: 2;
    display: flex;
    justify-content: flex-start;
    justify-items: start;
  }
  .zp-roster {
    padding: 18px;
  }
  .zp-roster > header {
    display: grid;
  }
}
@media (max-width: 420px) {
  .zp-class-grid {
    grid-template-columns: 1fr;
  }
  .zp-class-card {
    padding: 19px;
  }
  .zp-class-metrics {
    grid-template-columns: 1fr;
  }
  .zp-class-metrics span {
    grid-template-columns: 52px 1fr;
    text-align: left;
  }
  .zp-notification-list > article {
    padding: 14px;
  }
  .zp-notification-list p {
    line-height: 1.55;
  }
}

/* Role workspaces: enrolled courses and live review queue */
.zp-learning-shelf,
.zp-teacher-queue {
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(10, 46, 69, 0.055);
}
.zp-learning-shelf > header,
.zp-teacher-queue > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #e7edf2;
}
.zp-learning-shelf > header span,
.zp-teacher-queue > header span {
  color: #0f7c82;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.16em;
}
.zp-learning-shelf > header h2,
.zp-teacher-queue > header h2 {
  margin: 6px 0 0;
  font-size: 25px;
  letter-spacing: -0.025em;
}
.zp-learning-shelf > header > a {
  color: #0f7183;
  font-size: 10px;
  font-weight: 800;
}
.zp-learning-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 14px;
  padding: 16px;
}
.zp-learning-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  min-height: 255px;
  overflow: hidden;
  border: 1px solid #e0e8ee;
  border-radius: 18px;
  background: #fbfdfe;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.zp-learning-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(9, 48, 73, 0.1);
}
.zp-learning-cover {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 15, 29, 0.08), rgba(4, 15, 29, 0.88)),
    var(--course-image, linear-gradient(145deg, #0b4961, #162a57)) center/cover no-repeat;
}
.zp-learning-cover span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(4, 18, 32, 0.42);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.zp-learning-cover small {
  color: #d9e8ee;
  font-size: 7px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.zp-learning-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.zp-learning-card > div > header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #71869a;
  font-size: 8px;
}
.zp-learning-card > div > header span {
  color: #0d7b7d;
  font-weight: 850;
}
.zp-learning-card h3 {
  margin: 13px 0 8px;
  color: #142e49;
  font-size: 19px;
  line-height: 1.25;
}
.zp-learning-card p {
  margin: 0;
  color: #6f8295;
  font-size: 9px;
  line-height: 1.65;
}
.zp-course-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
}
.zp-course-progress > span {
  height: 6px;
  overflow: hidden;
  border-radius: 10px;
  background: #e3ecef;
}
.zp-course-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #25b99f, #72dfd1);
}
.zp-course-progress b {
  color: #0c6d64;
  font-size: 10px;
}
.zp-learning-card footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  color: #708397;
  font-size: 8px;
}
.zp-learning-card footer a {
  justify-self: end;
  color: #0c7284;
  font-weight: 850;
}
.zp-course-empty {
  grid-column: 1/-1;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px dashed #cbd9e2;
  border-radius: 16px;
}
.zp-course-empty strong {
  color: #26425b;
  font-size: 17px;
}
.zp-course-empty p {
  max-width: 580px;
  margin: 0;
  line-height: 1.7;
}
.zp-course-empty a {
  margin-top: 5px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #062027;
  background: #75ead7;
  font-size: 10px;
  font-weight: 850;
}
.zp-teacher-queue > header > div:last-child {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 8px;
  align-items: baseline;
  color: #75889a;
  font-size: 8px;
}
.zp-teacher-queue > header > div:last-child strong {
  color: #12334a;
  font-size: 20px;
}
.zp-queue-list {
  display: grid;
}
.zp-queue-list > a {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 75px;
  padding: 10px 24px;
  border-bottom: 1px solid #ebf0f3;
  transition: background 0.2s ease;
}
.zp-queue-list > a:hover {
  background: #f5fafb;
}
.zp-queue-list > a:last-child {
  border-bottom: 0;
}
.zp-queue-list i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #0b6d63;
  background: #e2f6f1;
  font-style: normal;
  font-weight: 900;
}
.zp-queue-list > a > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.zp-queue-list span,
.zp-queue-list small {
  color: #7c8fa1;
  font-size: 8px;
}
.zp-queue-list strong {
  overflow: hidden;
  color: #18334c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zp-queue-list b {
  padding: 6px 9px;
  border-radius: 99px;
  color: #126b5c;
  background: #e5f6f1;
  font-size: 8px;
}
.zp-queue-list b.status-submitted {
  color: #875b13;
  background: #fff5db;
}
.zp-queue-list b.status-revision {
  color: #8a5149;
  background: #fff0ed;
}
.zp-queue-list b.status-graded {
  color: #526779;
  background: #edf2f5;
}
.zp-queue-list em {
  color: #14808a;
  font-style: normal;
}
@media (max-width: 760px) {
  .zp-learning-shelf > header,
  .zp-teacher-queue > header {
    align-items: flex-start;
    padding: 21px 19px 16px;
  }
  .zp-learning-cards {
    grid-template-columns: 1fr;
    padding: 11px;
  }
  .zp-learning-card {
    grid-template-columns: 1fr;
  }
  .zp-learning-cover {
    min-height: 190px;
  }
  .zp-learning-card footer {
    grid-template-columns: 1fr 1fr;
  }
  .zp-learning-card footer a {
    grid-column: 1/-1;
    justify-self: start;
  }
  .zp-queue-list > a {
    grid-template-columns: 40px 1fr auto;
    padding: 12px 17px;
  }
  .zp-queue-list em {
    display: none;
  }
}
@media (max-width: 480px) {
  .zp-learning-shelf > header,
  .zp-teacher-queue > header {
    display: grid;
  }
  .zp-teacher-queue > header > div:last-child {
    grid-template-columns: auto auto auto auto;
    justify-content: start;
  }
  .zp-queue-list > a {
    grid-template-columns: 38px 1fr;
  }
  .zp-queue-list b {
    grid-column: 2;
    justify-self: start;
  }
}

/* WooCommerce course checkout */
body.woocommerce-checkout .z-content-page {
  background: linear-gradient(180deg, #f2f7f9, #eef4f7);
}
body.woocommerce-checkout .z-page-card > header {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 82% 10%, rgba(117, 234, 215, 0.2), transparent 34%),
    linear-gradient(135deg, #06172c, #0b4d5e);
}
body.woocommerce-checkout .woocommerce {
  color: #18324b;
}
body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 24px;
  align-items: start;
}
body.woocommerce-checkout form.checkout > .col2-set {
  grid-row: 1/4;
  padding: 25px;
  border: 1px solid #dbe5eb;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(12, 46, 68, 0.06);
}
body.woocommerce-checkout #order_review_heading {
  margin: 0;
  padding: 24px 24px 0;
  border: 1px solid #dbe5eb;
  border-bottom: 0;
  border-radius: 21px 21px 0 0;
  background: #fff;
}
body.woocommerce-checkout #order_review {
  padding: 12px 24px 24px;
  border: 1px solid #dbe5eb;
  border-top: 0;
  border-radius: 0 0 21px 21px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(12, 46, 68, 0.06);
}
body.woocommerce-checkout h3 {
  color: #17354e;
  font-size: 22px;
}
body.woocommerce-checkout .form-row label {
  color: #657b8d;
  font-size: 10px;
  font-weight: 700;
}
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
  min-height: 44px;
  border: 1px solid #d2dde5 !important;
  border-radius: 9px !important;
  background: #fbfdfe !important;
}
body.woocommerce-checkout table.shop_table {
  border: 0;
  border-collapse: collapse;
}
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  padding: 14px 7px;
  border-bottom: 1px solid #e7edf1;
  font-size: 10px;
}
body.woocommerce-checkout #payment {
  border-radius: 15px;
  background: #f1f7f8;
}
body.woocommerce-checkout #payment ul.payment_methods {
  padding: 12px;
  border-bottom: 1px solid #dce6eb;
}
body.woocommerce-checkout #payment ul.payment_methods > li {
  margin: 7px 0;
  padding: 13px;
  border: 1px solid #d9e4ea;
  border-radius: 11px;
  background: #fff;
}
body.woocommerce-checkout #payment label {
  color: #17364f;
  font-weight: 800;
}
body.woocommerce-checkout #payment div.payment_box {
  border-radius: 9px;
  color: #62798b;
  background: #edf6f5;
  font-size: 10px;
}
body.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  color: #061a21;
  background: linear-gradient(90deg, #72ead6, #9be7ef);
  font-weight: 900;
}
.zpay-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  border-radius: 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  vertical-align: middle;
}
.zpay-icon.wechat { background: #16b759; }
.zpay-icon.alipay { background: #1677ff; }
.zpay-assurance {
  margin-bottom: 15px;
  padding: 18px;
  border: 1px solid #cde2e2;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0fbf8, #f7fbfd);
}
.zpay-assurance > span,
.zpay-result > span {
  color: #118076;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.zpay-assurance > strong {
  display: block;
  margin: 7px 0;
  color: #173b50;
}
.zpay-assurance > p {
  margin: 0;
  color: #6e8292;
  font-size: 9px;
  line-height: 1.65;
}
.zpay-assurance > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #678091;
  font-size: 8px;
}
.zpay-assurance i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #086f65;
  background: #dff4ef;
  font-style: normal;
  font-weight: 900;
}
.zpay-result {
  margin: 22px 0;
  padding: 26px;
  border: 1px solid #cfe1e4;
  border-radius: 18px;
  background: linear-gradient(145deg, #f0fbf8, #fff);
}
.zpay-result.waiting { background: linear-gradient(145deg, #fff9e9, #fff); }
.zpay-result h2 { margin: 9px 0; }
.zpay-result p { color: #667e90; line-height: 1.7; }
.zpay-result a {
  display: inline-flex;
  margin-top: 7px;
  padding: 11px 15px;
  border-radius: 9px;
  color: #061c24;
  background: #75ead7;
  font-size: 10px;
  font-weight: 850;
}
@media (max-width: 900px) {
  body.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  body.woocommerce-checkout form.checkout > .col2-set { grid-row: auto; }
}
@media (max-width: 520px) {
  body.woocommerce-checkout form.checkout > .col2-set,
  body.woocommerce-checkout #order_review { padding: 17px; }
  body.woocommerce-checkout #order_review_heading { padding: 18px 17px 0; }
  .zpay-assurance > div { flex-wrap: wrap; }
}
.zp-action-rail > a {
  position: relative;
  display: grid;
  gap: 6px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dce5ed;
  border-radius: 17px;
  color: #17314d;
  background: linear-gradient(145deg, #fff, #f3fbfb);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.zp-action-rail > a::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(117, 234, 215, 0.28),
    transparent 68%
  );
}
.zp-action-rail > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(16, 51, 75, 0.1);
}
.zp-action-rail span {
  color: #698097;
  font-size: 10px;
}
.zp-action-rail strong {
  font-size: 20px;
}
.zp-action-rail i {
  color: #13758a;
  font-size: 10px;
  font-style: normal;
}
.zp-family-list .zp-person > div p {
  margin: 4px 0 0;
  color: #526b83;
  font-size: 10px;
}
.zp-family-list > header strong {
  color: #7154a1;
  font-size: 11px;
}
.zp-assignment-list,
.zp-review-stream {
  display: grid;
  gap: 15px;
}
.zp-assignment-card,
.zp-review-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid #dce5ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(9, 43, 66, 0.05);
}
.zp-assignment-card > header,
.zp-review-card > header,
.zp-review-stream > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.zp-assignment-card > header span,
.zp-review-card > header span,
.zp-review-stream > header span {
  color: #147a86;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.zp-assignment-card h2,
.zp-review-card h2 {
  margin: 6px 0;
  font-size: 23px;
}
.zp-assignment-card > header > b,
.zp-review-card > header > b {
  padding: 6px 10px;
  border-radius: 99px;
  color: #146855;
  background: #e6f7f1;
  font-size: 10px;
}
.zp-assignment-card.status-revision {
  border-color: #f1c9a7;
}
.zp-assignment-card.status-revision > header > b {
  color: #97511d;
  background: #fff0e5;
}
.zp-assignment-card > p {
  color: #526b83;
  line-height: 1.75;
}
.zp-assignment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.zp-assignment-meta span,
.zp-assignment-meta strong {
  padding: 6px 9px;
  border-radius: 8px;
  color: #526b83;
  background: #f0f5f8;
  font-size: 9px;
}
.zp-assignment-meta strong {
  color: #0a6d61;
  background: #e2f8f2;
}
.zp-feedback {
  margin: 16px 0;
  padding: 16px;
  border-left: 3px solid #75ead7;
  border-radius: 0 12px 12px 0;
  background: #f1fbf8;
}
.zp-feedback p {
  margin: 6px 0 0;
  color: #385f5a;
  line-height: 1.7;
}
.zp-submit-work,
.zp-review-card form,
.zp-create-assignment {
  display: grid;
  gap: 12px;
}
.zp-submit-work label,
.zp-review-card form label,
.zp-create-assignment label {
  display: grid;
  gap: 6px;
  color: #60758a;
  font-size: 10px;
}
.zp-submit-work textarea,
.zp-review-card textarea,
.zp-create-assignment textarea {
  min-height: 125px;
}
.zp-submit-work textarea,
.zp-review-card textarea,
.zp-review-card input,
.zp-review-card select,
.zp-create-assignment input,
.zp-create-assignment select,
.zp-create-assignment textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #d6e0e8;
  border-radius: 10px;
  background: #fff;
}
.zp-submit-work button,
.zp-review-card button,
.zp-create-assignment button {
  justify-self: start;
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  color: #071721;
  background: #75ead7;
  font-weight: 850;
}
.zp-submission-copy,
.zp-student-work {
  padding: 16px;
  border-radius: 12px;
  color: #38516a;
  background: #f4f8fa;
  line-height: 1.8;
}
.zp-teaching-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}
.zp-form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zp-review-stream > header {
  align-items: center;
  padding: 6px 4px;
}
.zp-review-card > header small {
  color: #7d8fa0;
}
.zp-review-card form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e7edf2;
}
@media (max-width: 850px) {
  .zp-action-rail,
  .zp-teaching-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .zp-assignment-card,
  .zp-review-card {
    padding: 18px;
  }
  .zp-assignment-card > header,
  .zp-review-card > header {
    display: grid;
  }
  .zp-form-pair {
    grid-template-columns: 1fr;
  }
  .zp-action-rail > a {
    padding: 17px;
  }
  .zp-person {
    grid-template-columns: 42px 1fr;
  }
  .zp-person > span {
    grid-column: 2;
  }
  .zp-hero p {
    font-size: 13px;
  }
  .zp-hero > b {
    display: none;
  }
}

/* A-Level diagnostic */
.zp-diagnostic-shell {
  max-width: 1180px;
}
.zp-diagnostic-shell > header {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 74px);
  border-radius: 26px;
  color: #eefaff;
  background:
    radial-gradient(circle at 85% 15%, rgba(111, 234, 211, .2), transparent 28%),
    linear-gradient(135deg, #061523 0%, #0c2241 62%, #111b45 100%);
}
.zp-diagnostic-shell > header::after {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -62px;
  bottom: -120px;
  border: 1px solid rgba(114, 234, 214, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(114, 234, 214, .04), 0 0 0 78px rgba(127, 180, 255, .035);
  content: "";
}
.zp-diagnostic-shell > header span,
.zp-diagnostic-result header span,
.zp-recommendation span,
.zp-week-plan header span {
  color: #72ead6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.zp-diagnostic-shell > header h1 {
  max-width: 720px;
  margin: 12px 0;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.zp-diagnostic-shell > header p {
  max-width: 720px;
  margin: 0;
  color: #a9bdcf;
  font-size: 15px;
  line-height: 1.9;
}
.zp-diagnostic-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.zp-diagnostic-form fieldset {
  margin: 0;
  padding: 24px;
  border: 1px solid #dfe9ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 40px rgba(9, 43, 66, .04);
}
.zp-diagnostic-form legend {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 8px;
  color: #132b42;
  font-size: 15px;
  font-weight: 850;
}
.zp-diagnostic-form legend b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #063e43;
  background: #75ead7;
  font-size: 9px;
}
.zp-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.zp-option-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.zp-option-grid label {
  position: relative;
  cursor: pointer;
}
.zp-option-grid input {
  position: absolute;
  opacity: 0;
}
.zp-option-grid span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid #dce7ed;
  border-radius: 12px;
  color: #546b80;
  background: #f7fafb;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  transition: .22s ease;
}
.zp-option-grid label:hover span,
.zp-option-grid input:focus-visible + span {
  border-color: #70d7c8;
  transform: translateY(-2px);
}
.zp-option-grid input:checked + span {
  border-color: #72dac9;
  color: #073f43;
  background: linear-gradient(135deg, #dffff8, #effcff);
  box-shadow: inset 0 0 0 1px #72dac9, 0 10px 24px rgba(72, 187, 170, .12);
}
.zp-diagnostic-form > button {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  color: #061c23;
  background: linear-gradient(110deg, #6be8d3, #9be8ff);
  box-shadow: 0 18px 38px rgba(41, 171, 164, .22);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.zp-diagnostic-form > button span {
  font-size: 10px;
  letter-spacing: .12em;
}
.zp-diagnostic-result {
  margin-top: 22px;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 26px;
  color: #eaf7ff;
  background:
    radial-gradient(circle at 88% 10%, rgba(127, 180, 255, .18), transparent 24%),
    linear-gradient(145deg, #071624, #0a1e37 60%, #101b3e);
  box-shadow: 0 24px 70px rgba(2, 18, 34, .25);
}
.zp-diagnostic-result > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.zp-diagnostic-result > header h2 {
  margin: 8px 0;
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: -.04em;
}
.zp-diagnostic-result > header p {
  margin: 0;
  color: #91a9bd;
}
.zp-diagnostic-result > header > i {
  display: grid;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  place-items: center;
  border: 1px solid rgba(118, 235, 215, .35);
  border-radius: 50%;
  color: #75ead7;
  background: rgba(111, 234, 211, .07);
  box-shadow: 0 0 0 12px rgba(111, 234, 211, .035);
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
}
.zp-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}
.zp-score-grid article {
  display: grid;
  padding: 20px;
  border: 1px solid rgba(151, 190, 220, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.zp-score-grid article > span {
  color: var(--score-color);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}
.zp-score-grid article > strong {
  margin-top: 7px;
  font-size: 14px;
}
.zp-score-grid article > b {
  margin: 14px 0 10px;
  color: var(--score-color);
  font-size: 38px;
}
.zp-score-grid article > b small {
  font-size: 13px;
}
.zp-score-grid article > div {
  overflow: hidden;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.09);
}
.zp-score-grid article > div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--score-color);
}
.zp-score-grid article p {
  margin: 12px 0 0;
  color: #90a7bb;
  font-size: 11px;
  line-height: 1.65;
}
.zp-recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px;
  border: 1px solid rgba(111, 234, 211, .22);
  border-radius: 16px;
  background: rgba(111, 234, 211, .07);
}
.zp-recommendation h3 {
  margin: 6px 0;
  font-size: 20px;
}
.zp-recommendation p {
  max-width: 650px;
  margin: 0;
  color: #9db2c4;
  font-size: 12px;
  line-height: 1.7;
}
.zp-recommendation a {
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 10px;
  color: #061d24;
  background: #75ead7;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.zp-week-plan {
  margin-top: 30px;
}
.zp-week-plan > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.zp-week-plan h3 {
  margin: 6px 0 0;
  font-size: 22px;
}
.zp-week-plan > header > b {
  color: #8ba5ba;
  font-size: 11px;
}
.zp-week-plan > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.zp-week-plan article {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(147, 183, 209, .13);
}
.zp-week-plan article > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #75ead7;
  background: rgba(111, 234, 211, .08);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.zp-week-plan article strong {
  font-size: 12px;
}
.zp-week-plan article p {
  margin: 4px 0 0;
  color: #859db2;
  font-size: 10px;
  line-height: 1.55;
}
.zp-week-plan article > span {
  color: #75ead7;
  font-size: 10px;
  font-weight: 850;
}
.zp-diagnostic-history {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #dfe9ee;
  border-radius: 18px;
  background: #fff;
}
.zp-diagnostic-history > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}
.zp-diagnostic-history > header span {
  color: #148077;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.zp-diagnostic-history h2 {
  margin: 5px 0 0;
  color: #132b42;
  font-size: 22px;
}
.zp-diagnostic-history > header small {
  color: #8497a7;
}
.zp-diagnostic-history article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e8eff3;
}
.zp-diagnostic-history article:last-child {
  border-bottom: 0;
}
.zp-diagnostic-history article > i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #0a6d63;
  background: #e8f8f5;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.zp-diagnostic-history article small {
  color: #8798a6;
  font-size: 9px;
}
.zp-diagnostic-history article strong {
  display: block;
  margin: 4px 0;
  color: #173049;
  font-size: 13px;
}
.zp-diagnostic-history article p {
  margin: 0;
  color: #71879a;
  font-size: 10px;
}
.zp-diagnostic-history article a {
  color: #0b776d;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

/* Customer after-sales and refund tracking */
.zp-refund-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 18px 22px;
  border-radius: 16px;
  color: #d8eaf2;
  background: linear-gradient(110deg, #071522, #0e2440);
}
.zp-refund-flow span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}
.zp-refund-flow b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #063f42;
  background: #74ead7;
  font-size: 8px;
}
.zp-refund-flow i {
  color: #64849b;
  font-style: normal;
}
.zp-after-sales-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.zp-refund-form {
  align-content: start;
}
.zp-refund-form label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  color: #587086;
  font-size: 10px;
  font-weight: 750;
}
.zp-refund-form input,
.zp-refund-form select,
.zp-refund-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d6e2e9;
  border-radius: 10px;
  color: #183047;
  background: #fbfdfe;
  font: inherit;
  font-size: 12px;
}
.zp-refund-form textarea {
  min-height: 132px;
  resize: vertical;
}
.zp-refund-form button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  color: #062129;
  background: linear-gradient(110deg, #72ead6, #a1e9ff);
  font-weight: 900;
  cursor: pointer;
}
.zp-refund-form > small {
  display: block;
  margin-top: 10px;
  color: #8395a5;
  line-height: 1.6;
}
.zp-refund-history article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e7eef2;
}
.zp-refund-history article:last-child {
  border-bottom: 0;
}
.zp-refund-history article small {
  color: #8294a5;
  font-size: 9px;
}
.zp-refund-history article strong {
  display: block;
  margin: 7px 0;
  color: #183047;
  font-size: 19px;
}
.zp-refund-history article p {
  margin: 0;
  color: #5f7589;
  font-size: 11px;
  line-height: 1.65;
}
.zp-refund-history article em {
  display: block;
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #44625f;
  background: #eef8f5;
  font-size: 10px;
  font-style: normal;
}
.zp-refund-history article > b {
  align-self: start;
  padding: 6px 9px;
  border-radius: 99px;
  color: #2b7064;
  background: #e8f8f4;
  font-size: 9px;
  white-space: nowrap;
}
.zp-refund-history article > b.status-rejected,
.zp-refund-history article > b.status-failed {
  color: #9a4c3d;
  background: #fff0eb;
}
.zp-refund-history article > b.status-processing,
.zp-refund-history article > b.status-reviewing {
  color: #83621f;
  background: #fff7dc;
}

@media (max-width: 850px) {
  .zp-option-grid.four,
  .zp-score-grid,
  .zp-after-sales-grid {
    grid-template-columns: 1fr 1fr;
  }
  .zp-after-sales-grid {
    grid-template-columns: 1fr;
  }
  .zp-refund-flow {
    grid-template-columns: 1fr 1fr;
  }
  .zp-refund-flow i {
    display: none;
  }
}
@media (max-width: 600px) {
  .zp-option-grid,
  .zp-option-grid.four,
  .zp-score-grid,
  .zp-week-plan > div {
    grid-template-columns: 1fr;
  }
  .zp-diagnostic-form fieldset {
    padding: 18px 14px;
  }
  .zp-diagnostic-result > header,
  .zp-recommendation,
  .zp-week-plan > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .zp-diagnostic-result > header > i {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 18px;
  }
  .zp-recommendation a {
    width: 100%;
    text-align: center;
  }
  .zp-refund-flow {
    grid-template-columns: 1fr;
  }
  .zp-diagnostic-history article {
    grid-template-columns: 40px 1fr;
  }
  .zp-diagnostic-history article a {
    grid-column: 2;
  }
}

/* Teacher course creation studio */
.zp-studio-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  padding: 18px 22px;
  border-radius: 16px;
  color: #dcecf4;
  background: linear-gradient(115deg, #071522, #102442 70%, #151d43);
}
.zp-studio-flow span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  font-weight: 850;
}
.zp-studio-flow span b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #063c42;
  background: #76ead7;
  font-size: 8px;
}
.zp-studio-flow > i {
  color: #607e96;
  font-style: normal;
}
.zp-studio-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.zp-course-library {
  position: sticky;
  top: 18px;
}
.zp-course-library > header,
.zp-editor-section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.zp-course-library > header span,
.zp-editor-section > header span {
  color: #158077;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}
.zp-course-library h2,
.zp-editor-section h2 {
  margin: 5px 0 0;
  color: #152d44;
  font-size: 22px;
}
.zp-course-library > header > a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #096b63;
  background: #e7f8f4;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}
.zp-course-library > div {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
.zp-course-library > div > a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #29445c;
  background: #f6f9fa;
  text-decoration: none;
  transition: .2s ease;
}
.zp-course-library > div > a:hover,
.zp-course-library > div > a.active {
  border-color: #9ce2d7;
  background: #effbf8;
  transform: translateX(3px);
}
.zp-course-library > div > a > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background-image: linear-gradient(135deg, rgba(8,28,44,.3), rgba(9,74,75,.4)), var(--thumb, linear-gradient(135deg,#1e5162,#112b4a));
  background-position: center;
  background-size: cover;
  font-style: normal;
  font-weight: 900;
}
.zp-course-library > div > a strong {
  display: block;
  font-size: 11px;
  line-height: 1.4;
}
.zp-course-library > div > a small {
  display: block;
  margin-top: 3px;
  color: #8093a3;
  font-size: 8px;
}
.zp-course-library > div > a > span {
  color: #65a99f;
}
.zp-course-editor {
  display: grid;
  gap: 14px;
}
.zp-editor-section > header > small,
.zp-editor-section > header > b {
  color: #8495a3;
  font-size: 9px;
}
.zp-editor-section > header > b {
  padding: 6px 9px;
  border-radius: 99px;
  color: #2c7568;
  background: #e7f7f3;
}
.zp-review-note {
  margin-top: 16px;
  padding: 14px;
  border-left: 3px solid #e0a45f;
  border-radius: 0 10px 10px 0;
  color: #7b551f;
  background: #fff8e9;
}
.zp-review-note strong {
  font-size: 10px;
}
.zp-review-note p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.6;
}
.zp-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 18px;
}
.zp-editor-grid label,
.zp-module-editor label,
.zp-cover-upload label {
  display: grid;
  gap: 6px;
  color: #5d7387;
  font-size: 10px;
  font-weight: 750;
}
.zp-editor-grid label.wide {
  grid-column: 1 / -1;
}
.zp-editor-grid input,
.zp-editor-grid select,
.zp-editor-grid textarea,
.zp-module-editor input,
.zp-module-editor textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d6e2e8;
  border-radius: 9px;
  color: #193249;
  background: #fbfdfe;
  font: inherit;
  font-size: 11px;
  transition: .18s ease;
}
.zp-editor-grid input:focus,
.zp-editor-grid select:focus,
.zp-editor-grid textarea:focus,
.zp-module-editor input:focus,
.zp-module-editor textarea:focus {
  border-color: #62cfc0;
  outline: 3px solid rgba(98,207,192,.12);
}
.zp-cover-upload {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}
.zp-cover-upload > div {
  display: grid;
  min-height: 170px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #9acfc8;
  border-radius: 14px;
  color: #e9ffff;
  background-image: linear-gradient(135deg, rgba(5,22,35,.45), rgba(12,55,72,.32)), var(--cover, linear-gradient(135deg,#0f3348,#12244b));
  background-position: center;
  background-size: cover;
}
.zp-cover-upload > div span {
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(5,22,35,.74);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.zp-cover-upload label strong {
  color: #18344b;
  font-size: 13px;
}
.zp-cover-upload input[type=file] {
  padding: 12px;
  border: 1px solid #d9e4ea;
  border-radius: 10px;
  background: #f7fafb;
}
.zp-cover-upload label small {
  color: #8797a5;
  line-height: 1.6;
}
.zp-module-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.zp-module-editor article {
  padding: 17px;
  border: 1px solid #dfe8ed;
  border-radius: 14px;
  background: #f8fbfc;
}
.zp-module-editor article > header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.zp-module-editor article > header b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #084944;
  background: #d9f7f1;
  font-size: 8px;
}
.zp-module-editor article > header span {
  color: #8194a3;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.zp-module-editor article > label {
  margin-top: 10px;
}
.zp-module-editor article > div {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 9px;
  margin-top: 10px;
}
.zp-editor-actions {
  position: sticky;
  z-index: 5;
  bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(125,174,200,.22);
  border-radius: 14px;
  color: #e8f6fd;
  background: rgba(6,21,34,.95);
  box-shadow: 0 18px 50px rgba(3,20,34,.28);
  backdrop-filter: blur(14px);
}
.zp-editor-actions > div {
  flex: 1;
}
.zp-editor-actions strong,
.zp-editor-actions span {
  display: block;
}
.zp-editor-actions strong {
  font-size: 11px;
}
.zp-editor-actions span {
  margin-top: 3px;
  color: #88a4b7;
  font-size: 9px;
}
.zp-editor-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(143,181,204,.28);
  border-radius: 9px;
  color: #dbeaf2;
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.zp-editor-actions button.primary {
  border-color: #73ead6;
  color: #06212a;
  background: #73ead6;
}

@media (max-width: 960px) {
  .zp-studio-layout {
    grid-template-columns: 1fr;
  }
  .zp-course-library {
    position: static;
  }
  .zp-course-library > div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .zp-studio-flow,
  .zp-editor-grid,
  .zp-cover-upload,
  .zp-module-editor,
  .zp-course-library > div {
    grid-template-columns: 1fr;
  }
  .zp-studio-flow > i {
    display: none;
  }
  .zp-editor-grid label.wide {
    grid-column: auto;
  }
  .zp-module-editor article > div {
    grid-template-columns: 1fr;
  }
  .zp-editor-actions {
    position: static;
    display: grid;
  }
  .zp-editor-actions button {
    width: 100%;
  }
}

/* Live lessons, timetable, attendance and replays */
.zp-schedule-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.zp-schedule-kpis article {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dbe7ed;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f2fbfa);
}
.zp-schedule-kpis article::after {
  position: absolute;
  width: 90px;
  height: 90px;
  right: -34px;
  bottom: -42px;
  border-radius: 50%;
  background: rgba(113, 233, 213, .16);
  content: "";
}
.zp-schedule-kpis span,
.zp-schedule-kpis small {
  display: block;
  color: #71879a;
  font-size: 9px;
}
.zp-schedule-kpis strong {
  display: block;
  margin: 9px 0;
  color: #173149;
  font-size: 30px;
}
.zp-live-timeline,
.zp-replay-shelf,
.zp-live-manage {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #dce7ed;
  border-radius: 20px;
  background: #fff;
}
.zp-live-timeline > header,
.zp-replay-shelf > header,
.zp-live-manage > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.zp-live-timeline > header span,
.zp-replay-shelf > header span,
.zp-live-manage > header span,
.zp-live-create > header span,
.zp-live-guide > header span {
  color: #148078;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.zp-live-timeline h2,
.zp-replay-shelf h2,
.zp-live-manage h2,
.zp-live-create h2,
.zp-live-guide h2 {
  margin: 5px 0 0;
  color: #152e45;
  font-size: 23px;
}
.zp-live-timeline > header small,
.zp-replay-shelf > header strong,
.zp-live-manage > header strong {
  color: #8194a4;
  font-size: 9px;
}
.zp-live-timeline > div {
  display: grid;
  gap: 9px;
}
.zp-live-timeline article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px;
  border: 1px solid #e2eaef;
  border-radius: 15px;
  background: #f8fbfc;
}
.zp-live-timeline article.status-live {
  border-color: #76d9ca;
  background: linear-gradient(110deg, #edfcf9, #f5fbff);
  box-shadow: 0 12px 30px rgba(67, 183, 168, .1);
}
.zp-live-timeline time,
.zp-session-date {
  display: grid;
  min-height: 68px;
  place-items: center;
  align-content: center;
  border-radius: 12px;
  color: #e9faff;
  background: linear-gradient(145deg, #102d42, #11234a);
}
.zp-live-timeline time b,
.zp-session-date b {
  font-size: 16px;
}
.zp-live-timeline time span,
.zp-session-date span {
  margin-top: 3px;
  color: #76ead7;
  font-size: 9px;
}
.zp-live-timeline article > div > span,
.zp-live-manage article > div:nth-child(2) > span {
  color: #158077;
  font-size: 9px;
  font-weight: 850;
}
.zp-live-timeline h3,
.zp-live-manage h3 {
  margin: 5px 0;
  color: #183149;
  font-size: 16px;
}
.zp-live-timeline p,
.zp-live-manage p {
  margin: 0 0 6px;
  color: #61778a;
  font-size: 10px;
  line-height: 1.6;
}
.zp-live-timeline article > div > small,
.zp-live-manage article > div > small {
  color: #8496a5;
  font-size: 9px;
}
.zp-live-timeline aside {
  display: grid;
  gap: 9px;
  justify-items: end;
}
.zp-live-timeline aside > b {
  padding: 6px 9px;
  border-radius: 99px;
  color: #7c6123;
  background: #fff5d8;
  font-size: 8px;
}
.zp-live-timeline .status-live aside > b {
  color: #0a6e60;
  background: #dff8f3;
}
.zp-live-timeline aside a {
  padding: 11px 14px;
  border-radius: 9px;
  color: #061f27;
  background: #73ead6;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}
.zp-live-timeline aside > span {
  color: #8395a4;
  font-size: 9px;
}
.zp-replay-shelf > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.zp-replay-shelf article {
  padding: 17px;
  border: 1px solid #e0e9ee;
  border-radius: 14px;
  background: linear-gradient(155deg, #f9fcfd, #f0f8f8);
}
.zp-replay-shelf article > span {
  color: #128078;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
}
.zp-replay-shelf h3 {
  min-height: 42px;
  margin: 8px 0;
  color: #183149;
  font-size: 14px;
  line-height: 1.5;
}
.zp-replay-shelf p {
  min-height: 32px;
  margin: 0 0 12px;
  color: #718699;
  font-size: 9px;
  line-height: 1.55;
}
.zp-replay-shelf a {
  color: #08736a;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}
.zp-live-teacher-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 18px;
}
.zp-live-create label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #5f7487;
  font-size: 10px;
  font-weight: 750;
}
.zp-live-create input,
.zp-live-create select,
.zp-live-create textarea,
.zp-live-manage form input,
.zp-live-manage form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7e2e9;
  border-radius: 9px;
  color: #193149;
  background: #fbfdfe;
  font: inherit;
  font-size: 10px;
}
.zp-live-create > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.zp-live-create > button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 9px;
  color: #062129;
  background: linear-gradient(110deg, #71ead6, #a2e8ff);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.zp-live-guide ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.zp-live-guide li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: #f5f9fa;
}
.zp-live-guide li > b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #087068;
  background: #e0f7f2;
  font-size: 8px;
}
.zp-live-guide li span,
.zp-live-guide li strong {
  display: block;
}
.zp-live-guide li strong {
  margin-bottom: 3px;
  color: #183149;
  font-size: 11px;
}
.zp-live-guide li span {
  color: #748899;
  font-size: 9px;
  line-height: 1.5;
}
.zp-live-manage > div {
  display: grid;
  gap: 9px;
}
.zp-live-manage article {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 250px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e1e9ee;
  border-radius: 14px;
  background: #f9fbfc;
}
.zp-live-manage article > form {
  display: grid;
  gap: 6px;
}
.zp-live-manage article > form button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  color: #06302f;
  background: #dff7f2;
  font-size: 9px;
  font-weight: 900;
}
.zp-live-manage article > b {
  position: absolute;
  top: 10px;
  right: 278px;
  padding: 5px 8px;
  border-radius: 99px;
  color: #7f6426;
  background: #fff4d5;
  font-size: 8px;
}
.zp-live-manage article > b.status-live,
.zp-live-manage article > b.status-completed {
  color: #0a6c61;
  background: #e0f7f2;
}

@media (max-width: 980px) {
  .zp-replay-shelf > div {
    grid-template-columns: 1fr 1fr;
  }
  .zp-live-manage article {
    grid-template-columns: 68px 1fr;
  }
  .zp-live-manage article > form {
    grid-column: 2;
  }
  .zp-live-manage article > b {
    position: static;
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .zp-schedule-kpis,
  .zp-live-teacher-grid,
  .zp-replay-shelf > div {
    grid-template-columns: 1fr;
  }
  .zp-live-timeline article {
    grid-template-columns: 62px 1fr;
  }
  .zp-live-timeline aside {
    grid-column: 2;
    justify-items: start;
  }
  .zp-live-create > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .zp-live-timeline article,
  .zp-live-manage article {
    grid-template-columns: 1fr;
  }
  .zp-live-timeline time,
  .zp-session-date {
    width: 68px;
  }
  .zp-live-timeline aside,
  .zp-live-manage article > form,
  .zp-live-manage article > b {
    grid-column: auto;
  }
}

/* Final role-workspace type cascade: intentionally last. */
body .z-platform-page .z-platform-entry :where(p) { font-size: clamp(13px, .95vw, 15px); line-height: 1.75; }
body .z-platform-page .z-platform-entry :where(label, button, input, select, textarea) { font-size: clamp(12px, .85vw, 14px); }
body .z-platform-page .z-platform-entry :where(small, time) { font-size: clamp(10px, .76vw, 12px); line-height: 1.5; }
body .z-platform-page .zp-dashboard :where(a) { font-size: clamp(11px, .82vw, 13px); }
body .z-platform-page .zp-dashboard :where(.zp-kpis span, .zp-kpis small) { font-size: 12px; line-height: 1.45; }
body .z-platform-page .zp-dashboard :where(.zp-action-rail span, .zp-action-rail i) { font-size: 12px; line-height: 1.45; }
body .z-platform-page .zp-dashboard :where(.zp-panel > header span, .zp-panel > header a) { font-size: 13px; }
body .z-platform-page .zp-dashboard :where(.zp-person small, .zp-order small, .zp-notification-list span) { font-size: 11px; }
body .z-platform-page .zp-dashboard :where(.zp-empty, .zp-guide-list, .zp-live-guide) { font-size: 13px; line-height: 1.65; }
.zp-hero h1 { font-size: clamp(31px, 3vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
.zp-hero p { font-size: 15px; line-height: 1.75; }
.zp-hero > div > span { font-size: 11px; letter-spacing: .14em; }
.zp-kpis span { font-size: 12px; }
.zp-kpis strong { font-size: 24px; }
.zp-kpis small,
.zp-kpis strong small { font-size: 11px; }
.zp-action-rail span,
.zp-action-rail i { font-size: 12px; }
.zp-action-rail strong { font-size: 18px; line-height: 1.3; }
@media (max-width: 620px) {
  .zp-hero h1 { font-size: 30px; }
  .zp-hero p { font-size: 14px; }
}

/* Authentication hierarchy sits above the general workspace minimums. */
.zauth-story-copy h1 { font-size: clamp(42px, 3.8vw, 54px); }
body .z-platform-page .zauth-story-copy p { font-size: 15px; }
.zauth-login-card > header p,
.zauth-join main > header p { font-size: 13px; }
.zauth-form-wrap label,
.zauth-form-wrap .login-remember label { font-size: 12px; }
.zauth-form-wrap input[type=text],
.zauth-form-wrap input[type=password] { font-size: 14px; }
.zauth-form-wrap input[type=submit] { font-size: 13px; }
.zauth-join > div > aside h1 { font-size: clamp(40px, 3.8vw, 54px); }
body .z-platform-page .zauth-join > div > aside > p { font-size: 14px; }
body .z-platform-page .zauth-join-form > button { font-size: 13px; }
.zauth-join-form input[type=text],
.zauth-join-form input[type=email],
.zauth-join-form input[type=password] { font-size: 14px; }
@media (max-width: 620px) {
  .zauth-story-copy h1,
  .zauth-join > div > aside h1 { font-size: 34px; }
  body .z-platform-page .zauth-story-copy p,
  body .z-platform-page .zauth-join > div > aside > p { font-size: 14px; }
  body .z-platform-page .zauth-join-form > button { font-size: 13px; }
}

/* Responsive QA pass: role workspaces, data tables and touch targets. */
.z-platform-entry > .zp-dashboard,
.z-platform-entry > .zp-form-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 88px;
}
.zp-dashboard,
.zp-dashboard > *,
.zp-grid > *,
.zp-wallet-grid > *,
.zp-panel {
  min-width: 0;
}
.zp-hero > div {
  min-width: 0;
}
.zp-hero p,
.zp-panel,
.zp-kpis article {
  overflow-wrap: anywhere;
}
.zp-table {
  width: 100%;
  min-width: 0;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
body .z-platform-page .z-platform-entry :where(small, time) {
  font-size: clamp(11px, .78vw, 12px);
}
body .z-platform-page .zp-dashboard :where(.zp-table th, .zp-table td, .zp-status, article > b) {
  font-size: 11px;
  line-height: 1.45;
}
.zp-course-library small,
.zp-course-studio-flow b,
.zp-assignment-card > header b,
.zp-review-card > header b {
  font-size: 11px;
}
.zp-grid > section > header a,
.zp-panel > header > a,
.zp-course-row > a,
.zp-course-library > header a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 9px;
}
.zp-support span {
  font-size: 12px;
  line-height: 1.55;
}
.zauth-consent > span {
  font-size: 12px !important;
  line-height: 1.6;
}
.zauth-consent a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-inline: 2px;
  font-size: 12px;
}
.zauth-identity-picker label small,
.zauth-join-form label > small,
.zauth-login-card > footer,
.zauth-login-help {
  font-size: 11px;
  line-height: 1.55;
}
@media (max-width: 850px) {
  .zp-dashboard,
  .zp-dashboard > * {
    max-width: 100%;
  }
  .zp-table table {
    min-width: 700px;
  }
}
@media (max-width: 620px) {
  .z-platform-entry > .zp-dashboard,
  .z-platform-entry > .zp-form-shell {
    width: calc(100% - 20px);
    margin: 10px auto 96px;
  }
  .zp-hero {
    min-height: 210px;
    padding: 25px 20px;
    border-radius: 24px;
  }
  .zp-hero p {
    max-width: 100%;
  }
  .zp-kpis article {
    padding: 20px;
  }
  .zp-table {
    margin-inline: 0;
    padding-bottom: 8px;
  }
  .zp-table table {
    min-width: 640px;
  }
  .zp-grid > section,
  .zp-grid > aside,
  .zp-panel {
    padding: 18px;
  }
  .zp-grid > section > header a,
  .zp-panel > header > a,
  .zp-course-row > a,
  .zp-course-library > header a {
    min-height: 44px;
  }
}

/* Public impact and custom-amount donation experience. */
.zp-impact-page,
.z-donation-product-page {
  --impact-mint: #74ead7;
  --impact-cyan: #86dff3;
  --impact-ink: #06111e;
  color: #eaf7ff;
  background:
    radial-gradient(circle at 8% 10%, rgba(74, 229, 203, .12), transparent 25%),
    radial-gradient(circle at 90% 30%, rgba(89, 112, 232, .16), transparent 30%),
    #040c17;
}
.zp-impact-page { padding: clamp(28px, 4vw, 64px) 0 0; }
.zp-impact-hero {
  width: min(1400px, calc(100% - 44px));
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(410px, .8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin: auto;
  padding: clamp(34px, 5vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(151, 197, 226, .16);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(8, 28, 45, .9), rgba(5, 16, 30, .96));
  box-shadow: 0 50px 150px rgba(0, 0, 0, .38);
}
.zp-impact-story { position: relative; z-index: 0; min-height: 555px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 58px); overflow: hidden; border-radius: 30px; }
.zp-impact-story:before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("/wp-content/themes/zhuoer-global/assets/images/posters/course-planning.png") center/cover; filter: saturate(.7) brightness(.72); transform: scale(1.03); }
.zp-impact-story:after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(4, 14, 27, .08), rgba(4, 15, 29, .93) 72%, #06121f); }
.zp-impact-story > span,
.z-donation-purchase-copy > span { color: var(--impact-mint); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.zp-impact-story h1 { max-width: 720px; margin: 18px 0 20px; color: #fff; font-size: clamp(48px, 6vw, 84px); line-height: .98; letter-spacing: -.065em; }
.zp-impact-story h1 em { color: #9bb0c0; font-style: normal; }
.zp-impact-story > p { max-width: 670px; margin: 0; color: #a9bdca; font-size: 15px; line-height: 1.85; }
.zp-impact-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.1); }
.zp-impact-trust > div { display: grid; gap: 6px; padding: 18px; background: rgba(4, 16, 30, .72); }
.zp-impact-trust strong { color: #fff; font-size: 20px; }
.zp-impact-trust small { color: #8299aa; font-size: 10px; }
.zp-donation-panel { align-self: center; padding: clamp(26px, 3vw, 42px); border: 1px solid rgba(129, 244, 227, .23); border-radius: 30px; color: #ddecf5; background: linear-gradient(155deg, rgba(13, 39, 55, .96), rgba(6, 22, 36, .98)); box-shadow: 0 34px 90px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05); }
.zp-donation-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zp-donation-panel > header span { color: var(--impact-mint); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.zp-donation-panel > header b { padding: 7px 10px; border: 1px solid rgba(116, 234, 215, .25); border-radius: 999px; color: #9fb6c4; font-size: 9px; }
.zp-donation-panel h2 { margin: 24px 0 10px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.zp-donation-panel > p { margin: 0 0 26px; color: #90a7b6; line-height: 1.7; }
.zp-donation-panel form { display: grid; gap: 16px; }
.zp-donation-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.zp-donation-presets button { min-height: 48px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; color: #c6d8e3; background: rgba(255,255,255,.035); font-weight: 750; cursor: pointer; transition: .25s ease; }
.zp-donation-presets button:hover,
.zp-donation-presets button[aria-pressed="true"] { border-color: var(--impact-mint); color: #06151d; background: var(--impact-mint); box-shadow: 0 10px 26px rgba(91, 224, 202, .15); }
.zp-donation-panel label { display: grid; gap: 9px; color: #91a9b8; font-size: 11px; }
.zp-donation-panel label > div { height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 0 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(3,13,25,.56); transition: border-color .25s, box-shadow .25s; }
.zp-donation-panel label > div:focus-within { border-color: var(--impact-mint); box-shadow: 0 0 0 4px rgba(116, 234, 215, .09); }
.zp-donation-panel label b { color: var(--impact-mint); font-size: 26px; }
.zp-donation-panel label input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font-size: 39px; font-weight: 750; letter-spacing: -.04em; appearance: textfield; }
.zp-donation-panel label input::-webkit-inner-spin-button { appearance: none; }
.zp-donation-panel label small { color: #657f91; font-size: 10px; letter-spacing: .12em; }
.zp-donation-submit { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 20px; border: 0; border-radius: 14px; color: #06141b; background: linear-gradient(135deg, var(--impact-mint), var(--impact-cyan)); font-weight: 850; cursor: pointer; box-shadow: 0 18px 40px rgba(74, 218, 199, .14); }
.zp-donation-submit b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(4,19,27,.1); font-size: 17px; }
.zp-donation-panel > footer { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #8198a8; font-size: 10px; }
.zp-donation-panel > footer span { display: flex; align-items: center; gap: 9px; }
.zp-donation-panel > footer i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--impact-mint); background: rgba(116,234,215,.09); font-style: normal; }
.zp-impact-route { width: min(1320px, calc(100% - 44px)); margin: auto; padding: clamp(90px, 10vw, 150px) 0; }
.zp-impact-route > header { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: end; margin-bottom: 48px; }
.zp-impact-route > header span,
.zp-impact-ledger > div > span { color: var(--impact-mint); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.zp-impact-route h2,
.zp-impact-ledger h2 { margin: 15px 0 0; color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.zp-impact-route > header p,
.zp-impact-ledger > div > p { margin: 0; color: #849aaa; line-height: 1.8; }
.zp-impact-route > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zp-impact-route article { position: relative; min-height: 300px; padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: linear-gradient(155deg, rgba(18,41,59,.78), rgba(7,20,35,.9)); }
.zp-impact-route article > b { color: #6c8596; font-size: 10px; }
.zp-impact-route article > i { width: 70px; height: 70px; display: grid; place-items: center; margin: 52px 0 34px; border: 1px solid rgba(116,234,215,.28); border-radius: 50%; color: var(--impact-mint); background: rgba(116,234,215,.06); font-size: 25px; font-style: normal; }
.zp-impact-route article h3 { margin: 0 0 12px; color: #fff; font-size: 20px; }
.zp-impact-route article p { margin: 0; color: #7f96a6; line-height: 1.7; }
.zp-impact-ledger { width: min(1400px, calc(100% - 44px)); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin: auto; padding: clamp(42px, 6vw, 82px); border: 1px solid rgba(255,255,255,.1); border-radius: 36px 36px 0 0; background: linear-gradient(135deg, #0c2335, #071626); }
.zp-impact-ledger aside { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.zp-impact-ledger aside div { display: grid; gap: 8px; min-height: 110px; align-content: center; padding: 20px; border: 1px solid rgba(255,255,255,.055); }
.zp-impact-ledger aside small { color: #6f8798; font-size: 9px; }
.zp-impact-ledger aside strong { color: #d8e8f2; font-size: 14px; }

.z-donation-purchase-hero { padding: clamp(52px, 7vw, 105px) 0; }
.z-donation-purchase-hero > .z-container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(410px, .75fr); gap: clamp(35px, 6vw, 90px); align-items: center; }
.z-donation-purchase-copy { position: relative; min-height: 590px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: clamp(34px, 5vw, 72px); border: 1px solid rgba(255,255,255,.1); border-radius: 32px; }
.z-donation-purchase-copy:before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(3,13,25,.12), rgba(3,15,29,.93)), url("/wp-content/themes/zhuoer-global/assets/images/posters/course-planning.png") center/cover; }
.z-donation-purchase-copy > * { position: relative; z-index: 1; }
.z-donation-purchase-copy > a { align-self: flex-start; margin-bottom: auto; color: #bad0dc; font-size: 11px; }
.z-donation-purchase-copy h1 { max-width: 720px; margin: 18px 0; color: #fff; font-size: clamp(50px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; }
.z-donation-purchase-copy > p { max-width: 640px; margin: 0; color: #a5bac7; font-size: 15px; line-height: 1.85; }
.z-donation-purchase-copy > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.z-donation-purchase-copy > div strong { padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #a8becb; background: rgba(4,15,29,.38); font-size: 9px; }
.z-donation-purchase-notes { padding: 0 0 clamp(80px, 10vw, 140px); }
.z-donation-purchase-notes > .z-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.z-donation-purchase-notes article { padding: 28px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(9,27,43,.72); }
.z-donation-purchase-notes span { color: var(--impact-mint); font-size: 10px; }
.z-donation-purchase-notes h2 { margin: 30px 0 12px; color: #fff; font-size: 23px; }
.z-donation-purchase-notes p { margin: 0; color: #8199a8; line-height: 1.7; }
.z-donation-price-label { display: inline-flex; align-items: baseline; gap: 8px; color: #12283c; font-weight: 800; }
.z-donation-price-label small { color: #527084; }

@media (max-width: 980px) {
  .zp-impact-hero,
  .z-donation-purchase-hero > .z-container { grid-template-columns: 1fr; }
  .zp-impact-story { min-height: 520px; }
  .zp-impact-route > div { grid-template-columns: 1fr 1fr; }
  .zp-impact-ledger { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 650px) {
  .zp-impact-page { padding-top: 12px; }
  .zp-impact-hero { width: calc(100% - 20px); min-height: 0; padding: 10px; gap: 14px; border-radius: 24px; }
  .zp-impact-story { min-height: 480px; padding: 24px; border-radius: 18px; }
  .zp-impact-story h1 { font-size: 46px; }
  .zp-impact-story > p { font-size: 13px; }
  .zp-impact-trust { grid-template-columns: 1fr; }
  .zp-impact-trust > div { grid-template-columns: auto 1fr; align-items: center; }
  .zp-donation-panel { padding: 24px 18px; border-radius: 20px; }
  .zp-donation-presets { grid-template-columns: 1fr 1fr; }
  .zp-donation-panel label > div { height: 68px; }
  .zp-donation-panel label input { font-size: 34px; }
  .zp-impact-route { width: calc(100% - 28px); padding: 75px 0; }
  .zp-impact-route > header { grid-template-columns: 1fr; gap: 20px; }
  .zp-impact-route > div { grid-template-columns: 1fr; }
  .zp-impact-route article { min-height: 250px; }
  .zp-impact-route article > i { margin: 34px 0 24px; }
  .zp-impact-ledger { width: calc(100% - 20px); grid-template-columns: 1fr; padding: 28px 20px; border-radius: 24px 24px 0 0; }
  .zp-impact-ledger aside { grid-template-columns: 1fr; }
  .z-donation-purchase-hero { padding: 18px 0 70px; }
  .z-donation-purchase-hero > .z-container { width: calc(100% - 20px); gap: 14px; }
  .z-donation-purchase-copy { min-height: 500px; padding: 24px; border-radius: 22px; }
  .z-donation-purchase-copy h1 { font-size: 48px; }
  .z-donation-purchase-notes > .z-container { grid-template-columns: 1fr; width: calc(100% - 28px); }
}
