/*
 * Hikavo sitewide premium layer, cached as an independent runtime asset.
 *
 * The public homepage owns its standalone product-home.css. This final app
 * layer carries the same visual language through public information routes,
 * account entry, member workspaces, analysis, results, calendars, authoring,
 * and focused assessment surfaces without changing their behavior.
 */

:root {
  --hkv-color-canvas: #f7f9fc;
  --hkv-color-surface: #ffffff;
  --hkv-color-surface-soft: #f4f7ff;
  --hkv-color-surface-tint: #edf4ff;
  --hkv-color-text: #122044;
  --hkv-color-text-strong: #0d1834;
  --hkv-color-muted: #526887;
  --hkv-color-muted-strong: #405476;
  --hkv-color-subtle: #687891;
  --hkv-color-border: #dce4f0;
  --hkv-color-border-strong: #b7c6dd;
  --hkv-color-brand: #1f63ed;
  --hkv-color-brand-strong: #174fc5;
  --hkv-color-brand-soft: #eaf2ff;
  --hkv-color-action: #1f63ed;
  --hkv-color-action-hover: #174fc5;
  --hkv-color-action-soft: #eaf2ff;
  --hkv-color-cyan: #3ac9ee;
  --hkv-color-violet: #7868e6;
  --hkv-color-violet-strong: #5440b6;
  --hkv-color-pink: #ee78b7;
  --hkv-color-pink-strong: #a73570;
  --hkv-radius-control: 14px;
  --hkv-radius-card: 22px;
  --hkv-radius-panel: 30px;
  --hkv-shadow-card: 0 2px 3px rgba(18, 32, 68, 0.035), 0 16px 42px rgba(38, 65, 121, 0.08);
  --hkv-shadow-raised: 0 24px 70px rgba(18, 32, 68, 0.16), 0 6px 20px rgba(31, 99, 237, 0.08);
  --hkv-shadow-soft-color: 0 18px 50px rgba(84, 64, 182, 0.12);
  --hkv-focus-ring: 0 0 0 3px rgba(31, 99, 237, 0.24), 0 0 0 6px rgba(255, 255, 255, 0.9);
  --hkv-type-heading-large: 40px;
}

