/* Shared readable palette for teacher, student, and public screens. */
@font-face { font-family: Inter; src: url('vendor/inter/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --ink: #202c3b; --muted: #43566c; --line: #c4d0dd; --canvas: #f4f7fb; --blue-dark: #235882; --green: #21633f; --orange: #805000; --red: #a33232; --public-blue: #285f8d; --public-text: #43566c; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body { color: var(--ink); }
body .brand-subtitle,
body .workspace-label,
body .nav-link,
body .nav-count,
body .sidebar-note .icon,
body .avatar,
body .avatar.peach,
body .avatar.lilac,
body .avatar.mint,
body .avatar.sky,
body .avatar.rose,
body .avatar.sand,
body .breadcrumb,
body .today,
body .demo-badge,
body .eyebrow,
body .btn-ghost,
body .btn-icon,
body .text-link,
body .welcome-banner .eyebrow,
body .welcome-banner p,
body .welcome-banner .btn,
body .quick-icon,
body .quick-action>.icon,
body .metric-top,
body .metric-top .icon,
body .metric-bottom,
body .segmented button,
body .chart-summary span,
body .chart-legend,
body .activity-copy p,
body .activity-time,
body th,
body .person-sub,
body .badge,
body .badge.neutral,
body .badge.blue,
body .subject-label,
body .card-footer,
body .app-footer,
body .footer-logo,
body .test-symbol,
body .mini-test p,
body .search>.icon,
body .field-input::placeholder,
body .field-textarea::placeholder,
body .field small,
body .filter-count,
body .empty .empty-icon,
body .student-statline,
body .student-statline strong,
body .tab,
body .tab.active,
body .question-id,
body .question-type,
body .answer-preview,
body .answer-preview strong,
body .question-options,
body .subject-menu button,
body .subject-menu button:hover,
body .subject-menu button.active,
body .subject-menu small,
body .test-card p,
body .test-card-meta,
body .new-test-card,
body .new-test-card span,
body .number-box,
body .summary-line,
body .helper-card,
body .helper-card strong,
body .add-placeholder,
body .note,
body .note .icon,
body .note.warning,
body .answer-comparison small,
body .result-stat span,
body .detail-header p,
body .setting-row p,
body .code-box p,
body .preview-label,
body .student-nav>a,
body .student-nav>a.active,
body .student-profile small,
body .student-footer,
body .login-intro .eyebrow,
body .login-intro h1 span,
body .login-intro>p,
body .login-card>p,
body .demo-help,
body .demo-fill,
body .test-landing .eyebrow,
body .test-landing>p,
body .landing-icon,
body .landing-fact,
body .landing-fact>.icon,
body .landing-fact strong,
body .landing-start>small,
body .test-rule,
body .test-rule .icon,
body .test-rule strong,
body .student-test-title,
body .test-progress-head,
body .question-nav button,
body .question-nav button.answered,
body .answer-area .field-label,
body .answer-hint,
body .answer-choice,
body .match-grid,
body .save-status,
body .result-icon,
body .result-hero>p,
body .result-score small,
body .result-message,
body .history-head p,
body .history-card p,
body .history-score small,
body .return-link,
body .site-identity,
body .site-identity strong,
body .errorlist,
body .notice,
body .notice.error,
body .solution-details,
body .question-step,
body .save-status.error,
body .choice-row-action:last-child,
body .choice-builder-error,
body .choice-bulk>summary,
body #choice-preview-options:empty:after { color: #43566c; }

body .btn { font-weight: 650; }
body .btn-primary, body .welcome-banner .btn-primary { background: #346898; border-color: #346898; color: #fff; }
body .btn-primary:hover, body .welcome-banner .btn-primary:hover { background: #24547f; border-color: #24547f; color: #fff; }
body .btn-dark { color: #fff; background: #243e59; border-color: #243e59; }
body .btn-outline, body .btn-ghost { color: #24547f; border-color: #8299b3; background: #fff; }
body .btn-outline:hover, body .btn-ghost:hover { background: #e8eff7; border-color: #346898; color: #174a77; }
body .btn:disabled, body .btn-icon:disabled { opacity: .55; cursor: not-allowed; }
body .field-input, body .field-select, body .field-textarea, body .entrance-field input { color: #202c3b; border-color: #7f94ac; background-color: #fff; }
body .field-input::placeholder, body .field-textarea::placeholder, body .entrance-field input::placeholder { color: #596d83; opacity: 1; }
body .field-input:focus, body .field-select:focus, body .field-textarea:focus, body .entrance-field input:focus { outline: 3px solid #2e6ba233; outline-offset: 1px; border-color: #245f94; box-shadow: none; }
body a:focus-visible, body button:focus-visible, body [tabindex]:focus-visible { outline: 3px solid #245f94; outline-offset: 4px; }
body .card { border-color: #bdcad9; }
body .chart text { fill: #43566c; }
body .chart polyline, body .chart circle { stroke: #285f8d; }
body .chart line { stroke: #c4d0dd; }
body .badge { background: #e7eef6; color: #38516a; font-weight: 650; }
body .badge.neutral, body .badge.blue { background: #e9eff6; color: #38516a; }
body .badge.success { background: #dff0e5; color: #21633f; }
body .badge.warning, body .note.warning { background: #fff0cd; color: #805000; }
body .badge.danger, body .notice.error, body .errorlist, body .choice-builder-error { color: #9f302b; background: #fce8e6; border-color: #c97872; }
body .notice { color: #21633f; border-color: #7cae8d; }
body .field input[type=checkbox], body .pick-question > input, body .choice-row-correct > input { accent-color: #245f94; }
body .group-options label { border-color: #8b9fb5; }
body .nav-link.active { background: #dce9f5; color: #204d78; border-color: #5a83a9; }
body .tab.active { color: #204d78; border-color: #346898; }
body .progress-fill, body .test-progress-fill { background: #346898; }
body .test-progress-track { background: #d4deea; }
body .student-topbar { height: 66px; padding: 0 max(28px, calc((100vw - 950px)/2)); border-color: #c4d0dd; }
body .student-topbar .brand { gap: 10px; }
body .student-topbar .brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.6px; white-space: nowrap; }
body .student-topbar .brand-second-line { display: inline; margin-left: .24em; }
body .student-brand-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #346898; flex-shrink: 0; }
body .student-brand-icon img { filter: brightness(0) invert(1); }
body .student-nav > a { color: #43566c; font-size: 13px; font-weight: 650; }
body .student-nav .btn { font-size: 12px; min-height: 34px; padding: 7px 13px; border: 1px solid #8299b3; border-radius: 9px; }
body .student-nav .avatar { color: #24547f; background: #e1edf8; font-weight: 700; }
body .student-main.narrow { max-width: 860px; }
body .student-test-title { font-size: 14px; font-weight: 600; color: #43566c; line-height: 1.6; }
body .return-link { font-size: 13px; color: #24547f; font-weight: 600; }
body .run-card .question-body { font-size: 17px; line-height: 1.85; color: #202c3b; }
body .run-card .question-type { color: #43566c; font-size: 12px; }
body .run-card .badge { font-size: 11px; }
body .run-card .answer-area { font-size: 14px; }
body .run-card .answer-area .field > span, body .run-card .answer-area label.field > span { color: #202c3b; font-size: 14px; font-weight: 650; }
body .answer-area .field > label.answer-choice { font-size: 15px; color: #26394b; border: 1px solid #8196ad; padding: 14px 16px; background: #fff; }
body .answer-area .field > label.answer-choice:hover { border-color: #346898; background: #f1f6fc; }
body .answer-area .field > label.answer-choice:has(input:checked) { border: 2px solid #285f8d; padding: 13px 15px; background: #e4eef9; color: #173f65; }
body .answer-area .field > label.answer-choice:has(input:focus-visible) { outline: 3px solid #245f94; outline-offset: 3px; }
body .answer-choice input { accent-color: #285f8d; }
body .answer-hint { font-size: 12px; line-height: 1.7; color: #43566c; }
body .match-grid { color: #26394b; font-size: 14px; }
body .match-grid .field-select { font-size: 14px; min-height: 44px; }
body .save-status { color: #21633f; font-size: 12px; font-weight: 650; }
body .save-status.pending { color: #805000; }
body .save-status.error { color: #a33232; }
body .test-progress-head { color: #43566c; font-size: 12px; }
body .question-step { color: #43566c; border-color: #8299b3; min-width: 38px; min-height: 38px; font-size: 13px; font-weight: 650; }
body .question-step.answered { color: #1f593e; border-color: #54876a; background: #e5f2e9; box-shadow: inset 0 -3px #39734e; }
body .question-step.current { color: #fff; background: #346898; border-color: #244f76; box-shadow: none; }
body .question-step.current.answered { box-shadow: inset 0 -3px #fff; }
body .test-navigation .btn { min-height: 44px; font-size: 14px; }
body .numeric-answer { border-width: 1.5px; font-size: 18px; min-height: 48px; }
body .answer-comparison small { opacity: 1; }
body .answer-comparison > .answer-correct { color: #205c3c; border-color: #568c69; }
body .answer-comparison > .answer-incorrect { color: #913c37; border-color: #bb625c; }
body .answer-comparison > .answer-partial { color: #785319; border-color: #aa8344; }
body .entrance-card { border-color: #b2c3d5; }
body .public-role-link { border-color: #8299b3; }
body .entrance-submit { background: #285f8d; color: #fff; }
body .entrance-field input { border-width: 1.5px; }
body .entrance-field-help, body .entrance-help { color: #43566c; }
@media(max-width:720px) {
  body .student-topbar { padding: 0 16px; gap: 10px; }
  body .student-topbar .brand-name { font-size: 17px; }
  body .student-brand-icon { width: 27px; height: 27px; border-radius: 7px; }
  body .student-brand-icon img { width: 20px; height: 20px; }
  body .student-nav { gap: 11px; }
  body .student-nav > a { font-size: 12px; }
  body .student-nav .btn { padding: 7px 10px; font-size: 11px; }
  body .run-card .question-body { font-size: 16px; line-height: 1.85; }
  body .student-main .page-heading .save-status { font-size: 11px; max-width: 125px; }
  body .answer-area .field > label.answer-choice { padding: 13px; font-size: 14px; }
  body .answer-area .field > label.answer-choice:has(input:checked) { padding: 12px; }
  body .question-step { min-width: 38px; min-height: 38px; }
}
@media(max-width:380px) {
  body .student-brand-icon, body .student-nav .avatar { display: none; }
  body .student-nav { gap: 8px; }
  body .student-topbar .brand-name { font-size: 16px; }
}
