:root {
  --bg: #0b0f0e;
  --surface: #121816;
  --surface-2: #17201d;
  --line: #2a3531;
  --text: #f2f6f4;
  --muted: #9eaaa5;
  --accent: #65ddbd;
  --accent-ink: #07110e;
  --danger: #ff8d86;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}

.product-auth-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--night);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 0s linear 140ms;
}
.product-auth-pending .product-auth-loader { opacity: 1; visibility: visible; transition-delay: 0s; }
.product-auth-loader span { position: relative; z-index: 1; color: var(--night); font: 800 21px/1 var(--display); }
.product-auth-loader i { position: absolute; width: 52px; height: 52px; border: 2px solid rgba(101,221,189,.2); border-top-color: var(--accent); border-radius: 50%; animation: productAuthSpin .8s linear infinite; }
.product-auth-loader::before { content: ""; position: absolute; width: 35px; height: 35px; border-radius: 50%; background: var(--accent); }
@keyframes productAuthSpin { to { transform: rotate(360deg); } }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(101,221,189,.42);
  outline-offset: 3px;
}

.account-nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.account-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.account-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 16px/1 Manrope, sans-serif;
  padding-top: 1px;
}
.nav-return { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-return:hover { color: var(--text); }

.auth-shell {
  width: min(100%, 1040px);
  min-height: calc(100vh - 76px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(360px, 1fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
  padding: 64px 28px 80px;
}
.auth-context small, .profile-eyebrow {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
}
.auth-context h1 {
  max-width: 540px;
  margin: 20px 0;
  font: 600 clamp(38px, 5.5vw, 72px)/.98 Manrope, sans-serif;
  letter-spacing: -.055em;
}
.auth-context p { max-width: 410px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.trust-list { margin: 34px 0 0; padding: 0; list-style: none; }
.trust-list li { padding: 13px 0; border-top: 1px solid var(--line); color: #cbd4d0; font-size: 14px; }
.trust-list li::before { content: "✓"; margin-right: 11px; color: var(--accent); }

.auth-panel { width: 100%; max-width: 460px; justify-self: end; }
.auth-mode-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.auth-mode-tabs a {
  position: relative;
  padding: 0 0 15px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.auth-mode-tabs a.active { color: var(--text); }
.auth-mode-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.auth-step h2 { margin: 0 0 9px; font: 600 28px/1.15 Manrope, sans-serif; letter-spacing: -.035em; }
.step-copy { margin: 0 0 28px; color: var(--muted); line-height: 1.55; }
.auth-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { color: #dce4e0; font-size: 13px; font-weight: 600; }
.field input, .field select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 0 15px;
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(101,221,189,.1); }
.field-note { color: var(--muted); font-size: 12px; }
.otp-input { text-align: center; letter-spacing: .45em; font-size: 24px !important; font-weight: 700; padding-left: calc(15px + .45em) !important; }
.button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 700;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button.secondary { background: var(--surface); color: var(--text); }
.form-row { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.form-status { min-height: 21px; margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--accent); }

.guest-divider { position: relative; display: grid; place-items: center; height: 18px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.guest-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.guest-divider span { position: relative; padding: 0 10px; background: var(--bg); }
.button.guest { border-color: rgba(101,221,189,.4); background: transparent; color: var(--accent); }
.button.guest:hover { border-color: var(--accent); background: rgba(101,221,189,.06); }
.guest-note { margin: -8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.profile-shell { max-width: var(--max); margin: auto; padding: 62px 28px 90px; }
.profile-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.profile-heading h1 { margin: 12px 0 0; font: 600 clamp(36px, 5vw, 60px)/1 Manrope, sans-serif; letter-spacing: -.05em; }
.profile-heading p { color: var(--muted); margin: 10px 0 0; }
.profile-layout { display: grid; grid-template-columns: 220px 1fr; gap: 70px; padding-top: 42px; }
.profile-nav { display: grid; align-content: start; gap: 4px; }
.profile-nav button {
  text-align: left;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 12px 16px;
  cursor: pointer;
}
.profile-nav button.active { border-left-color: var(--accent); color: var(--text); background: rgba(101,221,189,.06); }
.profile-content { min-width: 0; }
.profile-section > h2 { margin: 0 0 9px; font: 600 27px Manrope, sans-serif; letter-spacing: -.03em; }
.section-copy { margin: 0 0 32px; color: var(--muted); }
.settings-form { max-width: 620px; display: grid; gap: 18px; }
.settings-divider { max-width: 620px; border: 0; border-top: 1px solid var(--line); margin: 42px 0; }
.subheading { margin: 0 0 8px; font: 600 20px Manrope, sans-serif; }
.promo-form { max-width: 620px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.promo-form .form-status { grid-column: 1 / -1; }
.promo-form input { text-transform: uppercase; letter-spacing: .08em; }
.promo-placeholder-note { max-width: 620px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.test-tabs { display: flex; gap: 10px; margin: 28px 0 34px; }
.test-tab { min-height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.test-tab.active { color: var(--accent-ink); border-color: var(--accent); background: var(--accent); }
.score-list { border-top: 1px solid var(--line); }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 23px 2px; border-bottom: 1px solid var(--line); }
.score-copy strong { display: block; margin-bottom: 5px; font-size: 17px; }
.score-copy span { color: var(--muted); font-size: 13px; }
.score-value { font: 600 22px Manrope, sans-serif; }
.score-value small { display: block; color: var(--muted); text-align: right; font: 500 11px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.avatar-photo, .avatar-fallback { width: 44px; height: 44px; border-radius: 50%; }
.avatar-photo { object-fit: cover; }
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font: 800 17px/1 Manrope, sans-serif; padding-top: 1px; }
.heading-account { display: flex; gap: 13px; align-items: center; }
.heading-account strong, .heading-account span { display: block; }
.heading-account span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.account-footer { max-width: var(--max); margin: 0 auto; padding: 0 28px 36px; }
.account-footer nav { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-footer a { color: var(--muted); font-size: 12px; text-decoration: none; }
.account-footer a:hover, .account-footer a:focus-visible { color: var(--accent); }

.section-title-row, .block-heading, .progress-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-title-row h2 { margin: 7px 0 0; font: 600 29px/1.1 Manrope, sans-serif; letter-spacing: -.035em; }
.dashboard-practice-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.dashboard-next-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.next-action { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 4vw, 40px); background: var(--surface); }
.next-action.primary-next { background: #15211d; }
.next-action.continue-next { min-height: 230px; }
.next-action h3 { max-width: 540px; margin: 18px 0 10px; font: 600 clamp(22px, 3vw, 32px)/1.12 Manrope, sans-serif; letter-spacing: -.035em; }
.next-action p { max-width: 560px; margin: 0 0 27px; color: var(--muted); line-height: 1.55; }
.next-action .button { display: inline-flex; align-items: center; justify-content: center; margin-top: auto; text-decoration: none; }
.recommendation-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 5px 0 18px; color: var(--accent); font-size: 12px; font-weight: 750; }
.dashboard-block, .progress-section { margin-top: 46px; border-top: 1px solid var(--line); }
.block-heading, .progress-section-head { padding: 25px 0 20px; }
.block-heading h3 { margin: 7px 0 0; font: 600 22px/1.2 Manrope, sans-serif; letter-spacing: -.025em; }
.block-heading > span, .block-heading a, .progress-section-head a { color: var(--muted); font-size: 13px; }
.block-heading a:hover, .progress-section-head a:hover { color: var(--accent); }
.overview-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.overview-metrics > div { min-width: 0; padding: 23px; background: var(--surface); border-right: 1px solid var(--line); }
.overview-metrics > div:last-child { border-right: 0; }
.overview-metrics strong, .overview-metrics span { display: block; }
.overview-metrics strong { font: 600 clamp(22px, 3vw, 31px)/1 Manrope, sans-serif; letter-spacing: -.04em; }
.overview-metrics span { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.dashboard-section-list, .activity-list, .task-performance-list, .mock-history-list { margin-top: 18px; border-top: 1px solid var(--line); }
.dashboard-section-row, .activity-row, .task-performance-row, .mock-history-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 16px 3px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .16s ease, background .16s ease, padding .16s ease;
}
.dashboard-section-row:hover, .activity-row:hover, .task-performance-row:hover, .mock-history-row:hover { padding-inline: 11px; background: rgba(101,221,189,.035); }
.dashboard-section-row span, .activity-row span, .task-performance-row span, .mock-history-row span { min-width: 0; }
.dashboard-section-row strong, .dashboard-section-row small, .activity-row strong, .activity-row small, .task-performance-row strong, .task-performance-row small, .mock-history-row strong, .mock-history-row small { display: block; }
.dashboard-section-row small, .activity-row small, .task-performance-row small, .mock-history-row small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.section-progress-value, .activity-row > span:last-child, .task-performance-row > b, .mock-history-row > b { text-align: right; font-size: 14px; }
.section-progress-value small { text-transform: uppercase; letter-spacing: .06em; }
.product-empty { min-height: 150px; display: flex; align-items: center; gap: 22px; padding: 28px 0; border-block: 1px solid var(--line); }
.empty-mark { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(101,221,189,.1); color: var(--accent); font: 800 20px/1 Manrope, sans-serif; }
.product-empty h3 { margin: 0 0 7px; font: 600 18px Manrope, sans-serif; }
.product-empty p { max-width: 590px; margin: 0; color: var(--muted); line-height: 1.55; }
.product-empty .button { margin-top: 18px; }
.dashboard-skeleton { display: grid; gap: 16px; }
.dashboard-skeleton span { height: 76px; border-radius: 12px; background: linear-gradient(90deg, var(--surface) 20%, var(--surface-2) 48%, var(--surface) 76%); background-size: 220% 100%; animation: dashboard-loading 1.25s linear infinite; }
@keyframes dashboard-loading { to { background-position: -220% 0; } }
.progress-section:first-child { margin-top: 0; }
.progress-section-head > div > span, .progress-section-head > div > strong { display: block; }
.progress-section-head > div > span { font: 600 21px Manrope, sans-serif; }
.progress-section-head > div > strong { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.progress-section-head > b { font: 600 28px/1 Manrope, sans-serif; }
.progress-section-head > b small { display: block; margin-top: 5px; color: var(--muted); font: 500 10px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .07em; text-align: right; }
.section-trend { padding: 24px 0 6px; }
.trend-figure { margin: 17px 0 0; }
.trend-figure svg { display: block; width: 100%; height: 110px; overflow: visible; }
.trend-base { fill: none; stroke: var(--line); stroke-width: .5; }
.trend-line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.trend-figure figcaption, .trend-empty { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.mock-history-row { border-left: 2px solid transparent; padding-left: 14px; }
.mock-history-row.status-in-progress { border-left-color: #f1c66d; }
.mock-history-row.status-completed { border-left-color: var(--accent); }
.progress-overall { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 28px; align-items: end; margin-bottom: 42px; padding: 28px 0; border-block: 1px solid var(--line); }
.progress-overall > span, .progress-overall > p { grid-column: 1; }
.progress-overall > strong { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font: 600 clamp(34px, 5vw, 52px)/1 Manrope, sans-serif; letter-spacing: -.05em; }
.progress-overall > p { max-width: 660px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.task-performance-row.needs-attention { border-left: 2px solid #f1c66d; padding-left: 13px; background: rgba(241,198,109,.025); }
.task-performance-row > b em { display: block; margin-top: 7px; color: #f1c66d; font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 760px) {
  .account-nav { padding: 0 18px; }
  .auth-shell { grid-template-columns: 1fr; gap: 42px; align-items: start; padding: 44px 20px 70px; }
  .auth-context h1 { font-size: 44px; }
  .trust-list { display: none; }
  .auth-panel { justify-self: stretch; max-width: none; }
  .profile-shell { padding: 42px 20px 70px; }
  .account-footer { padding-inline: 20px; }
  .profile-heading { align-items: start; flex-direction: column; }
  .profile-layout { grid-template-columns: 1fr; gap: 34px; }
  .profile-nav { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .profile-nav button { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .profile-nav button.active { border-bottom-color: var(--accent); }
  .promo-form { grid-template-columns: 1fr; }
  .promo-form .form-status { grid-column: auto; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .dashboard-practice-link { width: 100%; }
  .dashboard-next-grid { grid-template-columns: 1fr; }
  .next-action { min-height: 230px; }
  .overview-metrics { grid-template-columns: 1fr 1fr; }
  .overview-metrics > div { border-bottom: 1px solid var(--line); }
  .overview-metrics > div:nth-child(2n) { border-right: 0; }
  .overview-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .dashboard-section-row, .activity-row, .task-performance-row, .mock-history-row { gap: 14px; }
  .task-performance-row { grid-template-columns: 1fr; }
  .task-performance-row > b { text-align: left; }
  .trend-figure svg { height: 82px; }
  .progress-overall { grid-template-columns: 1fr; align-items: start; }
  .progress-overall > strong { grid-column: 1; grid-row: auto; }
}

@media (max-width: 440px) {
  .profile-heading h1 { font-size: 38px; }
  .heading-account { max-width: 100%; }
  .heading-account > div:last-child { min-width: 0; }
  .heading-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .overview-metrics { grid-template-columns: 1fr; }
  .overview-metrics > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .overview-metrics > div:last-child { border-bottom: 0 !important; }
  .dashboard-section-row, .activity-row, .mock-history-row { grid-template-columns: 1fr; }
  .section-progress-value, .activity-row > span:last-child, .mock-history-row > b { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Signed-in product workspace */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.product-body {
  background:
    radial-gradient(circle at 72% -15%, rgba(101,221,189,.07), transparent 30rem),
    var(--bg);
}
.product-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(11,15,14,.96);
}
.product-nav-inner {
  width: min(100%, 1240px);
  min-height: 72px;
  margin: auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
}
.product-nav-links {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-nav-links button {
  position: relative;
  height: 100%;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.product-nav-links button::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.product-nav-links button:hover,
.product-nav-links button.active { color: var(--text); }
.product-nav-links button.active::after { transform: scaleX(1); }
.product-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-pro-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(101,221,189,.46);
  border-radius: 9px;
  background: rgba(101,221,189,.09);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.product-pro-action:hover { transform: translateY(-1px); background: var(--accent); color: #07100d; }
.product-pro-action.is-active { border-color: var(--line); background: transparent; color: var(--muted); }
.exam-switcher,
.product-account { position: relative; }
.exam-switcher-button,
.product-account-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.exam-switcher-button {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
}
.exam-switcher-button > span:first-child { color: var(--muted); font-size: 11px; }
.exam-switcher-button strong { color: var(--accent); font-size: 12px; letter-spacing: .05em; }
.exam-switcher-button > span:last-child { color: var(--muted); transform: translateY(-2px); }
.product-account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
}
.product-account-button .avatar-photo,
.product-account-button .avatar-fallback { width: 31px; height: 31px; font-size: 12px; }
.account-button-copy { text-align: left; }
.account-button-copy strong,
.account-button-copy small { display: block; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-button-copy strong { font-size: 12px; }
.account-button-copy small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.exam-switcher-menu,
.product-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111715;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.exam-switcher-menu > span {
  display: block;
  padding: 8px 10px 7px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.exam-switcher-menu button,
.product-account-menu button,
.product-account-menu .account-menu-link {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.exam-switcher-menu button { display: grid; grid-template-columns: 18px 1fr; align-items: center; padding: 0 10px; }
.exam-switcher-menu button span { color: transparent; }
.exam-switcher-menu button.selected { color: var(--text); background: rgba(101,221,189,.07); }
.exam-switcher-menu button.selected span { color: var(--accent); }
.product-account-menu { width: 250px; }
.product-account-menu > div { padding: 10px 10px 13px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.product-account-menu > div strong,
.product-account-menu > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-account-menu > div strong { font-size: 13px; }
.product-account-menu > div span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.product-account-menu button,
.product-account-menu .account-menu-link { display: flex; align-items: center; padding: 0 10px; }
.exam-switcher-menu button:hover,
.product-account-menu button:hover,
.product-account-menu .account-menu-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.mobile-nav-toggle > span:not(.sr-only) { display: block; width: 17px; margin: 4px auto; border-top: 1px solid var(--text); }

.product-shell {
  width: min(100%, 1184px);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 28px 92px;
}
.app-view.active-view { animation: product-view-in .28s ease both; }
@keyframes product-view-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.dashboard-heading,
.workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.dashboard-heading h1,
.workspace-heading h1 {
  margin: 8px 0 0;
  font: 600 clamp(30px, 4vw, 48px)/1.02 Manrope, sans-serif;
  letter-spacing: -.045em;
}
.dashboard-heading > p,
.workspace-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.workspace-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.workspace-heading > p { margin-top: 10px; text-align: left; }

.resume-panel {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(101,221,189,.34);
  border-radius: 18px;
  background: #14221d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.resume-copy { max-width: 700px; }
.resume-copy h2 {
  margin: 15px 0 9px;
  font: 600 clamp(28px, 4vw, 45px)/1.04 Manrope, sans-serif;
  letter-spacing: -.045em;
}
.resume-copy > p { margin: 0; color: #b1bdb8; line-height: 1.55; }
.resume-panel .button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.resume-panel .button span,
.inline-action span,
.skill-card a span,
.practice-task > span:last-child {
  transition: transform .18s ease;
}
.resume-panel .button:hover span,
.inline-action:hover span,
.skill-card a:hover span,
.practice-task:hover > span:last-child { transform: translateX(4px); }
.resume-progress { max-width: 580px; margin-top: 25px; }
.resume-progress > div { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; color: #c9d3cf; font-size: 11px; }
.resume-progress strong { color: var(--accent); }
.resume-track { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.09); }
.resume-track > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); animation: resume-fill .65s .08s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes resume-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.skills-overview,
.recent-practice,
.history-breakdown,
.history-mocks { margin-top: 52px; }
.dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.dashboard-section-heading h2 { margin: 7px 0 0; font: 600 23px/1.15 Manrope, sans-serif; letter-spacing: -.03em; }
.dashboard-section-heading > button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}
.dashboard-section-heading > button:hover { color: var(--accent); }
.skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.skill-card {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--surface);
  transition: background .18s ease;
}
.skill-card:last-child { border-right: 0; }
.skill-card:hover { background: var(--surface-2); }
.skill-index { color: #64706b; font: 700 10px Manrope, sans-serif; letter-spacing: .08em; }
.skill-card h3 { margin: 26px 0 15px; font: 600 20px Manrope, sans-serif; letter-spacing: -.025em; }
.skill-card strong { display: block; font-size: 15px; }
.skill-card p { margin: 6px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.skill-card a { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 750; }
.skill-reading { box-shadow: inset 0 2px #65ddbd; }
.skill-listening { box-shadow: inset 0 2px #77b8ff; }
.skill-speaking { box-shadow: inset 0 2px #cf9cff; }
.skill-writing { box-shadow: inset 0 2px #f0c26b; }

.dashboard-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 62px); margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.dashboard-plain { min-width: 0; display: flex; flex-direction: column; }
.dashboard-plain h2 { margin: 13px 0 8px; font: 600 23px/1.18 Manrope, sans-serif; letter-spacing: -.03em; }
.dashboard-plain p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.plain-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 24px; }
.plain-heading > span { margin-top: 15px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.inline-action { margin-top: auto; padding-top: 24px; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 750; }
.inline-action span { display: inline-block; margin-left: 8px; }
.activity-list,
.task-performance-list,
.mock-history-list { border-top: 1px solid var(--line); }
.activity-row,
.task-performance-row,
.mock-history-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 15px 3px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .16s ease, background .16s ease;
}
.activity-row:hover,
.task-performance-row:hover,
.mock-history-row:hover { padding-inline: 10px; background: rgba(101,221,189,.035); }
.activity-row strong,
.activity-row small,
.task-performance-row strong,
.task-performance-row small,
.mock-history-row strong,
.mock-history-row small { display: block; }
.activity-row small,
.task-performance-row small,
.mock-history-row small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.activity-row > span:last-child,
.task-performance-row > b,
.mock-history-row > b { text-align: right; font-size: 12px; }

.practice-hub { display: grid; gap: 36px; }
.practice-group { border-top: 1px solid var(--line); }
.practice-group > header {
  min-height: 95px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
}
.practice-group > header > span,
.mock-number { color: var(--accent); font: 700 11px Manrope, sans-serif; letter-spacing: .08em; }
.practice-group h2 { margin: 0; font: 600 22px Manrope, sans-serif; letter-spacing: -.03em; }
.practice-group header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.practice-group header a { color: var(--muted); text-decoration: none; font-size: 12px; }
.practice-group header a:hover { color: var(--accent); }
.practice-group > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.practice-task { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; background: var(--surface); text-decoration: none; transition: background .16s ease; }
.practice-task:hover { background: var(--surface-2); }
.practice-task strong,
.practice-task small { display: block; }
.practice-task small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.practice-task > span:last-child { flex: 0 0 auto; color: var(--accent); }

.mock-hub-list { border-top: 1px solid var(--line); }
.mock-hub-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 45px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: padding .16s ease, background .16s ease;
}
.mock-hub-row:hover { padding-inline: 12px; background: rgba(101,221,189,.035); }
.mock-hub-row.status-in-progress { border-left-color: #f0c26b; }
.mock-hub-row.status-completed { border-left-color: var(--accent); }
.mock-hub-row.is-pro-locked { border-left-color: #758079; background: rgba(255,255,255,.015); }
.mock-hub-row strong,
.mock-hub-row small { display: block; }
.mock-hub-row small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.mock-hub-row > span:last-child { color: var(--accent); font-size: 12px; font-weight: 750; }

.history-overview {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}
.history-overview h2 { margin: 8px 0 0; font: 600 30px Manrope, sans-serif; letter-spacing: -.04em; }
.history-overview > p { margin: 0; color: var(--muted); font-size: 11px; }
.history-upgrade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 28px;
  padding: 25px 28px;
  border: 1px solid rgba(101,221,189,.22);
  border-radius: 13px;
  background: rgba(101,221,189,.035);
}
.history-upgrade h2 { margin: 8px 0 5px; font: 600 19px Manrope, sans-serif; }
.history-upgrade p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.history-upgrade > span { flex: 0 0 auto; color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.history-breakdown { padding-top: 2px; }
.history-skill { border-top: 1px solid var(--line); }
.history-skill > header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.history-skill h2 { margin: 0; font: 600 21px Manrope, sans-serif; }
.history-skill header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.history-skill header > strong { color: var(--accent); text-align: right; font: 600 24px Manrope, sans-serif; }
.history-skill header > strong small { display: block; margin-top: 4px; color: var(--muted); font: 500 9px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.settings-view { max-width: 780px; }
.settings-account-summary { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.settings-account-summary strong,
.settings-account-summary span { display: block; }
.settings-account-summary span { margin-top: 4px; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .product-nav-inner { gap: 18px; }
  .product-nav-links { gap: 1px; }
  .product-nav-links button { padding-inline: 9px; }
  .product-nav-links button::after { right: 9px; left: 9px; }
  .account-button-copy { display: none; }
  .product-account-button { padding-right: 5px; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .skill-card:nth-child(2) { border-right: 0; }
  .skill-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .product-nav-inner { min-height: 68px; grid-template-columns: auto 1fr auto; padding-inline: 18px; }
  .mobile-nav-toggle { display: block; justify-self: end; }
  .product-nav-links {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    height: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #111715;
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
  }
  .product-nav-links.mobile-open { display: grid; }
  .product-nav-links button { min-height: 44px; text-align: left; border-radius: 8px; }
  .product-nav-links button.active { background: rgba(101,221,189,.07); }
  .product-nav-links button::after { display: none; }
  .product-nav-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .mobile-nav-toggle { grid-column: 3; grid-row: 1; }
  .exam-switcher-button > span:first-child { display: none; }
  .exam-switcher-button { grid-template-columns: auto auto; }
  .product-shell { padding: 34px 20px 70px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .dashboard-heading > p { text-align: left; }
  .resume-panel { min-height: 270px; align-items: flex-start; flex-direction: column; gap: 30px; }
  .resume-panel .button { width: 100%; justify-content: space-between; }
  .dashboard-pair { grid-template-columns: 1fr; }
  .dashboard-plain { min-height: 190px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .practice-group > div { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .account-brand > span:last-child { display: none; }
  .product-nav-inner { grid-template-columns: 34px 1fr 42px; gap: 10px; }
  .product-nav-actions { gap: 6px; }
  .product-pro-action { min-height: 36px; padding-inline: 9px; font-size: 11px; }
  .exam-switcher-button { min-height: 38px; padding-inline: 9px; }
  .product-account-button { min-height: 38px; }
  .product-account-button .avatar-photo,
  .product-account-button .avatar-fallback { width: 27px; height: 27px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .skill-card:last-child { border-bottom: 0; }
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .plain-heading { grid-template-columns: 1fr; gap: 0; }
  .plain-heading > span { justify-self: start; }
  .activity-row,
  .task-performance-row,
  .mock-history-row { grid-template-columns: 1fr; gap: 8px; }
  .activity-row > span:last-child,
  .task-performance-row > b,
  .mock-history-row > b { text-align: left; }
  .practice-group > header { grid-template-columns: 34px minmax(0,1fr); }
  .practice-group > header > a { grid-column: 2; }
  .mock-hub-row { grid-template-columns: 34px minmax(0,1fr); }
  .mock-hub-row > span:last-child { grid-column: 2; }
  .history-overview,
  .history-upgrade,
  .history-skill > header { align-items: flex-start; flex-direction: column; }
  .history-skill header > strong { text-align: left; }
  .promo-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .product-auth-loader i { animation: none; border-color: var(--accent); }
}