/* Global language control. */
.language-picker {
  position: relative;
  z-index: 240;
  flex: 0 0 auto;
  color: var(--hkv-color-text, #122044);
  text-align: start;
}

.language-picker-trigger {
  display: inline-flex;
  min-height: 44px;
  max-width: 190px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--hkv-color-border-strong, #b7c6dd);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 12px;
  color: var(--hkv-color-text, #122044);
  font: 700 12px/1.2 var(--font-ui, system-ui, sans-serif);
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(18, 32, 68, 0.06);
}

.language-picker-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-picker-trigger:hover,
.language-picker.is-open .language-picker-trigger {
  border-color: var(--hkv-color-brand, #1f63ed);
  background: var(--hkv-color-brand-soft, #eaf2ff);
  color: var(--hkv-color-brand-strong, #174fc5);
}

.language-picker--compact .language-picker-trigger {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  justify-content: center;
  padding: 0;
}

.language-picker-popover {
  position: absolute;
  z-index: 500;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(420px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--hkv-color-border, #dce4f0);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 70px rgba(18, 32, 68, 0.2);
  backdrop-filter: blur(20px);
}

.language-picker-popover > header {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--hkv-color-border, #dce4f0);
  background: linear-gradient(135deg, #f7fbff, #f1f0ff);
  padding: 15px 17px 13px;
}

.language-picker-popover > header > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-picker-popover > header strong {
  font-size: 14px;
}

.language-picker-popover > header small {
  color: var(--hkv-color-muted, #526887);
  font-size: 11px;
  line-height: 1.45;
}

.language-picker-options {
  display: grid;
  max-height: min(510px, calc(100vh - 150px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow-y: auto;
  padding: 8px;
  overscroll-behavior: contain;
}

.language-picker-options button {
  display: grid;
  min-width: 0;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  padding: 7px 9px;
  color: var(--hkv-color-text, #122044);
  text-align: start;
  cursor: pointer;
}

.language-picker-options button:hover,
.language-picker-options button[aria-selected="true"] {
  border-color: rgba(31, 99, 237, 0.2);
  background: var(--hkv-color-brand-soft, #eaf2ff);
  color: var(--hkv-color-brand-strong, #174fc5);
}

.language-picker-options button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.language-picker-options strong,
.language-picker-options small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-picker-options strong {
  font-size: 13px;
}

.language-picker-options small {
  color: var(--hkv-color-muted, #526887);
  font-size: 10px;
}

.site-footer-language {
  margin-inline-start: auto;
}

.product-home-mobile-language {
  display: none;
}

html[dir="rtl"] .product-home :is(.lucide-arrow-right),
html[dir="rtl"] .product-home-loop li > svg {
  transform: rotate(180deg);
}

html[dir="rtl"] :is(.header-account > span:last-child, .platform-more-popover, .site-footer-copy) {
  text-align: right;
}

@media (max-width: 1040px) {
  .platform-language-picker .language-picker-trigger {
    min-width: 46px;
    width: 46px;
  }

  .platform-language-picker .language-picker-trigger span,
  .platform-language-picker .language-picker-trigger > .lucide-chevron-down {
    display: none;
  }
}

@media (max-width: 720px) {
  .language-picker-popover {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 88px);
  }

  .language-picker-options {
    max-height: calc(100dvh - 174px);
  }

  .product-home-mobile-language {
    display: block;
    margin-top: 6px;
  }

  .product-home-mobile-language .language-picker-trigger {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .site-footer-language {
    width: 100%;
    margin-inline-start: 0;
  }

  .site-footer-language .language-picker-trigger {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .language-picker-options {
    grid-template-columns: 1fr;
  }
}

html body {
  background:
    radial-gradient(circle at 8% 6%, rgba(58, 201, 238, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(120, 104, 230, 0.11), transparent 30rem),
    linear-gradient(rgba(31, 99, 237, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 99, 237, 0.025) 1px, transparent 1px),
    var(--hkv-color-canvas) !important;
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
  color: var(--hkv-color-text);
}

html body :is(button, a, summary) {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html body :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--hkv-color-brand);
  outline-offset: -3px;
  box-shadow: var(--hkv-focus-ring);
}

html body :is(button, a):not(:disabled):active {
  transform: translateY(1px);
}

html body .eyebrow {
  color: var(--hkv-color-violet-strong);
}

/* Shared brand chrome. */
html .global-header {
  min-height: 76px;
  border-bottom: 1px solid rgba(183, 198, 221, 0.72);
  background: rgba(255, 255, 255, 0.86);
  padding-inline: max(22px, calc((100vw - 1380px) / 2));
  box-shadow: 0 10px 35px rgba(18, 32, 68, 0.055);
  backdrop-filter: blur(18px) saturate(1.25);
}

html :is(
  .global-header .brand-mark,
  .pricing-brand > span,
  .help-center-header .site-footer-brand > span,
  .refund-policy-header .site-footer-brand > span,
  .auth-brand .brand-mark,
  .auth-mobile-brand .brand-mark,
  .site-footer-mark,
  .admin-access-brand > span,
  .account-brand-mark
) {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 13px;
  background: linear-gradient(145deg, var(--hkv-color-cyan), var(--hkv-color-brand) 52%, var(--hkv-color-violet-strong));
  color: #ffffff;
  box-shadow: 0 9px 20px rgba(31, 99, 237, 0.24), inset 0 1px rgba(255, 255, 255, 0.55);
  transform: rotate(-7deg) translateZ(0);
}

html :is(.brand-button, .pricing-brand, .site-footer-brand, .auth-brand, .auth-mobile-brand):hover :is(.brand-mark, .site-footer-mark, span:first-child) {
  transform: rotate(0deg) translateY(-2px);
}

html .global-header nav {
  gap: 5px;
}

html .global-header nav .platform-nav-item {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding-inline: 12px;
  color: var(--hkv-color-muted-strong);
}

html .global-header nav .platform-nav-item:hover {
  border-color: rgba(183, 198, 221, 0.72);
  background: rgba(255, 255, 255, 0.8);
  color: var(--hkv-color-text-strong);
  box-shadow: 0 8px 22px rgba(18, 32, 68, 0.06);
}

html .global-header nav .platform-nav-item.active {
  border-color: rgba(31, 99, 237, 0.16);
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.13), rgba(120, 104, 230, 0.12));
  color: var(--hkv-color-brand-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 22px rgba(31, 99, 237, 0.09);
}

html :is(.header-sign-in, .header-create-account, .header-account, .workspace-status) {
  border-radius: 13px;
}

html .global-header .header-create-account {
  border-color: var(--hkv-color-brand);
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 99, 237, 0.2);
}

html .platform-more-popover {
  overflow: hidden;
  border-color: var(--hkv-color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 9px;
  box-shadow: var(--hkv-shadow-raised);
  backdrop-filter: blur(18px);
}

html .platform-more-popover > a {
  border-radius: 13px;
}

html .site-footer {
  width: min(1240px, calc(100% - 48px));
  min-height: 104px;
  margin: 54px auto 0;
  border: 1px solid rgba(220, 228, 240, 0.9);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, 0.74);
  padding: 24px 28px;
  box-shadow: 0 -10px 42px rgba(18, 32, 68, 0.045);
  backdrop-filter: blur(14px);
}

html .site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

html .site-footer nav a {
  min-height: 44px;
  border-radius: 12px;
  padding-inline: 12px;
}

html .site-footer nav a:hover {
  background: var(--hkv-color-action-soft);
  color: var(--hkv-color-brand-strong);
}

/* Public information routes. */
html :is(.pricing-page, .help-center-page, .refund-policy-page) {
  min-height: calc(100vh - 1px);
  background: transparent;
  padding-bottom: 30px;
}

html :is(.pricing-header, .help-center-header, .refund-policy-header) {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  border-bottom: 0;
  padding-block: 12px;
}

html :is(.pricing-brand, .help-center-header .site-footer-brand, .refund-policy-header .site-footer-brand) {
  min-height: 48px;
  gap: 11px;
  color: var(--hkv-color-text-strong);
}

html :is(.pricing-brand, .help-center-header .site-footer-brand, .refund-policy-header .site-footer-brand) strong {
  font-size: 17px;
  letter-spacing:0;
  text-transform: none;
}

html .pricing-header nav {
  gap: 6px;
}

html .pricing-header nav > a,
html :is(.help-home-link, .refund-policy-home-link) {
  min-height: 44px;
  border-radius: 12px;
  padding-inline: 13px;
  color: var(--hkv-color-muted-strong);
  font-size: var(--type-supporting);
}

html .pricing-header nav > a:hover,
html .pricing-header nav > a.pricing-nav-current,
html :is(.help-home-link, .refund-policy-home-link):hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--hkv-color-brand-strong);
  box-shadow: 0 8px 22px rgba(18, 32, 68, 0.06);
}

html .pricing-header nav > .pricing-signup {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  padding-inline: 17px;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 99, 237, 0.18);
}

html body .pricing-page .pricing-simple-hero,
html .help-center-hero,
html .refund-policy-hero {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 48px));
  min-height: 330px;
  margin: 18px auto 34px;
  overflow: hidden;
  border: 1px solid rgba(183, 198, 221, 0.7);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(58, 201, 238, 0.22), transparent 18rem),
    radial-gradient(circle at 74% 88%, rgba(238, 120, 183, 0.17), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.93));
  padding: 60px 320px 56px 58px;
  box-shadow: var(--hkv-shadow-raised);
  perspective: 900px;
}

html body .pricing-page .pricing-simple-hero::before,
html .help-center-hero::before,
html .refund-policy-hero::before {
  position: absolute;
  top: 58px;
  right: 92px;
  z-index: -1;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, var(--hkv-color-cyan), var(--hkv-color-brand) 48%, var(--hkv-color-violet-strong));
  box-shadow: 26px 32px 55px rgba(84, 64, 182, 0.2), inset -12px -16px 26px rgba(13, 24, 52, 0.18), inset 12px 12px 24px rgba(255, 255, 255, 0.34);
  content: "";
  pointer-events: none;
  transform: rotateX(58deg) rotateZ(38deg);
  transform-style: preserve-3d;
}

html body .pricing-page .pricing-simple-hero::after,
html .help-center-hero::after,
html .refund-policy-hero::after {
  position: absolute;
  right: 45px;
  bottom: 30px;
  z-index: -2;
  width: 228px;
  height: 112px;
  border: 18px solid rgba(238, 120, 183, 0.42);
  border-right-color: rgba(58, 201, 238, 0.5);
  border-radius: 50%;
  box-shadow: 0 26px 40px rgba(18, 32, 68, 0.1);
  content: "";
  pointer-events: none;
  transform: rotateX(68deg) rotateZ(-18deg);
}

html :is(.pricing-simple-hero, .help-center-hero, .refund-policy-hero) > * {
  position: relative;
  z-index: 1;
}

html :is(.pricing-simple-hero, .help-center-hero, .refund-policy-hero) h1 {
  max-width: 16ch;
  margin: 10px 0 13px;
  color: var(--hkv-color-text-strong);
  font-size: 44px;
  line-height: 1.12;
}

html :is(.pricing-simple-hero, .help-center-hero, .refund-policy-hero) p {
  max-width: 62ch;
  color: var(--hkv-color-muted-strong);
  font-size: var(--type-body);
  line-height: 1.65;
}

html .pricing-simple-actions {
  gap: 10px;
  margin-top: 24px;
}

html .pricing-simple-actions a {
  min-height: 48px;
  border-radius: 14px;
  padding-inline: 18px;
  font-size: var(--type-supporting);
}

html .pricing-simple-actions a:first-child {
  border-color: var(--hkv-color-brand);
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 12px 26px rgba(31, 99, 237, 0.2);
}

html .pricing-simple-assurance {
  gap: 10px;
  margin-top: 18px;
  color: var(--hkv-color-muted-strong);
  font-size: var(--type-caption);
}

html .pricing-simple-assurance span {
  border: 1px solid rgba(183, 198, 221, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 6px 10px;
}

html .pricing-simple-assurance span + span {
  border-left: 1px solid rgba(183, 198, 221, 0.8);
  padding-left: 10px;
}

html .pricing-invitation-note {
  border-left: 3px solid var(--hkv-color-cyan);
  padding-left: 12px;
}

html :is(
  .pricing-plan-overview,
  .pricing-single-section,
  .pricing-credit-band,
  .pricing-included-simple,
  .pricing-role-guidance,
  .pricing-refund-assurance,
  .pricing-faq,
  .help-topic-grid,
  .help-contact-card,
  .refund-help-nav,
  .refund-policy-summary-grid,
  .refund-policy-content,
  .refund-help-manage
) {
  width: min(1240px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

html .pricing-simple-heading {
  align-items: center;
  gap: 30px;
  margin-bottom: 4px;
}

html .pricing-simple-heading h2 {
  font-size: 29px;
}

html .pricing-simple-heading > p {
  font-size: var(--type-supporting);
  line-height: 1.6;
}

html .pricing-choice-grid {
  gap: 16px;
}

html .pricing-choice-card {
  min-height: 310px;
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: var(--hkv-shadow-card);
}

html .pricing-choice-card:hover {
  border-color: rgba(31, 99, 237, 0.45);
  box-shadow: var(--hkv-shadow-raised);
  transform: translateY(-6px);
}

html .pricing-choice-card.pricing-choice-featured {
  border-color: rgba(84, 64, 182, 0.55);
  background:
    radial-gradient(circle at 100% 0, rgba(58, 201, 238, 0.2), transparent 11rem),
    linear-gradient(145deg, #ffffff, #f1efff);
  box-shadow: inset 0 4px var(--hkv-color-violet), var(--hkv-shadow-soft-color);
}

html .pricing-choice-card header > span {
  color: var(--hkv-color-violet-strong);
  font-size: var(--type-caption);
}

html .pricing-choice-card h3 {
  font-size: 21px;
}

html .pricing-choice-price strong {
  font-size: 36px;
}

html .pricing-choice-card > p {
  font-size: var(--type-supporting);
  line-height: 1.6;
}

html .pricing-choice-card > a {
  min-height: 48px;
  border-radius: 14px;
  font-size: var(--type-supporting);
}

html .pricing-choice-card.pricing-choice-featured > a {
  border-color: var(--hkv-color-violet-strong);
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 10px 24px rgba(84, 64, 182, 0.2);
}

html .pricing-exam-list {
  gap: 1px;
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.78);
  border-radius: 24px;
  background: var(--hkv-color-border);
  box-shadow: var(--hkv-shadow-card);
}

html .pricing-exam-row {
  min-height: 112px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
}

html .pricing-exam-row:nth-child(even),
html .pricing-exam-row:nth-child(n + 3) {
  border: 0;
}

html .pricing-exam-row:hover {
  background: linear-gradient(135deg, #ffffff, var(--hkv-color-action-soft));
}

html .pricing-exam-short {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.24), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
  box-shadow: inset 0 0 0 1px rgba(31, 99, 237, 0.1);
}

html .pricing-exam-action {
  min-height: 36px;
  border-radius: 11px;
}

html :is(.pricing-credit-band, .pricing-refund-assurance, .help-contact-card, .pricing-role-guidance) {
  overflow: hidden;
  border: 1px solid rgba(183, 198, 221, 0.78);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 20%, rgba(58, 201, 238, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 244, 255, 0.96));
  box-shadow: var(--hkv-shadow-card);
}

html :is(.pricing-redeem-row, .pricing-included-simple, .pricing-faq) {
  border-color: rgba(183, 198, 221, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--hkv-shadow-card);
}

html .pricing-included-simple {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html .pricing-faq-list details {
  border-radius: 15px;
}

html .help-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

html .help-topic-grid article {
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hkv-shadow-card);
}

html .help-topic-grid article:hover {
  border-color: rgba(31, 99, 237, 0.42);
  background: linear-gradient(145deg, #ffffff, #f3f5ff);
  box-shadow: var(--hkv-shadow-raised);
  transform: translateY(-5px);
}

html .help-topic-grid article:nth-child(3n + 2) {
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.08));
}

html .help-topic-grid article:nth-child(3n) {
  background: linear-gradient(145deg, #ffffff, rgba(238, 120, 183, 0.08));
}

html .help-topic-grid article.help-topic-featured {
  grid-column: auto;
  box-shadow: inset 0 4px var(--hkv-color-violet), var(--hkv-shadow-card);
}

html .pricing-choice-card.pricing-choice-bundle {
  grid-column: span 2;
}

html .auth-member-layout.signin.administrator .auth-progress {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html .refund-help-nav {
  gap: 8px;
  border: 1px solid var(--hkv-color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px;
  box-shadow: var(--hkv-shadow-card);
}

html .refund-help-nav a {
  min-height: 44px;
  border-radius: 12px;
}

html .refund-policy-summary-grid {
  gap: 16px;
}

html .refund-policy-summary-card,
html .refund-policy-content article,
html .refund-help-manage {
  border-color: rgba(183, 198, 221, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hkv-shadow-card);
}

html .refund-policy-summary-card.eligible {
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.09));
}

html .refund-policy-summary-card.review {
  background: linear-gradient(145deg, #ffffff, rgba(238, 120, 183, 0.09));
}

html .refund-policy-section-number,
html .refund-help-manage-icon {
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.2), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
}

/* Account entry and onboarding. */
html .auth-page-shell,
html .account-onboarding-shell,
html .admin-access-shell,
html .page-recovery-shell {
  background:
    radial-gradient(circle at 14% 10%, rgba(58, 201, 238, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 86%, rgba(238, 120, 183, 0.16), transparent 26rem),
    linear-gradient(135deg, #f7f9fc, #eff3ff);
}

html .auth-member-layout {
  width: min(1080px, calc(100% - 48px));
  min-height: 650px;
  grid-template-columns: minmax(350px, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  border: 1px solid rgba(183, 198, 221, 0.75);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--hkv-shadow-raised);
}

html .auth-welcome-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(58, 201, 238, 0.26), transparent 18rem),
    radial-gradient(circle at 88% 82%, rgba(238, 120, 183, 0.26), transparent 20rem),
    linear-gradient(145deg, #122044, #1b3691 54%, #5440b6);
  padding: 48px 42px;
  color: #ffffff;
  perspective: 900px;
}

html .auth-welcome-panel::before {
  position: absolute;
  right: -34px;
  bottom: 48px;
  z-index: -1;
  width: 160px;
  height: 160px;
  border: 18px solid rgba(58, 201, 238, 0.45);
  border-left-color: rgba(238, 120, 183, 0.55);
  border-radius: 50%;
  box-shadow: 0 24px 40px rgba(8, 18, 52, 0.3);
  content: "";
  pointer-events: none;
  transform: rotateX(65deg) rotateZ(-22deg);
}

html .auth-welcome-panel::after {
  position: absolute;
  right: 54px;
  bottom: 74px;
  z-index: -1;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 27px;
  background: linear-gradient(145deg, var(--hkv-color-cyan), var(--hkv-color-brand), var(--hkv-color-pink));
  box-shadow: 18px 22px 38px rgba(5, 14, 45, 0.28), inset 10px 10px 20px rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
  transform: rotateX(58deg) rotateZ(38deg);
}

html .auth-welcome-panel :is(h1, h2, h3, strong, .auth-brand, .auth-brand span, .auth-brand b) {
  color: #ffffff;
}

html .auth-welcome-panel :is(p, small, .auth-public-note) {
  color: #eaf2ff;
}

html .auth-welcome-panel .eyebrow {
  color: #eaf2ff;
}

html .auth-benefit-list {
  gap: 13px;
}

html .auth-benefit-list li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 13px;
  backdrop-filter: blur(8px);
}

html .auth-benefit-list li > span:first-child {
  border-radius: 11px;
  background: rgba(58, 201, 238, 0.2);
  color: #ffffff;
}

html .auth-card.auth-member-card {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 48px 54px;
  box-shadow: none;
}

html .auth-member-card > h1 {
  font-size: 37px;
  line-height: 1.1;
}

html :is(.auth-member-card, .account-onboarding-card) :is(input, select, textarea) {
  min-height: 50px;
  border-color: var(--hkv-color-border-strong);
  border-radius: 14px;
  background: #ffffff;
  padding-inline: 15px;
}

html :is(.auth-member-card, .account-onboarding-card) :is(input, select, textarea):focus {
  border-color: var(--hkv-color-brand);
  box-shadow: 0 0 0 4px rgba(31, 99, 237, 0.11);
}

html :is(.auth-primary-action, .account-primary-action, .member-submit-button) {
  min-height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 12px 26px rgba(31, 99, 237, 0.2);
}

html[dir="rtl"] .lucide-arrow-right {
  transform: scaleX(-1);
}

html :is(.member-role-options, .member-age-options, .member-entry-choices, .account-role-grid, .account-choice-grid, .account-exam-grid) button {
  border-radius: 16px;
}

html :is(.member-role-options, .member-age-options, .member-entry-choices, .account-role-grid, .account-choice-grid, .account-exam-grid) button:is(.selected, [aria-pressed="true"]) {
  border-color: rgba(84, 64, 182, 0.5);
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.11), rgba(120, 104, 230, 0.12));
  box-shadow: inset 4px 0 var(--hkv-color-violet);
}

html :is(.account-onboarding-card, .account-loading-card, .admin-access-card, .page-recovery-card) {
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.75);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(58, 201, 238, 0.13), transparent 18rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--hkv-shadow-raised);
}

html .not-found-page {
  display: grid;
  min-height: calc(100vh - 158px);
  place-items: center;
  padding: 54px 24px;
}

html .not-found-card {
  position: relative;
  isolation: isolate;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(183, 198, 221, 0.76);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(58, 201, 238, 0.2), transparent 16rem),
    radial-gradient(circle at 72% 110%, rgba(238, 120, 183, 0.15), transparent 18rem),
    rgba(255, 255, 255, 0.96);
  padding: 48px 230px 48px 48px;
  box-shadow: var(--hkv-shadow-raised);
}

html .not-found-card::after {
  position: absolute;
  right: 60px;
  bottom: 76px;
  z-index: -1;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--hkv-color-cyan), var(--hkv-color-brand) 52%, var(--hkv-color-violet-strong));
  box-shadow: 20px 24px 40px rgba(84, 64, 182, 0.2), inset 10px 10px 22px rgba(255, 255, 255, 0.3);
  content: "";
  pointer-events: none;
  transform: rotateX(58deg) rotateZ(38deg);
}

