/* XK Online Exam 0.12.0 — Apple-inspired clarity aligned with xkmcm.com blue branding. */
.xk-oe-page {
  --xk-oe-space-1: 4px;
  --xk-oe-space-2: 8px;
  --xk-oe-space-3: 16px;
  --xk-oe-space-4: 24px;
  --xk-oe-space-5: 48px;
  --xk-oe-space-6: 96px;
  --xk-oe-shadow: 0 1px 2px rgba(10,10,10,.04), 0 10px 32px rgba(10,10,10,.04);
  color: var(--xk-oe-text);
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.xk-oe-page *, .xk-oe-page *::before, .xk-oe-page *::after { box-sizing: border-box; }
.xk-oe-page a { color: inherit; text-decoration: none; }
.xk-oe-page button, .xk-oe-page input, .xk-oe-page select, .xk-oe-page textarea { font: inherit; }
.xk-oe-page button, .xk-oe-page a, .xk-oe-page input, .xk-oe-page select, .xk-oe-page textarea { -webkit-tap-highlight-color: transparent; }
.xk-oe-page :focus-visible { outline: 3px solid color-mix(in srgb, var(--xk-oe-accent) 78%, #000 22%); outline-offset: 3px; }
.xk-oe-shell { width: min(100% - 32px, var(--xk-oe-content-width)); margin: 0 auto; padding: 24px 0 80px; }
.xk-oe-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.16em; }

/* Navigation */
.xk-oe-topnav {
  position: relative; z-index: 20; min-height: 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; padding: 8px 12px 8px 16px; background: color-mix(in srgb, var(--xk-oe-card) 94%, transparent);
  border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 4px); backdrop-filter: blur(18px);
}
.xk-oe-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; letter-spacing: -.015em; white-space: nowrap; }
.xk-oe-brand > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--xk-oe-accent); color: var(--xk-oe-accent-ink); }
.xk-oe-topnav__links { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.xk-oe-topnav__links > a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 12px; color: var(--xk-oe-muted); font-size: 14px; font-weight: 550; transition: background .18s ease, color .18s ease; }
.xk-oe-topnav__links > a:hover { background: color-mix(in srgb, var(--xk-oe-line) 46%, transparent); color: var(--xk-oe-text); }
.xk-oe-topnav__links > a.is-active { background: var(--xk-oe-accent-soft); color: var(--xk-oe-text); }
.xk-oe-topnav__manage { border-left: 1px solid var(--xk-oe-line); margin-left: 4px; }

/* Typography */
.xk-oe-page h1, .xk-oe-page h2, .xk-oe-page h3 { color: var(--xk-oe-text); margin: 0; line-height: 1.18; letter-spacing: -.035em; }
.xk-oe-page h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; }
.xk-oe-page h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 650; }
.xk-oe-page h3 { font-size: 20px; font-weight: 620; }
.xk-oe-page p { margin: 0; color: var(--xk-oe-muted); }
.xk-oe-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; color: var(--xk-oe-muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }

/* Hero and sections */
.xk-oe-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr); gap: 48px; align-items: end; padding: 48px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 8px); box-shadow: var(--xk-oe-shadow); }
.xk-oe-hero--compact { grid-template-columns: minmax(0,1fr) auto; padding: 36px 40px; }
.xk-oe-hero__content { max-width: 780px; }
.xk-oe-hero h1 { max-width: 820px; }
.xk-oe-hero h1 + p { max-width: 720px; margin-top: 18px; font-size: 18px; line-height: 1.75; }
.xk-oe-hero__actions, .xk-oe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.xk-oe-hero__content .xk-oe-hero__actions { margin-top: 28px; }
.xk-oe-hero__stats { display: grid; gap: 0; margin: 0; border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); overflow: hidden; background: var(--xk-oe-bg); }
.xk-oe-hero__stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--xk-oe-line); }
.xk-oe-hero__stats div:last-child { border-bottom: 0; }
.xk-oe-hero__stats dt { color: var(--xk-oe-muted); font-size: 14px; }
.xk-oe-hero__stats dd { margin: 0; font-size: 22px; font-weight: 680; letter-spacing: -.03em; }
.xk-oe-section { margin-top: 64px; }
.xk-oe-section--narrow { max-width: 900px; }
.xk-oe-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.xk-oe-section__head > div:first-child { max-width: 760px; }
.xk-oe-section__head h1 + p, .xk-oe-section__head h2 + p { margin-top: 10px; }

/* Buttons and status */
.xk-oe-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--xk-oe-accent); border-radius: 13px; background: var(--xk-oe-accent); color: var(--xk-oe-accent-ink) !important; font-weight: 650; line-height: 1.2; cursor: pointer; transition: transform .16s ease, filter .16s ease, background .16s ease; }
.xk-oe-btn:hover { filter: brightness(.96); transform: translateY(-1px); }
.xk-oe-btn:active { transform: translateY(0) scale(.985); }
.xk-oe-btn:disabled { opacity: .46; cursor: not-allowed; transform: none; }
.xk-oe-btn--ghost { border-color: var(--xk-oe-line); background: var(--xk-oe-card); color: var(--xk-oe-text) !important; }
.xk-oe-btn--ghost:hover { background: color-mix(in srgb, var(--xk-oe-line) 42%, var(--xk-oe-card)); }
.xk-oe-btn--danger { border-color: var(--xk-oe-danger); background: var(--xk-oe-danger); color: #fff !important; }
.xk-oe-btn--small { min-height: 38px; padding: 7px 12px; border-radius: 11px; font-size: 14px; }
.xk-oe-btn--wide { width: 100%; }
.xk-oe-badge, .xk-oe-status, .xk-oe-security-tag { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 9px; border-radius: 999px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-text); font-size: 12px; font-weight: 650; line-height: 1.2; }
.xk-oe-badge--locked { background: color-mix(in srgb, var(--xk-oe-danger) 9%, var(--xk-oe-card)); color: var(--xk-oe-danger); }
.xk-oe-status--completed, .xk-oe-status--published, .xk-oe-security-tag.is-ok { background: color-mix(in srgb, var(--xk-oe-success) 11%, var(--xk-oe-card)); color: var(--xk-oe-success); }
.xk-oe-status--pending, .xk-oe-status--paid, .xk-oe-security-tag.is-warning { background: color-mix(in srgb, var(--xk-oe-warning) 11%, var(--xk-oe-card)); color: var(--xk-oe-warning); }
.xk-oe-status--cancelled, .xk-oe-status--failed { background: color-mix(in srgb, var(--xk-oe-danger) 10%, var(--xk-oe-card)); color: var(--xk-oe-danger); }

