/* Learner directories use the shared shell; study engines retain their own layouts. */
html body.mc-app.learner-catalogue {
  --lc-ink: var(--color-text);
  --lc-muted: var(--color-text-secondary);
  --lc-rule: var(--color-border);
  --lc-fill: var(--color-bg-subtle);
  --lc-action: var(--color-brand);
  --lc-selected: #fbefeb;
  --lc-type-scale: 1;
  color: var(--lc-ink);
  background: var(--color-bg);
}

html[data-text-scale='small'] body.mc-app.learner-catalogue { --lc-type-scale: .8824; }
html[data-text-scale='large'] body.mc-app.learner-catalogue { --lc-type-scale: 1.1176; }
html[data-text-scale='larger'] body.mc-app.learner-catalogue { --lc-type-scale: 1.2353; }

html body.mc-app.learner-catalogue :is(main, .home, .av-main, .folio-today, .rounds-board, #dash) { min-width: 0; }
html body.mc-app.learner-catalogue :is(.home, .av-main, .folio-today) {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 32px 24px;
  padding-inline: 32px !important;
}
html body.mc-app.learner-catalogue :is(h1, h2, h3, .t, .pvnum) {
  font-family: var(--mc-body, 'General Sans', sans-serif);
  color: var(--lc-ink);
  font-style: normal;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-wrap: pretty;
}
html body.mc-app.learner-catalogue :is(h1, .av-title, #today-greeting) { margin: 0 0 8px; font-size: calc(30px * var(--lc-type-scale)) !important; font-weight: 650; }
html body.mc-app.learner-catalogue :is(h2, .mc-section-title, .led-name) { font-size: calc(18px * var(--lc-type-scale)) !important; font-weight: 650; }
html body.mc-app.learner-catalogue :is(h3, .t) { font-size: calc(16px * var(--lc-type-scale)); font-weight: 600; }
html body.mc-app.learner-catalogue :is(.lede, .av-sub, #today-context) { max-width: 75ch; margin: 0; color: var(--lc-muted); font-size: calc(15px * var(--lc-type-scale)) !important; font-weight: 400; line-height: 1.55 !important; }
html body.mc-app.learner-catalogue :is(.av-head, .folio-today__intro, .lc-page-head) { margin: 0 0 24px; padding: 0; border: 0; }
html body.mc-app.learner-catalogue .av-head { display: block; max-width: none; }
html body.mc-app.learner-catalogue :is(.vd-meta, .folio-kicker, .splash-eyebrow, .viva-entry-kicker, .fsec-hd) { font-family: inherit; letter-spacing: 0; text-transform: none; }
html body.mc-app.learner-catalogue :is(.av-foot, .folio-legal, .foot) { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--lc-rule); color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); line-height: 1.5; }
html body.mc-app.learner-catalogue > .foot { max-width: 1176px; margin-inline: auto; padding-inline: 32px; }
html body.mc-app.learner-catalogue :is(.lc-page-head, .lc-section-head) { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
html body.mc-app.learner-catalogue .lc-page-head > div { min-width: 0; }
html body.mc-app.learner-catalogue .lc-section-head h2 { margin: 0; }
html body.mc-app.learner-catalogue :is(.lc-inline-action, .lc-clear, .lc-related-links a) { color: var(--lc-action); font-size: calc(13px * var(--lc-type-scale)); font-weight: 600; text-underline-offset: 3px; }
html body.mc-app.learner-catalogue .lc-inline-action { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border: 1px solid var(--lc-rule); border-radius: 7px; background: var(--color-surface); text-decoration: none; }
html body.mc-app.learner-catalogue .lc-inline-action:hover { background: var(--lc-fill); border-color: #a9b3bd; }
html body.mc-app.learner-catalogue .lc-clear { min-height: 32px; padding: 4px 0 4px 8px; border: 0; background: none; cursor: pointer; text-align: right; }
html body.mc-app.learner-catalogue .lc-clear:disabled { border: 0 !important; background: transparent !important; color: var(--lc-muted) !important; }
html body.mc-app.learner-catalogue :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--lc-action); outline-offset: 3px; }
html body.mc-app.learner-catalogue [hidden] { display: none !important; }
html body.mc-app.learner-catalogue :is(.splash-button, .beginbtn, .startbtn, .vd-btn, .chipsearch, .viva-entry-form input, .viva-entry-form select) { border-radius: 7px !important; box-shadow: none !important; }
html body.mc-app.learner-catalogue :is(.beginbtn, .startbtn):disabled { background: #e9eef1 !important; color: #64717d !important; border-color: #d7dfe5 !important; cursor: not-allowed; }

/* Today: a real next action, short progress summary and study records. */
html body.mc-app.learner-today .folio-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); }
html body.mc-app.learner-today .folio-kicker > span { display: none; }
html body.mc-app.learner-today .folio-kicker::before { content: none; }
html body.mc-app.learner-today .folio-kicker time::before { content: none; }
html body.mc-app.learner-today .folio-today.splash-today::before,
html body.mc-app.learner-today .folio-today.splash-today::after { content: none; display: none; }
html body.mc-app.learner-today .folio-today__intro { display: block; }
html body.mc-app.learner-today .rounds-board { display: flex; flex-direction: column; gap: 18px; }
html body.mc-app.learner-today .splash-arena-entry { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--lc-rule); border-radius: 9px; background: var(--color-surface); box-shadow: none; overflow: visible; }
html body.mc-app.learner-today .splash-arena-entry::before,
html body.mc-app.learner-today .splash-arena-entry::after { content: none; }
html body.mc-app.learner-today .splash-arena-entry__copy h2 { margin: 0 0 3px; color: var(--lc-ink) !important; font-size: calc(15px * var(--lc-type-scale)) !important; }
html body.mc-app.learner-today .splash-arena-entry__copy p { margin: 0; color: var(--lc-muted) !important; font-size: calc(13px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-arena-entry__action { min-height: 36px; flex: none; padding: 7px 12px; border: 1px solid var(--lc-rule); border-radius: 7px; background: var(--lc-fill); color: var(--lc-action); box-shadow: none; font-size: calc(13px * var(--lc-type-scale)); }
html body.mc-app.learner-today #dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr); gap: 18px; }
html body.mc-app.learner-today .splash-recommendation { grid-column: 1; min-height: 0; margin: 0; padding: 28px; border: 1px solid #202e35; border-radius: 12px; background: #202e35; color: #fff; box-shadow: 0 8px 24px #202e3512; }
html body.mc-app.learner-today .splash-recommendation::before,
html body.mc-app.learner-today .splash-recommendation::after { content: none; }
html body.mc-app.learner-today .splash-recommendation__copy { max-width: none; padding: 0; }
html body.mc-app.learner-today .splash-recommendation h2 { margin: 0 0 10px; color: #fff !important; font-size: calc(26px * var(--lc-type-scale)) !important; max-width: none; }
html body.mc-app.learner-today .lc-practice-label { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #cdd7d4; font-size: calc(12px * var(--lc-type-scale)); font-weight: 500; }
html body.mc-app.learner-today .lc-practice-label::before { content: ''; width: 18px; height: 2px; background: #f58e76; }
html body.mc-app.learner-today .splash-recommendation__reason { color: var(--lc-ink); font-size: calc(14px * var(--lc-type-scale)); font-weight: 550; margin: 0 0 7px; }
html body.mc-app.learner-today .splash-recommendation__description { color: #d9e2e3; font-size: calc(15px * var(--lc-type-scale)); line-height: 1.55; margin: 0; max-width: 65ch; }
html body.mc-app.learner-today .splash-recommendation__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
html body.mc-app.learner-catalogue :is(.splash-button, .beginbtn, .startbtn, .vd-btn-primary) { min-height: 40px; padding: 10px 15px; border: 1px solid var(--lc-action); border-radius: 7px; background: var(--lc-action); color: #fff; box-shadow: none; font-family: inherit; font-size: calc(13px * var(--lc-type-scale)); font-weight: 600; text-decoration: none; }
html body.mc-app.learner-catalogue :is(.splash-button, .beginbtn, .startbtn, .vd-btn-primary):hover { background: #a73520; box-shadow: none; }
html body.mc-app.learner-today :is(.splash-text-action, .folio-section-link) { color: var(--lc-action); font-size: calc(13px * var(--lc-type-scale)); font-weight: 600; }
html body.mc-app.learner-today .splash-recommendation .splash-text-action { color: #fff; text-decoration-color: #829397; text-underline-offset: 4px; }
html body.mc-app.learner-today .splash-recommendation .splash-text-action:hover { text-decoration-color: #fff; }
html body.mc-app.learner-today .splash-recommendation :is(a, button):focus-visible { outline-color: #f7ad9b; }
html body.mc-app.learner-today .splash-metrics { grid-column: 2; display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border: 1px solid var(--lc-rule); border-radius: 10px; background: var(--color-surface); }
html body.mc-app.learner-today .splash-metric { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; min-height: 0; padding: 14px 18px; border: 0; border-radius: 0; border-bottom: 1px solid var(--lc-rule); background: none; box-shadow: none; }
html body.mc-app.learner-today .splash-metric:last-child { border-bottom: 0; }
html body.mc-app.learner-today .splash-metric dt { color: var(--lc-muted); font-size: calc(13px * var(--lc-type-scale)); letter-spacing: 0; text-transform: none; }
html body.mc-app.learner-today .splash-metric dd { margin: 0; color: var(--lc-ink); font: 600 calc(22px * var(--lc-type-scale))/1.3 var(--mc-body, sans-serif); }
html body.mc-app.learner-today .splash-metric small { grid-column: 1 / -1; margin-top: 4px; color: var(--lc-muted); font-size: calc(11px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-metric .lc-metric-note { grid-column: 1 / -1; font-size: calc(11px * var(--lc-type-scale)); font-weight: 400; line-height: 1.5; }
html body.mc-app.learner-today .splash-plan-grid { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
html body.mc-app.learner-today :is(.splash-plan-card, .splash-resume-card) { display: block; min-height: 0; padding: 20px; border: 1px solid var(--lc-rule); border-radius: 9px; background: var(--color-surface); box-shadow: none; }
html body.mc-app.learner-today :is(.splash-plan-card, .splash-resume-card)::before,
html body.mc-app.learner-today :is(.splash-plan-card, .splash-resume-card)::after { content: none; }
html body.mc-app.learner-today .splash-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
html body.mc-app.learner-today .splash-card-head h2,
html body.mc-app.learner-today .splash-resume-card h2 { margin: 0 0 8px; font-size: calc(17px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-plan-count { color: var(--lc-ink); font: 600 calc(17px * var(--lc-type-scale))/1.3 var(--mc-body, sans-serif); }
html body.mc-app.learner-today .lc-daily-progress { appearance: none; display: block; width: 100%; height: 6px; margin: 12px 0; border: 0; border-radius: 6px; background: #e6ecef; accent-color: var(--lc-action); overflow: hidden; }
html body.mc-app.learner-today .lc-daily-progress::-webkit-progress-bar { background: #e6ecef; }
html body.mc-app.learner-today .lc-daily-progress::-webkit-progress-value { background: var(--lc-action); border-radius: 6px; }
html body.mc-app.learner-today .lc-daily-progress::-moz-progress-bar { background: var(--lc-action); }
html body.mc-app.learner-today :is(.splash-plan-copy, .splash-plan-date, .splash-plan-streak, .splash-resume-card > p) { margin: 8px 0; padding: 0; color: var(--lc-muted); background: none; border: 0; font-size: calc(13px * var(--lc-type-scale)); line-height: 1.5; text-align: left; }
html body.mc-app.learner-today .splash-plan-edit { margin: 10px 0 0; text-align: left; }
html body.mc-app.learner-today .splash-plan-date { display: block; text-align: left !important; width: auto; }
html body.mc-app.learner-today .splash-button--ghost { display: inline-flex; margin-top: 10px; background: var(--color-surface); border-color: var(--lc-rule); color: var(--lc-action); }
html body.mc-app.learner-today .splash-button--ghost:hover { background: var(--lc-fill); }
html body.mc-app.learner-today .splash-secondary { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
html body.mc-app.learner-today .splash-secondary a { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--lc-action); }
html body.mc-app.learner-today .splash-secondary strong { font-size: calc(13px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-secondary span { font-size: calc(12px * var(--lc-type-scale)); color: var(--lc-muted); }
html body.mc-app.learner-today :is(.splash-systems, .folio-recent) { grid-column: 1 / -1; margin: 0; padding: 8px 0 0; border-radius: 0; background: none; }
html body.mc-app.learner-today .splash-systems::before { content: none; }
html body.mc-app.learner-today :is(.splash-section-head, .folio-section-head) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
html body.mc-app.learner-today :is(.splash-section-head, .folio-section-head) h2 { margin: 0; font-size: calc(18px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-systems__meta { border: 0; background: none; padding: 0; color: var(--lc-muted); font: 500 calc(12px * var(--lc-type-scale))/1.4 var(--mc-body, sans-serif); letter-spacing: 0; text-transform: none; }
html body.mc-app.learner-today .splash-system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html body.mc-app.learner-today .splash-system-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; min-height: 104px; padding: 15px; border: 1px solid var(--lc-rule); border-radius: 8px; background: var(--color-surface); box-shadow: none; text-align: left; }
html body.mc-app.learner-today .splash-system-card:hover { border-color: var(--lc-action); background: var(--lc-fill); box-shadow: inset 3px 0 var(--lc-action) !important; }
html body.mc-app.learner-today .splash-system-card strong { color: var(--lc-ink); font-family: inherit; font-size: calc(15px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-system-card > span { color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); }
html body.mc-app.learner-today .splash-system-card .is-good { color: #31634a; }
html body.mc-app.learner-today .folio-list { border-top: 1px solid var(--lc-rule); }
html body.mc-app.learner-today .folio-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--lc-rule); background: none; color: var(--lc-ink); text-decoration: none; }
html body.mc-app.learner-today .folio-row > div { min-width: 0; }
html body.mc-app.learner-today .folio-row h3 { margin: 0 0 4px; color: var(--lc-action); font-size: calc(15px * var(--lc-type-scale)); }
html body.mc-app.learner-today .folio-row:is(:hover, :focus-visible) h3 { text-decoration: underline; text-underline-offset: 3px; }
html body.mc-app.learner-today .folio-row p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; font-size: calc(14px * var(--lc-type-scale)); line-height: 1.5; color: var(--lc-muted); }
html body.mc-app.learner-today .folio-row time { margin: 0; font-size: calc(12px * var(--lc-type-scale)); color: var(--lc-muted); }
html body.mc-app.learner-today .folio-row__value { display: flex; flex: none; flex-direction: column; gap: 4px; text-align: right; font-size: calc(14px * var(--lc-type-scale)); }

/* Learning supplies teaching; Review returns to the learner’s own study record. */
html body.mc-app.learner-catalogue .study-directory { display: grid; grid-template-columns: 1fr; gap: 0; }
html body.mc-app.learner-catalogue .study-directory__group { display: block; margin: 0 0 28px; padding: 0; border: 0; }
html body.mc-app.learner-catalogue .study-directory__heading { display: block; padding: 0 0 14px; margin: 0; border-bottom: 1px solid var(--lc-rule); }
html body.mc-app.learner-catalogue .study-directory__heading h2 { margin: 0 0 4px; }
html body.mc-app.learner-catalogue .study-directory__heading p { margin: 0; font-size: calc(14px * var(--lc-type-scale)); color: var(--lc-muted); }
html body.mc-app.learner-catalogue .study-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 0; margin: 0; padding: 22px 0 !important; border: 0 !important; border-bottom: 1px solid var(--lc-rule) !important; border-radius: 0 !important; background: var(--color-surface) !important; box-shadow: none !important; text-decoration: none; }
html body.mc-app.learner-catalogue .study-row > div { min-width: 0; }
html body.mc-app.learner-catalogue .study-row::before,
html body.mc-app.learner-catalogue .study-row::after { content: none; }
html body.mc-app.learner-catalogue .study-row .led-name { margin: 0 0 6px; color: var(--lc-action); }
html body.mc-app.learner-catalogue .study-row .led-desc { max-width: 70ch; margin: 0; font-size: calc(15px * var(--lc-type-scale)); line-height: 1.5; color: var(--lc-muted); }
html body.mc-app.learner-catalogue .study-row .led-val { flex: none; grid-column: auto; text-align: left; }
html body.mc-app.learner-catalogue .study-row .vd-meta { padding: 0; background: none; font-size: calc(13px * var(--lc-type-scale)) !important; font-weight: 500; color: var(--lc-muted) !important; text-transform: none !important; letter-spacing: 0 !important; }
html body.mc-app.learner-catalogue .study-row:hover .led-name { text-decoration: underline; text-underline-offset: 3px; }
html body.mc-app.learner-learning .study-row { gap: 18px; }
html body.mc-app.learner-learning .study-row > div { flex: 1; }
html body.mc-app.learner-learning .lc-resource-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; align-self: flex-start; border: 1px solid var(--lc-rule); border-radius: 10px; background: var(--lc-fill); color: var(--lc-ink); transition: color 150ms, background-color 150ms, border-color 150ms; }
html body.mc-app.learner-learning .lc-resource-mark .mc-icon { width: 23px; height: 23px; }
html body.mc-app.learner-learning .study-row:is(:hover, :focus-visible) .lc-resource-mark { border-color: var(--lc-action); background: var(--lc-selected); color: var(--lc-action); }
html body.mc-app.learner-learning .study-row .led-val { display: flex; align-items: center; gap: 14px; max-width: 29%; }
html body.mc-app.learner-learning .lc-resource-arrow { width: 18px; height: 18px; color: var(--lc-action); }

@media (prefers-reduced-motion: no-preference) {
  html body.mc-app.learner-catalogue :is(.av-head, .lc-page-head, .folio-today__intro) { animation: mc-panel-enter 220ms var(--mc-ease-out); }
  html body.mc-app.learner-learning .lc-resource-arrow { transition: translate 150ms var(--mc-ease-out); }
  html body.mc-app.learner-learning .study-row:hover .lc-resource-arrow { translate: 3px 0; }
}

@media (max-width: 760px) {
  html body.mc-app.learner-learning .study-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; }
  html body.mc-app.learner-learning .lc-resource-mark { width: 38px; height: 38px; }
  html body.mc-app.learner-learning .study-row .led-val { grid-column: 2; justify-content: space-between; max-width: none; width: 100%; }
  html body.mc-app.learner-today .splash-recommendation { padding: 22px; }
}
html body.mc-app.learner-catalogue .lc-directory-note { margin: 24px 0 0; color: var(--lc-muted); font-size: calc(15px * var(--lc-type-scale)); line-height: 1.5; }
html body.mc-app.learner-catalogue .lc-directory-note a { color: var(--lc-action); text-underline-offset: 3px; }

/* Account navigation stays fully visible at narrow widths. */
html body.mc-app.learner-account .ac-wrap { padding: 30px 32px 48px; background: var(--color-bg); }
html body.mc-app.learner-account .ac-inner { max-width: 960px; margin: 0 auto; padding: 0; padding-inline: 0 !important; }
html body.mc-app.learner-account .ac-lede { color: var(--lc-muted); font-size: calc(15px * var(--lc-type-scale)); line-height: 1.55; }
html body.mc-app.learner-account .ac-quicknav { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; overflow: visible; margin: 20px 0 0; padding: 8px 0; border: 0; border-bottom: 1px solid var(--lc-rule); border-radius: 0; background: var(--color-bg); box-shadow: none; }
html body.mc-app.learner-account .ac-quicknav a { min-height: 40px; padding: 4px 0; color: var(--lc-action); border-radius: 0; font-size: calc(14px * var(--lc-type-scale)); }
html body.mc-app.learner-account .ac-sec { display: block; margin-top: 30px; padding: 0; border: 0; }
html body.mc-app.learner-account .ac-sec-h { margin-bottom: 14px; padding: 0; border: 0 !important; color: var(--lc-ink) !important; font-size: calc(18px * var(--lc-type-scale)) !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none; scroll-margin-top: 100px; }
html body.mc-app.learner-account .ac-card { padding: 24px !important; border: 1px solid var(--lc-rule) !important; border-radius: 8px !important; box-shadow: none; }
html body.mc-app.learner-account .sub-name { font-size: calc(22px * var(--lc-type-scale)); font-weight: 650; line-height: 1.25; }
html body.mc-app.learner-catalogue :is(.lc-development, .lc-alternative) { padding: 24px; border: 1px solid var(--lc-rule); border-radius: 10px; background: var(--lc-fill); }
html body.mc-app.learner-catalogue .lc-development { max-width: 860px; }
html body.mc-app.learner-catalogue .lc-development h2 { margin: 16px 0 10px; font-size: calc(20px * var(--lc-type-scale)); }
html body.mc-app.learner-catalogue :is(.lc-development, .lc-alternative) p { max-width: 75ch; color: var(--lc-muted); font-size: calc(14px * var(--lc-type-scale)); line-height: 1.6; }
html body.mc-app.learner-catalogue .lc-status { display: inline-flex; padding: 4px 9px; border-radius: 5px; background: #eceff2; color: #52616e; font-size: calc(12px * var(--lc-type-scale)); font-weight: 550; }
html body.mc-app.learner-catalogue .lc-module-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
html body.mc-app.learner-catalogue .lc-module-list li { padding: 8px 12px; border: 1px solid var(--lc-rule); border-radius: 6px; background: var(--color-surface); color: var(--lc-ink); font-size: calc(13px * var(--lc-type-scale)); }
html body.mc-app.learner-catalogue .lc-development .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
html body.mc-app.learner-papers .lc-alternative { display: flex; align-items: center; gap: 24px; max-width: 1176px; margin: 0 32px; }
html body.mc-app.learner-papers .lc-alternative h2 { margin: 0 0 8px; }
html body.mc-app.learner-papers .lc-alternative p { margin: 0; }
html body.mc-app.learner-papers .home .uploader { text-align: left; padding: 24px; background: var(--lc-fill); color: var(--lc-muted); border: 1px solid var(--lc-rule); border-radius: 8px; }

/* Viva keeps real candidate/examiner forms, codes and the server-rendered catalogue. */
html body.mc-app.learner-viva .viva-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 30px; }
html body.mc-app.learner-viva .viva-entry-card { min-height: 0; padding: 20px; border: 1px solid var(--lc-rule); border-radius: 9px; background: var(--lc-fill); box-shadow: none; }
html body.mc-app.learner-viva .viva-entry-kicker { margin: 0 0 5px; color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .viva-entry-card h2 { margin: 0 0 8px; font-size: calc(18px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .viva-entry-copy { max-width: 60ch; color: var(--lc-muted); font-size: calc(13px * var(--lc-type-scale)); line-height: 1.55; }
html body.mc-app.learner-viva .viva-entry-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
html body.mc-app.learner-viva .viva-entry-form label { color: var(--lc-ink); font-size: calc(12px * var(--lc-type-scale)); font-weight: 600; }
html body.mc-app.learner-viva .viva-entry-form :is(select, input) { min-width: 0; width: 100%; max-width: 100%; min-height: 40px; border: 1px solid #b5c0c8; border-radius: 6px; background: var(--color-surface); color: var(--lc-ink); font: inherit; font-size: calc(13px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .viva-entry-form button { align-self: flex-start; margin-top: 5px; }
html body.mc-app.learner-viva .viva-entry-message { margin: 10px 0 0; min-height: 0; color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .viva-entry-message.is-error { color: #a62e2e; }
html body.mc-app.learner-viva .viva-session-result { border-color: var(--lc-rule); background: var(--color-surface); }
html body.mc-app.learner-viva .homegroup { margin: 24px 0; }
html body.mc-app.learner-viva .vt-mockhead { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-bottom: 14px; }
html body.mc-app.learner-viva .vt-mockhead h2 { margin: 0; font-size: calc(18px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .vt-metarow { gap: 8px; margin: 0; }
html body.mc-app.learner-viva .vt-metachip { padding: 2px 0; border: 0; background: none; color: var(--lc-muted); font-size: calc(11px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html body.mc-app.learner-viva .cardgrid .card { min-height: 150px; padding: 18px; border: 1px solid var(--lc-rule); border-radius: 8px; background: var(--color-surface); box-shadow: none; }
html body.mc-app.learner-viva .cardgrid .card .t { margin: 0 0 8px; }
html body.mc-app.learner-viva .cardgrid .card .s { color: var(--lc-muted); font-size: calc(12px * var(--lc-type-scale)); line-height: 1.5; }
html body.mc-app.learner-viva .pill { color: var(--lc-muted); background: var(--lc-fill); border: 0; border-radius: 4px; font-size: calc(11px * var(--lc-type-scale)); }
html body.mc-app.learner-viva .pill.done { color: #31634a; background: #edf4ef; }
html body.mc-app.learner-viva .cardgrid .lockpanel { background: #f5f7f8ed; border-radius: 7px; }
html body.mc-app.learner-viva :is(.viva-entry-card, .cardgrid .card) { border-radius: 9px !important; box-shadow: none !important; }
html body.mc-app.learner-viva .viva-entry-card { background: var(--lc-fill) !important; }
html body.mc-app.learner-viva .viva-entry-card::before { content: none; }
html body.mc-app.learner-viva .cardgrid .card .t { font-size: calc(16px * var(--lc-type-scale)) !important; line-height: 1.4 !important; }
html body.mc-app.learner-viva .viva-entry-form label { text-transform: none !important; letter-spacing: 0 !important; }

@media (max-width: 1100px) {
  html body.mc-app.learner-catalogue :is(.home, .av-main, .folio-today) { padding: 24px; padding-inline: 24px !important; }
  html body.mc-app.learner-papers .lc-alternative { margin-inline: 24px; }
}
@media (max-width: 760px) {
  html body.mc-app.learner-catalogue :is(.home, .av-main, .folio-today) { padding: 22px 16px; padding-inline: 16px !important; }
  html body.mc-app.learner-catalogue .lc-page-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  html body.mc-app.learner-today #dash { grid-template-columns: 1fr; gap: 16px; }
  html body.mc-app.learner-today :is(.splash-recommendation, .splash-metrics) { grid-column: 1; }
  html body.mc-app.learner-today .splash-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body.mc-app.learner-today .splash-metric { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; border-bottom: 0; border-right: 1px solid var(--lc-rule); }
  html body.mc-app.learner-today .splash-metric:last-child { border-right: 0; }
  html body.mc-app.learner-today .splash-metric dt { min-height: 34px; font-size: calc(11px * var(--lc-type-scale)); }
  html body.mc-app.learner-today .splash-metric dd { font-size: calc(20px * var(--lc-type-scale)); }
  html body.mc-app.learner-today .splash-metric small { display: none; }
  html body.mc-app.learner-today .splash-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.mc-app.learner-today .splash-plan-grid { grid-template-columns: 1fr; gap: 12px; }
  html body.mc-app.learner-today .splash-arena-entry { padding: 14px; }
  html body.mc-app.learner-today .splash-arena-entry__copy p { font-size: calc(12px * var(--lc-type-scale)); }
  html body.mc-app.learner-today .splash-arena-entry__action { max-width: 125px; white-space: normal; font-size: calc(12px * var(--lc-type-scale)); }
  html body.mc-app.learner-catalogue .study-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  html body.mc-app.learner-account .ac-wrap { padding: 24px 16px 40px; }
  html body.mc-app.learner-account .ac-card { padding: 18px !important; }
  html body.mc-app.learner-papers .lc-alternative { margin-inline: 16px; flex-direction: column; align-items: flex-start; gap: 16px; }
  html body.mc-app.learner-viva .viva-entry { grid-template-columns: 1fr; }
  html body.mc-app.learner-viva .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  html body.mc-app.learner-catalogue .lc-section-head { align-items: flex-start; gap: 8px; }
  html body.mc-app.learner-viva .cardgrid { grid-template-columns: 1fr; }
  html body.mc-app.learner-today .splash-recommendation { padding: 20px; }
  html body.mc-app.learner-today .splash-section-head { align-items: flex-start; }
  html body.mc-app.learner-today .splash-systems__meta { max-width: 100px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  html body.mc-app.learner-catalogue :is(a, button, input, select, .system-disclosure)::before,
  html body.mc-app.learner-catalogue :is(a, button, input, select) { transition: none !important; animation: none !important; }
}

html body.mc-app.learner-review #review-next { margin: 16px 0 26px; padding: 18px 0; border-block: 1px solid #cdd7d4; }
html body.mc-app.learner-review #review-next h2 { font-size: 18px; margin: 0 0 10px; }
html body.mc-app.learner-review #review-next a { display: inline-flex; align-items: center; min-height: 44px; color: #96331f; }
html body.mc-app.learner-today .folio-row p { max-width: 65ch; }