html .not-found-brand {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--hkv-color-text-strong);
  text-decoration: none;
}

html .not-found-brand > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--hkv-color-cyan), var(--hkv-color-brand) 52%, var(--hkv-color-violet-strong));
  color: #ffffff;
  box-shadow: 0 9px 20px rgba(31, 99, 237, 0.24);
  transform: rotate(-7deg);
}

html .not-found-card h1 {
  max-width: 13ch;
  margin: 10px 0 14px;
  color: var(--hkv-color-text-strong);
  font-size: 40px;
  line-height: 1.08;
}

html .not-found-card > .eyebrow {
  display: block;
}

html .not-found-card p {
  margin: 0;
  color: var(--hkv-color-muted-strong);
  line-height: 1.65;
}

html .not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

html .not-found-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hkv-color-brand);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  padding: 0 18px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 11px 24px rgba(31, 99, 237, 0.18);
}

html .not-found-actions a + a {
  border-color: var(--hkv-color-border-strong);
  background: #ffffff;
  color: var(--hkv-color-brand-strong);
  box-shadow: none;
}

html :is(.auth-utility-icon, .account-step-number) {
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.18), rgba(120, 104, 230, 0.18));
  color: var(--hkv-color-violet-strong);
}

/* Training library and signed-in workspace shell. */
html .training-library-layout {
  overflow: hidden;
  border: 1px solid #cdd9e9;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(18, 32, 68, 0.07);
}