/* Cards and lists */
.xk-oe-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.xk-oe-card, .xk-oe-product-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); transition: border-color .18s ease, transform .18s ease; }
.xk-oe-card:hover, .xk-oe-product-card:hover { border-color: color-mix(in srgb, var(--xk-oe-accent) 60%, var(--xk-oe-line)); transform: translateY(-2px); }
.xk-oe-card__top, .xk-oe-product-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-card h3, .xk-oe-product-card h3 { margin-bottom: 12px; }
.xk-oe-card > p, .xk-oe-product-card > p { margin-bottom: 24px; flex: 1; }
.xk-oe-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.xk-oe-card__price { margin-top: auto; padding-top: 14px; color: var(--xk-oe-text); font-weight: 600; }
.xk-oe-list { display: grid; gap: 12px; }
.xk-oe-list-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); }
.xk-oe-list-item > div { min-width: 0; }
.xk-oe-list-item h3 { margin: 8px 0 5px; font-size: 17px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xk-oe-list-item p { font-size: 13px; }
.xk-oe-list-item > strong { flex: 0 0 auto; font-size: 28px; letter-spacing: -.04em; }
.xk-oe-empty, .xk-oe-manager-empty { display: grid; justify-items: start; gap: 10px; padding: 32px; border: 1px dashed color-mix(in srgb, var(--xk-oe-line) 80%, var(--xk-oe-muted)); border-radius: var(--xk-oe-radius); background: color-mix(in srgb, var(--xk-oe-card) 62%, transparent); color: var(--xk-oe-muted); }
.xk-oe-empty strong, .xk-oe-manager-empty strong { color: var(--xk-oe-text); font-size: 18px; }
.xk-oe-empty a:not(.xk-oe-btn) { text-decoration: underline; text-underline-offset: 3px; }

/* Forms */
.xk-oe-form-row { display: flex; align-items: end; gap: 12px; margin-top: 28px; }
.xk-oe-form-row__grow { flex: 1 1 400px; }
.xk-oe-page label { color: var(--xk-oe-text); font-size: 14px; font-weight: 600; }
.xk-oe-page input[type="text"], .xk-oe-page input[type="email"], .xk-oe-page input[type="number"], .xk-oe-page input[type="search"], .xk-oe-page input[type="file"], .xk-oe-page input[type="url"], .xk-oe-page select, .xk-oe-page textarea {
  width: 100%; min-height: 46px; margin-top: 7px; padding: 10px 13px; color: var(--xk-oe-text); background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: 12px; outline: 0; transition: border-color .16s ease, box-shadow .16s ease;
}
.xk-oe-page textarea { min-height: 120px; resize: vertical; }
.xk-oe-page input:focus, .xk-oe-page select:focus, .xk-oe-page textarea:focus { border-color: color-mix(in srgb, var(--xk-oe-accent) 76%, #000 24%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--xk-oe-accent) 22%, transparent); }
.xk-oe-page fieldset { margin: 0; padding: 0; border: 0; }
.xk-oe-page legend { margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.xk-oe-help, .xk-oe-form-help { color: var(--xk-oe-muted); font-size: 13px; }

/* Practice and exam */
.xk-oe-practice__setup { padding: 40px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 6px); box-shadow: var(--xk-oe-shadow); }
.xk-oe-practice__intro { max-width: 800px; }
.xk-oe-practice__intro p { margin-top: 14px; font-size: 17px; }
.xk-oe-paper-summary { min-height: 24px; margin-top: 14px; color: var(--xk-oe-muted); font-size: 14px; }
.xk-oe-inline-message { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--xk-oe-warning) 10%, var(--xk-oe-card)); color: var(--xk-oe-warning); }
.xk-oe-protection-note { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--xk-oe-line); border-radius: 12px; color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-protection-note summary { display: flex; align-items: center; gap: 7px; color: var(--xk-oe-text); font-weight: 600; cursor: pointer; }
.xk-oe-protection-note p { margin-top: 10px; }
.xk-oe-practice__workspace { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 20px; margin-top: 24px; align-items: start; }
.xk-oe-question-pane, .xk-oe-answer-card { background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); }
.xk-oe-question-pane { min-width: 0; padding: 28px; }
.xk-oe-answer-card { position: sticky; top: 24px; padding: 20px; }
.xk-oe-progress { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--xk-oe-line); color: var(--xk-oe-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.xk-oe-progress #xk-oe-timer { color: var(--xk-oe-text); font-weight: 680; }
.xk-oe-progress #xk-oe-timer.is-danger { color: var(--xk-oe-danger); }
.xk-oe-question__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.xk-oe-question__meta span { padding: 4px 8px; border-radius: 8px; background: var(--xk-oe-bg); color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-question h2 { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.55; letter-spacing: -.02em; }
.xk-oe-options { display: grid; gap: 10px; margin-top: 24px; }
.xk-oe-option { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--xk-oe-line); border-radius: 13px; background: var(--xk-oe-card); cursor: pointer; font-weight: 450; transition: border-color .15s ease, background .15s ease; }
.xk-oe-option:hover { border-color: color-mix(in srgb, var(--xk-oe-accent) 65%, var(--xk-oe-line)); }
.xk-oe-option.is-selected { border-color: var(--xk-oe-accent); background: var(--xk-oe-accent-soft); }
.xk-oe-option input { width: 18px; height: 18px; accent-color: color-mix(in srgb, var(--xk-oe-accent) 65%, #000 35%); }
.xk-oe-option__key { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--xk-oe-bg); font-weight: 680; }
.xk-oe-option.is-selected .xk-oe-option__key { background: var(--xk-oe-accent); color: var(--xk-oe-accent-ink); }
.xk-oe-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.xk-oe-answer-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.xk-oe-answer-card__head h2 { font-size: 18px; }
.xk-oe-answer-card__head span { color: var(--xk-oe-muted); font-size: 12px; }
#xk-oe-card { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 18px; }
.xk-oe-card-index { aspect-ratio: 1; min-width: 38px; min-height: 38px; display: grid; place-items: center; border: 1px solid var(--xk-oe-line); border-radius: 10px; background: var(--xk-oe-card); color: var(--xk-oe-muted); cursor: pointer; }
.xk-oe-card-index.is-answered { background: var(--xk-oe-accent-soft); color: var(--xk-oe-text); border-color: color-mix(in srgb, var(--xk-oe-accent) 70%, var(--xk-oe-line)); }
.xk-oe-card-index.is-current { border-color: var(--xk-oe-text); color: var(--xk-oe-text); font-weight: 700; }
.xk-oe-loading-state { min-height: 240px; display: grid; place-items: center; color: var(--xk-oe-muted); }
.xk-oe-result { margin-top: 24px; padding: 36px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 6px); }
.xk-oe-result__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 24px 0 32px; }
.xk-oe-result__stats > div { padding: 18px; border-radius: 14px; background: var(--xk-oe-bg); }
.xk-oe-result__stats strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.xk-oe-result__stats span { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-copy-protected .xk-oe-question-pane, .xk-oe-copy-protected #xk-oe-result { position: relative; user-select: none; }
.xk-oe-copy-protected .xk-oe-question-pane::after, .xk-oe-copy-protected #xk-oe-result::after { content: attr(data-watermark); position: absolute; right: 20px; bottom: 16px; color: var(--xk-oe-muted); opacity: .09; font-size: 12px; pointer-events: none; }

/* Commerce and account */
.xk-oe-balance { min-width: 220px; display: grid; gap: 3px; padding: 18px 20px; border-radius: var(--xk-oe-radius); background: var(--xk-oe-accent-soft); }
.xk-oe-balance span { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-balance strong { font-size: 25px; letter-spacing: -.04em; }
.xk-oe-balance a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.xk-oe-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.xk-oe-product-card__head strong { color: var(--xk-oe-text); font-size: 20px; }
.xk-oe-product-card__scope, .xk-oe-product-card__grant { padding: 10px 12px; border-radius: 10px; background: var(--xk-oe-bg); color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-product-card__grant { margin-top: 8px; color: var(--xk-oe-text); }
.xk-oe-purchase-form { display: grid; gap: 12px; margin-top: 18px; }
.xk-oe-account-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 36px 40px; background: var(--xk-oe-card); border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 6px); }
.xk-oe-account-head > div:first-child { max-width: 720px; }
.xk-oe-account-head p { margin-top: 12px; }
.xk-oe-entitlement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.xk-oe-entitlement-grid article { padding: 20px; border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); background: var(--xk-oe-card); }
.xk-oe-entitlement-grid span { color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-entitlement-grid strong { display: block; margin: 6px 0; font-size: 24px; }
.xk-oe-entitlement-grid p { font-size: 13px; }
.xk-oe-prose { padding: 24px; border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); background: var(--xk-oe-card); color: var(--xk-oe-text); }

