:root {
  color-scheme: light;
  --mvp-canvas: #f3f6fa;
  --mvp-surface: #fff;
  --mvp-ink: #18263a;
  --mvp-muted: #53647a;
  --mvp-line: #d8e2ee;
  --mvp-accent: #1d5c9c;
  --mvp-accent-hover: #164979;
  --mvp-accent-light: #edf5ff;
  --mvp-data: #265985;
  --mvp-data-light: #eaf2fa;
  --mvp-danger: #a12d38;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--mvp-canvas); }
body { margin: 0; color: var(--mvp-ink); font: 16px/1.6 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--mvp-accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #3c7cc0; outline-offset: 3px; }
h1, h2, h3, p, dl { margin: 0; }
h1 { font-size: clamp(1.5rem, 4vw, 2.05rem); line-height: 1.24; letter-spacing: -.018em; overflow-wrap: anywhere; }
h2 { font-size: 1.19rem; line-height: 1.42; }
h3 { font-size: 1.08rem; line-height: 1.48; }
.mvp-muted { color: var(--mvp-muted); }
.mvp-context { margin-bottom: 5px; color: var(--mvp-accent); font-weight: 650; font-size: .88rem; }
.mvp-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mvp-skip { position: fixed; z-index: 8; top: 10px; left: 10px; padding: 8px 12px; transform: translateY(-160%); background: white; }
.mvp-skip:focus { transform: translateY(0); }

.mvp-header { position: sticky; z-index: 5; top: 0; min-height: 64px; background: var(--mvp-surface); border-bottom: 1px solid var(--mvp-line); }
.mvp-header-inner, .mvp-main { width: min(1112px, 100%); margin: 0 auto; padding-inline: clamp(16px, 4vw, 34px); }
.mvp-header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mvp-system-title { color: var(--mvp-ink); font-size: 1.03rem; font-weight: 720; line-height: 1.22; text-decoration: none; }
.mvp-header-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 24px); white-space: nowrap; }
.mvp-header-actions a, .mvp-link { color: var(--mvp-muted); text-decoration: none; font-size: .87rem; }
.mvp-link { padding: 6px 0; border: 0; background: none; cursor: pointer; }
.mvp-header-actions a:hover, .mvp-link:hover { color: var(--mvp-accent); text-decoration: underline; }
.mvp-main { padding-top: clamp(22px, 5vw, 51px); padding-bottom: 55px; }
.mvp-heading { margin-bottom: 25px; }
.mvp-heading > .mvp-muted { margin-top: 8px; }
.mvp-narrow { max-width: 650px; margin-inline: auto; }
.mvp-card { min-width: 0; padding: clamp(16px, 4vw, 26px); border: 1px solid var(--mvp-line); border-radius: 10px; background: var(--mvp-surface); }
.mvp-empty { padding-block: 40px; text-align: center; color: var(--mvp-muted); }
.mvp-empty h2 { font-size: 1rem; }
.mvp-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mvp-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 8px; font-size: .91rem; font-weight: 660; line-height: 1.4; text-decoration: none; cursor: pointer; }
.mvp-button:disabled { opacity: .46; cursor: default; }
.mvp-primary { background: var(--mvp-accent); color: #fff; }
.mvp-primary:hover:not(:disabled) { background: var(--mvp-accent-hover); }
.mvp-secondary { background: var(--mvp-surface); color: var(--mvp-accent); border-color: var(--mvp-line); }
.mvp-secondary:hover:not(:disabled) { background: var(--mvp-accent-light); }
.mvp-messages { display: grid; gap: 8px; margin-bottom: 18px; }
.mvp-message { padding: 10px 14px; border: 1px solid var(--mvp-line); border-radius: 8px; background: var(--mvp-accent-light); }
.mvp-message-error { border-color: #eec6cb; background: #fff0f0; color: var(--mvp-danger); }
.mvp-message-warning { border-color: #e8d4b0; background: #fff8e9; color: #6e4a1f; }
.mvp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--mvp-muted); font-size: .86rem; }
.mvp-form { display: grid; gap: 14px; }
.mvp-form label, .mvp-answer-label { display: block; margin-bottom: 5px; font-weight: 650; }
.mvp-form input:not([type="checkbox"]):not([type="radio"]), .mvp-form select, .mvp-form textarea, .mvp-question textarea { width: 100%; min-height: 43px; border-radius: 8px; border: 1px solid #bac9db; padding: 8px 11px; background: #f9fbfd; color: var(--mvp-ink); }
.mvp-form textarea, .mvp-question textarea { resize: vertical; }
.mvp-form .helptext { display: block; color: var(--mvp-muted); font-size: .83rem; }
.mvp-form .errorlist { margin: 0; padding-left: 1.3em; color: var(--mvp-danger); font-size: .9rem; }
.mvp-form .mvp-word-drop { position: relative; display: grid; justify-items: center; gap: 3px; padding: 18px 14px; margin: 0; border: 1px dashed #9ab3d0; border-radius: 10px; background: #f7faff; color: var(--mvp-ink); text-align: center; cursor: pointer; }
.mvp-word-drop span, .mvp-word-drop small { color: var(--mvp-muted); font-weight: 400; }
.mvp-word-drop:hover, .mvp-word-drop:focus-within, .mvp-word-drop.is-dragging { border-color: var(--mvp-accent); background: var(--mvp-accent-light); }
.mvp-word-drop:focus-within { outline: 2px solid var(--mvp-accent); outline-offset: 2px; }
.mvp-form [data-word-upload-ready] .mvp-word-drop input[type="file"] { position: absolute; inset: 0; height: 100%; opacity: 0; cursor: pointer; }
.mvp-word-upload-status { margin: 7px 0 0; color: var(--mvp-muted); font-size: .9rem; overflow-wrap: anywhere; }
.mvp-word-upload-status:empty { margin: 0; }
.mvp-word-upload-status.is-error { color: var(--mvp-danger); }
.mvp-main > .mvp-card + .mvp-card, .mvp-main > .mvp-actions + .mvp-card { margin-top: 14px; }
.mvp-main > .mvp-card > h2:first-child { margin-bottom: 12px; }
.mvp-main > .mvp-card > details { padding-block: 8px; border-bottom: 1px solid var(--mvp-line); }
.mvp-main > .mvp-card > details > summary { cursor: pointer; }
.mvp-main > .mvp-card > details > p { margin: 6px 0 0 18px; }
.mvp-login { max-width: 470px; }
.mvp-sms-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.mvp-sms-row .mvp-button { white-space: nowrap; }

.mvp-subject-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 24px); }
.mvp-subject-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 148px; padding: clamp(18px, 5vw, 36px); border: 1px solid var(--mvp-line); border-radius: 10px; color: var(--mvp-accent); background: var(--mvp-surface); text-decoration: none; }
.mvp-subject-geography { color: var(--mvp-data); background: var(--mvp-data-light); }
.mvp-subject-card:hover { border-color: currentColor; }
.mvp-subject-card h2 { font-size: clamp(1.55rem, 5vw, 2.15rem); }
.mvp-subject-card p { margin-top: 6px; color: var(--mvp-muted); font-size: .91rem; }
.mvp-subject-arrow { display: grid; align-items: center; justify-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 1.2rem; }
.mvp-subject-back { display: inline-block; margin-bottom: 10px; color: var(--mvp-muted); font-size: .88rem; }
.mvp-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.mvp-catalog-heading .mvp-muted { margin-top: 8px; }
.mvp-catalog-membership { color: var(--mvp-accent); font-size: .88rem; }
.mvp-catalog-section-title { margin-bottom: 12px; }
.mvp-catalog-section-title small { margin-left: 6px; color: var(--mvp-muted); font-size: .82rem; font-weight: 500; }
.mvp-paper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.mvp-paper-card { display: flex; flex-direction: column; align-items: start; gap: 12px; min-height: 218px; }
.mvp-paper-subject { color: var(--mvp-accent); font-size: .86rem; font-weight: 700; }
.mvp-paper-card h3 { overflow-wrap: anywhere; }
.mvp-paper-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; padding-block: 12px; border-block: 1px solid var(--mvp-line); }
.mvp-paper-facts dd { margin: 0; font-weight: 670; font-variant-numeric: tabular-nums; }
.mvp-paper-facts dt { color: var(--mvp-muted); font-size: .79rem; }
.mvp-paper-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; }
.mvp-result-link { padding-block: 7px; font-size: .87rem; }
.mvp-locked-section, .mvp-catalog-history { margin-top: 30px; scroll-margin-top: 80px; }
.mvp-locked-surface { display: grid; grid-template-areas: "overlay"; place-items: center; min-height: 238px; overflow: hidden; padding: 18px; border: 1px solid var(--mvp-line); border-radius: 10px; background: #eaf0f8; }
.mvp-locked-previews { grid-area: overlay; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; width: 100%; opacity: .56; filter: blur(5px); pointer-events: none; user-select: none; }
.mvp-locked-preview { display: grid; align-content: center; gap: 9px; min-height: 112px; }
.mvp-locked-paper-title { overflow-wrap: anywhere; font-weight: 700; }
.mvp-membership-prompt { z-index: 1; grid-area: overlay; display: grid; justify-items: center; gap: 9px; width: min(340px, 100%); padding: 16px; border: 1px solid #d4dfed; border-radius: 9px; background: #fff; text-align: center; box-shadow: 0 6px 26px #23446812; }
.mvp-membership-prompt p { color: var(--mvp-muted); font-size: .84rem; }
.mvp-membership-qr, .mvp-qr-placeholder { width: 112px; height: 112px; border: 1px solid var(--mvp-line); border-radius: 5px; }
.mvp-membership-qr { object-fit: contain; padding: 4px; }
.mvp-qr-placeholder { display: grid; place-items: center; border-style: dashed; background: var(--mvp-canvas); color: var(--mvp-muted); font-size: .82rem; }
.mvp-history-list { display: grid; gap: 10px; }
.mvp-history-item { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding: 10px 15px; border: 1px solid var(--mvp-line); border-radius: 8px; background: var(--mvp-surface); overflow-wrap: anywhere; }

.mvp-take-heading { position: sticky; z-index: 4; top: 65px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; margin-top: -14px; margin-bottom: 12px; background: var(--mvp-canvas); }
.mvp-take-heading h1 { font-size: clamp(1.15rem, 3.3vw, 1.6rem); }
.mvp-clock { align-self: center; border-radius: 8px; padding: 5px 11px; background: var(--mvp-accent-light); color: var(--mvp-accent); font-size: clamp(1rem, 4vw, 1.25rem); font-weight: 750; font-variant-numeric: tabular-nums; }
.mvp-clock.is-urgent { background: #fff0f0; color: var(--mvp-danger); }
.mvp-runner { display: grid; grid-template-columns: minmax(0, 1fr) 244px; align-items: start; gap: 16px; }
.mvp-question-area { display: grid; gap: 14px; min-width: 0; }
.mvp-question { scroll-margin-top: 155px; }
.mvp-question h2 { margin-bottom: 13px; overflow-wrap: anywhere; }
.mvp-question h2:focus { outline: none; }
.mvp-question-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--mvp-muted); font-size: .84rem; font-weight: 650; margin-bottom: 12px; }
.mvp-material { margin-bottom: 13px; padding: 9px 12px; border-radius: 7px; background: var(--mvp-canvas); overflow-wrap: anywhere; }
.mvp-question-image { display: block; margin: 8px auto 14px 0; max-width: 100%; border: 1px solid var(--mvp-line); border-radius: 7px; height: auto; }
.mvp-drag-help { margin-bottom: 8px; color: var(--mvp-muted); font-size: .89rem; }
.mvp-drag-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.mvp-drag-label { padding: 6px 10px; min-height: 40px; border: 1px solid var(--mvp-line); border-radius: 7px; background: var(--mvp-surface); color: var(--mvp-ink); cursor: grab; user-select: none; }
.mvp-drag-label.is-placed { background: var(--mvp-canvas); color: var(--mvp-muted); }
.mvp-drag-label[aria-pressed="true"] { border-color: var(--mvp-accent); background: var(--mvp-accent-light); box-shadow: inset 0 0 0 1px var(--mvp-accent); color: var(--mvp-accent); }
.mvp-drag-map { display: block; position: relative; width: fit-content; max-width: 100%; border-radius: 7px; }
.mvp-drag-image-frame { overflow: hidden; border-radius: inherit; }
.mvp-drag-image-frame img { display: block; max-width: 100%; height: auto; user-select: none; }
.mvp-drag-map[data-drag-viewport]:not([data-map-ready]):not([data-map-error]) { visibility: hidden; }
.mvp-drag-map[data-map-ready] .mvp-drag-image-frame { position: absolute; inset: 0; }
.mvp-drag-map[data-map-ready] img { position: absolute; left: var(--map-image-left); top: var(--map-image-top); width: var(--map-image-width); max-width: none; }
.mvp-drag-map[data-map-error] .mvp-drag-target { display: none; }
.mvp-drag-target { position: absolute; top: calc(var(--target-top) + var(--target-height) / 2); left: calc(var(--target-left) + var(--target-width) / 2); width: var(--target-width); height: var(--target-height); min-width: 24px; min-height: 24px; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0 2px; border: 1px dashed var(--mvp-data); border-radius: 4px; background: #f7fbfff0; color: var(--mvp-data); font-size: clamp(.66rem, 2vw, .82rem); font-weight: 680; line-height: 1; }
button.mvp-drag-target { cursor: pointer; touch-action: manipulation; }
.mvp-drag-target span { display: block; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; }
.mvp-drag-target.is-filled { border-color: transparent; background: transparent; color: var(--mvp-accent); }
.mvp-drag-target.is-filled span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: min(9rem, 29vw); padding: 3px 5px; border: 1px solid var(--mvp-accent); border-radius: 5px; background: var(--mvp-accent-light); }
.mvp-drag-target:focus-visible { z-index: 1; outline-offset: 1px; }
.mvp-drag.is-placing .mvp-drag-target:hover { z-index: 1; box-shadow: inset 0 0 0 1px var(--mvp-data); }
.mvp-drag-review { margin-top: 8px; }
.mvp-options { margin: 0; padding: 0; min-width: 0; border: 0; display: grid; gap: 8px; }
.mvp-option { display: flex; align-items: start; gap: 9px; border: 1px solid var(--mvp-line); border-radius: 8px; padding: 9px 12px; cursor: pointer; }
.mvp-option:has(:checked) { border-color: var(--mvp-accent); background: var(--mvp-accent-light); }
.mvp-option input { margin: 5px 0 0; accent-color: var(--mvp-accent); flex: none; }
.mvp-option-key { flex: none; font-weight: 700; }
.mvp-option-text { min-width: 0; overflow-wrap: anywhere; }
.mvp-question-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; }
.mvp-answer-sheet { position: sticky; top: 150px; padding: 16px; }
.mvp-answer-sheet h2 { margin-bottom: 4px; }
.mvp-question-jumps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 11px; }
.mvp-question-jumps a { min-width: 0; height: 33px; border: 1px solid var(--mvp-line); border-radius: 6px; display: grid; place-items: center; font-size: .83rem; color: var(--mvp-muted); text-decoration: none; font-variant-numeric: tabular-nums; }
.mvp-question-jumps a.is-answered { background: var(--mvp-accent-light); border-color: #c1dccf; color: var(--mvp-accent); }
.mvp-question-jumps a[aria-current="step"] { border-color: var(--mvp-accent); color: var(--mvp-accent); box-shadow: inset 0 0 0 1px var(--mvp-accent); font-weight: 750; }
.mvp-save-status { margin-top: 12px; font-size: .81rem; color: var(--mvp-muted); }
.mvp-save-status.is-error { color: var(--mvp-danger); }
.mvp-retry-save { width: 100%; margin-top: 8px; }
.mvp-submit { width: 100%; margin-top: 13px; }
.mvp-modal { width: min(440px, calc(100% - 34px)); padding: 22px; border: 1px solid var(--mvp-line); border-radius: 13px; color: var(--mvp-ink); }
.mvp-modal::backdrop { background: rgba(14, 37, 31, .44); }
.mvp-modal p { color: var(--mvp-muted); margin-top: 7px; }
.mvp-modal-actions { justify-content: flex-end; margin-top: 18px; }

.mvp-result-summary { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.mvp-result-summary > a { flex: none; }
.mvp-result-grade { margin-top: 14px; color: var(--mvp-accent); font-size: 1.15rem; font-weight: 730; }
.mvp-result-summary .mvp-muted { margin-top: 5px; font-size: .87rem; }
.mvp-result-details { margin-top: 24px; }
.mvp-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin-bottom: 11px; }
.mvp-tabs { display: flex; gap: 5px; white-space: nowrap; }
.mvp-tabs a { padding: 6px 10px; border-radius: 7px; color: var(--mvp-muted); text-decoration: none; font-size: .86rem; }
.mvp-tabs a[aria-current="page"] { background: var(--mvp-accent-light); color: var(--mvp-accent); font-weight: 650; }
.mvp-review-list { display: grid; gap: 10px; }
.mvp-state { color: var(--mvp-muted); }
.mvp-state-correct { color: var(--mvp-accent); }
.mvp-state-wrong { color: var(--mvp-danger); }
.mvp-review-options { margin: 9px 0; padding: 0; list-style: none; }
.mvp-review-feedback { display: grid; gap: 8px; margin-top: 12px; background: var(--mvp-canvas); padding: 11px 13px; border-radius: 7px; }
.mvp-review-feedback > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 10px; }
.mvp-review-feedback dt { font-weight: 650; }
.mvp-review-feedback dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .mvp-runner { grid-template-columns: 1fr; }
  .mvp-answer-sheet { position: static; }
  .mvp-question-jumps { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .mvp-question-jumps a { height: 35px; }
  .mvp-result-summary { flex-direction: column; }
}