html .exam-selector-rail {
  border-bottom-color: #d9e2ef;
  border-radius: 12px 12px 0 0;
  background: #ffffff;
}

html .exam-category-picker button,
html .exam-family-picker button,
html .mobile-exam-picker-toggle,
html .library-tabs button {
  border-radius: 7px;
}

html .exam-category-picker button.active,
html .exam-family-picker button.active,
html .library-tabs button.active {
  border-color: #1f63ed;
  background: #eaf2ff;
  color: #174fc5;
  box-shadow: inset 3px 0 #1f63ed;
}

html .exam-option-mark,
html .free-sample-badge,
html .exam-icon,
html .exam-badge {
  border-radius: 7px;
  background: #eaf2ff;
  color: #174fc5;
}

html .competition-workspace {
  border-radius: 0 0 12px 12px;
  background: #ffffff;
}

html :is(.free-sample-card, .training-access-guide, .practice-library-section, .direct-exam-browser > section, .home-calendar-preview) {
  border-color: var(--hkv-color-border);
}

html :is(.free-sample-card, .training-access-guide) {
  background: #f8fbff;
}

html :is(.library-open, .launch-row, .calendar-event, .mini-history, .inline-retry-card) {
  border-radius: 8px;
}

html :is(.library-open, .launch-row, .calendar-event, .mini-history):hover {
  border-color: rgba(31, 99, 237, 0.38);
  background: #f5f8ff;
  box-shadow: 0 10px 24px rgba(31, 99, 237, 0.08);
  transform: translateY(-1px);
}

html .training-home-support {
  gap: 18px;
}

html :is(.recent-card, .insight-card) {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--hkv-shadow-card);
}

html .insight-card {
  border: 1px solid #c8d9f4;
  background: #edf4ff;
  color: #122044;
}

html .member-workspace-shell {
  width: min(1380px, calc(100% - 48px));
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0 88px;
}

html .member-workspace-sidebar-header {
  top: 96px;
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 100% 0, rgba(58, 201, 238, 0.16), transparent 9rem),
    rgba(255, 255, 255, 0.94);
  padding: 20px 18px 15px;
}

html .member-workspace-menu {
  top: 171px;
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  box-shadow: var(--hkv-shadow-card);
  backdrop-filter: blur(12px);
}

html .member-workspace-menu button {
  min-height: 46px;
  border-radius: 13px;
}

html .member-workspace-menu button:hover {
  background: var(--hkv-color-surface-soft);
  transform: translateX(2px);
}

html .member-workspace-menu button.active {
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.14), rgba(120, 104, 230, 0.14));
  color: var(--hkv-color-violet-strong);
  box-shadow: inset 4px 0 var(--hkv-color-violet);
}

html .member-workspace-content {
  min-width: 0;
}

/* Workspace page heroes and information hierarchy. */
html :is(
  .role-family-page-header,
  .account-settings-hero,
  .personal-analysis-hero,
  .simple-page-hero,
  .archive-hero,
  .attempt-review-v2-hero,
  .result-hero
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(183, 198, 221, 0.76);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 15%, rgba(58, 201, 238, 0.17), transparent 17rem),
    radial-gradient(circle at 80% 110%, rgba(238, 120, 183, 0.12), transparent 19rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.96));
  padding: 34px;
  box-shadow: var(--hkv-shadow-card);
}

html :is(.account-settings-hero, .simple-page-hero, .archive-hero)::after {
  position: absolute;
  top: 28px;
  right: 48px;
  z-index: -1;
  width: 82px;
  height: 82px;
  border: 13px solid rgba(58, 201, 238, 0.34);
  border-left-color: rgba(238, 120, 183, 0.4);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotateX(64deg) rotateZ(-20deg);
}

html :is(.account-settings-hero, .simple-page-hero, .archive-hero) {
  padding-right: 190px;
}

html :is(.account-settings-hero, .personal-analysis-hero, .simple-page-hero, .archive-hero) h1 {
  color: var(--hkv-color-text-strong);
  font-size: 38px;
  line-height: 1.1;
}

html :is(.account-settings-hero, .personal-analysis-hero, .simple-page-hero, .archive-hero) p {
  color: var(--hkv-color-muted-strong);
  font-size: var(--type-body);
  line-height: 1.62;
}

html .personal-analysis-hero {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: 34px;
}

html .analysis-basis {
  border: 1px solid rgba(183, 198, 221, 0.8);
  border-left: 4px solid var(--hkv-color-violet);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  padding: 17px;
  box-shadow: 0 12px 28px rgba(84, 64, 182, 0.08);
}

html :is(.role-dashboard-grid, .analysis-main-grid, .result-grid, .analysis-intelligence-grid) {
  gap: 18px;
}

html :is(
  .role-panel,
  .role-family-roster,
  .account-settings-form,
  .account-security-card,
  .analysis-card,
  .knowledge-map-card,
  .learning-plan-card,
  .analysis-trend-card,
  .analysis-signal-card,
  .analysis-recommendation-board,
  .analysis-overview > article,
  .history-table,
  .weakness-overview,
  .schedule-reminder,
  .schedule-month-group,
  .schedule-notes,
  .license-note,
  .attempt-review-v2-summary,
  .attempt-review-v2-index,
  .attempt-review-v2-detail,
  .next-card
) {
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hkv-shadow-card);
}

html :is(.role-panel, .role-family-roster, .account-settings-form, .account-security-card, .analysis-card, .knowledge-map-card, .learning-plan-card, .history-table, .weakness-overview, .next-card) {
  padding: 24px;
}

html :is(.role-panel, .analysis-card, .knowledge-map-card, .learning-plan-card, .history-table):hover {
  border-color: rgba(31, 99, 237, 0.28);
}

html .role-summary-strip {
  gap: 10px;
}

html .role-summary-strip > * {
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.06));
}

html :is(.role-child-grid > button, .role-assignment-row, .role-class-grid article, .role-compact-list article, .role-request-list article, .role-weekly-outcome) {
  border-color: var(--hkv-color-border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
}

html :is(.role-child-grid > button, .role-class-grid article, .role-compact-list article):hover {
  border-color: rgba(31, 99, 237, 0.38);
  background: linear-gradient(135deg, #ffffff, var(--hkv-color-action-soft));
  box-shadow: 0 10px 25px rgba(31, 99, 237, 0.08);
}

html :is(.role-person-mark, .role-family-person-mark, .role-class-mark, .role-assignment-mark) {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.22), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
}

html .role-family-member-drawer {
  border-radius: 0 0 17px 17px;
  background: linear-gradient(135deg, rgba(244, 247, 255, 0.9), rgba(255, 255, 255, 0.96));
}

html body .role-parent-progress-center {
  overflow: hidden;
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hkv-shadow-card);
}

html body .role-parent-progress-header {
  border-bottom-color: var(--hkv-color-border);
  background:
    radial-gradient(circle at 94% 10%, rgba(58, 201, 238, 0.14), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
}

html body .role-parent-child-tabs {
  gap: 9px;
  border-bottom-color: var(--hkv-color-border);
  background: rgba(244, 247, 255, 0.78);
}

html body .role-parent-child-tabs button {
  border-radius: 14px;
}

html body .role-parent-child-tabs button.active {
  border-color: rgba(84, 64, 182, 0.42);
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.13), rgba(120, 104, 230, 0.13));
  color: var(--hkv-color-violet-strong);
  box-shadow: inset 4px 0 var(--hkv-color-violet);
}

html body .role-parent-child-tabs button > span,
html body .role-parent-login-mark {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.2), rgba(120, 104, 230, 0.18));
  color: var(--hkv-color-violet-strong);
}

html body .role-parent-progress-metrics {
  border-bottom-color: var(--hkv-color-border);
}

html body .role-parent-progress-metrics article + article {
  border-left-color: var(--hkv-color-border);
}

html body .role-parent-progress-metrics svg {
  color: var(--hkv-color-violet-strong);
}

html body :is(
  .role-parent-live-session,
  .role-parent-activity-panel,
  .role-parent-ai-summary,
  .role-parent-analysis-skills,
  .role-parent-analysis-latest,
  .role-parent-analysis-layout > .role-weekly-outcome
) {
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(18, 32, 68, 0.06);
}

html body .role-parent-live-session {
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.065));
}

html body .role-parent-live-session.is-live {
  border-color: rgba(31, 99, 237, 0.45);
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.11));
  box-shadow: inset 4px 0 var(--hkv-color-cyan), 0 12px 30px rgba(31, 99, 237, 0.08);
}