/* Tables */
.xk-oe-table-wrap { width: 100%; border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); background: var(--xk-oe-card); }
.xk-oe-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.xk-oe-table th, .xk-oe-table td { padding: 14px 16px; border-bottom: 1px solid var(--xk-oe-line); text-align: left; vertical-align: top; }
.xk-oe-table th { background: color-mix(in srgb, var(--xk-oe-bg) 78%, var(--xk-oe-card)); color: var(--xk-oe-muted); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.xk-oe-table tbody tr:last-child td { border-bottom: 0; }
.xk-oe-table tbody tr:hover td { background: color-mix(in srgb, var(--xk-oe-accent-soft) 38%, transparent); }
.xk-oe-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

/* Notices and access states */
.xk-oe-notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--xk-oe-success) 30%, var(--xk-oe-line)); border-radius: 12px; background: color-mix(in srgb, var(--xk-oe-success) 8%, var(--xk-oe-card)); color: var(--xk-oe-text); }
.xk-oe-notice--warning { border-color: color-mix(in srgb, var(--xk-oe-warning) 30%, var(--xk-oe-line)); background: color-mix(in srgb, var(--xk-oe-warning) 9%, var(--xk-oe-card)); }
.xk-oe-notice--error { border-color: color-mix(in srgb, var(--xk-oe-danger) 30%, var(--xk-oe-line)); background: color-mix(in srgb, var(--xk-oe-danger) 8%, var(--xk-oe-card)); }
.xk-oe-security-blocked { max-width: 760px; margin: 40px auto; padding: 40px; border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 8px); background: var(--xk-oe-card); text-align: center; }
.xk-oe-security-blocked > .xk-oe-icon { width: 48px; height: 48px; color: var(--xk-oe-danger); }
.xk-oe-security-blocked h1 { margin-top: 16px; }
.xk-oe-security-blocked > p { margin: 14px auto 24px; max-width: 600px; }
.xk-oe-security-blocked__meta { display: grid; gap: 8px; margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--xk-oe-bg); text-align: left; }

/* Responsive */
@media (max-width: 1080px) {
  .xk-oe-topnav { align-items: flex-start; flex-direction: column; gap: 4px; }
  .xk-oe-topnav__links { width: 100%; justify-content: flex-start; flex-wrap: wrap; padding-bottom: 4px; }
  .xk-oe-topnav__links > a { flex: 0 0 auto; }
  .xk-oe-hero { grid-template-columns: 1fr; align-items: start; }
  .xk-oe-hero__stats { grid-template-columns: repeat(3,1fr); }
  .xk-oe-hero__stats div { display: grid; gap: 4px; border-bottom: 0; border-right: 1px solid var(--xk-oe-line); }
  .xk-oe-hero__stats div:last-child { border-right: 0; }
  .xk-oe-grid, .xk-oe-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xk-oe-practice__workspace { grid-template-columns: 1fr; }
  .xk-oe-answer-card { position: static; }
  #xk-oe-card { grid-template-columns: repeat(10,1fr); }
}
@media (max-width: 720px) {
  .xk-oe-shell { width: min(100% - 20px, var(--xk-oe-content-width)); padding: 10px 0 56px; }
  .xk-oe-topnav { margin-bottom: 24px; border-radius: 16px; }
  .xk-oe-topnav__links > a span { display: none; }
  .xk-oe-topnav__links > a { padding: 0 13px; }
  .xk-oe-hero, .xk-oe-hero--compact, .xk-oe-practice__setup, .xk-oe-account-head { padding: 24px; border-radius: 18px; }
  .xk-oe-hero h1 + p { font-size: 16px; }
  .xk-oe-hero__stats { grid-template-columns: 1fr; }
  .xk-oe-hero__stats div { display: flex; border-right: 0; border-bottom: 1px solid var(--xk-oe-line); }
  .xk-oe-section { margin-top: 48px; }
  .xk-oe-section__head, .xk-oe-account-head { align-items: stretch; flex-direction: column; }
  .xk-oe-grid, .xk-oe-product-grid, .xk-oe-entitlement-grid, .xk-oe-result__stats { grid-template-columns: 1fr; }
  .xk-oe-form-row { align-items: stretch; flex-direction: column; }
  .xk-oe-form-row .xk-oe-btn { width: 100%; }
  .xk-oe-card, .xk-oe-product-card { padding: 20px; }
  .xk-oe-question-pane { padding: 20px; }
  .xk-oe-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .xk-oe-nav #xk-oe-next { grid-column: 1 / -1; order: -1; }
  #xk-oe-card { grid-template-columns: repeat(6,1fr); }
  .xk-oe-list-item { align-items: flex-start; flex-direction: column; }
  .xk-oe-list-item > strong { font-size: 24px; }
  .xk-oe-balance { width: 100%; }
}
@media (max-width: 420px) {
  .xk-oe-page h1 { font-size: 32px; }
  .xk-oe-page h2 { font-size: 25px; }
  .xk-oe-hero, .xk-oe-practice__setup, .xk-oe-account-head, .xk-oe-result { padding: 20px; }
  .xk-oe-hero__actions > .xk-oe-btn { width: 100%; }
  #xk-oe-card { grid-template-columns: repeat(5,1fr); }
}