@media (max-width: 540px) {
  .mvp-subject-card { min-height: 112px; padding: 14px; gap: 8px; }
  .mvp-subject-arrow { width: 28px; height: 28px; font-size: 1rem; }
  .mvp-locked-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 370px) {
  .mvp-system-title { font-size: .9rem; }
  .mvp-header-actions { gap: 8px; }
  .mvp-question-jumps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.student-site-page {
  --mvp-canvas: #f2f5fa;
  --mvp-ink: #151515;
  --mvp-muted: #515a68;
  --mvp-line: #d7dfea;
  --mvp-accent: #1e66f5;
  --mvp-accent-hover: #154fc3;
  --mvp-accent-light: #edf4ff;
  --mvp-danger: #d91f25;
  --student-pane-bar: #f2f5fa;
  --student-verified: #187647;
  min-height: 100vh;
  background: var(--mvp-canvas);
}
.student-site-page .mvp-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 14px;
  width: 100%;
  min-height: clamp(64px, 9vh, 98px);
}
.student-site-page .mvp-system-title {
  grid-column: 2;
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  text-align: center;
}
.student-site-page .mvp-header-actions { grid-column: 3; justify-self: end; }
.student-site-page .mvp-main { padding-block: clamp(20px, 4.5vh, 45px) 46px; }
.student-site-page .mvp-card, .student-site-page .mvp-button { border-radius: 6px; }
.student-site-page .mvp-main h1 { font-size: clamp(1.28rem, 2.2vw, 1.62rem); }
.student-site-page .mvp-main .mvp-heading { margin-bottom: 16px; }