html body .role-parent-ai-summary {
  background: linear-gradient(145deg, #ffffff, rgba(120, 104, 230, 0.09));
}

html body .role-parent-ai-summary > header > span {
  border-radius: 14px;
  background: linear-gradient(145deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 9px 20px rgba(84, 64, 182, 0.18);
}

html body .role-parent-progress-bar > span {
  background: linear-gradient(90deg, var(--hkv-color-brand), var(--hkv-color-violet), var(--hkv-color-cyan));
}

html :is(
  .role-primary-action,
  .account-primary-action,
  .generation-primary-action,
  .exam-access-buy,
  .primary-button,
  .primary
) {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 11px 24px rgba(31, 99, 237, 0.18);
}

html :is(
  .role-secondary-action,
  .role-quiet-action,
  .secondary-button,
  .secondary,
  .account-signout-action,
  .account-admin-action,
  .history-load-more,
  .card-cta,
  .text-button
) {
  border-radius: 13px;
}

html :is(.role-chip-grid button, .role-target-grid > button, .role-format-grid > button, .account-choice-grid button, .account-exam-grid button) {
  border-radius: 14px;
}

html :is(.role-chip-grid button, .role-target-grid > button, .role-format-grid > button, .account-choice-grid button, .account-exam-grid button).selected,
html :is(.role-chip-grid button, .role-target-grid > button, .role-format-grid > button, .account-choice-grid button, .account-exam-grid button)[aria-pressed="true"] {
  border-color: rgba(84, 64, 182, 0.48);
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.12), rgba(120, 104, 230, 0.13));
  color: var(--hkv-color-violet-strong);
}

html :is(.role-stacked-form, .role-assignment-form, .account-settings-form) :is(input, select, textarea) {
  border-radius: 13px;
}

/* Analysis, results, and calendar views. */
html :is(.personal-analysis-page, .history-page, .schedule-page, .attempt-review-v2-page) {
  width: min(1240px, calc(100% - 48px));
}

html .analysis-exam-switcher,
html .schedule-filter,
html .history-filters,
html .review-filters {
  gap: 7px;
  border: 1px solid var(--hkv-color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px;
  box-shadow: var(--hkv-shadow-card);
}

html :is(.analysis-exam-switcher, .schedule-filter, .history-filters, .review-filters) button {
  min-height: 44px;
  border-radius: 12px;
}

html :is(.analysis-exam-switcher, .schedule-filter, .history-filters, .review-filters) button.active {
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.14), rgba(120, 104, 230, 0.14));
  color: var(--hkv-color-violet-strong);
  box-shadow: inset 0 0 0 1px rgba(84, 64, 182, 0.2);
}

html .analysis-overview {
  gap: 12px;
}

