:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --muted: #718096;
  --text: #1f2937;
  --blue: #2d6388;
  --blue-dark: #224a66;
  --ok-bg: #d9f4df;
  --ok-border: #2bbf5f;
  --bad-bg: #fde8e8;
  --bad-border: #ef4444;
  --line: #d6dde5;
  --topbar-height: 76px;
  --category-nav-height: 58px;
  --category-breadcrumb-height: 38px;
  --header-stack-height: calc(var(--topbar-height) + var(--category-nav-height) + var(--category-breadcrumb-height));
  --site-footer-height: 54px;
  --privacy-banner-spacing: 128px;
  --content-vertical-padding: 52px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  padding-bottom: 0;
}

body.privacy-consent-required {
  padding-bottom: var(--privacy-banner-spacing);
}

body.gallery-overlay-open {
  overflow: hidden;
}

body.privacy-consent-required .auth-shell,
body.privacy-consent-required .practice-topbar,
body.privacy-consent-required .practice-category-nav,
body.privacy-consent-required .layout,
body.privacy-consent-required .public-page-shell,
body.privacy-consent-required .site-footer {
  pointer-events: none;
}

body.privacy-consent-required .auth-card,
body.privacy-consent-required .layout,
body.privacy-consent-required .public-page-frame,
body.privacy-consent-required .site-footer-inner,
body.privacy-consent-required .practice-topbar,
body.privacy-consent-required .practice-category-nav {
  filter: blur(1.5px);
  opacity: 0.48;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.app-skeleton {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app-skeleton.hidden {
  display: none;
}

.app-skeleton-shell {
  width: min(960px, 100%);
}

.skeleton-card {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  padding: 18px;
}

.skeleton-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.skeleton-bar,
.skeleton-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #e2e8f0;
}

.skeleton-bar::after,
.skeleton-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140px;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-title {
  height: 24px;
  width: min(260px, 70%);
}

.skeleton-line {
  height: 14px;
  width: 100%;
  margin-top: 10px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-tile {
  height: 120px;
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1100px);
  }
}

.auth-shell {
  min-height: calc(100vh - var(--header-stack-height) - var(--site-footer-height));
  min-height: calc(100dvh - var(--header-stack-height) - var(--site-footer-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-stack-height) + 28px) 20px 24px;
  gap: 20px;
}

.academy-auth-gate {
  min-height: calc(100vh - var(--site-footer-height));
  min-height: calc(100dvh - var(--site-footer-height));
}

.auth-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.auth-card h1 {
  margin: 0 0 8px;
}

.public-page-shell {
  min-height: calc(100vh - var(--site-footer-height));
  min-height: calc(100dvh - var(--site-footer-height));
  padding: 24px;
}

.public-page-frame {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.info-page-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 14px 40px rgba(25, 42, 70, 0.08);
}

.info-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.info-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.info-page-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d6388;
}

.info-page-header h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.info-page-updated {
  margin: 14px 0 0;
  color: #5f7285;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.info-policy-copy {
  max-width: 960px;
  color: #000000;
  font-size: 16px;
  line-height: 1.75;
}

.info-page-print-btn {
  white-space: nowrap;
}

.info-policy-copy h3 {
  margin: 24px 0 8px;
  color: #17374d;
  font-size: 20px;
}