.student-login-page, .student-subject-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
:is(.student-login-page, .student-subject-page) .mvp-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: safe center;
  padding-block: clamp(16px, 3.5dvh, 34px);
}
.student-login-page .mvp-main { width: min(538px, 100%); }
.student-subject-page .mvp-main { width: min(862px, 100%); }
.student-site-page .mvp-login { width: 100%; padding: 0; }
.student-site-page .mvp-login > .mvp-heading {
  margin: 0;
  padding: 15px clamp(17px, 4vw, 24px);
  border-bottom: 1px solid var(--mvp-line);
  border-radius: 5px 5px 0 0;
  background: var(--student-pane-bar);
  text-align: center;
}
.student-site-page .mvp-login > .mvp-form, .student-site-page .mvp-login > p { padding: clamp(17px, 4vw, 24px); }
.student-site-page .mvp-login .mvp-form input { border-radius: 5px; background: var(--mvp-surface); }
.student-site-page .mvp-login input:is(:disabled, [readonly]) { background: var(--mvp-canvas); }
.mvp-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: clamp(17px, 4vw, 24px);
  margin-top: 14px;
  text-align: center;
}
.mvp-auth-tabs a { padding-block: 9px; }
.mvp-auth-link { justify-self: center; font-size: .88rem; }
.student-site-page .mvp-profile { max-width: 630px; }
.mvp-profile-phone { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--mvp-muted); font-size: .9rem; }
.mvp-profile-phone strong { color: var(--mvp-ink); font-variant-numeric: tabular-nums; }
.mvp-profile-avatar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.mvp-profile-avatar :is(img, .mvp-profile-avatar-placeholder) {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--mvp-line);
  border-radius: 50%;
  background: var(--mvp-accent-light);
  color: var(--mvp-accent);
  font-size: 1.55rem;
  object-fit: cover;
}
.mvp-profile-avatar input[type="file"] { min-width: 0; font-size: .88rem; }
.mvp-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mvp-profile-password { display: grid; gap: 14px; min-width: 0; margin: 5px 0 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--mvp-line); }
.mvp-profile-password legend { padding-right: 9px; font-weight: 650; }
.mvp-form .helptext ul { margin: 5px 0 0; padding-left: 1.25em; }