/* Dark mode follows the device while retaining the site blue brand. */
@media (prefers-color-scheme: dark) {
  .xk-oe-page {
    --xk-oe-bg: #11110f !important;
    --xk-oe-card: #1b1b18 !important;
    --xk-oe-text: #f4f4ef !important;
    --xk-oe-muted: #aaa9a1 !important;
    --xk-oe-line: #33332e !important;
    --xk-oe-accent: #0a84ff !important;
    --xk-oe-accent-soft: #102c48 !important;
    --xk-oe-accent-ink: #ffffff !important;
    --xk-oe-shadow: none;
  }
  .xk-oe-page input, .xk-oe-page select, .xk-oe-page textarea { color-scheme: dark; }
}
@media (prefers-reduced-motion: reduce) {
  .xk-oe-page *, .xk-oe-page *::before, .xk-oe-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* v0.7 transparent surfaces and paper index */
.xk-oe-page {
  --xk-oe-surface: color-mix(in srgb, var(--xk-oe-card) 86%, transparent);
  --xk-oe-surface-strong: color-mix(in srgb, var(--xk-oe-card) 94%, transparent);
  --xk-oe-surface-soft: color-mix(in srgb, var(--xk-oe-bg) 72%, transparent);
  background: transparent !important;
}
.xk-oe-shell { background: transparent; }
.xk-oe-topnav,
.xk-oe-hero,
.xk-oe-card,
.xk-oe-product-card,
.xk-oe-list-item,
.xk-oe-practice__setup,
.xk-oe-question-pane,
.xk-oe-answer-card,
.xk-oe-result,
.xk-oe-account-head,
.xk-oe-entitlement-grid article,
.xk-oe-prose,
.xk-oe-table-wrap,
.xk-oe-security-blocked { background: var(--xk-oe-surface); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.xk-oe-topnav { background: var(--xk-oe-surface-strong); }
.xk-oe-hero,
.xk-oe-practice__setup,
.xk-oe-account-head { box-shadow: 0 10px 34px rgba(0, 52, 110, .06); }
.xk-oe-btn--ghost,
.xk-oe-option,
.xk-oe-card-index { background: var(--xk-oe-surface-strong); }
.xk-oe-topnav__links > a.is-active { color: var(--xk-oe-accent); }
.xk-oe-eyebrow { color: var(--xk-oe-accent); text-transform: none; letter-spacing: .01em; }
.xk-oe-practice__intro--wide { max-width: 940px; }

.xk-oe-paper-index-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.xk-oe-paper-index-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--xk-oe-line); border-radius: calc(var(--xk-oe-radius) + 2px); background: var(--xk-oe-surface); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.xk-oe-paper-index-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--xk-oe-accent) 58%, var(--xk-oe-line)); }
.xk-oe-paper-index-card.is-selected { border-color: var(--xk-oe-accent); background: color-mix(in srgb, var(--xk-oe-accent-soft) 50%, var(--xk-oe-surface)); }
.xk-oe-paper-index-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.xk-oe-paper-index-card__number { color: color-mix(in srgb, var(--xk-oe-accent) 72%, var(--xk-oe-muted)); font-size: 23px; font-weight: 700; letter-spacing: -.04em; }
.xk-oe-paper-index-card__body { flex: 1; }
.xk-oe-paper-index-card__exam { margin-bottom: 8px !important; color: var(--xk-oe-accent) !important; font-size: 13px; font-weight: 600; }
.xk-oe-paper-index-card h2 { font-size: 20px; line-height: 1.45; letter-spacing: -.025em; overflow-wrap: anywhere; }
.xk-oe-paper-index-card__meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 22px 0; }
.xk-oe-paper-index-card__meta div { min-width: 0; padding: 11px 10px; border-radius: 12px; background: var(--xk-oe-surface-soft); }
.xk-oe-paper-index-card__meta dt { color: var(--xk-oe-muted); font-size: 11px; }
.xk-oe-paper-index-card__meta dd { margin: 3px 0 0; color: var(--xk-oe-text); font-size: 14px; font-weight: 650; }

.xk-oe-completion { max-width: 720px; margin: 0 auto; text-align: center; }
.xk-oe-completion__icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--xk-oe-accent); color: var(--xk-oe-accent-ink); font-size: 27px; font-weight: 700; }
.xk-oe-completion .xk-oe-eyebrow { margin-bottom: 9px; }
.xk-oe-completion > p { max-width: 600px; margin: 14px auto 0; font-size: 16px; }
.xk-oe-completion .xk-oe-hero__actions { justify-content: center; }