.contact-page-card {
  padding-bottom: 42px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-visual {
  min-height: 520px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(110, 193, 210, 0.75), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(64, 102, 152, 0.35), transparent 26%),
    linear-gradient(145deg, #17374d 0%, #2f90a4 48%, #f3f7fb 100%);
}

.contact-visual-screen,
.contact-visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.contact-visual-screen {
  inset: 56px 54px 156px 54px;
  border-radius: 22px;
}

.contact-visual-card {
  width: 180px;
  height: 120px;
  left: 44px;
  bottom: 34px;
  border-radius: 20px;
}

.contact-visual-card.is-small {
  width: 120px;
  height: 88px;
  left: 244px;
  bottom: 58px;
}

.contact-copy {
  color: #000000;
  font-size: 16px;
  line-height: 1.7;
}

.contact-required {
  color: #bf3d2e;
  font-weight: 700;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.contact-form-grid label,
.contact-request-types {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #24465f;
  font-weight: 600;
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  border: 1px solid #9fd1df;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: #17374d;
  background: #fff;
}

.contact-form-grid textarea {
  resize: vertical;
  min-height: 220px;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.contact-request-types {
  border: 0;
  margin: 0;
  padding: 0;
}

.contact-request-types legend {
  margin-bottom: 10px;
  font-size: 18px;
  color: #17374d;
}

.contact-request-types label {
  flex-direction: row;
  align-items: center;
  font-weight: 500;
  gap: 10px;
}

.contact-request-types input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-captcha-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-captcha-note {
  margin: 0;
  color: #60758a;
  font-size: 13px;
}

.contact-form-message {
  margin: 0;
}

.privacy-consent-banner {
  position: fixed;
  left: 50%;
  bottom: calc(var(--site-footer-height) + 14px);
  z-index: 140;
  width: min(1080px, calc(100% - 24px));
  transform: translateX(-50%);
}

.privacy-consent-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(23, 55, 77, 0.12);
  background: rgba(13, 27, 42, 0.94);
  color: #f8fbff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(18px);
}

.privacy-consent-copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.privacy-consent-copy p {
  margin: 0;
  color: rgba(248, 251, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.privacy-consent-copy .link-btn {
  color: #9fdaf2;
}

.privacy-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.privacy-consent-dismiss {
  border-radius: 999px;
  border: 1px solid rgba(159, 218, 242, 0.4);
  background: #9fdaf2;
  color: #0f2435;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-width: 160px;
}

.privacy-consent-dismiss:hover {
  background: #b7e5f7;
}

.site-footer {
  position: static;
  z-index: auto;
  min-height: var(--site-footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.site-footer-section {
  align-items: center;
  color: #60758a;
  font-size: 14px;
}

.site-footer-brand {
  display: flex;
  justify-content: flex-start;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-footer-contact {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.site-footer-mail {
  color: #2d6388;
  text-decoration: none;
}

.site-footer-mail:hover {
  text-decoration: underline;
}

.auth-label {
  display: block;
  font-size: 15px;
  margin-top: 12px;
}

.auth-label input {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
}

.password-input-wrap {
  position: relative;
  margin-top: 6px;
}

.password-input-wrap input {
  margin-top: 0;
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 0;
  color: #5b6f83;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle-btn .eye-closed {
  display: none;
}

.password-toggle-btn.is-visible .eye-open {
  display: none;
}

.password-toggle-btn.is-visible .eye-closed {
  display: block;
}

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

.auth-legal-note {
  margin: 14px 0 0;
  color: #60758a;
  font-size: 13px;
  line-height: 1.6;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #24465f;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.consent-check span {
  min-width: 0;
}

.consent-check .link-btn {
  font-size: inherit;
}

.consent-check.is-invalid {
  border-color: #ef4444;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.checkout-methods-card,
.checkout-method-body {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.checkout-methods-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.checkout-methods-head strong {
  color: #183146;
}

.checkout-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.checkout-method-option {
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  border: 1px solid #d8e3ee;
  background: #fff;
  color: #24465f;
}

.checkout-method-option strong {
  display: block;
  margin-bottom: 6px;
  color: #183146;
}

.checkout-method-option span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #60758a;
}

.checkout-method-option.active {
  border-color: #2d6388;
  background: #eef6fd;
  box-shadow: 0 0 0 3px rgba(45, 99, 136, 0.12);
}

.checkout-payment-warning {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #ef4444;
  border-radius: 12px;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  font-size: 15px;
  line-height: 1.6;
}

.register-progress {
  margin-top: 12px;
  margin-bottom: 10px;
}

.register-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.register-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2d6388, #3b82f6);
  transition: width 0.2s ease;
}

.register-progress-steps {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.register-step {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  background: #f8fafc;
}

.preference-settings-copy {
  margin: 10px 0 0;
  color: #60758a;
  font-size: 14px;
  line-height: 1.5;
}

.preference-tree-shell {
  margin-top: 12px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.preference-tree-shell-dialog {
  max-height: min(56vh, 420px);
}

.preference-tree {
  display: grid;
  gap: 10px;
}

.preference-tree-node {
  display: grid;
  gap: 10px;
}

.preference-tree-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.preference-tree-toggle,
.preference-tree-toggle-spacer {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
}

.preference-tree-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: #3b5f7a;
  position: relative;
}

.preference-tree-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
}

.preference-tree-toggle.is-expanded::before {
  transform: rotate(45deg);
  top: 2px;
}

.preference-tree-toggle-spacer {
  display: inline-block;
}

.preference-tree-children {
  margin-left: 18px;
  padding-left: 14px;
  border-left: 1px solid #dbe5ef;
  display: grid;
  gap: 10px;
}

.preference-tree-children.is-collapsed {
  display: none;
}

.preference-tree-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #17374d;
  font-size: 14px;
  line-height: 1.45;
  min-width: 0;
  flex: 1 1 auto;
}

.preference-tree-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.preference-tree-empty,
.preference-settings-feedback {
  margin: 0;
  color: #60758a;
  font-size: 14px;
  line-height: 1.5;
}

.preference-settings-dialog {
  width: min(680px, 100%);
}

.preference-settings-feedback {
  min-height: 21px;
  margin-top: 12px;
}

.preference-settings-feedback.is-error {
  color: #b91c1c;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-badge.done {
  background: #16a34a;
  color: #fff;
}

.step-badge.active {
  background: #2d6388;
  color: #fff;
}

.hidden-form {
  display: none;
}

.google-login-section {
  margin-top: 12px;
}

.google-login-divider {
  display: flex;
  align-items: center;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 10px;
}

.google-login-divider::before,
.google-login-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #e2e8f0;
}

.google-login-divider span {
  padding: 0 10px;
}

.apple-login-btn {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 15px;
}

.apple-login-btn:hover {
  background: #000;
  border-color: #000;
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
  border-radius: 0;
}

.layout.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.confirm-dialog {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d1d9e1;
  padding: 18px;
}

.confirm-dialog h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.confirm-dialog p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.report-dialog {
  width: min(620px, 100%);
}

.report-dialog-question {
  margin: 0 0 8px;
  color: #17374d;
  font-weight: 600;
}

.report-dialog textarea {
  width: 100%;
  margin-top: 14px;
  min-height: 160px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
}

.report-dialog textarea:focus {
  outline: 2px solid rgba(34, 74, 102, 0.18);
  border-color: #6a8aa5;
}

.report-dialog-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.language-display-dialog {
  width: min(560px, 100%);
}

.language-display-options {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.language-display-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #d6dde5;
  border-radius: 12px;
  padding: 12px 14px;
  color: #17374d;
  font-weight: 600;
}

.language-display-option input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.account-security-card {
  width: min(760px, 100%);
}

.account-security-copy {
  margin: 14px 0 0;
  color: #526679;
  line-height: 1.6;
}

.account-security-meta {
  margin: 12px 0 0;
  color: #224a66;
  font-size: 14px;
  font-weight: 600;
}

.account-security-form {
  margin-top: 10px;
}

.account-security-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-security-code-input {
  flex: 1 1 auto;
}

.account-security-hint {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.account-security-feedback {
  min-height: 21px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #526679;
}

.account-security-feedback.is-error {
  color: #b91c1c;
}

.account-security-feedback.is-success {
  color: #1b9445;
}

@media (max-width: 640px) {
  .account-security-inline {
    flex-direction: column;
    align-items: stretch;
  }
}

.confirm-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.rate-limit-dialog {
  width: min(540px, 100%);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.rate-limit-dialog-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rate-limit-dialog-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.rate-limit-dialog-copy h3 {
  margin: 0 0 6px;
}

.rate-limit-dialog-copy p {
  margin: 0;
}

.rate-limit-dialog-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dbe5ef;
  color: #224a66;
  font-size: 15px;
}

.rate-limit-stopwatch {
  width: 112px;
  height: 112px;
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.rate-limit-stopwatch-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 57%, transparent 58%),
    conic-gradient(from -90deg, #2d6388 0deg, #6db8d8 240deg, #d6eaf3 360deg);
  box-shadow: inset 0 0 0 1px rgba(45, 99, 136, 0.14);
}

.rate-limit-stopwatch-face {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d5e3ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #17374d;
  box-shadow: 0 10px 20px rgba(45, 99, 136, 0.12);
}

.rate-limit-stopwatch-face::before {
  content: '';
  position: absolute;
  top: -11px;
  width: 24px;
  height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: #2d6388;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}

.rate-limit-stopwatch-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rate-limit-stopwatch-unit {
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #60758a;
}

.layout {
  min-height: calc(100vh - var(--header-stack-height) - var(--site-footer-height));
  min-height: calc(100dvh - var(--header-stack-height) - var(--site-footer-height));
  margin-top: var(--header-stack-height);
  display: grid;
  grid-template-columns: 340px 1fr;
  position: relative;
}

.layout.layout-info-page {
  grid-template-columns: minmax(0, 1fr);
}

.layout.layout-info-page .sidebar {
  display: none;
}

.layout.layout-guest-storefront {
  grid-template-columns: minmax(0, 1fr);
}

.layout.layout-guest-storefront .sidebar {
  display: none;
}

.layout.layout-auth-overlay {
  min-height: 0;
  margin-top: 0;
  display: block;
}

.layout.layout-auth-overlay .content {
  display: none;
}

.practice-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.practice-category-nav {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 54;
  height: var(--category-nav-height);
  display: flex;
  align-items: center;
  background: rgba(248, 251, 253, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.practice-category-breadcrumb {
  position: fixed;
  top: calc(var(--topbar-height) + var(--category-nav-height));
  left: 0;
  right: 0;
  z-index: 53;
  height: var(--category-breadcrumb-height);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.practice-category-breadcrumb-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.practice-category-breadcrumb-link {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

.practice-category-breadcrumb-link:hover {
  color: #17374d;
  text-decoration: underline;
}

.practice-category-breadcrumb-current {
  color: #17374d;
  font-weight: 700;
}

.practice-category-breadcrumb-sep {
  color: #94a3b8;
}

.practice-category-nav-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

.practice-category-nav-inner-mobile {
  justify-content: flex-start;
}

.practice-category-mobile-trigger {
  min-width: 0;
  max-width: min(100%, 360px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #17374d;
  padding: 0;
  text-align: left;
}

.practice-category-mobile-trigger-label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.practice-category-mobile-trigger-current {
  min-width: 0;
  color: #60758a;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.practice-category-mobile-backdrop {
  position: fixed;
  inset: calc(var(--topbar-height) + var(--category-nav-height)) 0 0;
  background: rgba(15, 23, 42, 0.32);
  z-index: 58;
}

.practice-category-mobile-panel {
  position: fixed;
  top: calc(var(--topbar-height) + var(--category-nav-height));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 59;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 14px 18px;
  overflow-y: auto;
}

.practice-category-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.practice-category-mobile-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.practice-category-mobile-panel-title {
  color: #17374d;
  font-size: 18px;
  font-weight: 700;
}

.practice-category-mobile-back,
.practice-category-mobile-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #000000;
}

.practice-category-mobile-back {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.practice-category-mobile-close {
  font-size: 30px;
  line-height: 1;
}

.practice-category-mobile-path {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.practice-category-mobile-path-sep {
  margin: 0 6px;
  color: #94a3b8;
}

.practice-category-mobile-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.practice-category-mobile-item {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1f3342;
  padding: 12px 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.practice-category-mobile-item:hover,
.practice-category-mobile-item.active {
  background: #f4f8fb;
  color: #17374d;
}

.practice-category-mobile-item-viewall {
  color: #000000;
  border: 1px solid #d7e1eb;
  margin-bottom: 6px;
}

.practice-category-mobile-item-caret {
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.practice-category-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.practice-category-trigger {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #29465c;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.practice-category-item.is-active .practice-category-trigger,
.practice-category-trigger:hover {
  color: #17374d;
  background: rgba(255, 255, 255, 0.86);
}

.practice-category-caret {
  width: 9px;
  height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
}

.practice-category-popup {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 320px;
  max-width: min(860px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid #d7e1eb;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
  display: none;
}

.practice-category-item.has-popup:hover .practice-category-popup,
.practice-category-item.has-popup:focus-within .practice-category-popup {
  display: block;
}

.practice-category-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 22px;
}

.practice-category-popup-section {
  min-width: 0;
}

.practice-category-popup-heading,
.practice-category-popup-link {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f3342;
  text-align: left;
  padding: 8px 10px;
}

.practice-category-popup-heading {
  font-size: 15px;
  font-weight: 700;
}

.practice-category-popup-link {
  font-size: 14px;
  color: #48627a;
}

.practice-category-popup-heading:hover,
.practice-category-popup-link:hover {
  background: #f4f8fb;
  color: #17374d;
}

.practice-category-popup-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}

.practice-category-flyout {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 280px;
  padding: 8px 0;
  border: 1px solid #d7e1eb;
  background: rgba(255, 255, 255, 0.995);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
  display: none;
}

.practice-category-item.has-popup:hover > .practice-category-flyout,
.practice-category-item.has-popup:focus-within > .practice-category-flyout {
  display: block;
}

.practice-category-flyout-item {
  position: relative;
}

.practice-category-flyout-link {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #29465c;
  text-align: left;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
}

.practice-category-flyout-item.is-active > .practice-category-flyout-link,
.practice-category-flyout-link:hover {
  background: #f4f8fb;
  color: #17374d;
}

.practice-category-flyout-caret {
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.practice-category-flyout-nested {
  top: -1px;
  left: calc(100% - 1px);
}

.practice-category-flyout-item.has-children:hover > .practice-category-flyout-nested,
.practice-category-flyout-item.has-children:focus-within > .practice-category-flyout-nested {
  display: block;
}

.practice-topbar-left,
.practice-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.practice-topbar-left {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.practice-topbar-actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.practice-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.practice-brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.practice-topbar-search-slot {
  flex: 1 1 340px;
  max-width: 420px;
  min-width: 0;
}

.practice-topbar-search {
  width: 100%;
  height: 42px;
  border: 1px solid #d5dee7;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  color: #17374d;
}

.practice-topbar-search::placeholder {
  color: #8a9bab;
}

.practice-topbar-search-inline {
  width: min(360px, 30vw);
  min-width: 180px;
  flex: 0 1 min(360px, 30vw);
}

.practice-topbar-search-slot-mobile {
  display: block;
}

.practice-topbar-search-panel {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.practice-announcement {
  max-width: min(780px, 52vw);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe5ef;
  color: #345067;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #24465f;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}

.topbar-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #214b68;
}

.topbar-icon-btn svg {
  width: 22px;
  height: 22px;
}

.topbar-icon-btn.is-active {
  color: #0f5c96;
}

.mobile-backdrop {
  display: none;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  height: calc(100vh - var(--header-stack-height));
  position: sticky;
  top: var(--header-stack-height);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topbar-cart-wrap {
  position: relative;
}

.cart-nav-btn {
  width: 44px;
  height: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c8d5e3;
  background: #fff;
  color: #214b68;
  padding: 0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.cart-nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-nav-icon svg {
  width: 20px;
  height: 20px;
}

.cart-nav-count {
  min-width: 20px;
  height: 20px;
  position: absolute;
  top: -4px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #d74c35;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mini-cart-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: min(72vh, 640px);
  overflow: auto;
  display: none;
  border-radius: 18px;
  border: 1px solid #d7e1eb;
  background: #fff;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.18);
  padding: 16px;
}

.topbar-cart-wrap.open .mini-cart-panel {
  display: block;
}

.mini-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mini-cart-header strong {
  display: block;
  color: #183146;
  font-size: 18px;
}

.mini-cart-subtotal {
  color: #183146;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-cart-checkout-btn {
  width: 100%;
  margin-top: 16px;
}

.mini-cart-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mini-cart-item-media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef5fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-cart-item-media-empty {
  color: #214b68;
  font-weight: 700;
}

.mini-cart-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-cart-item-copy strong {
  color: #183146;
  line-height: 1.35;
}

.mini-cart-item-copy span {
  color: #60758a;
  font-size: 14px;
}

.mini-cart-remove-btn {
  align-self: center;
  white-space: nowrap;
}

.mini-cart-footer {
  padding-top: 14px;
}

.mini-cart-footer .secondary {
  width: 100%;
}

.topbar-user-wrap {
  position: relative;
}

.topbar-guest-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-auth-btn {
  min-width: 96px;
}

.topbar-guest-actions-compact .topbar-auth-btn {
  min-width: 0;
  white-space: nowrap;
}

.topbar-auth-icon-btn {
  width: 40px;
  height: 40px;
}

.topbar-auth-btn-compact {
  padding-left: 14px;
  padding-right: 14px;
}

.topbar-user-trigger {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #c8d5e3;
  background: linear-gradient(180deg, #2d6388 0%, #214b68 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.topbar-user-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, 80vw);
  border-radius: 14px;
  border: 1px solid #d7e1eb;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
  padding: 10px;
  display: none;
}

.topbar-user-wrap.open .topbar-user-panel {
  display: block;
}

.topbar-user-meta {
  padding: 8px 10px 12px;
  border-bottom: 1px solid #e5edf4;
}

.topbar-user-name {
  font-weight: 700;
  color: #17374d;
  word-break: break-word;
}

.topbar-user-email {
  margin-top: 4px;
  font-size: 13px;
  color: #60758a;
  word-break: break-word;
}

.checkout-auth-required {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #d7e1eb;
  border-radius: 16px;
  background: #f8fbff;
}

.checkout-auth-required p {
  margin: 0;
  color: #476072;
  line-height: 1.6;
}

.topbar-user-menu-btn {
  width: 100%;
  margin-top: 8px;
  text-align: left;
  background: #f8fbfd;
  color: #24465f;
}

.topbar-user-menu-link {
  width: 100%;
  margin-top: 6px;
  padding: 6px 10px;
  text-align: left;
  font-weight: 600;
  text-decoration: none;
}

.topbar-user-menu-link:hover {
  text-decoration: underline;
  background: transparent;
  color: #17374d;
}

.cart-nav-icon {
  font-size: 12px;
  font-weight: 600;
}

.cart-nav-count {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d97706;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}

.sidebar-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-bottom: 10px;
}

.content {
  padding: 24px 28px 28px;
  min-height: calc(100vh - var(--header-stack-height) - var(--site-footer-height));
  min-height: calc(100dvh - var(--header-stack-height) - var(--site-footer-height));
}

.category-title {
  font-size: 32px;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.category-section + .category-section {
  margin-top: 18px;
}

.category-subtitle {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
  color: #2b4e67;
}

.tree-root {
  margin-top: 8px;
}

.tree-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #26465d;
  padding: 8px 2px;
  cursor: pointer;
}

.tree-toggle:hover {
  color: #17384f;
}

.tree-children.collapsed {
  display: none;
}

.exam-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.exam-row {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  padding: 11px 10px;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
}

.exam-row:hover {
  background: rgba(45, 99, 136, 0.08);
}

.exam-row.active {
  background: rgba(45, 99, 136, 0.14);
  color: #184664;
}

.exam-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.exam-title-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exam-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #4d6478;
}

.sidebar-category-path {
  margin: 2px 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.sidebar-category-path-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2c5d92;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.sidebar-category-path-link:hover {
  color: #163f6a;
  text-decoration: underline;
}

.sidebar-category-path-sep {
  margin: 0 6px;
  color: #94a3b8;
}

.sidebar-category-group + .sidebar-category-group {
  margin-top: 16px;
}

.sidebar-category-group-title {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-category-list {
  margin-top: 10px;
}

.sidebar-category-row {
  grid-template-columns: 1fr 18px;
}

.sidebar-category-caret {
  color: #7b91a5;
  font-size: 22px;
  line-height: 1;
  justify-self: end;
}

.status-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: conic-gradient(
    var(--gauge-color, #2d6388) calc(var(--progress, 0) * 1%),
    #d5dde6 calc(var(--progress, 0) * 1%)
  );
  position: relative;
}

.status-circle::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #f8fafc;
}

.status-value {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  color: #2d6388;
}

.status-circle.done {
  background: conic-gradient(#1b9445 100%, #1b9445 100%);
}

.status-circle.done .status-value {
  color: #1b9445;
  font-size: 12px;
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
  padding: 22px;
}

.toolbar small {
  color: var(--muted);
  font-size: 14px;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 20px;
  cursor: pointer;
}

button.primary {
  background: var(--blue);
  color: #fff;
}

button.primary:hover {
  background: var(--blue-dark);
}

button.secondary {
  background: #dde2e9;
  color: #374151;
}

button.success {
  background: #18921a;
  color: #fff;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.exam-title {
  font-size: 32px;
  margin: 0 0 24px;
  /* padding: 22px; */
}

.center-card {
  margin: 70px auto;
  max-width: 1200px;
  text-align: center;
}

.quiz-card,
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.results-card {
  background: var(--panel);
  /* border: 1px solid var(--line); */
  /* border-radius: 14px; */
  /* padding: 22px; */
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.review-card {
  max-width: 1320px;
}

.review-layout {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-stack-height) - var(--content-vertical-padding));
  min-height: 0;
}

.review-head {
  flex: 0 0 auto;
}

.review-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 12px;
}

.quiz-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
  color: #374151;
  margin-bottom: 14px;
}

.quiz-page-head,
.review-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.quiz-page-head .exam-title {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.review-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.review-page-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.review-page-title .exam-title {
  margin: 0;
}

.review-back-link {
  align-self: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.review-back-link:hover {
  color: #17374d;
}

.review-filter-label {
  color: #48627a;
  font-size: 14px;
  font-weight: 700;
}

.review-filter-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-inline-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.quiz-inline-menu {
  position: relative;
}

.quiz-inline-trigger,
.review-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: #000000;
  line-height: 1.4;
}

.quiz-inline-trigger:hover,
.quiz-inline-trigger[aria-expanded='true'] {
  color: #17374d;
  text-decoration: underline;
}

.quiz-inline-trigger-flag {
  gap: 0;
  color: var(--flag-color, #cbd5e1);
}

.quiz-inline-trigger-flag:hover,
.quiz-inline-trigger-flag[aria-expanded='true'] {
  color: var(--flag-color, #cbd5e1);
  text-decoration: none;
  opacity: 0.82;
}

.quiz-inline-flag-icon {
  font-size: 20px;
  line-height: 1;
}

.quiz-inline-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px 0;
  border: 1px solid #d7e1eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
  display: none;
  z-index: 20;
}

.quiz-inline-list.quiz-inline-list-flags {
  min-width: 116px;
}

.quiz-inline-menu.open .quiz-inline-list {
  display: block;
}

.quiz-inline-item,
.review-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
}

.quiz-inline-item {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #1f2937;
  justify-content: flex-start;
  text-align: left;
}

.quiz-inline-item:hover:not(:disabled) {
  background: #eff6ff;
  color: #17374d;
}

.quiz-inline-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.quiz-inline-flag-item.active {
  background: color-mix(in srgb, var(--flag-color) 12%, #fff);
  color: var(--flag-color, #cbd5e1);
}

.quiz-inline-flag-item {
  justify-content: center;
  padding: 8px 10px;
  color: var(--flag-color, #cbd5e1);
  gap: 10px;
}

.quiz-inline-flag-item:hover:not(:disabled) {
  color: var(--flag-color, #cbd5e1);
}

.quiz-inline-filter-item {
  justify-content: space-between;
}

.quiz-inline-filter-item.active {
  background: #eff6ff;
  color: #17374d;
}

.quiz-inline-filter-all {
  color: #000000;
  font-size: 13px;
  font-weight: 700;
}

.quiz-inline-flag-count {
  min-width: 1.5em;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.quiz-inline-separator {
  height: 1px;
  margin: 6px 0;
  background: #e2e8f0;
}

.question-flag-dot,
.question-flag-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--flag-color, #cbd5e1);
  flex: 0 0 auto;
}

.question-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--flag-color, #000000);
  font-size: 13px;
  font-weight: 700;
}

.question-flag-badge.is-red {
  --flag-color: #d74c35;
}

.question-flag-badge.is-yellow {
  --flag-color: #d4a017;
}

.question-flag-badge.is-green {
  --flag-color: #2f9e44;
}

.question-flag-badge.is-none {
  --flag-color: #cbd5e1;
}

.review-filter-btn {
  border: 1px solid #d6dde5;
  background: #fff;
  color: #000000;
}

.review-filter-btn:hover {
  transform: none;
}

.review-filter-btn.active {
  background: #244b66;
  color: #fff;
}

.quiz-head b {
  font-size: 20px;
}

.question-text {
  font-size: 18px;
  color: #175178;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.35;
}

.localized-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.localized-text-inline {
  display: inline-flex;
  width: 100%;
}

.localized-line-secondary {
  color: #64748b;
  font-size: 0.94em;
  font-weight: 500;
}

.localized-line p {
  margin: 0 0 12px;
}

.localized-line p:last-child {
  margin-bottom: 0;
}

.localized-line img,
.question-text img {
  display: block;
  max-width: min(100%, 520px);
  height: auto;
}

.option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  margin-bottom: 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
}

.option.correct {
  background: var(--ok-bg);
  border-color: var(--ok-border);
}

.option.incorrect {
  background: var(--bad-bg);
  border-color: var(--bad-border);
}

input[type='radio'] {
  width: 28px;
  height: 28px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.choice-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6ch;
  font-weight: 700;
  color: #19425d;
  letter-spacing: 0.3px;
}

.choice-text {
  flex: 1;
  line-height: 1.35;
  min-width: 0;
}

.feedback {
  margin-top: 14px;
  background: #eef2f5;
  border: 1px solid #d0d8e1;
  border-radius: 8px;
  padding: 12px;
  font-size: 20px;
  line-height: 1.55;
}

.review-item .feedback > div,
.review-item .feedback b {
  font-size: inherit;
  line-height: inherit;
}

.feedback .label {
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.feedback .label.ok {
  color: #1b9445;
}

.feedback .label.bad {
  color: #b91c1c;
}

.controls {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.quiz-nav-btn {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f5f86;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.quiz-nav-btn:hover:not(:disabled) {
  color: #174a69;
  text-decoration: none;
}

.quiz-nav-btn:disabled {
  background: transparent;
  color: #9aa8b4;
  text-decoration: none;
  opacity: 1;
  cursor: not-allowed;
}

.summary {
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
}

.summary h3 {
  margin: 10px 0;
  font-size: 34px;
}

.exam-attempt-history {
  margin: 0 auto 18px;
  max-width: 820px;
  text-align: left;
}

.exam-attempt-latest {
  padding: 16px 18px;
  border: 1px solid #d8e3ec;
  border-radius: 14px;
  background: #fbfdff;
}

.exam-attempt-latest strong {
  display: block;
  margin-bottom: 6px;
  color: #395066;
  font-size: 14px;
}

.exam-attempt-latest-score {
  color: #163f6a;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.exam-attempt-latest-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #5c7285;
  font-size: 13px;
}

.exam-attempt-history-list {
  margin-top: 12px;
  border: 1px solid #d8e3ec;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.exam-attempt-history-title {
  padding: 12px 16px;
  border-bottom: 1px solid #e4ebf2;
  color: #395066;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exam-attempt-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.6fr) minmax(120px, 1fr) minmax(100px, 0.8fr) minmax(70px, 0.6fr) minmax(80px, 0.8fr) minmax(120px, 0.9fr) minmax(52px, 0.5fr);
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  color: #4d6478;
  font-size: 14px;
}

.exam-attempt-row-header {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f8fbfe;
  color: #60758a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.exam-attempt-row + .exam-attempt-row {
  border-top: 1px solid #edf2f7;
}

.exam-attempt-row strong {
  color: #17374d;
}

.attempt-flag-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.attempt-flag-chip.is-red {
  color: #d74c35;
}

.attempt-flag-chip.is-yellow {
  color: #d4a017;
}

.attempt-flag-chip.is-green {
  color: #2f9e44;
}

.exam-attempt-view-link {
  justify-self: end;
  text-decoration: none;
}

.exam-attempt-view-link:hover {
  text-decoration: underline;
}

.exam-attempt-row.is-latest {
  background: #f8fbfe;
}

.review-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fbfcfd;
}

.review-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.review-title {
  font-size: 18px;
  color: #175178;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.35;
}

.note {
  color: var(--muted);
  font-size: 24px;
}

.resource-offer {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8fbff;
  font-size: 16px;
}

.resource-offer p {
  margin: 0 0 10px;
  color: #334155;
}

.resource-offer-group + .resource-offer-group {
  margin-top: 10px;
}

.resource-offer-group h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #1f3342;
}

.resource-offer-group ul {
  margin: 0;
  padding-left: 18px;
  color: #48627a;
}

.resource-offer-group li {
  margin: 2px 0;
}

.category-card-grid {
  --card-size: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-size), var(--card-size)));
  justify-content: start;
  gap: 18px;
}

.store-category-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.store-category-menu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-category-menu-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #29465c;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.store-category-menu-link:hover {
  border-color: #a8bfd1;
  background: #f7fafc;
}

.store-category-menu-link.active {
  border-color: #244b66;
  background: #244b66;
  color: #fff;
}

.store-category-menu-row-sub .store-category-menu-link {
  font-weight: 500;
}

.store-category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.store-category-breadcrumb-link {
  color: #31556f;
}

.store-category-breadcrumb-link:hover {
  color: #1f3342;
}

.category-card {
  width: 100%;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #b4c5d6;
  box-shadow: 0 10px 22px rgba(17, 36, 53, 0.08);
}

.category-card-media {
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: #edf2f7;
  display: grid;
  place-items: center;
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-media-empty {
  background: linear-gradient(145deg, #d8e3ed 0%, #e8eff6 100%);
}

.category-card-media-empty span {
  font-size: 72px;
  font-weight: 700;
  color: #36566f;
}

.category-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #1f3342;
}

.category-card p {
  margin: 0;
  font-size: 14px;
  color: #617488;
}

.category-card.text-only .category-card-media {
  height: 300px;
}

.subcategory-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.subcategory-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfe;
  color: #234055;
  padding: 14px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.subcategory-card:hover {
  border-color: #afc4d6;
  background: #fff;
}

.subcategory-card-title {
  display: block;
  font-weight: 700;
}

.subcategory-card-meta {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 13px;
}

.subcategory-card-thumb {
  margin-left: auto;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eff6;
  flex: 0 0 auto;
}

.subcategory-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 8;
}

.storefront-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 9;
}

.storefront-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  transform: translateY(-4px);
  outline: none;
}

.storefront-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  color: #6f8294;
  line-height: 1;
}

.storefront-info-btn svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.storefront-info-wrap:hover .storefront-info-btn,
.storefront-info-wrap:focus .storefront-info-btn,
.storefront-info-wrap:focus-within .storefront-info-btn {
  color: #284c6e;
}

.storefront-info-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid #d7e1eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(17, 36, 53, 0.12);
  color: #41586d;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 40;
}

.storefront-info-wrap:hover .storefront-info-tooltip,
.storefront-info-wrap:focus .storefront-info-tooltip,
.storefront-info-wrap:focus-within .storefront-info-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.storefront-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.storefront-toolbar-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #52697c;
  font-size: 14px;
}

.storefront-toolbar-stats strong {
  color: #17374d;
}

.storefront-toolbar-stats-sep {
  color: #94a3b8;
}

.storefront-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.storefront-toolbar-menu {
  position: relative;
}

.storefront-toolbar-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d6e0ea;
  border-radius: 999px;
  color: #49657c;
  text-decoration: none;
}

.storefront-toolbar-trigger:hover,
.storefront-toolbar-trigger[aria-expanded='true'],
.storefront-toolbar-menu.is-active .storefront-toolbar-trigger {
  border-color: #9fb5c8;
  color: #17374d;
  background: #f8fbfe;
  text-decoration: none;
}

.storefront-toolbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.storefront-toolbar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
}

.storefront-toolbar-icon svg rect {
  fill: none;
  stroke: currentColor;
}

.storefront-toolbar-list {
  min-width: 180px;
}

.storefront-toolbar-list .quiz-inline-item.is-active {
  color: #17374d;
  font-weight: 700;
}

.storefront-empty-state {
  grid-column: 1 / -1;
  padding: 28px 20px;
  border: 1px dashed #d6e0ea;
  border-radius: 16px;
  background: #fbfdff;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
  justify-content: start;
  gap: 18px;
}

.sidebar-subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.sidebar-subcategory-chip {
  border: 1px solid #d6e0ea;
  border-radius: 999px;
  background: #fff;
  color: #36546b;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.sidebar-subcategory-chip:hover {
  border-color: #abc0d2;
  background: #f8fbfe;
}

.store-product-card {
  min-width: 0;
}

.store-product-card-inner {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.store-product-card-inner:hover {
  transform: translateY(-2px);
  border-color: #abc0d2;
  box-shadow: 0 14px 30px rgba(17, 36, 53, 0.08);
}

.store-product-actions {
  padding: 0 14px 14px;
}

.store-product-media,
.store-product-detail-media {
  position: relative;
  height: 300px;
  background: linear-gradient(145deg, #d8e3ed 0%, #edf4fb 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.store-product-detail-media {
  cursor: zoom-in;
}

.store-product-media img,
.store-product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-product-zoom-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  width: auto;
  min-height: auto;
  border: 0;
  border-left: 1px solid #d7e1eb;
  border-radius: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 240%;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  z-index: 70;
  pointer-events: none;
}

.store-product-zoom-panel.active {
  display: block;
}

.store-product-zoom-lens {
  position: absolute;
  display: none;
  border: 1px solid rgba(17, 36, 53, 0.24);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  pointer-events: none;
}

.store-product-zoom-lens.active {
  display: block;
}

.store-product-gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(15, 23, 42, 0.82);
  padding: 16px;
}

.store-product-gallery-overlay.active {
  display: block;
}

.store-product-gallery-dialog {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 20px;
  background: #0f172a;
  overflow-y: auto;
}

.store-product-gallery-close {
  position: fixed;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  right: max(12px, calc(env(safe-area-inset-right) + 8px));
  z-index: 81;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-weight: 700;
}

.store-product-gallery-scroll {
  min-height: 100%;
  padding: 56px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-product-gallery-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111827;
}

.store-product-gallery-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.store-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-product-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid #d7e1eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.store-product-thumb.active {
  border-color: #245d84;
  box-shadow: 0 0 0 3px rgba(36, 93, 132, 0.12);
}

.store-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-product-media-empty > span:not(.product-card-badge),
.store-product-detail-media.store-product-media-empty > span:not(.product-card-badge) {
  font-size: 36px; 
  font-weight: 700;
  color: #36566f;
}

.store-product-copy {
  padding: 14px;
}

.store-product-copy h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #183146;
}

.store-product-copy p {
  margin: 0;
  min-height: 40px;
  color: #60758a;
  font-size: 14px;
  line-height: 1.45;
}

.store-product-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: #000000;
  font-weight: 600;
}

.store-product-summary-main {
  min-width: 0;
}

.store-product-summary-expiry {
  white-space: nowrap;
  text-align: right;
}

.store-product-summary-expiry-warning {
  color: #c0342b !important;
}

.store-product-meta,
.store-product-meta-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #345067;
}

.store-product-meta strong,
.store-product-meta-row strong {
  font-size: 20px;
  color: #17374d;
}

.store-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.store-price-stack .note {
  margin: 0;
  font-size: 12px;
}

.product-card-badge,
.product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.product-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

.product-card-badge-owned,
.product-chip-owned {
  background: #dcfce7;
  color: #166534;
}

.product-card-badge-locked,
.product-chip-locked {
  background: #fef3c7;
  color: #92400e;
}

.product-card-badge-disabled,
.product-chip-disabled {
  background: #e5e7eb;
  color: #4b5563;
}

.store-product-detail {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  position: relative;
}

.store-product-detail-copy {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 12px;
}

.store-product-detail-copy .exam-title {
  margin: 0;
}

.store-product-detail-pricing-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.store-product-detail-price-box,
.store-product-detail-sku-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-product-detail-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60758a;
}

.store-product-detail-sale-price,
.store-product-detail-sku {
  font-size: 30px;
  line-height: 1.05;
  color: #17374d;
}

.store-product-detail-price-option {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
}

.store-product-detail-discount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.store-product-detail-discount-percent {
  font-size: 28px;
  font-weight: 700;
  color: #c0342b;
}

.store-product-detail-list-price {
  color: #7b8794;
  font-size: 17px;
}

.store-product-detail-attributes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-product-detail-attribute-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7eef5;
}

.store-product-detail-attribute-label {
  font-weight: 700;
  color: #24465f;
}

.store-product-detail-attribute-value {
  color: #17374d;
}

.store-product-detail-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-product-detail-section h3 {
  margin: 0;
  font-size: 20px;
  color: #17374d;
}

.store-product-detail-bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #000000;
}

.store-product-detail-description {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #000000;
}

.store-product-detail-description p {
  margin: 0;
  line-height: 1.7;
}

.store-product-detail-description ul,
.store-product-detail-description ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-product-detail-description li,
.store-product-detail-bullets li {
  line-height: 1.7;
}

.store-product-detail-section-details {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.store-purchase-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.store-purchase-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-purchase-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #cdd9e5;
  border-radius: 12px;
  background: #fff;
}

.store-purchase-option input {
  margin: 0;
}

.store-purchase-option strong {
  color: #17374d;
}

.cart-panel {
  margin-bottom: 16px;
}

.cart-summary-amount {
  font-size: 28px;
  font-weight: 700;
  color: #17374d;
}

.cart-line-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.cart-line-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-line-copy span {
  color: #60758a;
}

.cart-line-remove {
  white-space: nowrap;
}

.cart-view-card {
  max-width: 1160px;
}

.cart-order-grid {
  border-top: 1px solid var(--line);
}

.cart-order-grid-head,
.cart-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 72px 100px 48px;
  gap: 16px;
  align-items: center;
}

.cart-order-grid-head {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: #24465f;
}

.cart-order-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.cart-order-item-copy {
  min-width: 0;
}

.cart-order-money-col,
.cart-order-qty-col,
.cart-order-action-col {
  justify-self: end;
}

.cart-order-price,
.cart-order-qty,
.cart-order-line-total {
  font-weight: 600;
  color: #17374d;
}

.cart-order-line-total {
  white-space: nowrap;
}

.cart-order-grid-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--line);
}

.cart-order-grid-foot-label {
  font-size: 16px;
  font-weight: 700;
  color: #17374d;
}

.cart-order-grid-foot strong {
  font-size: 28px;
  color: #17374d;
}

.cart-view-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-view-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-view-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-view-copy strong {
  color: #183146;
}

.cart-view-copy span {
  color: #60758a;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

.checkout-heading {
  margin-bottom: 18px;
}

.checkout-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-order-grid {
  border-top: 1px solid var(--line);
}

.checkout-order-grid-head,
.checkout-order-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 96px 72px 100px 48px;
  gap: 16px;
  align-items: center;
}

.checkout-order-grid-head {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: #24465f;
}

.checkout-order-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.checkout-order-row.is-selected {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.9) 0%, rgba(248, 251, 255, 0) 100%);
}

