:root {
  color-scheme: light;
  --blue: #0057a8;
  --blue-dark: #073b6b;
  --gold: #d5a62c;
  --red: #bf2d24;
  --ink: #18212b;
  --muted: #657180;
  --line: #d8dee6;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --success: #18794e;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--soft); }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
a { color: var(--blue); }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: var(--surface); border-top: 4px solid var(--blue); border-bottom: 1px solid var(--line); }
.brand { color: var(--blue-dark); text-decoration: none; font-weight: 800; font-size: 19px; }.brand span { color: var(--red); }
.account { display: flex; align-items: center; gap: 18px; font-size: 14px; }.account form { margin: 0; }.account-nav { display: flex; align-items: center; gap: 12px; padding-right: 18px; border-right: 1px solid var(--line); }.account-nav a { text-decoration: none; font-weight: 700; }
.page { max-width: 1240px; margin: 0 auto; padding: 32px; }
h1, h2 { margin-top: 0; letter-spacing: 0; } h1 { font-size: 30px; } h2 { font-size: 19px; }
.eyebrow { margin: 0 0 7px; color: var(--blue); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.muted { color: var(--muted); }.compact { max-width: 540px; margin: 0; }.back { display: inline-block; margin-bottom: 20px; text-decoration: none; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.primary, .secondary, .text-button { border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 6px; font-weight: 700; }
.primary { color: #fff; background: var(--blue); }.primary:hover { background: var(--blue-dark); }.primary:disabled { cursor: not-allowed; background: #8393a3; }.secondary { color: var(--blue-dark); background: #e8f0f8; border: 1px solid #b9cbe0; }.text-button { min-height: auto; padding: 0; color: var(--blue); background: transparent; }.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.login-shell { min-height: calc(100vh - 128px); display: grid; place-items: center; }.login-panel { width: min(440px, 100%); background: #fff; padding: 34px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; }
.stack { display: grid; gap: 16px; }.stack label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
input, textarea, select { width: 100%; border: 1px solid #b9c2ce; border-radius: 5px; padding: 11px 12px; background: #fff; color: var(--ink); } input:focus, textarea:focus, select:focus { outline: 3px solid #c9e1f8; border-color: var(--blue); }
.registration-panel { width: min(720px, 100%); }.form-grid { display: grid; gap: 14px; }.form-grid.two-columns { grid-template-columns: 1fr 1fr; }.field-help { color: var(--muted); font-size: 11px; font-weight: 500; }.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }.privacy-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.form-fieldset { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 6px; }.form-fieldset legend { padding: 0 7px; font-weight: 750; }.form-fieldset > .field-help { display: block; margin: 0 0 13px; }.checkbox-line { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; font-weight: 650; cursor: pointer; }.checkbox-line input { width: 18px; height: 18px; margin: 0; }.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert { margin: 16px 0; padding: 12px 14px; background: #fff7df; border-left: 4px solid var(--gold); border-radius: 4px; }.alert.error, .run-result.error { background: #fff0ee; border-color: var(--red); }.run-result.success { background: #eaf7f0; border-color: var(--success); }
.module-list { display: grid; gap: 12px; }.track-heading { margin: 22px 0 2px; padding: 0 2px 8px; border-bottom: 2px solid var(--blue-dark); }.track-heading:first-child { margin-top: 0; }.track-heading h2 { margin: 0; font-size: 22px; }.module-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.module-index { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--blue-dark); border-radius: 5px; font-weight: 800; }.module-copy h2 { margin-bottom: 5px; }.module-copy p { margin: 0 0 14px; color: var(--muted); }.title-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.language-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 0 7px; color: var(--blue-dark); background: #e8f0f8; border: 1px solid #c8d8e8; border-radius: 4px; font-size: 11px; font-weight: 800; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 4px; font-size: 12px; font-weight: 800; white-space: nowrap; }.badge.ai { color: #064c37; background: #dff4e9; }.badge.control { color: #654800; background: #f8edc8; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; }.steps span { padding: 4px 8px; color: var(--muted); background: var(--soft); border-radius: 4px; font-size: 12px; }.steps .done { color: var(--success); background: #eaf7f0; }.steps .current { color: #fff; background: var(--blue); }
.focus-panel, .content-panel, .tutor-panel, .quiz-shell { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 26px; }.focus-panel { max-width: 760px; }.focus-panel.wide, .quiz-shell { max-width: 900px; }.learning-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .9fr); gap: 18px; align-items: start; }.content-panel hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }.tutor-panel { position: sticky; top: 20px; }
.code { font-family: "Cascadia Code", Consolas, monospace; line-height: 1.5; tab-size: 4; background: #101820; color: #eef5fb; border-color: #101820; }
.essay { min-height: 300px; resize: vertical; line-height: 1.65; background: #fff; }
.source-note { margin-top: 18px; padding: 12px 14px; color: #435160; background: #f3f6f9; border-left: 4px solid var(--gold); border-radius: 4px; font-size: 13px; line-height: 1.55; }
.schema-reference { margin-top: 18px; padding: 14px; background: #eef3f8; border-left: 4px solid var(--blue); border-radius: 4px; }.schema-reference strong { display: block; margin-bottom: 8px; }.schema-reference pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.5 "Cascadia Code", Consolas, monospace; }
.source-data { margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.source-data-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }.source-data-heading h3 { margin: 0; font-size: 17px; }.source-table-block + .source-table-block { margin-top: 18px; }.source-table-block h4 { margin: 0 0 7px; font-size: 14px; }.source-table-block h4 code { color: var(--blue-dark); }.source-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }.source-table { min-width: 520px; background: #fff; }.source-table th { vertical-align: bottom; }.source-table th code { display: block; color: var(--blue-dark); font-size: 13px; }.source-table th small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }.source-table td { font-family: "Cascadia Code", Consolas, monospace; }.source-table tbody tr:last-child td { border-bottom: 0; }
.learning-sequence { margin-top: 28px; }.learning-sequence-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.learning-sequence-heading h2 { margin-bottom: 0; }.learning-count { padding: 5px 9px; color: var(--blue-dark); background: #e8f0f8; border-radius: 4px; font-size: 12px; font-weight: 800; white-space: nowrap; }.learning-progress { height: 7px; margin: 14px 0 2px; overflow: hidden; background: #dfe6ed; border-radius: 4px; }.learning-progress span { display: block; height: 100%; background: var(--success); transition: width .2s ease; }.learning-block { padding: 23px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }.learning-block:last-child { border-bottom: 0; }.learning-block h3 { margin: 0 0 10px; font-size: 17px; }.learning-block > p { margin: 0; line-height: 1.65; }.learning-callout { padding: 14px 16px; background: #fff7df; border-left: 4px solid var(--gold); border-radius: 4px; }.learning-callout p { margin: 6px 0 0; line-height: 1.55; }.learning-figure { margin: 0; }.learning-figure img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }.learning-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }.checkpoint-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.checkpoint-label { display: block; margin-bottom: 6px; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }.required-label { padding: 4px 7px; color: #654800; background: #f8edc8; border-radius: 4px; font-size: 11px; font-weight: 800; white-space: nowrap; }.checkpoint-form { display: grid; gap: 12px; }.checkpoint-form .secondary { justify-self: start; }.checkpoint-options { display: grid; gap: 3px; margin: 0; padding: 0; border: 0; }.checkpoint-options legend { margin-bottom: 9px; padding: 0; font-weight: 750; line-height: 1.45; }.checkpoint-option { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; padding: 8px 9px; border-radius: 4px; cursor: pointer; font-weight: 400; }.checkpoint-option:hover { background: #f1f5f8; }.checkpoint-option input { width: auto; margin: 2px 0 0; }.checkpoint-options:disabled .checkpoint-option { cursor: default; }.checkpoint-options:disabled .checkpoint-option:hover { background: transparent; }.checkpoint-feedback { margin-top: 12px; padding: 12px 14px; border-left: 4px solid; border-radius: 4px; }.checkpoint-feedback.success { background: #eaf7f0; border-color: var(--success); }.checkpoint-feedback.retry { background: #fff7df; border-color: var(--gold); }.checkpoint-feedback p { margin: 5px 0; line-height: 1.5; }.checkpoint-feedback small { color: var(--muted); }
.learning-figure figcaption span { display: block; margin-top: 3px; }
#lab-workspace { scroll-margin-top: 20px; }
.run-result { margin-top: 18px; padding: 14px; border-left: 4px solid; border-radius: 4px; }.run-result pre { white-space: pre-wrap; margin: 10px 0 0; font-size: 13px; }
.tutor-panel.chat-mode { padding: 0; overflow: hidden; }
.tutor-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }.tutor-panel-header h2 { margin-bottom: 0; }
.tutor-status { display: grid; justify-items: end; gap: 6px; }.tutor-presence { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }.tutor-presence > span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px #e5f5ed; }.tutor-level { padding: 3px 7px; color: var(--blue-dark); background: #e8f0f8; border-radius: 4px; font-size: 11px; font-weight: 800; white-space: nowrap; }.tutor-level-name { max-width: 150px; color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; }
.hint-policy { padding: 13px 22px; color: #304254; background: #f5f8fb; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.45; }.hint-policy > strong { display: block; color: var(--blue-dark); font-size: 13px; }.hint-policy > p { margin: 5px 0 0; }.hint-policy details { margin-top: 8px; }.hint-policy summary { color: var(--blue); cursor: pointer; font-weight: 750; }.hint-policy ol { max-height: 220px; margin: 9px 0 0; padding-left: 23px; overflow-y: auto; }.hint-policy li { margin: 0 0 7px; padding: 3px 5px; }.hint-policy li.current { color: var(--blue-dark); background: #e8f0f8; border-radius: 4px; }.hint-policy .hint-grade-note { margin-top: 9px; padding-left: 10px; border-left: 3px solid var(--gold); }
.tutor-locked { padding: 6px 22px 16px; }
.chat-shell { display: flex; flex-direction: column; min-height: 430px; }
.chat-log { display: flex; flex-direction: column; gap: 18px; min-height: 280px; max-height: 490px; overflow-y: auto; padding: 20px 20px 16px; scroll-behavior: smooth; scrollbar-gutter: stable; }
.chat-turn { display: flex; gap: 10px; min-width: 0; font-size: 14px; }.user-turn { align-self: flex-end; display: block; max-width: 88%; }.assistant-turn { align-self: stretch; }
.message-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }.user-turn .message-meta { justify-content: flex-end; padding-right: 3px; }
.user-bubble { padding: 10px 13px; color: #10263a; background: #e7f1fb; border: 1px solid #c9ddef; border-radius: 8px 8px 2px 8px; }.user-bubble p, .assistant-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.assistant-avatar { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--blue-dark); border-radius: 50%; font-size: 10px; font-weight: 850; }.assistant-content { min-width: 0; flex: 1; }.assistant-message { color: var(--ink); }
.fallback-pill { padding: 2px 6px; color: #654800; background: #f8edc8; border-radius: 4px; font-size: 10px; }.chat-empty { align-items: flex-start; color: var(--muted); }.chat-empty strong { display: block; margin: 1px 0 6px; color: var(--ink); }.chat-empty p { margin: 0; line-height: 1.5; }
.chat-composer { margin: auto 16px 16px; background: #fff; border: 1px solid #b9c2ce; border-radius: 8px; box-shadow: 0 8px 24px rgba(24, 33, 43, .09); transition: border-color .15s ease, box-shadow .15s ease; }.chat-composer:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #c9e1f8, 0 8px 24px rgba(24, 33, 43, .09); }
.chat-input { min-height: 48px; max-height: 140px; resize: none; overflow-y: auto; padding: 14px 14px 5px; border: 0; border-radius: 8px; line-height: 1.45; }.chat-input:focus { outline: 0; border-color: transparent; }
.chat-composer-footer { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 5px 7px 7px 10px; }.chat-hint-button { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--blue-dark); background: #eef4fa; border: 1px solid #cbd9e7; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 750; }.chat-hint-button:hover { background: #e1edf8; }.chat-hint-button span { font-size: 18px; line-height: 1; }
.composer-hint { margin-left: auto; color: var(--muted); font-size: 10px; text-align: right; }.chat-send { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: #fff; background: var(--blue); border: 0; border-radius: 50%; cursor: pointer; font-size: 21px; font-weight: 800; }.chat-send:hover { background: var(--blue-dark); }.chat-send:disabled { cursor: wait; opacity: .55; }.chat-hint-button:disabled { cursor: not-allowed; opacity: .55; }.chat-composer.is-submitting .chat-hint-button:disabled { cursor: wait; }
.typing-dots { display: flex; align-items: center; gap: 4px; height: 24px; }.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: #7890a5; animation: typing-pulse 1.1s infinite ease-in-out; }.typing-dots span:nth-child(2) { animation-delay: .14s; }.typing-dots span:nth-child(3) { animation-delay: .28s; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@keyframes typing-pulse { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.quiz-form fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 16px; }.quiz-form legend { padding: 0 7px; font-weight: 750; }.option { display: flex !important; grid-template-columns: auto 1fr !important; gap: 10px !important; align-items: flex-start; padding: 7px 0; font-weight: 400 !important; }.option input { width: auto; margin-top: 3px; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.result-grid div { padding: 14px; background: var(--soft); border-radius: 5px; }.result-grid dt { color: var(--muted); font-size: 12px; }.result-grid dd { margin: 6px 0 0; font-size: 22px; font-weight: 800; }
.assessment-summary { display: grid; grid-template-columns: 150px 1fr; gap: 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }.assessment-score { min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; color: #fff; background: var(--blue-dark); border-radius: 7px; text-align: center; }.assessment-score span, .assessment-score small { font-size: 12px; }.assessment-score strong { margin: 7px 0; font-size: 54px; line-height: 1; }.assessment-copy h3 { margin: 0 0 10px; font-size: 16px; }.assessment-copy p, .assessment-rationale { white-space: pre-wrap; line-height: 1.6; }.final-grade { margin-top: 18px; padding: 16px; background: #eaf7f0; border-left: 4px solid var(--success); border-radius: 4px; }.final-grade span { color: var(--muted); font-size: 12px; }.final-grade strong { display: block; margin-top: 4px; font-size: 30px; }.final-grade p { margin-bottom: 0; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 7px; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } th { color: var(--blue-dark); background: #eef3f8; }
.table-action { font-weight: 750; text-decoration: none; }
.assessment-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); gap: 18px; align-items: start; }.assessment-panel, .review-panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.review-panel { position: sticky; top: 20px; }.assessment-heading { display: flex; justify-content: space-between; gap: 18px; }.grade-orbit { flex: 0 0 92px; height: 92px; display: grid; place-items: center; align-content: center; color: #fff; background: var(--blue-dark); border-radius: 50%; }.grade-orbit strong { font-size: 34px; line-height: 1; }.grade-orbit span { margin-top: 4px; font-size: 11px; }.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 22px 0; }.evidence-grid div { min-height: 92px; padding: 13px; background: var(--soft); border-radius: 5px; }.evidence-grid dt, .evidence-grid small { color: var(--muted); font-size: 11px; }.evidence-grid dd { margin: 6px 0 3px; font-weight: 800; overflow-wrap: anywhere; }.scoring-details, .run-audit { margin-top: 12px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }.scoring-details summary, .run-audit summary { color: var(--blue-dark); cursor: pointer; font-weight: 750; }.current-final { margin-bottom: 18px; padding: 14px; background: #eaf7f0; border-left: 4px solid var(--success); border-radius: 4px; }.current-final span, .current-final small { color: var(--muted); font-size: 11px; }.current-final strong { display: block; margin: 4px 0; font-size: 30px; }.current-final p { margin: 7px 0; line-height: 1.45; }.run-audit h3 { margin: 16px 0 7px; font-size: 14px; }.run-audit pre { max-height: 320px; overflow: auto; padding: 13px; color: #eef5fb; background: #101820; border-radius: 5px; white-space: pre-wrap; }.review-history { background: #fff; border: 1px solid var(--line); border-radius: 7px; }.review-history div { padding: 14px 16px; border-bottom: 1px solid var(--line); }.review-history div:last-child { border-bottom: 0; }.review-history time { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }.review-history p { margin: 6px 0 0; }
.heading-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }.success-notice { background: #eaf7f0; border-color: var(--success); }
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }.metric { min-height: 112px; display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 7px; }.metric span, .metric small { color: var(--muted); font-size: 12px; }.metric strong { margin: 8px 0 4px; color: var(--blue-dark); font-size: 28px; line-height: 1; }
.admin-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }.section-heading h2 { margin-bottom: 0; }.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.system-grid div { min-height: 104px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.system-grid div:nth-child(3n) { border-right: 0; }.system-grid div:nth-last-child(-n+3) { border-bottom: 0; }.system-grid dt, .system-grid small { color: var(--muted); font-size: 12px; }.system-grid dd { margin: 7px 0 4px; font-weight: 800; }
.admin-control-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr); gap: 14px; }.management-form { align-content: start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.management-form h3 { margin: 0; font-size: 16px; }.management-form .primary { justify-self: start; }.admin-subheading { margin: 24px 0 10px; font-size: 15px; }.compact-check { white-space: nowrap; }.table-wrap input, .table-wrap select { min-width: 120px; padding: 8px 9px; font-size: 12px; }
.account-filters { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(145px, .7fr)) auto; gap: 10px; align-items: end; margin-bottom: 8px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.account-filters label { display: grid; gap: 6px; color: var(--blue-dark); font-size: 12px; font-weight: 750; }.filter-actions { display: flex; gap: 7px; }.filter-summary { margin: 9px 2px 12px; color: var(--muted); font-size: 12px; }
.user-profile-heading { align-items: center; }.profile-statuses { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }.profile-nav { display: flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.profile-nav a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 750; }.profile-nav a:hover { background: #e8f0f8; }.profile-section { scroll-margin-top: 18px; }.profile-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.profile-facts div { min-height: 78px; padding: 14px; border-right: 1px solid var(--line); }.profile-facts div:last-child { border-right: 0; }.profile-facts dt { color: var(--muted); font-size: 11px; }.profile-facts dd { margin: 7px 0 0; font-weight: 750; overflow-wrap: anywhere; }.user-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.effectiveness-note { margin-top: 16px; padding: 14px 16px; background: #eef3f8; border-left: 4px solid var(--blue); border-radius: 4px; }.effectiveness-note p { margin: 6px 0 0; color: #435160; font-size: 13px; line-height: 1.55; }.effectiveness-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }.effectiveness-grid > div { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.effectiveness-grid span { color: var(--muted); font-size: 11px; }.effectiveness-grid strong { display: block; margin: 7px 0 10px; color: var(--blue-dark); font-size: 22px; }.metric-bar { height: 7px; overflow: hidden; background: #dfe6ed; border-radius: 4px; }.metric-bar span { display: block; height: 100%; background: var(--success); }.profile-footnotes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.profile-footnotes span { padding: 7px 9px; background: #fff; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 11px; }.profile-module-table td:first-child { min-width: 240px; white-space: normal; }.profile-module-table td:first-child small { display: block; margin-top: 4px; color: var(--muted); }.inactive-module-row { color: #798593; background: #fafbfc; }.profile-activity-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; align-items: start; }.profile-activity-grid h3 { margin: 0 0 10px; font-size: 15px; }.compact-activity-list, .profile-chat-list { background: #fff; border: 1px solid var(--line); border-radius: 7px; }.compact-activity-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 5px 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 12px; }.compact-activity-list > div:last-child { border-bottom: 0; }.compact-activity-list time { grid-row: 1 / 3; color: var(--muted); }.compact-activity-list span { color: var(--muted); }.text-success { color: var(--success); }.text-error { color: var(--red); }.profile-chat-list details { border-bottom: 1px solid var(--line); }.profile-chat-list details:last-child { border-bottom: 0; }.profile-chat-list summary { display: grid; grid-template-columns: 150px minmax(220px, 1fr) auto; gap: 12px; padding: 13px 15px; cursor: pointer; font-size: 12px; }.profile-chat-list summary time, .profile-chat-list summary span { color: var(--muted); }.profile-chat-list details > div { padding: 14px 16px; background: #f8fafc; border-top: 1px solid var(--line); }.profile-chat-list h4 { margin: 0 0 5px; font-size: 12px; }.profile-chat-list p { margin: 0 0 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }.profile-chat-list p:last-child { margin-bottom: 0; }.profile-settings-panel { max-width: none; }.profile-settings-panel input, .profile-settings-panel select { background: #fff; }
.status-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 4px; font-size: 12px; font-weight: 800; white-space: nowrap; }.status-chip.ok { color: #064c37; background: #dff4e9; }.status-chip.warning { color: #654800; background: #f8edc8; }.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--muted); }.status-dot.ok { background: var(--success); }.status-dot.warning { background: var(--gold); }.status-dot.error { background: var(--red); }
.account-toggle { min-height: 30px; display: inline-flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 750; }.account-toggle span { width: 22px; height: 12px; position: relative; border-radius: 8px; background: #9da8b4; }.account-toggle span::after { content: ""; width: 8px; height: 8px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; }.account-toggle.enabled { color: var(--success); border-color: #a9d3bf; }.account-toggle.enabled span { background: var(--success); }.account-toggle.enabled span::after { left: 12px; }.account-toggle.disabled { color: var(--red); border-color: #e0b5b1; }
.compact-table { max-width: 850px; }.event-list { background: #fff; border: 1px solid var(--line); border-radius: 7px; }.event-list > div { display: grid; grid-template-columns: 150px 160px 1fr; gap: 14px; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13px; }.event-list > div:last-child { border-bottom: 0; }.event-list time { color: var(--muted); }.empty-state { padding: 18px; color: var(--muted); background: #fff; border: 1px dashed #b9c2ce; border-radius: 7px; }
.tutor-audit-list { background: #fff; border: 1px solid var(--line); border-radius: 7px; }.tutor-audit-item { border-bottom: 1px solid var(--line); }.tutor-audit-item:last-child { border-bottom: 0; }.tutor-audit-item > summary { display: grid; grid-template-columns: 150px 160px minmax(220px, 1fr) auto; align-items: center; gap: 14px; padding: 13px 15px; cursor: pointer; font-size: 13px; }.tutor-audit-item > summary:hover { background: #f6f8fa; }.tutor-audit-item > summary time { color: var(--muted); }.tutor-audit-body { padding: 16px; border-top: 1px solid var(--line); background: #f8fafc; }.tutor-audit-meta { display: grid; grid-template-columns: 100px 190px minmax(260px, 1fr) 190px; gap: 10px; margin: 0 0 16px; }.tutor-audit-meta div { padding: 10px; background: #fff; border-left: 3px solid var(--blue); }.tutor-audit-meta dt { color: var(--muted); font-size: 11px; }.tutor-audit-meta dd { margin: 5px 0 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }.tutor-audit-copy h3 { margin: 14px 0 6px; font-size: 13px; }.tutor-audit-copy pre { max-height: 280px; margin: 0; overflow: auto; padding: 12px; color: #eaf2f8; background: #101820; border-radius: 5px; white-space: pre-wrap; overflow-wrap: anywhere; }.tutor-audit-copy .rejected-response { border-left: 4px solid var(--red); }
.learning-attempt-list { background: #fff; border: 1px solid var(--line); border-radius: 7px; }.learning-attempt-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 22px; padding: 15px 17px; border-bottom: 1px solid var(--line); }.learning-attempt-row:last-child { border-bottom: 0; }.learning-attempt-row time { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }.learning-attempt-row strong { display: block; }.learning-attempt-row p { margin: 6px 0 0; line-height: 1.45; }
@media (max-width: 1050px) { .metric-grid { grid-template-columns: repeat(3, 1fr); }.account-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }.account-search { grid-column: 1 / -1; }.effectiveness-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 850px) { .page { padding: 20px 14px; }.topbar { height: auto; min-height: 64px; padding: 10px 16px; }.account { gap: 10px; }.account > span { display: none; }.account-nav { gap: 8px; padding-right: 10px; }.learning-grid, .assessment-layout, .admin-control-grid, .profile-activity-grid { grid-template-columns: 1fr; }.tutor-panel, .review-panel { position: static; }.module-row { grid-template-columns: 38px 1fr; }.module-row > .primary { grid-column: 1 / -1; }.page-heading { display: grid; }.profile-statuses { justify-content: flex-start; }.heading-actions { justify-content: flex-start; }.result-grid { grid-template-columns: 1fr 1fr; }.chat-log { max-height: 390px; }.composer-hint { display: none; }.system-grid, .profile-facts { grid-template-columns: 1fr 1fr; }.system-grid div, .system-grid div:nth-child(3n), .system-grid div:nth-last-child(-n+3), .profile-facts div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.system-grid div:nth-child(2n), .profile-facts div:nth-child(2n) { border-right: 0; }.system-grid div:nth-last-child(-n+2), .profile-facts div:nth-last-child(-n+2) { border-bottom: 0; }.event-list > div, .learning-attempt-row, .tutor-audit-item > summary, .profile-chat-list summary { grid-template-columns: 1fr; gap: 8px; }.tutor-audit-meta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .assessment-summary { grid-template-columns: 1fr; }.assessment-score { min-height: 118px; }.evidence-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .brand { font-size: 16px; }.account-nav a { font-size: 12px; }.metric-grid, .system-grid, .tutor-audit-meta, .form-grid.two-columns, .account-filters, .effectiveness-grid, .profile-facts { grid-template-columns: 1fr; }.account-search { grid-column: auto; }.filter-actions, .filter-actions > * { width: 100%; }.profile-nav { display: grid; grid-template-columns: 1fr 1fr; }.profile-nav a { justify-content: center; }.login-panel { padding: 24px 20px; }.metric { min-height: 100px; }.system-grid div:nth-child(2n), .profile-facts div:nth-child(2n) { border-right: 0; }.profile-facts div { border-right: 0; border-bottom: 1px solid var(--line); }.profile-facts div:last-child { border-bottom: 0; }.section-heading { display: grid; align-items: start; }.heading-actions .secondary { width: 100%; }.compact-activity-list > div { grid-template-columns: 1fr; }.compact-activity-list time { grid-row: auto; } }