.xk-oe-record-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.xk-oe-record-summary > div { min-width: 150px; padding: 16px 18px; border: 1px solid var(--xk-oe-line); border-radius: 14px; background: var(--xk-oe-surface); backdrop-filter: blur(16px); }
.xk-oe-record-summary span, .xk-oe-record-summary strong { display: block; }
.xk-oe-record-summary span { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-record-summary strong { margin-top: 3px; font-size: 25px; letter-spacing: -.04em; }
.xk-oe-record-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.xk-oe-record-tabs a { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--xk-oe-line); border-radius: 12px; background: var(--xk-oe-surface); color: var(--xk-oe-muted); font-size: 14px; font-weight: 600; }
.xk-oe-record-tabs a:hover { border-color: var(--xk-oe-accent); color: var(--xk-oe-accent); }
.xk-oe-record-group + .xk-oe-record-group { margin-top: 56px; }
.xk-oe-record-group { scroll-margin-top: 24px; }
.xk-oe-record-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.xk-oe-record-group__head h2 { font-size: 25px; }
.xk-oe-record-group__head > span { color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-record-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.xk-oe-record-card, .xk-oe-wrong-card { min-width: 0; padding: 20px; border: 1px solid var(--xk-oe-line); border-radius: var(--xk-oe-radius); background: var(--xk-oe-surface); backdrop-filter: blur(16px); }
.xk-oe-record-card__top, .xk-oe-wrong-card__top, .xk-oe-wrong-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xk-oe-record-card__top time, .xk-oe-wrong-card__top > span:last-child, .xk-oe-wrong-card__footer time { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-record-card h3 { margin: 16px 0 18px; font-size: 18px; line-height: 1.45; }
.xk-oe-record-card dl { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 0; }
.xk-oe-record-card dl div { min-width: 0; padding: 10px; border-radius: 10px; background: var(--xk-oe-surface-soft); }
.xk-oe-record-card dt { color: var(--xk-oe-muted); font-size: 10px; }
.xk-oe-record-card dd { margin: 3px 0 0; font-size: 13px; font-weight: 650; }
.xk-oe-wrong-grid { display: grid; gap: 12px; }
.xk-oe-wrong-card h3 { margin: 14px 0 18px; font-size: 17px; line-height: 1.65; letter-spacing: -.015em; }
.xk-oe-wrong-card__footer { padding-top: 14px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-wrong-card__footer a { display: inline-flex; align-items: center; gap: 5px; color: var(--xk-oe-accent); font-size: 13px; font-weight: 650; }

@media (max-width: 1080px) {
  .xk-oe-paper-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .xk-oe-paper-index-grid, .xk-oe-record-grid { grid-template-columns: 1fr; }
  .xk-oe-paper-index-card { padding: 20px; }
  .xk-oe-record-card dl { grid-template-columns: repeat(2,1fr); }
  .xk-oe-record-summary > div { flex: 1 1 130px; }
}
@media (max-width: 420px) {
  .xk-oe-paper-index-card__meta { grid-template-columns: 1fr; }
  .xk-oe-paper-index-card__meta div { display: flex; justify-content: space-between; align-items: baseline; }
  .xk-oe-paper-index-card__meta dd { margin: 0; }
}

.xk-oe-paper-index-grid--compact { margin-top: 0; }

/* v0.8 practice instant review */
.xk-oe-option.is-correct {
  border-color: color-mix(in srgb, var(--xk-oe-success) 72%, var(--xk-oe-line));
  background: color-mix(in srgb, var(--xk-oe-success) 10%, var(--xk-oe-surface-strong));
}
.xk-oe-option.is-wrong {
  border-color: color-mix(in srgb, var(--xk-oe-danger) 72%, var(--xk-oe-line));
  background: color-mix(in srgb, var(--xk-oe-danger) 9%, var(--xk-oe-surface-strong));
}
.xk-oe-option.is-correct .xk-oe-option__key { background: var(--xk-oe-success); color: #fff; }
.xk-oe-option.is-wrong .xk-oe-option__key { background: var(--xk-oe-danger); color: #fff; }
.xk-oe-option input:disabled { cursor: default; }
.xk-oe-review-answer { margin-top: 16px; }
.xk-oe-answer-feedback {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--xk-oe-line);
  border-radius: 16px;
  background: var(--xk-oe-surface-soft);
}
.xk-oe-answer-feedback.is-correct { border-color: color-mix(in srgb, var(--xk-oe-success) 45%, var(--xk-oe-line)); }
.xk-oe-answer-feedback.is-wrong { border-color: color-mix(in srgb, var(--xk-oe-danger) 42%, var(--xk-oe-line)); }
.xk-oe-answer-feedback__head { display: flex; align-items: flex-start; gap: 12px; }
.xk-oe-answer-feedback__head > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--xk-oe-success);
  color: #fff;
  font-weight: 750;
}
.xk-oe-answer-feedback.is-wrong .xk-oe-answer-feedback__head > span { background: var(--xk-oe-danger); }
.xk-oe-answer-feedback__head strong { display: block; font-size: 17px; }
.xk-oe-answer-feedback__head p { margin: 4px 0 0; color: var(--xk-oe-muted); font-size: 14px; }
.xk-oe-answer-feedback__explanation { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-answer-feedback__explanation h3 { margin: 0 0 8px; font-size: 16px; }
.xk-oe-answer-feedback__explanation p:last-child { margin-bottom: 0; }
.xk-oe-card-index.is-reviewed { box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--xk-oe-accent) 65%, transparent); }

/* v0.8 merged entitlement and product hub */
.xk-oe-account-hub { scroll-margin-top: 24px; }
.xk-oe-account-hub__section + .xk-oe-account-hub__section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-account-hub__section > h3 { margin: 0 0 16px; font-size: 20px; }
.xk-oe-product-group + .xk-oe-product-group { margin-top: 42px; }
.xk-oe-product-group__head { margin-bottom: 14px; }
.xk-oe-product-group__head h3 { margin: 0; font-size: 20px; }
#available-products, #orders { scroll-margin-top: 24px; }

/* v0.9 online-practice paper index */
.xk-oe-paper-section,.xk-oe-random-practice{display:grid;gap:18px;margin-top:24px}.xk-oe-random-practice{padding-top:24px;border-top:1px solid var(--xk-oe-border)}.xk-oe-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.xk-oe-section-heading h2{margin:4px 0 0}.xk-oe-section-heading>span{font-size:14px;color:var(--xk-oe-muted)}
.xk-oe-category-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.xk-oe-category-index-card{display:flex;flex-direction:column;justify-content:space-between;gap:22px;padding:22px;border:1px solid var(--xk-oe-line);border-radius:var(--xk-oe-radius);background:color-mix(in srgb,var(--xk-oe-card) 86%,transparent)}.xk-oe-category-index-card h3{margin:14px 0 8px}.xk-oe-category-index-card p{margin:0;color:var(--xk-oe-muted)}.xk-oe-category-index-card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--xk-oe-line);font-size:14px;color:var(--xk-oe-muted)}@media(max-width:900px){.xk-oe-category-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.xk-oe-category-index-grid{grid-template-columns:1fr}}

/* v1.0 category-sidebar homepage and focused mock exam */
.xk-oe-library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--xk-oe-space-5);
  padding: 8px 0 var(--xk-oe-space-5);
  border-bottom: 1px solid var(--xk-oe-line);
}
.xk-oe-library-hero__copy { max-width: 760px; }
.xk-oe-library-hero__copy > p { max-width: 680px; margin-top: 14px; font-size: 17px; line-height: 1.7; }
.xk-oe-library-hero__copy .xk-oe-hero__actions { margin-top: 24px; }
.xk-oe-library-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  min-width: 350px;
  margin: 0;
}
.xk-oe-library-hero__stats > div {
  padding: 16px;
  border: 1px solid var(--xk-oe-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--xk-oe-card) 76%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.xk-oe-library-hero__stats dt { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-library-hero__stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 680; letter-spacing: -.04em; }

.xk-oe-library-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.xk-oe-category-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  min-width: 0;
}
.xk-oe-category-sidebar__head { padding: 0 6px; }
.xk-oe-category-sidebar__head .xk-oe-eyebrow { margin-bottom: 6px; }
.xk-oe-category-sidebar__head h2 { font-size: 22px; }
.xk-oe-category-sidebar__nav {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--xk-oe-line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--xk-oe-card) 78%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.xk-oe-category-sidebar__nav a {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--xk-oe-text);
  transition: background .18s ease, color .18s ease;
}
.xk-oe-category-sidebar__nav a:hover,
.xk-oe-category-sidebar__nav a:focus-visible { background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); }
.xk-oe-category-sidebar__nav a span { font-size: 14px; font-weight: 620; line-height: 1.4; }
.xk-oe-category-sidebar__nav a small { color: var(--xk-oe-muted); font-size: 11px; font-weight: 450; }
.xk-oe-category-sidebar__account {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--xk-oe-accent-soft);
  color: var(--xk-oe-accent) !important;
}
.xk-oe-category-sidebar__account > .xk-oe-icon { margin-top: 2px; }
.xk-oe-category-sidebar__account span { display: grid; gap: 2px; }
.xk-oe-category-sidebar__account strong { color: var(--xk-oe-text); font-size: 14px; }
.xk-oe-category-sidebar__account small { color: var(--xk-oe-muted); font-size: 11px; line-height: 1.45; }