.checkout-order-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-order-check input {
  width: 18px;
  height: 18px;
}

.checkout-item-copy {
  min-width: 0;
}

.checkout-order-money-col,
.checkout-order-qty-col,
.checkout-order-action-col {
  justify-self: end;
}

.checkout-item-price,
.checkout-item-line-total,
.checkout-item-qty {
  font-weight: 600;
  color: #17374d;
}

.checkout-item-line-total {
  font-size: 18px;
  white-space: nowrap;
}

.checkout-order-grid-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--line);
}

.checkout-order-grid-foot-label {
  font-size: 16px;
  font-weight: 700;
  color: #17374d;
}

.checkout-order-grid-foot strong {
  font-size: 28px;
  color: #17374d;
}

.cart-line-icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #60758a;
  border-radius: 999px;
}

.cart-line-icon-btn:hover {
  color: #17374d;
  background: #eef4fa;
}

.cart-line-icon-btn svg {
  width: 18px;
  height: 18px;
}

.checkout-summary-card {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.checkout-summary-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-summary-head strong {
  font-size: 24px;
  color: #17374d;
}

.checkout-summary-head span {
  font-size: 14px;
  color: #60758a;
}

.checkout-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
}

.checkout-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary-row span {
  color: #486277;
}

.checkout-summary-row strong {
  color: #17374d;
  white-space: nowrap;
}