.student-site-page .mvp-subject-heading, .student-site-page .mvp-catalog-heading,
.student-site-page .mvp-catalog-section-title, .student-site-page .mvp-result-heading {
  padding: 11px clamp(13px, 3vw, 20px);
  border: 1px solid var(--mvp-line);
  border-radius: 5px;
  background: var(--student-pane-bar);
}
.student-site-page .mvp-subject-grid { gap: clamp(10px, 2vw, 20px); }
.student-site-page .mvp-subject-card {
  border-radius: 6px;
  background: var(--mvp-surface);
  color: var(--mvp-ink);
}
.student-site-page .mvp-subject-card:hover { border-color: var(--mvp-accent); background: var(--mvp-accent-light); }
.student-subject-page .mvp-subject-heading { text-align: center; }
.student-subject-page .mvp-subject-card { position: relative; justify-content: center; text-align: center; }
.student-site-page .mvp-subject-arrow {
  width: 1.65em;
  height: 1.65em;
  border: 1px solid var(--mvp-line);
  border-radius: 5px;
  color: var(--mvp-accent);
  font-size: 1.25rem;
  line-height: 1;
}
.student-subject-page .mvp-subject-arrow { position: absolute; inset-inline-end: clamp(12px, 2vw, 27px); }
.student-site-page .mvp-locked-surface { border-radius: 6px; background: var(--student-pane-bar); }
.student-site-page .mvp-membership-prompt { border-radius: 6px; box-shadow: none; }
.student-site-page .mvp-catalog-membership, .student-site-page .mvp-state-correct { color: var(--student-verified); }
.student-site-page .mvp-review-card .mvp-question-meta { padding-bottom: 7px; border-bottom: 1px solid var(--mvp-line); }
.student-site-page .mvp-review-feedback { border-radius: 5px; background: var(--student-pane-bar); }

@media (max-width: 540px) {
  .student-site-page .mvp-header-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 9px; }
  .student-login-page .mvp-header-inner { grid-template-columns: minmax(0, 1fr); }
  .student-site-page .mvp-system-title { grid-column: 1; text-align: left; font-size: 1.04rem; }
  .student-login-page .mvp-system-title { text-align: center; }
  .student-site-page .mvp-header-actions { grid-column: 2; }
  .student-site-page .mvp-result-heading { align-items: start; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .student-subject-page .mvp-subject-arrow { display: none; }
  .mvp-profile-fields { grid-template-columns: minmax(0, 1fr); }
}