.xk-oe-library-content { min-width: 0; }
.xk-oe-library-category { scroll-margin-top: 28px; padding-bottom: 56px; }
.xk-oe-library-category + .xk-oe-library-category { padding-top: 56px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-library-category__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.xk-oe-library-category__head > div { max-width: 700px; }
.xk-oe-library-category__head h2 { font-size: clamp(26px, 3vw, 34px); }
.xk-oe-library-category__head h2 + p { margin-top: 9px; }
.xk-oe-text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--xk-oe-accent) !important; font-size: 14px; font-weight: 620; white-space: nowrap; }
.xk-oe-library-exam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xk-oe-library-exam-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--xk-oe-line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--xk-oe-card) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .18s ease, transform .18s ease;
}
.xk-oe-library-exam-card:hover { border-color: color-mix(in srgb, var(--xk-oe-accent) 58%, var(--xk-oe-line)); transform: translateY(-1px); }
.xk-oe-library-exam-card__main { flex: 1; }
.xk-oe-library-exam-card h3 { margin: 0 0 10px; line-height: 1.45; }
.xk-oe-library-exam-card p { font-size: 14px; line-height: 1.65; }
.xk-oe-library-exam-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-library-exam-card__actions { display: flex; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-library-exam-card__actions .xk-oe-btn { flex: 1 1 0; }

.xk-oe-library-paper-list { margin-top: 18px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-library-paper-list__head,
.xk-oe-library-paper-row { display: grid; align-items: center; gap: 16px; }
.xk-oe-library-paper-list__head { grid-template-columns: 1fr auto; padding: 18px 2px 10px; }
.xk-oe-library-paper-list__head h3 { font-size: 16px; }
.xk-oe-library-paper-list__head span { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-library-paper-row {
  grid-template-columns: 116px minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 12px 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--xk-oe-line) 76%, transparent);
}
.xk-oe-library-paper-row:last-child { border-bottom: 0; }
.xk-oe-library-paper-row__mode { display: inline-flex; align-items: center; gap: 7px; color: var(--xk-oe-accent); font-size: 12px; font-weight: 620; }
.xk-oe-library-paper-row__title { display: grid; gap: 3px; min-width: 0; }
.xk-oe-library-paper-row__title strong { overflow: hidden; color: var(--xk-oe-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.xk-oe-library-paper-row__title span { color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-library-paper-row > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--xk-oe-accent); font-size: 13px; font-weight: 650; }

.xk-oe-exam-stage { max-width: 880px; margin: 24px auto 0; }
.xk-oe-exam-stage__bar {
  position: sticky;
  top: 12px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  margin-bottom: 12px;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--xk-oe-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--xk-oe-card) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.xk-oe-exam-stage__status { display: flex; align-items: baseline; gap: 14px; color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-exam-stage__status strong { color: var(--xk-oe-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.xk-oe-exam-stage__status strong.is-danger { color: var(--xk-oe-danger); }
.xk-oe-exam-stage__question { padding: 28px; background: color-mix(in srgb, var(--xk-oe-card) 86%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.xk-oe-exam-stage__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-exam-stage__nav .xk-oe-btn { min-width: 132px; }
.xk-oe-exam-stage { animation: xkOeFadeIn .28s cubic-bezier(.25,.1,.25,1); }
@keyframes xkOeFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .xk-oe-library-hero { grid-template-columns: 1fr; align-items: start; }
  .xk-oe-library-hero__stats { min-width: 0; width: 100%; }
  .xk-oe-library-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .xk-oe-library-exam-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .xk-oe-library-hero { gap: 24px; padding-bottom: 32px; }
  .xk-oe-library-hero__stats { grid-template-columns: 1fr; }
  .xk-oe-library-hero__stats > div { display: flex; align-items: baseline; justify-content: space-between; }
  .xk-oe-library-layout { display: block; margin-top: 28px; }
  .xk-oe-category-sidebar { position: static; margin-bottom: 34px; }
  .xk-oe-category-sidebar__head { display: none; }
  .xk-oe-category-sidebar__nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 8px; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
  .xk-oe-category-sidebar__nav a { flex: 1 1 148px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--xk-oe-line); background: color-mix(in srgb, var(--xk-oe-card) 80%, transparent); }
  .xk-oe-category-sidebar__nav a small { display: none; }
  .xk-oe-category-sidebar__account { display: none; }
  .xk-oe-library-category { padding-bottom: 44px; }
  .xk-oe-library-category + .xk-oe-library-category { padding-top: 44px; }
  .xk-oe-library-category__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .xk-oe-library-exam-card__actions { flex-direction: column; }
  .xk-oe-library-paper-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .xk-oe-library-paper-row__mode { grid-column: 1 / -1; }
  .xk-oe-library-paper-row__title strong { white-space: normal; }
  .xk-oe-exam-stage { margin-top: 14px; }
  .xk-oe-exam-stage__bar { top: 6px; }
  .xk-oe-exam-stage__question { padding: 20px; }
  .xk-oe-exam-stage__nav .xk-oe-btn { min-width: 0; flex: 1 1 0; }
}
@media (max-width: 420px) {
  .xk-oe-exam-stage__bar { padding-left: 12px; }
  .xk-oe-exam-stage__status { display: grid; gap: 0; }
  .xk-oe-exam-stage__status strong { font-size: 16px; }
}

/* v0.11 visible choices, mixed question types and scrollbar-free layouts */
.xk-oe-choice-section,.xk-oe-choice-fieldset{display:grid;gap:14px}.xk-oe-choice-fieldset{margin:0;padding:0;border:0}.xk-oe-choice-fieldset legend,.xk-oe-page fieldset legend{margin-bottom:9px;color:var(--xk-oe-text);font-weight:650}.xk-oe-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.xk-oe-choice-card{position:relative;display:block;cursor:pointer}.xk-oe-choice-card>input{position:absolute;opacity:0;pointer-events:none}.xk-oe-choice-card>span{display:grid;gap:4px;min-height:58px;padding:12px 14px;border:1px solid var(--xk-oe-line);border-radius:14px;background:color-mix(in srgb,var(--xk-oe-card) 84%,transparent);transition:border-color .18s ease,background .18s ease}.xk-oe-choice-card small{color:var(--xk-oe-muted)}.xk-oe-choice-card>input:checked+span{border-color:var(--xk-oe-accent);background:var(--xk-oe-accent-soft)}.xk-oe-choice-card>input:focus-visible+span{outline:2px solid var(--xk-oe-accent);outline-offset:2px}
.xk-oe-segmented{display:flex;flex-wrap:wrap;gap:8px}.xk-oe-segmented label{position:relative;cursor:pointer}.xk-oe-segmented input{position:absolute;opacity:0;pointer-events:none}.xk-oe-segmented span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid var(--xk-oe-line);border-radius:12px;background:color-mix(in srgb,var(--xk-oe-card) 82%,transparent);color:var(--xk-oe-text)}.xk-oe-segmented input:checked+span{border-color:var(--xk-oe-accent);background:var(--xk-oe-accent);color:var(--xk-oe-accent-ink)}.xk-oe-segmented input:focus-visible+span{outline:2px solid var(--xk-oe-accent);outline-offset:2px}
.xk-oe-written-answer{display:grid;gap:8px;margin-top:18px}.xk-oe-written-input,.xk-oe-written-textarea{width:100%;border:1px solid var(--xk-oe-line);border-radius:14px;background:color-mix(in srgb,var(--xk-oe-card) 86%,transparent);color:var(--xk-oe-text);font:inherit}.xk-oe-written-input{min-height:48px;padding:10px 13px}.xk-oe-written-textarea{min-height:132px;padding:13px;resize:vertical}.xk-oe-written-input:focus,.xk-oe-written-textarea:focus{border-color:var(--xk-oe-accent);outline:2px solid color-mix(in srgb,var(--xk-oe-accent) 26%,transparent);outline-offset:1px}
.xk-oe-answer-feedback.is-reference{border-color:color-mix(in srgb,var(--xk-oe-accent) 42%,var(--xk-oe-line));background:var(--xk-oe-accent-soft)}
.xk-oe-table{width:100%;table-layout:fixed}.xk-oe-table th,.xk-oe-table td{overflow-wrap:anywhere;word-break:break-word}
.xk-oe-protection-note{display:grid;gap:6px;margin-top:18px;padding:14px 16px;border:1px solid var(--xk-oe-line);border-radius:14px;background:color-mix(in srgb,var(--xk-oe-card) 78%,transparent)}.xk-oe-protection-note strong{display:flex;align-items:center;gap:8px}.xk-oe-protection-note p{margin:0;color:var(--xk-oe-muted)}
@media(max-width:640px){.xk-oe-choice-grid{grid-template-columns:1fr}.xk-oe-segmented label{flex:1 1 120px}.xk-oe-segmented span{width:100%}.xk-oe-table{font-size:12px}.xk-oe-table th,.xk-oe-table td{padding:9px 6px}}
.xk-oe-inline-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--xk-oe-danger) 28%, var(--xk-oe-line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--xk-oe-danger) 7%, transparent);
  color: var(--xk-oe-danger);
  overflow-wrap: anywhere;
}
.xk-oe-table { min-width: 0; max-width: 100%; }

/* v0.12 paper-first archive, mode dialog, real leaderboards and icon completion */
.xk-oe-library-hero__stats > div { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; }
.xk-oe-library-hero__stats > div > .xk-oe-icon { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); }
.xk-oe-library-hero__stats > div > span { min-width: 0; }
.xk-oe-library-layout--papers { grid-template-columns: 250px minmax(0,1fr); }
.xk-oe-category-sidebar__nav a { grid-template-columns: 20px minmax(0,1fr) 16px; align-items: center; gap: 9px; }
.xk-oe-category-sidebar__nav a > .xk-oe-icon:first-child { color: var(--xk-oe-accent); }
.xk-oe-category-sidebar__nav a > .xk-oe-icon:last-child { width: 15px; height: 15px; color: var(--xk-oe-muted); }
.xk-oe-category-sidebar__nav a span { display: grid; gap: 2px; min-width: 0; }
.xk-oe-category-sidebar__nav a span strong { overflow-wrap: anywhere; }
.xk-oe-section-count { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 11px; border: 1px solid var(--xk-oe-line); border-radius: 999px; color: var(--xk-oe-muted); font-size: 13px; white-space: nowrap; }
.xk-oe-paper-index-grid--library { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; }
.xk-oe-paper-index-card--launcher { padding: 22px; background: color-mix(in srgb,var(--xk-oe-card) 78%,transparent); }
.xk-oe-paper-index-card--launcher h3 { margin: 0; font-size: 20px; line-height: 1.42; letter-spacing: -.025em; overflow-wrap: anywhere; }
.xk-oe-paper-index-card__description { margin-top: 10px !important; font-size: 14px; line-height: 1.65; }
.xk-oe-paper-mode-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.xk-oe-paper-mode-chips span { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 8px; border-radius: 999px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); font-size: 11px; font-weight: 650; }
.xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
.xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta div { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 7px; }
.xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta .xk-oe-icon { color: var(--xk-oe-accent); }
.xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta span { min-width: 0; }
.xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta dd { overflow-wrap: anywhere; }