.order-page-card {
  max-width: 1160px;
}

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

.order-list-card,
.order-detail-summary-card,
.order-timeline-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.order-list-card {
  padding: 20px 22px;
}

.order-list-head,
.order-detail-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-list-number {
  font-size: 18px;
  font-weight: 700;
  color: #17374d;
}

.order-list-meta,
.order-list-label {
  color: #60758a;
  font-size: 13px;
}

.order-list-grid,
.order-detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.order-detail-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-list-grid strong,
.order-detail-summary-grid strong {
  display: block;
  margin-top: 4px;
  color: #17374d;
}

.order-list-items {
  margin: 16px 0 0;
  color: #486277;
}

.order-list-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.order-status-badge-pending {
  background: #fff7e8;
  color: #9a6700;
}

.order-status-badge-success {
  background: #e8f7ec;
  color: #1d6b39;
}

.order-status-badge-info {
  background: #eaf3ff;
  color: #24558a;
}

.order-status-badge-muted {
  background: #eef2f6;
  color: #5c6d7d;
}

.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 28px;
}

.order-detail-main,
.order-detail-side {
  min-width: 0;
}

.order-detail-summary-card {
  padding: 22px;
  margin-bottom: 20px;
}

.order-detail-grid {
  border-top: 0;
}

.order-timeline-card {
  padding: 22px;
}