html .analysis-overview > article:nth-child(2) {
  background: linear-gradient(145deg, #ffffff, rgba(58, 201, 238, 0.09));
}

html .analysis-overview > article:nth-child(3) {
  background: linear-gradient(145deg, #ffffff, rgba(120, 104, 230, 0.09));
}

html .analysis-overview > article:nth-child(4) {
  background: linear-gradient(145deg, #ffffff, rgba(238, 120, 183, 0.08));
}

html .analysis-recommendation-board {
  margin-block: 20px;
  padding: 24px;
}

html .analysis-recommendation-list > button,
html .training-suggestion {
  border-color: var(--hkv-color-border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
}

html :is(.analysis-recommendation-list > button, .training-suggestion):hover {
  border-color: rgba(84, 64, 182, 0.4);
  background: linear-gradient(145deg, #ffffff, rgba(120, 104, 230, 0.09));
  box-shadow: 0 14px 30px rgba(84, 64, 182, 0.11);
  transform: translateY(-3px);
}

html .analysis-recommendation-rank,
html .training-suggestion-rank {
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.2), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
}

html .analysis-trend-chart > div > span {
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(to top, rgba(120, 104, 230, 0.08), rgba(58, 201, 238, 0.025));
}

html .analysis-trend-chart > div i {
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(to top, var(--hkv-color-violet-strong), var(--hkv-color-cyan));
  box-shadow: 0 8px 18px rgba(84, 64, 182, 0.18);
}

html .knowledge-row,
html .history-row,
html .weakness-cards button,
html .wrong-item,
html .review-answer-row {
  border-radius: 15px;
}

html :is(.knowledge-row, .history-row, .weakness-cards button, .wrong-item, .review-answer-row):hover {
  border-color: rgba(31, 99, 237, 0.38);
  background: linear-gradient(135deg, #ffffff, var(--hkv-color-action-soft));
  box-shadow: 0 10px 24px rgba(31, 99, 237, 0.08);
}

html .next-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(58, 201, 238, 0.3), transparent 13rem),
    linear-gradient(145deg, #122044, #223d92 58%, #5440b6);
  color: #ffffff;
  box-shadow: var(--hkv-shadow-raised);
}

html .next-card :is(h2, strong, b) {
  color: #ffffff;
}

html .next-card :is(p, span, small) {
  color: #eaf2ff;
}

html .result-hero {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
}

html .score-ring {
  box-shadow: 0 16px 34px rgba(31, 99, 237, 0.16);
}

html .history-summary {
  gap: 12px;
}

html .history-summary > div {
  border-color: var(--hkv-color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hkv-shadow-card);
}

html .next-exam-banner {
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(58, 201, 238, 0.34), transparent 13rem),
    linear-gradient(145deg, #122044, #233f9c 60%, #5440b6);
  box-shadow: var(--hkv-shadow-raised);
}

html .next-exam-banner > div:first-child > strong,
html .next-exam-banner > div:last-child {
  color: #ffffff;
}

html .next-exam-banner > div:first-child > span,
html .next-exam-banner small,
html .next-exam-banner > div:last-child > span {
  color: #eaf2ff;
}

html .next-exam-banner > div:first-child small + small {
  color: #ffffff;
}

html .next-exam-banner > div:last-child {
  border-left-color: rgba(234, 242, 255, 0.42);
}

html .schedule-month-group {
  overflow: hidden;
}

html .schedule-month-heading {
  background: linear-gradient(135deg, rgba(244, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
}

html .schedule-month .calendar-event,
html .schedule-board .calendar-event {
  border-radius: 16px;
}

html .schedule-reminder-icon {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.2), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
}

/* Purchase, refunds, and authoring tools. */
html :is(.exam-access-center, .refund-center, .generation-studio) {
  min-width: 0;
}

html :is(
  .exam-access-product-grid > button,
  .exam-access-actions > article,
  .exam-access-code-option,
  .refund-auth-gate,
  .refund-purchase-card,
  .refund-history-card,
  .refund-request-form,
  .billing-help-strip,
  .generation-credit-store,
  .generation-target-step,
  .generation-mode-step,
  .generation-config-step,
  .generation-preview,
  .generation-recent,
  .generation-assignment-guidance
) {
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hkv-shadow-card);
}

html .exam-access-product-grid > button:hover,
html .exam-access-product-grid > button.selected,
html .generation-target-grid > button:hover,
html .generation-target-grid > button.selected,
html .generation-mode-grid > button:hover,
html .generation-mode-grid > button.selected {
  border-color: rgba(84, 64, 182, 0.44);
  background: linear-gradient(145deg, #ffffff, rgba(120, 104, 230, 0.09));
  box-shadow: 0 12px 28px rgba(84, 64, 182, 0.1);
}

html :is(.exam-access-product-grid > button, .generation-target-grid > button, .generation-mode-grid > button, .generation-credit-pack-grid > button) {
  border-radius: 16px;
}

html .exam-access-dialog {
  border-radius: 28px;
  box-shadow: var(--hkv-shadow-raised);
}

html .exam-access-overlay {
  background: rgba(13, 24, 52, 0.54);
  backdrop-filter: blur(8px);
}

html .refund-auth-icon,
html .refund-purchase-icon {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(58, 201, 238, 0.2), rgba(120, 104, 230, 0.2));
  color: var(--hkv-color-violet-strong);
}

html .generation-studio-heading {
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0, rgba(58, 201, 238, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94));
  padding: 22px;
}

html :is(.generation-field, .generation-assignment-fields label) :is(input, select, textarea),
html .generation-upload-field {
  border-radius: 14px;
}

/* Admin remains restrained while sharing the same finish. */
html .admin-portal {
  background:
    radial-gradient(circle at 92% 5%, rgba(120, 104, 230, 0.08), transparent 28rem),
    var(--hkv-color-canvas);
}

html .admin-portal-header {
  min-height: 76px;
  border-bottom-color: rgba(183, 198, 221, 0.76);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 30px rgba(18, 32, 68, 0.05);
  backdrop-filter: blur(16px);
}

html .admin-tab-list {
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  box-shadow: var(--hkv-shadow-card);
}

html .admin-tab-list button {
  border-radius: 12px;
}

html .admin-tab-list button.active {
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.13), rgba(120, 104, 230, 0.13));
  color: var(--hkv-color-violet-strong);
  box-shadow: inset 4px 0 var(--hkv-color-violet);
}

html :is(.admin-surface, .admin-filter-surface, .admin-setting-editor, .admin-add-admin, .admin-quality-summary, .admin-platform-health, .admin-section-header) {
  border-color: rgba(183, 198, 221, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hkv-shadow-card);
}

html :is(.admin-primary-button, .admin-secondary-button, .admin-danger-button, .admin-quiet-button, .admin-exit-button) {
  border-radius: 12px;
}

html .admin-primary-button {
  background: linear-gradient(135deg, var(--hkv-color-brand), var(--hkv-color-violet-strong));
  box-shadow: 0 10px 22px rgba(31, 99, 237, 0.16);
}

/* Timed assessment screens inherit polish without decorative distraction. */
html :is(.simulation-screen, .practice-shell, .generated-exam-shell, .random-paper-shell, .sat-paper-shell, .sat-special-runner, .teachai-sat-shell, .act-exam-shell, .testdaily-ap-shell, .usaco-runner, .usaco-setup-screen) {
  background: #f7f9fc !important;
}

html :is(.practice-topbar, .sat-exam-topbar, .sat-bluebook-header, .simulation-header, .generated-exam-header, .usaco-runner-bar) {
  border-color: var(--hkv-color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 24px rgba(18, 32, 68, 0.055);
}

html :is(.simulation-card, .practice-card, .question-card, .generated-question-card, .answer-review-page, .answer-review-summary, .review-menu-card, .review-question) {
  border-color: var(--hkv-color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--hkv-shadow-card);
}

html :is(.answer-list button, .generated-answer-list button, .teachai-options button, .sat-special-options button, .testdaily-ap-options button, .letter-choices button, .historical-choice-buttons button) {
  border-radius: 14px;
}

html :is(.answer-list button, .generated-answer-list button, .teachai-options button, .sat-special-options button, .testdaily-ap-options button, .letter-choices button, .historical-choice-buttons button):hover:not(:disabled):not(.correct):not(.incorrect):not(.correct-option):not(.wrong-option) {
  border-color: rgba(31, 99, 237, 0.4);
  background: var(--hkv-color-action-soft);
}

html :is(.answer-list button, .generated-answer-list button, .teachai-options button, .sat-special-options button, .testdaily-ap-options button, .letter-choices button, .historical-choice-buttons button).selected:not(.correct):not(.incorrect):not(.correct-option):not(.wrong-option),
html :is(.answer-list button, .generated-answer-list button, .teachai-options button, .sat-special-options button, .testdaily-ap-options button, .letter-choices button, .historical-choice-buttons button)[aria-pressed="true"]:not(.correct):not(.incorrect):not(.correct-option):not(.wrong-option) {
  border-color: var(--hkv-color-brand);
  background: linear-gradient(135deg, rgba(58, 201, 238, 0.12), rgba(120, 104, 230, 0.12));
  box-shadow: inset 4px 0 var(--hkv-color-violet);
}

html :is(.answer-list, .generated-answer-list, .teachai-options, .sat-special-options, .testdaily-ap-options, .letter-choices, .historical-choice-buttons) :is(button.correct, button.correct-option) {
  border-color: #174fc5;
  background: #eaf2ff;
  color: #122044;
  box-shadow: inset 4px 0 #174fc5;
}

html :is(.answer-list, .generated-answer-list, .teachai-options, .sat-special-options, .testdaily-ap-options, .letter-choices, .historical-choice-buttons) :is(button.incorrect, button.wrong-option) {
  border-color: #d65b45;
  background: #fff0ec;
  color: #a33827;
  box-shadow: inset 4px 0 #d65b45;
}

/* Responsive hierarchy. */
@media (max-width: 1100px) {
  html body .pricing-page .pricing-simple-hero,
  html .help-center-hero,
  html .refund-policy-hero {
    padding-right: 250px;
  }

  html .pricing-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html .training-home-main,
  html .analysis-intelligence-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 960px) and (min-width: 761px) {
  html body .pricing-page .pricing-simple-hero {
    grid-template-areas:
      "label"
      "title"
      "copy"
      "action"
      "terms"
      "notice";
    grid-template-columns: 1fr;
    padding: 40px 42px;
  }

  html body .pricing-page .pricing-simple-hero::before,
  html body .pricing-page .pricing-simple-hero::after {
    opacity: 0.12;
  }

  html .pricing-simple-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
    border-top: 1px solid var(--hkv-color-border);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
    text-align: center;
  }

  html .pricing-simple-assurance span {
    justify-content: center;
    border-right: 1px solid var(--hkv-color-border);
    border-bottom: 0;
    padding-inline: 7px;
  }

  html .pricing-simple-assurance span:last-child {
    border-right: 0;
  }

  html .auth-member-layout {
    width: min(100% - 48px, 720px);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  html .auth-welcome-panel {
    display: none;
  }

  html .auth-mobile-brand {
    display: flex;
  }

  html .auth-card.auth-member-card {
    border-radius: 30px;
    padding: 42px;
  }

  html .member-workspace-shell {
    width: min(100% - 32px, 820px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  html .member-workspace-sidebar-header {
    display: none;
  }

  html .member-workspace-menu {
    position: static;
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  html .member-workspace-shell {
    width: min(100% - 32px, 820px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  html .member-workspace-sidebar-header {
    display: none;
  }

  html .member-workspace-menu {
    position: static;
    border-radius: 20px;
  }

  html .personal-analysis-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --hkv-radius-control: 12px;
    --hkv-radius-card: 18px;
    --hkv-radius-panel: 22px;
    --hkv-type-heading-large: 32px;
  }

  html body {
    background:
      radial-gradient(circle at 5% 4%, rgba(58, 201, 238, 0.1), transparent 18rem),
      radial-gradient(circle at 98% 18%, rgba(120, 104, 230, 0.08), transparent 20rem),
      var(--hkv-color-canvas) !important;
  }

  html .global-header {
    height: 64px;
    min-height: 64px;
    padding-inline: 12px;
    backdrop-filter: none;
  }

  html :is(.global-header .brand-mark, .site-footer-mark) {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html .global-header nav {
    top: auto;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
  }

  html .global-header nav .platform-nav-item {
    border-radius: 10px;
    padding-inline: 2px;
  }

  html .global-header nav .platform-nav-item.active {
    box-shadow: inset 0 3px var(--hkv-color-violet);
  }

  html .site-footer {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 34px;
    border-radius: 22px 22px 0 0;
    padding: 22px 16px calc(82px + env(safe-area-inset-bottom));
  }

  html .site-footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html .site-footer nav a {
    min-width: 0;
    justify-content: center;
    border: 1px solid var(--hkv-color-border);
    background: rgba(255, 255, 255, 0.74);
    padding-inline: 6px;
    text-align: center;
  }

  html :is(.pricing-header, .help-center-header, .refund-policy-header) {
    width: calc(100% - 28px);
    min-height: 72px;
  }

  html .pricing-header nav {
    gap: 2px;
  }

  html .pricing-header nav > a:not(.pricing-signup):not(.pricing-nav-current) {
    display: none;
  }

  html .pricing-header nav > a {
    min-height: 44px;
    padding-inline: 10px;
  }

  html body .pricing-page .pricing-simple-hero,
  html .help-center-hero,
  html .refund-policy-hero {
    width: calc(100% - 28px);
    min-height: 0;
    margin: 10px auto 26px;
    border-radius: 24px;
    padding: 34px 24px 122px;
  }

  html body .pricing-page .pricing-simple-hero {
    padding-bottom: 86px;
  }

  html body .pricing-page .pricing-simple-assurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .pricing-page .pricing-simple-assurance span {
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  html body .pricing-page .pricing-simple-hero::before,
  html .help-center-hero::before,
  html .refund-policy-hero::before {
    top: auto;
    right: 38px;
    bottom: 26px;
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  html body .pricing-page .pricing-simple-hero::after,
  html .help-center-hero::after,
  html .refund-policy-hero::after {
    right: 16px;
    bottom: 9px;
    width: 126px;
    height: 62px;
    border-width: 11px;
  }

  html :is(.pricing-simple-hero, .help-center-hero, .refund-policy-hero) h1 {
    max-width: 19ch;
    font-size: 34px;
    line-height: 1.14;
  }

  html :is(
    .pricing-plan-overview,
    .pricing-single-section,
    .pricing-credit-band,
    .pricing-included-simple,
    .pricing-role-guidance,
    .pricing-refund-assurance,
    .pricing-faq,
    .help-topic-grid,
    .help-contact-card,
    .refund-help-nav,
    .refund-policy-summary-grid,
    .refund-policy-content,
    .refund-help-manage
  ) {
    width: calc(100% - 28px);
  }

  html .pricing-simple-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  html .pricing-simple-heading > p {
    justify-self: start;
  }

  html .pricing-choice-grid,
  html .pricing-exam-list,
  html .help-topic-grid,
  html .refund-policy-summary-grid {
    grid-template-columns: 1fr;
  }

  html .pricing-choice-card.pricing-choice-bundle {
    grid-column: 1 / -1;
  }

  html .pricing-choice-card {
    min-height: 0;
  }

  html .pricing-exam-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  html .pricing-exam-action {
    grid-column: 2 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  html .auth-page-shell:has(.auth-member-layout) {
    min-height: calc(100vh - 64px);
    padding: 12px;
  }

  html .auth-member-layout {
    width: min(100%, 620px);
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
    border-radius: 24px;
  }

  html .auth-welcome-panel {
    display: none;
  }

  html .auth-mobile-brand {
    display: flex;
  }

  html .auth-card.auth-member-card {
    border-radius: 24px;
    padding: 26px 22px;
  }

  html .auth-member-card > h1 {
    font-size: 31px;
  }

  html .not-found-page {
    min-height: calc(100vh - 132px);
    padding: 30px 14px;
  }

  html .not-found-card {
    border-radius: 24px;
    padding: 30px 22px 122px;
  }

  html .not-found-card::after {
    right: 34px;
    bottom: 28px;
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  html .not-found-card h1 {
    font-size: 32px;
  }

  html .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  html .not-found-actions a {
    width: 100%;
  }

  html .training-home {
    width: calc(100% - 28px);
    padding: 24px 0 38px;
  }

  html .training-home-header,
  html .training-home-header.has-suggestions {
    min-height: 0;
    border-radius: 0;
    padding: 2px 0 18px;
  }

  html .training-home-header::after {
    display: none;
  }

  html .training-home-header h1 {
    font-size: 22px;
  }

  html .training-library-layout {
    border-radius: 10px;
  }

  html .exam-selector-rail {
    border-radius: 10px 10px 0 0;
  }

  html .member-workspace-shell {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 40px;
  }

  html .member-workspace-sidebar-header {
    display: none;
  }

  html .member-workspace-menu {
    position: static;
    border-radius: 18px;
  }

  html :is(.personal-analysis-page, .history-page, .schedule-page, .attempt-review-v2-page) {
    width: calc(100% - 28px);
  }

  html :is(.role-family-page-header, .account-settings-hero, .personal-analysis-hero, .simple-page-hero, .archive-hero, .attempt-review-v2-hero, .result-hero) {
    border-radius: 22px;
    padding: 25px 22px;
  }

  html :is(.account-settings-hero, .simple-page-hero, .archive-hero) {
    padding-right: 22px;
  }

  html :is(.account-settings-hero, .simple-page-hero, .archive-hero)::after {
    display: none;
  }

  html :is(.account-settings-hero, .personal-analysis-hero, .simple-page-hero, .archive-hero) h1 {
    font-size: 31px;
  }

  html .personal-analysis-hero,
  html .result-hero {
    grid-template-columns: 1fr;
  }

  html :is(.role-panel, .role-family-roster, .account-settings-form, .account-security-card, .analysis-card, .knowledge-map-card, .learning-plan-card, .history-table, .weakness-overview, .next-card) {
    border-radius: 18px;
    padding: 20px;
  }

  html body .role-parent-progress-center {
    border-radius: 18px;
  }

  html .analysis-exam-switcher,
  html .schedule-filter,
  html .history-filters,
  html .review-filters {
    overflow-x: auto;
    border-radius: 15px;
    scrollbar-width: thin;
  }

  html .analysis-recommendation-list,
  html .training-suggestion-list,
  html .analysis-overview,
  html .history-summary {
    grid-template-columns: 1fr;
  }

  html .analysis-recommendation-board {
    padding: 20px;
  }

  html .result-hero {
    justify-items: start;
  }

  html .admin-portal-layout {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html .admin-tab-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html :is(.simulation-card, .practice-card, .question-card, .generated-question-card, .answer-review-page, .answer-review-summary, .review-menu-card, .review-question) {
    border-radius: 17px;
  }
}

@media (max-width: 390px) {
  html .pricing-header nav > .pricing-nav-current {
    display: none;
  }

  html :is(.pricing-simple-hero, .help-center-hero, .refund-policy-hero) h1 {
    font-size: 31px;
  }

  html .pricing-exam-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  html .pricing-exam-price {
    grid-column: 2;
    justify-items: start;
  }

  html .pricing-exam-action {
    grid-column: 1 / -1;
  }

  html .auth-card.auth-member-card {
    padding-inline: 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html body *,
  html body *::before,
  html body *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html body :is(button, a, summary):active,
  html body :is(button, a, article):hover {
    transform: none !important;
  }

  html :is(.brand-button, .pricing-brand, .site-footer-brand, .auth-brand, .auth-mobile-brand):hover :is(.brand-mark, .site-footer-mark, span:first-child) {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  html body .pricing-page .pricing-simple-hero::before,
  html body .pricing-page .pricing-simple-hero::after,
  html .help-center-hero::before,
  html .help-center-hero::after,
  html .refund-policy-hero::before,
  html .refund-policy-hero::after,
  html .training-home-header::after,
  html :is(.account-settings-hero, .simple-page-hero, .archive-hero)::after,
  html .auth-welcome-panel::before,
  html .auth-welcome-panel::after {
    display: none;
  }

  html .not-found-card::after {
    display: none;
  }

  html body :is(button, a, input, select, textarea, summary):focus-visible {
    outline: 3px solid CanvasText;
    box-shadow: none;
  }
}

/* 2026-08 workspace and assessment refinement. */
html .member-workspace-shell {
  width: min(1420px, calc(100% - 48px));
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0 88px;
}

html .member-workspace-sidebar-header {
  top: 88px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 88px;
  border: 1px solid #cdd8ea;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #ffffff;
  padding: 15px;
}

html .member-workspace-role-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #e8f1ff;
  color: #174fc5;
}

html .member-workspace-sidebar-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

html .member-workspace-sidebar-copy .eyebrow {
  margin: 0;
  color: #1f63ed;
  font-size: 11px;
  letter-spacing:0;
}

html .member-workspace-sidebar-copy strong {
  color: #0d1834;
  font-size: 16px;
  line-height: 1.25;
}

html .member-workspace-menu {
  top: 176px;
  border: 1px solid #cdd8ea;
  border-top: 1px solid #e1e7f0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 12px 28px rgba(18, 32, 68, 0.07);
  backdrop-filter: none;
}

html .member-workspace-menu nav {
  gap: 4px;
  padding: 0;
}

html .member-workspace-menu-group {
  display: grid;
  gap: 3px;
}

html .member-workspace-menu-group + .member-workspace-menu-group {
  margin-top: 8px;
  border-top: 1px solid #e5eaf2;
  padding-top: 8px;
}

html .member-workspace-menu-group > h2 {
  margin: 0;
  padding: 4px 10px;
  color: #748197;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing:0;
  text-transform: uppercase;
}

html .member-workspace-menu button {
  min-height: 44px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 11px;
  color: #4f5e77;
  font-size: 13px;
  line-height: 1.25;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

html .member-workspace-menu button:hover {
  border-color: #d8e2f0;
  background: #f6f8fc;
  color: #122044;
  transform: none;
}

html .member-workspace-menu button.active {
  border-color: #b8cff8;
  background: #eaf2ff;
  color: #174fc5;
  box-shadow: inset 3px 0 #1f63ed;
}

html .member-workspace-menu button.active::before {
  display: none;
}

html .member-workspace-content :is(.role-family-page-header, .role-workspace-page-header) {
  min-height: 0;
  border: 1px solid #d4deec;
  border-radius: 8px;
  background: #ffffff;
  padding: 24px 26px;
  box-shadow: 0 9px 24px rgba(18, 32, 68, 0.055);
}

html .member-workspace-content :is(.role-family-page-header, .role-workspace-page-header)::before,
html .member-workspace-content :is(.role-family-page-header, .role-workspace-page-header)::after {
  display: none;
}

html .member-workspace-content .role-family-page-title h1 {
  margin: 3px 0 5px;
  color: #0d1834;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing:0;
}

html .member-workspace-content .role-family-page-title p {
  max-width: 760px;
  margin: 0;
  color: #5b6b85;
  font-size: 15px;
  line-height: 1.55;
}

html .member-workspace-content :is(.role-panel, .role-family-roster, .role-summary-strip, .role-parent-progress-center, .role-parent-ai-summary, .account-settings-form, .account-security-card) {
  border-color: #d4deec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(18, 32, 68, 0.045);
}

html .member-workspace-content :is(.role-panel, .role-family-roster) > header {
  border-bottom-color: #e2e8f1;
  padding: 19px 21px;
}

html .member-workspace-content :is(.role-primary-action, .role-secondary-action, .role-quiet-action, .role-family-add-action, .role-family-drawer-action) {
  min-height: 44px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.2;
}

html .member-workspace-content .role-primary-action {
  border-color: #1f63ed;
  background: #1f63ed;
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(31, 99, 237, 0.16);
}

html .member-workspace-content .role-primary-action:hover:not(:disabled) {
  background: #174fc5;
}

html .member-workspace-content .role-secondary-action {
  border-color: #b7c7df;
  background: #ffffff;
  color: #174fc5;
}

html .exam-access-summary {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 1px solid #cbd8e9;
  border-top: 4px solid #9aafd0;
  border-radius: 8px;
  background: #ffffff;
  padding: 21px;
  box-shadow: 0 14px 34px rgba(18, 32, 68, 0.08);
}

html .exam-access-layout.dialog .exam-access-summary {
  position: static;
}

html .exam-access-summary.active,
html .exam-access-summary.upgrade {
  border-top-color: #1f63ed;
}

html .exam-access-summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

html .exam-access-summary-heading h2 {
  margin: 5px 0 0;
  color: #0d1834;
  font-size: 21px;
  line-height: 1.28;
}

html .exam-access-summary-heading > em {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #eef2f7;
  padding: 0 9px;
  color: #5f6d83;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

html .exam-access-summary:is(.active, .upgrade) .exam-access-summary-heading > em {
  background: #dfeaff;
  color: #174fc5;
}

html .exam-access-summary-description {
  margin: 0;
  color: #5d6c84;
  font-size: 13px;
  line-height: 1.5;
}

html .exam-access-summary-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #e0e6ef;
  border-bottom: 1px solid #e0e6ef;
}

html .exam-access-summary-facts > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  min-height: 43px;
  padding: 10px 0;
}

html .exam-access-summary-facts > div + div {
  border-top: 1px solid #edf0f5;
}

html .exam-access-summary-facts dt {
  color: #748197;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

html .exam-access-summary-facts dd {
  min-width: 0;
  margin: 0;
  color: #17233d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

html .exam-access-summary-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
}

html .exam-access-summary-price b {
  color: #0d1834;
  font-size: 20px;
}

html .exam-access-summary-price del {
  color: #7b8799;
  font-size: 11px;
}

html .exam-access-summary .exam-access-actions {
  gap: 0;
}

html .exam-access-summary .exam-access-actions > article {
  gap: 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

html .exam-access-summary .refund-policy-checkout-disclosure {
  margin-top: 4px;
  border: 0;
  border-top: 1px solid #e0e6ef;
  border-radius: 0;
  background: transparent;
  padding: 13px 0 0;
}

html .exam-access-summary .refund-policy-checkout-disclosure.needs-attention {
  border: 1px solid #1f63ed;
  border-radius: 7px;
  background: #eef5ff;
  padding: 12px;
}

html .exam-access-summary .exam-access-buy {
  width: 100%;
  min-height: 48px;
  background: #1f63ed;
  font-size: 14px;
}

html .exam-access-summary .exam-access-buy:hover:not(:disabled) {
  background: #174fc5;
}

html .exam-access-summary .exam-access-code-option {
  margin-top: 14px;
  border: 0;
  border-top: 1px solid #e0e6ef;
  border-radius: 0;
  background: transparent;
}

html .exam-access-summary .exam-access-code-option > summary {
  padding: 13px 0 0;
}

html .exam-access-summary .exam-access-code-option > form {
  border-top: 0;
  padding: 14px 0 0;
}

html .exam-access-active {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid #a9c3ed;
  border-radius: 8px;
  background: #eaf2ff;
  padding: 13px 14px;
  color: #122044;
}

html .exam-access-active > span:first-child {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #ffffff;
  color: #174fc5;
}

html .exam-access-active strong {
  font-size: 14px;
}

html .exam-access-active small {
  color: #5d6d86;
  font-size: 12px;
}

/* Exam setup and form preparation stay legible in every color mode. */
html .simulation-card.checkin-card {
  width: min(980px, 100%);
  border: 1px solid #cdd9e9;
  border-radius: 8px;
  background: #ffffff !important;
  padding: 42px;
  color: #0d1834 !important;
  box-shadow: 0 18px 48px rgba(18, 32, 68, 0.1);
}

html .checkin-card .simulation-brand,
html .checkin-card .simulation-brand strong,
html .checkin-card h1,
html .checkin-card .eyebrow {
  color: #0d1834 !important;
}

html .checkin-card .eyebrow {
  display: block;
  margin-top: 24px;
  color: #1f63ed !important;
  font-size: 11px;
  letter-spacing:0;
}

html .checkin-card h1 {
  margin: 8px 0 10px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing:0;
}

html .checkin-card > p {
  max-width: 820px;
  margin: 0 0 26px;
  color: #52627b !important;
  font-size: 16px;
  line-height: 1.6;
}

html .checkin-card .simulation-facts {
  gap: 12px;
}

html .checkin-card .simulation-facts article {
  min-height: 122px;
  border: 1px solid #d4deec;
  border-radius: 8px;
  background: #f6f8fc;
  padding: 20px;
}

html .checkin-card .simulation-facts strong {
  color: #174fc5 !important;
  font-size: 30px;
}

html .checkin-card .simulation-facts span,
html .checkin-card .simulation-rules span {
  color: #53647f !important;
  font-size: 14px;
  line-height: 1.45;
}

html .checkin-card .simulation-rules {
  border-radius: 8px;
  background: #edf4ff;
}

html .checkin-card > .primary,
html .checkin-card > .quiet-action {
  min-height: 48px;
  border-radius: 7px;
  font-size: 14px;
}

html .checkin-card > .quiet-action {
  border: 1px solid #b9c9df;
  background: #ffffff;
  padding: 0 18px;
  color: #174fc5 !important;
}

html .checkin-card > .quiet-action:hover:not(:disabled) {
  border-color: #7fa5e6;
  background: #f4f8ff;
  color: #174fc5 !important;
}

html .mock-form-dialog {
  border-radius: 8px;
  padding: 30px;
}

html .mock-form-dialog > header {
  align-items: flex-start;
  gap: 20px;
}

html .mock-form-dialog > header h2 {
  max-width: 760px;
  font-family: var(--font-ui);
  font-size: 31px;
  line-height: 1.16;
  letter-spacing:0;
}

html .mock-form-dialog-close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 7px;
  padding: 0;
}

html .mock-form-progress {
  border-radius: 8px;
  background: #f4f7fc;
}

html .mock-form-progress-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 7px;
}

html .mock-form-progress-actions button.primary {
  border-color: #1f63ed;
  background: #1f63ed;
}

@media (max-width: 1180px) {
  html .exam-access-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  html .member-workspace-shell {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 18px;
  }

  html .member-workspace-sidebar-header {
    position: static;
    min-height: 76px;
    border-bottom: 1px solid #dfe6ef;
    border-radius: 8px 8px 0 0;
  }

  html .member-workspace-menu {
    position: static;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    padding: 0 8px 8px;
    box-shadow: none;
  }

  html .member-workspace-menu summary {
    min-height: 50px;
    padding: 0 10px;
  }

  html .member-workspace-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html .member-workspace-menu-group + .member-workspace-menu-group {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
  }

}

@media (max-width: 720px) {
  html .exam-access-product-grid {
    grid-template-columns: 1fr;
  }

  html .exam-access-product-grid > button {
    min-height: 126px;
  }

  html .simulation-card.checkin-card {
    padding: 26px 20px;
  }

  html .checkin-card h1 {
    font-size: 30px;
  }

  html .checkin-card .simulation-facts {
    grid-template-columns: 1fr;
  }

  html .checkin-card .simulation-facts article {
    min-height: 96px;
  }

}

@media (max-width: 520px) {
  html .auth-member-layout.signin.administrator .auth-progress {
    grid-template-columns: 1fr;
  }

  html .member-workspace-menu nav {
    grid-template-columns: 1fr;
  }

  html .member-workspace-content :is(.role-family-page-header, .role-workspace-page-header) {
    padding: 20px;
  }

  html .member-workspace-content .role-family-page-title h1 {
    font-size: 28px;
  }

  html .mock-form-dialog {
    padding: 22px 17px;
  }

  html .mock-form-dialog > header h2 {
    font-size: 26px;
  }

  html .mock-form-progress-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html .mock-form-progress-actions button {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html .member-workspace-menu button,
  html .exam-access-product-grid > button {
    transition: none;
  }

  html .exam-access-product-grid > button:hover:not(:disabled) {
    transform: none;
  }
}

@media (forced-colors: active) {
  html .exam-access-product-grid > button.active::before {
    background: CanvasText;
  }

  html :is(.member-workspace-menu button, .exam-access-product-grid > button):focus-visible {
    outline: 3px solid CanvasText;
    box-shadow: none;
  }
}