.xk-oe-mode-dialog { width: min(680px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--xk-oe-text); background: transparent; box-shadow: 0 28px 90px rgba(9,30,66,.22); }
.xk-oe-mode-dialog::backdrop { background: rgba(12,20,32,.46); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.xk-oe-mode-dialog__panel { padding: 24px; border: 1px solid color-mix(in srgb,var(--xk-oe-line) 85%,transparent); border-radius: 24px; background: color-mix(in srgb,var(--xk-oe-card) 94%,transparent); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); }
.xk-oe-mode-dialog__head { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: start; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--xk-oe-line); }
.xk-oe-mode-dialog__head h2 { font-size: 26px; }
.xk-oe-mode-dialog__head h2 + p { margin-top: 7px; }
.xk-oe-mode-dialog__close { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--xk-oe-line); border-radius: 50%; background: color-mix(in srgb,var(--xk-oe-card) 76%,transparent); color: var(--xk-oe-text); cursor: pointer; }
.xk-oe-mode-options { display: grid; gap: 10px; padding-top: 20px; }
.xk-oe-mode-option { display: grid; grid-template-columns: 48px minmax(0,1fr) auto 18px; align-items: center; gap: 13px; min-height: 92px; padding: 15px; border: 1px solid var(--xk-oe-line); border-radius: 17px; background: color-mix(in srgb,var(--xk-oe-card) 78%,transparent); transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.xk-oe-mode-option:hover { border-color: color-mix(in srgb,var(--xk-oe-accent) 62%,var(--xk-oe-line)); background: var(--xk-oe-accent-soft); transform: translateY(-1px); }
.xk-oe-mode-option[hidden] { display: none; }
.xk-oe-mode-option__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); }
.xk-oe-mode-option__icon .xk-oe-icon { width: 23px; height: 23px; }
.xk-oe-mode-option > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.xk-oe-mode-option strong { color: var(--xk-oe-text); font-size: 17px; }
.xk-oe-mode-option small { color: var(--xk-oe-muted); font-size: 12px; line-height: 1.55; }
.xk-oe-mode-option em { color: var(--xk-oe-accent); font-size: 11px; font-style: normal; font-weight: 650; white-space: nowrap; }
.xk-oe-mode-option.is-locked em { color: var(--xk-oe-warning); }