.order-timeline-card > strong {
  display: block;
  margin-bottom: 14px;
  color: #17374d;
}

.order-timeline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.order-timeline-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.order-timeline-row span {
  color: #60758a;
}

.order-timeline-row strong {
  color: #17374d;
  text-align: right;
}

.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.checkout-summary-total span {
  font-weight: 700;
  color: #17374d;
}

.checkout-summary-total strong {
  font-size: 30px;
  color: #17374d;
}

.paypal-cart-section {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.paypal-cart-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.paypal-cart-copy strong {
  color: #183146;
}

#paypalCartButtons {
  max-width: 360px;
}

.wm-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

.wm-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  animation: wmDrift 26s ease-in-out infinite alternate;
}

.wm-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(15, 23, 42, var(--wm-alpha, 0.16));
  font-size: 14px;
  transform: translate(var(--wm-tx, 0), var(--wm-ty, 0)) rotate(var(--wm-rot, -20deg));
  user-select: none;
  white-space: nowrap;
  animation: wmFloat var(--wm-duration, 5s) ease-in-out var(--wm-delay, 0s) infinite;
}

.wm-cell i {
  font-style: normal;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.2px;
}

.wm-char {
  display: inline-block;
  animation: wmTextWave var(--wm-duration, 5s) ease-in-out
    calc(var(--wm-delay, 0s) + (var(--wm-i) * 0.035s)) infinite;
}

.wm-ripple {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transform: scale(0.6);
  animation: wmRipple var(--wm-duration, 5s) ease-out var(--wm-delay, 0s) infinite;
}

@keyframes wmRipple {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  35% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes wmFloat {
  0%,
  100% {
    transform: translate(var(--wm-tx, 0), var(--wm-ty, 0)) rotate(var(--wm-rot, -20deg));
  }
  50% {
    transform: translate(calc(var(--wm-tx, 0) + 8px), calc(var(--wm-ty, 0) - 8px))
      rotate(calc(var(--wm-rot, -20deg) + 2deg));
  }
}

@keyframes wmDrift {
  0% {
    transform: translate(-1.2%, -0.8%);
  }
  50% {
    transform: translate(1.1%, 0.9%);
  }
  100% {
    transform: translate(-0.9%, 1.1%);
  }
}

@keyframes wmTextWave {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-2px);
  }
}

.security-banner {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: rgba(127, 29, 29, 0.92);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  display: none;
  pointer-events: none;
}

@media (max-width: 1180px) {
  :root {
    --category-nav-height: 0px;
    --category-breadcrumb-height: 0px;
    --content-vertical-padding: 52px;
  }

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

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

  .auth-shell {
    min-height: calc(100vh - var(--topbar-height) - var(--site-footer-height));
    min-height: calc(100dvh - var(--topbar-height) - var(--site-footer-height));
    padding-top: calc(var(--topbar-height) + 20px);
  }

  .academy-auth-gate {
    min-height: calc(100vh - var(--site-footer-height));
    min-height: calc(100dvh - var(--site-footer-height));
  }

  .practice-topbar {
    padding: 12px 14px;
    gap: 10px;
  }

  .practice-category-nav,
  .practice-category-breadcrumb {
    display: none !important;
  }

  .practice-category-nav-inner,
  .practice-category-breadcrumb-inner {
    padding: 0 14px;
  }

  .practice-category-nav-inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .practice-category-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .practice-topbar-left,
  .practice-topbar-actions {
    gap: 8px;
  }

  .practice-topbar-left {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .practice-topbar-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .practice-brand-logo {
    height: 34px;
  }

  .practice-topbar-search-slot {
    max-width: 300px;
  }

  .mobile-menu-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #214b68;
    font-size: 28px;
  }

  .topbar-guest-actions {
    gap: 8px;
  }

  .topbar-auth-btn {
    min-width: 76px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar-auth-btn-compact {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: 13px;
  }

  .cart-nav-btn,
  .topbar-icon-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .cart-nav-icon,
  .topbar-icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .cart-nav-icon svg {
    width: 22px;
    height: 22px;
  }

  .practice-topbar-search-slot-mobile {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 54;
  }

  .practice-topbar-search-panel {
    padding: 12px 14px 14px;
  }

  .practice-topbar-search-slot-mobile .practice-topbar-search {
    height: 46px;
    border-radius: 0;
  }

  .practice-topbar-search-inline {
    width: min(280px, 28vw);
  }

  .mini-cart-panel {
    right: -8px;
    width: min(360px, calc(100vw - 20px));
    padding: 14px;
  }

  .mini-cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .mini-cart-remove-btn {
    grid-column: 2;
    justify-self: start;
  }

  .practice-announcement {
    max-width: 100%;
    font-size: 13px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
    top: auto;
    order: -1;
  }

  .order-detail-layout,
  .order-list-grid,
  .order-detail-summary-grid {
    grid-template-columns: 1fr;
  }

  .order-list-head,
  .order-detail-summary-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-list-actions {
    justify-content: flex-start;
  }

  .cart-order-grid-head {
    display: none;
  }

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

  .cart-order-item-copy {
    grid-column: 1 / span 2;
  }

  .cart-order-price,
  .cart-order-qty,
  .cart-order-line-total {
    justify-self: start;
    font-size: 15px;
  }

  .cart-order-price::before {
    content: 'Price: ';
    color: #60758a;
    font-weight: 500;
  }

  .cart-order-qty::before {
    content: 'Qty: ';
    color: #60758a;
    font-weight: 500;
  }

  .cart-order-line-total::before {
    content: 'Subtotal: ';
    color: #60758a;
    font-weight: 500;
    font-size: 15px;
  }

  .cart-order-action-col {
    grid-column: 2;
    grid-row: 1;
  }

  .checkout-order-grid-head {
    display: none;
  }

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

  .checkout-order-check-col {
    grid-row: 1 / span 4;
  }

  .checkout-item-copy {
    grid-column: 2 / span 2;
  }

  .checkout-item-price,
  .checkout-item-qty,
  .checkout-item-line-total {
    justify-self: start;
    font-size: 15px;
  }

  .checkout-item-price::before {
    content: 'Price: ';
    color: #60758a;
    font-weight: 500;
  }

  .checkout-item-qty::before {
    content: 'Qty: ';
    color: #60758a;
    font-weight: 500;
  }

  .checkout-item-line-total::before {
    content: 'Subtotal: ';
    color: #60758a;
    font-weight: 500;
    font-size: 15px;
  }

  .checkout-order-action-col {
    grid-column: 3;
    grid-row: 1;
  }

  .info-page-card {
    padding: 24px;
  }

  .info-page-header,
  .contact-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .contact-visual {
    min-height: 320px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 49;
    transition: opacity 0.2s ease;
  }

  .sidebar {
    position: fixed;
    top: var(--header-stack-height);
    left: 0;
    bottom: 0;
    width: min(88vw, 360px);
    max-height: none;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    z-index: 50;
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  }

  .layout.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .layout.sidebar-open .mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .category-title {
    font-size: 26px;
  }

  .exam-row {
    font-size: 18px;
  }

  .exam-title {
    font-size: 24px;
  }

  .question-text,
  .option,
  .feedback,
  .review-title,
  .summary {
    font-size: 22px;
  }

  .quiz-head b {
    font-size: 20px;
  }

  button {
    font-size: 18px;
    padding: 10px 18px;
  }

  .storefront-heading {
    flex-direction: column;
  }

  .storefront-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .storefront-toolbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .exam-attempt-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-product-detail {
    grid-template-columns: 1fr;
  }

  .category-card-grid,
  .store-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 240px));
    justify-content: start;
  }

  .category-card-media,
  .category-card.text-only .category-card-media,
  .store-product-media,
  .store-product-detail-media {
    height: 240px;
  }

  .category-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --privacy-banner-spacing: 196px;
  }

  .rate-limit-dialog-head {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .rate-limit-stopwatch {
    margin: 0 auto;
  }

  .quiz-inline-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .quiz-inline-list {
    max-width: min(220px, calc(100vw - 24px));
  }

  .quiz-inline-menu-actions .quiz-inline-list,
  .quiz-inline-menu-filter .quiz-inline-list {
    left: auto;
    right: 0;
  }

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

  .category-card-grid,
  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .practice-topbar-search-slot {
    flex: 1 1 auto;
    max-width: none;
  }

  .practice-topbar-search-inline {
    width: min(200px, calc(100vw - 180px));
    min-width: 132px;
  }

  .storefront-toolbar {
    align-items: stretch;
  }

  .storefront-toolbar-actions {
    justify-content: space-between;
  }

  .exam-attempt-history {
    text-align: left;
  }

  .exam-attempt-row-header {
    display: none;
  }

  .exam-attempt-row {
    grid-template-columns: 1fr;
  }

  .practice-announcement {
    display: none !important;
  }

  .site-footer {
    height: auto;
    min-height: var(--site-footer-height);
    padding: 10px 12px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    font-size: 13px;
    row-gap: 4px;
  }

  .site-footer-brand,
  .site-footer-contact {
    justify-content: center;
    text-align: center;
  }

  .privacy-consent-banner {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .privacy-consent-panel {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .privacy-consent-actions {
    justify-content: stretch;
  }

  .privacy-consent-dismiss {
    width: 100%;
  }

  .public-page-shell {
    padding: 14px;
  }

  .info-page-card {
    padding: 18px;
    border-radius: 18px;
  }

  .info-page-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .info-page-header h1 {
    font-size: 34px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-visual-screen {
    inset: 24px 24px 98px 24px;
  }

  .contact-visual-card {
    width: 132px;
    height: 92px;
    left: 20px;
    bottom: 20px;
  }

  .contact-visual-card.is-small {
    width: 94px;
    height: 68px;
    left: 168px;
    bottom: 38px;
  }

  .category-card {
    min-height: 0;
    padding: 12px;
    gap: 10px;
  }

  .category-card-media,
  .category-card.text-only .category-card-media,
  .store-product-media,
  .store-product-detail-media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .store-product-thumbs {
    gap: 8px;
  }

  .store-product-thumb {
    width: 60px;
    height: 60px;
  }

  .store-product-zoom-panel {
    display: none !important;
  }

  .store-product-zoom-lens {
    display: none !important;
  }

  .store-product-detail-media {
    cursor: pointer;
  }

  .store-product-detail-copy {
    padding-right: 0;
  }

  .store-product-detail-attribute-row {
    grid-template-columns: 1fr;
  }

  .store-product-detail-sale-price,
  .store-product-detail-discount-percent {
    font-size: 24px;
  }

  .category-card h3 {
    font-size: 18px;
  }

  .category-card p {
    font-size: 13px;
  }

  .category-card-media-empty span,
  .store-product-media-empty > span:not(.product-card-badge),
  .store-product-detail-media.store-product-media-empty > span:not(.product-card-badge) {
     font-size: 24px; 
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .app-skeleton,
  .auth-shell,
  .practice-topbar,
  .sidebar,
  .mobile-backdrop,
  .privacy-consent-banner,
  .site-footer {
    display: none !important;
  }

  .layout.hidden,
  .public-page-shell.hidden,
  .hidden,
  .hidden-form {
    display: none !important;
  }

  .layout:not(.hidden),
  .public-page-shell:not(.hidden) {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  .layout:not(.hidden) .content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .info-page-actions {
    display: none !important;
  }

  .info-page-card {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .info-policy-copy {
    max-width: none;
    color: #111;
  }
}