.xk-oe-leaderboards { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-leaderboards__head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.xk-oe-leaderboards__head > div { max-width: 760px; }
.xk-oe-leaderboards__head h2 + p { margin-top: 9px; }
.xk-oe-leaderboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.xk-oe-leaderboard-card { min-width: 0; padding: 18px; border: 1px solid var(--xk-oe-line); border-radius: 18px; background: color-mix(in srgb,var(--xk-oe-card) 78%,transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.xk-oe-leaderboard-card > header { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--xk-oe-line); }
.xk-oe-leaderboard-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); }
.xk-oe-leaderboard-card h3 { font-size: 17px; }
.xk-oe-leaderboard-card header p { margin-top: 2px; font-size: 11px; }
.xk-oe-rank-list { display: grid; gap: 0; margin: 0; padding: 7px 0 0; list-style: none; }
.xk-oe-rank-list li { display: grid; grid-template-columns: 28px 34px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 54px; padding: 8px 2px; border-bottom: 1px solid color-mix(in srgb,var(--xk-oe-line) 70%,transparent); }
.xk-oe-rank-list li:last-child { border-bottom: 0; }
.xk-oe-rank-number { width: 28px; height: 28px; display: grid; place-items: center; color: var(--xk-oe-muted); font-size: 12px; font-weight: 700; }
.xk-oe-rank-number .xk-oe-icon { width: 19px; height: 19px; }
.xk-oe-rank-number.is-rank-1 { color: #a66c00; }
.xk-oe-rank-number.is-rank-2 { color: #6f7782; }
.xk-oe-rank-number.is-rank-3 { color: #986044; }
.xk-oe-rank-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--xk-oe-accent-soft); color: var(--xk-oe-accent); font-size: 13px; font-weight: 700; }
.xk-oe-rank-user { display: grid; min-width: 0; }
.xk-oe-rank-user strong { overflow: hidden; color: var(--xk-oe-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.xk-oe-rank-user small { color: var(--xk-oe-muted); font-size: 10px; }
.xk-oe-rank-value { color: var(--xk-oe-text); font-size: 13px; white-space: nowrap; }
.xk-oe-leaderboard-empty { min-height: 116px; display: grid; place-items: center; padding: 18px; color: var(--xk-oe-muted); font-size: 13px; text-align: center; }

.xk-oe-self-review-result { margin-top: 28px; text-align: left; }
.xk-oe-self-review-result__head { margin-bottom: 14px; }
.xk-oe-self-review-result__head h2 { font-size: 22px; }
.xk-oe-self-review-result__head p { margin-top: 6px; }
.xk-oe-self-review-list { display: grid; gap: 12px; }
.xk-oe-self-review-card { padding: 18px; border: 1px solid var(--xk-oe-line); border-radius: 16px; background: color-mix(in srgb,var(--xk-oe-card) 82%,transparent); }
.xk-oe-self-review-card > header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--xk-oe-accent); font-size: 12px; font-weight: 650; }
.xk-oe-self-review-card h3 { margin-bottom: 14px; font-size: 17px; line-height: 1.55; }
.xk-oe-self-review-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.xk-oe-self-review-compare section { padding: 13px; border-radius: 13px; background: var(--xk-oe-surface-soft); }
.xk-oe-self-review-compare strong { display: block; margin-bottom: 5px; font-size: 12px; }
.xk-oe-self-review-compare p { color: var(--xk-oe-text); white-space: pre-wrap; }
.xk-oe-self-review-card__explanation { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-self-review-card__explanation strong { display: block; margin-bottom: 6px; }

@media (max-width: 1120px) {
  .xk-oe-leaderboard-grid { grid-template-columns: 1fr; }
  .xk-oe-paper-index-grid--library { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .xk-oe-category-sidebar__nav a { grid-template-columns: 18px minmax(0,1fr); }
  .xk-oe-category-sidebar__nav a > .xk-oe-icon:last-child { display: none; }
  .xk-oe-paper-index-card--launcher .xk-oe-paper-index-card__meta { grid-template-columns: 1fr; }
  .xk-oe-mode-dialog__panel { padding: 18px; }
  .xk-oe-mode-option { grid-template-columns: 44px minmax(0,1fr) 16px; }
  .xk-oe-mode-option em { grid-column: 2; }
  .xk-oe-mode-option__icon { width: 44px; height: 44px; }
  .xk-oe-self-review-compare { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .xk-oe-library-hero__stats { grid-template-columns: 1fr; }
  .xk-oe-library-hero__stats > div { padding: 12px; }
  .xk-oe-rank-list li { grid-template-columns: 26px 32px minmax(0,1fr); }
  .xk-oe-rank-value { grid-column: 3; justify-self: start; }
}

.xk-oe-exam-stage__status strong{display:inline-flex;align-items:center;gap:6px}
.xk-oe-paper-index-card__meta>div{align-items:flex-start}
.xk-oe-paper-index-card__meta>div>.xk-oe-icon{flex:0 0 auto;margin-top:2px}

/* v0.13 practice accuracy and question correction */
.xk-oe-practice-rate { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 9px; border-radius: 999px; background: var(--xk-oe-accent-soft); color: var(--xk-oe-text); font-size: 12px; font-weight: 650; }
.xk-oe-practice-rate .xk-oe-icon { width: 15px; height: 15px; color: var(--xk-oe-accent); }
.xk-oe-question__tools { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--xk-oe-line); }
.xk-oe-feedback-dialog { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 18px; }
.xk-oe-feedback-dialog__backdrop { position: absolute; inset: 0; background: rgba(10,18,32,.48); backdrop-filter: blur(8px); }
.xk-oe-feedback-dialog__panel { position: relative; width: min(620px,100%); display: grid; gap: 17px; padding: 22px; border: 1px solid var(--xk-oe-line); border-radius: 20px; background: var(--xk-oe-surface-strong); box-shadow: 0 24px 80px rgba(15,23,42,.22); }
.xk-oe-feedback-dialog__panel > header { display: grid; grid-template-columns: minmax(0,1fr) 40px; gap: 14px; align-items: start; }
.xk-oe-feedback-dialog__panel h2 { margin: 4px 0; font-size: 22px; }
.xk-oe-feedback-dialog__panel header p { color: var(--xk-oe-muted); font-size: 13px; }
.xk-oe-icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--xk-oe-line); border-radius: 12px; background: var(--xk-oe-bg); color: var(--xk-oe-text); cursor: pointer; }
.xk-oe-feedback-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.xk-oe-feedback-types label { position: relative; cursor: pointer; }
.xk-oe-feedback-types input { position: absolute; opacity: 0; pointer-events: none; }
.xk-oe-feedback-types span { min-height: 46px; display: flex; align-items: center; padding: 9px 12px; border: 1px solid var(--xk-oe-line); border-radius: 12px; background: var(--xk-oe-card); }
.xk-oe-feedback-types input:checked + span { border-color: var(--xk-oe-accent); background: var(--xk-oe-accent-soft); }
.xk-oe-feedback-types input:focus-visible + span { outline: 2px solid var(--xk-oe-accent); outline-offset: 2px; }
.xk-oe-feedback-content > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 650; }
.xk-oe-feedback-content textarea { width: 100%; min-height: 126px; box-sizing: border-box; padding: 12px 13px; border: 1px solid var(--xk-oe-line); border-radius: 13px; background: var(--xk-oe-card); color: var(--xk-oe-text); font: inherit; resize: vertical; }
.xk-oe-feedback-content textarea:focus-visible { outline: 3px solid color-mix(in srgb,var(--xk-oe-accent) 22%,transparent); border-color: var(--xk-oe-accent); }
.xk-oe-feedback-content small { display: block; margin-top: 6px; color: var(--xk-oe-muted); font-size: 11px; }
.xk-oe-feedback-status { margin: 0; padding: 10px 12px; border-radius: 11px; background: var(--xk-oe-accent-soft); }
.xk-oe-completion__summary { width: min(340px,100%); display: grid; gap: 4px; margin: 18px auto 0; padding: 16px; border: 1px solid var(--xk-oe-line); border-radius: 15px; background: var(--xk-oe-accent-soft); text-align: center; }
.xk-oe-completion__summary span { display: inline-flex; justify-content: center; align-items: center; gap: 6px; color: var(--xk-oe-muted); font-size: 12px; }
.xk-oe-completion__summary strong { font-size: 30px; letter-spacing: -.04em; }
.xk-oe-completion__summary small { color: var(--xk-oe-muted); }
@media(max-width:600px){.xk-oe-feedback-dialog{align-items:end;padding:10px}.xk-oe-feedback-dialog__panel{padding:18px;border-radius:18px}.xk-oe-feedback-types{grid-template-columns:1fr}.xk-oe-progress{flex-wrap:wrap}.xk-oe-practice-rate{order:3;width:100%;justify-content:center}}
