/* Teacher-only learning profile shares the app paper, ink and green tokens. */
.student-profile{--profile-line:var(--line,#dde2d7);--profile-muted:var(--muted,#6e786c);--profile-ink:var(--ink,#2e3d31);--profile-accent:var(--green,#45674e);--profile-paper:var(--paper,#fffefb);--profile-soft:var(--soft,#e9efe4);color:var(--profile-ink);background:transparent;padding:0;margin:0;overflow-wrap:anywhere}.profile-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.profile-back{font-size:12px}.profile-header h1{font-size:27px;font-weight:650;letter-spacing:-.5px;margin:14px 0 12px}.profile-header p{font-size:13px;color:var(--profile-muted);margin:0;line-height:1.8}.profile-header p span{display:inline-block;margin-left:14px}.profile-header-actions{display:flex;gap:8px;flex-shrink:0}.student-profile button,.student-profile .profile-tabs a,.student-profile summary{font-size:12px}.student-profile button{border-color:var(--profile-line);background:var(--profile-paper);min-height:36px}.student-profile a{color:var(--profile-accent)}.student-profile a:focus-visible,.student-profile button:focus-visible,.student-profile input:focus-visible,.student-profile select:focus-visible,.student-profile summary:focus-visible{outline:3px solid var(--profile-accent);outline-offset:4px}.profile-source-note{font-size:12px;line-height:1.8;color:var(--profile-muted);margin:20px 0 10px}.profile-tabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--profile-line);margin-bottom:24px}.profile-tabs a{flex-shrink:0;padding:13px 2px 14px;text-decoration:none;color:var(--profile-muted);border-bottom:2px solid transparent}.profile-tabs a[aria-current=page]{border-color:var(--profile-accent);color:var(--profile-accent);font-weight:600}.profile-inline-note,.profile-note{font-size:12px;line-height:1.85;color:var(--profile-muted)}.profile-inline-note{margin:0 0 10px}.profile-note{margin:10px 0}.profile-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--profile-line);background:var(--profile-paper);border-radius:9px;box-shadow:none;overflow:hidden;margin-bottom:22px}.profile-stat-strip article{padding:20px;border-right:1px solid var(--profile-line);min-width:0}.profile-stat-strip article:last-child{border-right:0}.profile-stat-strip article>span{font-size:12px;color:var(--profile-muted)}.profile-stat-strip strong{display:block;font-size:25px;font-weight:650;margin:12px 0}.profile-stat-strip p{font-size:12px;color:var(--profile-muted);line-height:1.7;min-height:20px}.profile-stat-strip a{font-size:12px}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;margin-bottom:24px}.profile-card{background:var(--profile-paper);border:1px solid var(--profile-line);border-radius:9px;padding:20px;min-width:0;margin-bottom:20px}.profile-overview-grid>.profile-card,.profile-course-grid>.profile-card{margin-bottom:0}.student-profile h2{font-size:17px;font-weight:650;margin:0 0 15px}.student-profile h3{font-size:14px;font-weight:600;margin:0}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 17px}.profile-section-heading h2{margin:0}.profile-section-heading small{font-size:11px;color:var(--profile-muted)}.profile-section-heading>a{font-size:12px}.profile-empty{padding:24px 0;font-size:13px;line-height:1.9;color:var(--profile-muted)}.profile-attention{margin:22px 0 12px;padding:0;list-style:none}.profile-attention li{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid var(--profile-line);padding:11px 0;font-size:12px}.profile-attention strong{font-weight:500}.profile-attention span{color:var(--profile-muted)}.profile-heatmap{max-width:315px;margin:22px 0 16px}.profile-heatmap-labels,.profile-heatmap-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.profile-heatmap-labels{margin-bottom:7px;text-align:center;font-size:11px;color:var(--profile-muted)}.profile-heatmap-day{height:21px;background:var(--profile-soft);border:1px solid var(--profile-line);border-radius:3px}.profile-heatmap-day.level-1{background:#cbdcc6;border-color:#cbdcc6}.profile-heatmap-day.level-2{background:#8faa88;border-color:#8faa88}.profile-heatmap-day.level-3{background:var(--profile-accent);border-color:var(--profile-accent)}.profile-course-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.profile-course{padding:18px 14px;display:flex;flex-direction:column;min-height:180px}.profile-course>div{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.profile-course h3{font-size:12px}.profile-course strong{font-size:22px;font-weight:650;white-space:nowrap}.profile-course p{font-size:12px;color:var(--profile-muted);line-height:1.7}.profile-course a{margin-top:auto;font-size:12px;padding-top:10px}.profile-badge{display:inline-block;font-size:11px;border-radius:5px;background:var(--profile-soft);color:var(--profile-muted);padding:3px 7px;white-space:nowrap}.profile-badge.is-completed{background:#e7f0e8;color:#41654a}.profile-badge.is-overdue{background:#f9e9e3;color:#985234}.profile-badge.is-in_progress{background:#eef0fb;color:#626d9b}.profile-diagnostics{border:1px solid var(--profile-line);border-radius:8px;background:var(--profile-paper);overflow:hidden}.profile-diagnostic-row{padding:20px;display:grid;grid-template-columns:1.3fr 2.1fr .5fr auto;align-items:center;gap:18px;border-bottom:1px solid var(--profile-line)}.profile-diagnostic-row:last-child{border-bottom:0}.profile-diagnostic-row h3{font-size:13px;margin-bottom:6px}.profile-diagnostic-row small{font-size:11px;color:var(--profile-muted);display:block;line-height:1.7}.profile-meter{height:8px;background:var(--profile-soft);border-radius:8px;overflow:hidden;margin:8px 0}.profile-meter span{height:100%;display:block;background:var(--profile-accent);border-radius:8px}.profile-diagnostic-score{text-align:right}.profile-diagnostic-score strong{font-size:20px}.profile-diagnostic-row details{grid-column:4}.profile-diagnostic-row details[open]{grid-column:1/-1}.profile-diagnostic-row summary{cursor:pointer;list-style:none;border:1px solid var(--profile-line);border-radius:5px;background:var(--profile-paper);padding:8px 14px;width:max-content}.profile-diagnostic-row details[open] summary{margin-left:auto}.profile-evidence{list-style:none;padding:0;margin:14px 0 0}.profile-evidence li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--profile-line);font-size:12px}.profile-evidence a{flex-shrink:0}.profile-compact-stats{box-shadow:none}.profile-compact-stats article{padding-block:18px}.profile-compact-stats strong{margin-bottom:0;font-size:23px}.profile-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.profile-filters input[type=search]{width:min(340px,100%)}.profile-filters input,.profile-filters select,.profile-date input{font:inherit;font-size:12px;padding:9px 11px;border:1px solid var(--profile-line);border-radius:5px;background:var(--profile-paper);min-height:37px;max-width:100%;min-width:0}.profile-filters label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--profile-muted)}.profile-filters input[type=checkbox]{min-height:auto;width:auto}.profile-table-wrap{width:100%;overflow:auto;border:1px solid var(--profile-line);border-radius:7px;background:#fff}.profile-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.75;white-space:normal}.profile-table th{background:var(--profile-soft);color:var(--profile-muted);font-size:11px;font-weight:500;text-align:left;padding:14px 16px;white-space:nowrap}.profile-table td{padding:15px 16px;border-top:1px solid var(--profile-line);vertical-align:top;min-width:90px}.profile-table td:first-child{min-width:200px;max-width:350px}.profile-table td:last-child{white-space:nowrap}.profile-table strong{font-weight:550}.profile-table small{display:block;color:var(--profile-muted);font-size:11px;margin-top:5px}.profile-table .profile-note-cell{min-width:190px;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere}.profile-date{display:flex;align-items:center;gap:8px;color:var(--profile-muted);font-size:12px}.profile-progress-list{list-style:none;padding:0;margin:0}.profile-progress-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--profile-line);padding:14px 0;font-size:12px}.profile-progress-list small{display:block;color:var(--profile-muted);font-size:11px;margin-top:5px}.profile-homework header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.profile-homework h3{font-size:16px}.profile-instructions{font-size:13px;line-height:1.8;white-space:pre-wrap}.profile-homework-items{list-style:none;padding:0;margin:18px 0 0}.profile-homework-items li{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--profile-line);padding:16px 0;font-size:12px}.profile-homework-items small{display:block;color:var(--profile-muted);font-size:10px;margin-top:5px}.profile-homework-items li>div:last-child{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end}.profile-homework-items strong{font-weight:550}.profile-footer{border-top:1px solid var(--profile-line);padding-top:15px;margin-top:28px}.student-profile [hidden]{display:none!important}.student-profile [data-profile-wrong-more],.student-profile [data-profile-dictation-more],.student-profile [data-profile-attempt-more]{margin-top:14px}
@media(max-width:1050px){.profile-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-course{min-height:170px}.profile-header{flex-wrap:wrap}.profile-header-actions{margin-left:auto}.profile-overview-grid{grid-template-columns:1fr 1fr}.profile-stat-strip article{padding:16px}.profile-stat-strip strong{font-size:22px}}
@media(max-width:720px){.student-profile{padding:0;margin-inline:0}.profile-header h1{font-size:23px}.profile-header p span{margin-left:0;display:block}.profile-header-actions{margin-left:0}.profile-tabs{gap:20px}.profile-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stat-strip article:nth-child(2){border-right:0}.profile-stat-strip article:nth-child(-n+2){border-bottom:1px solid var(--profile-line)}.profile-overview-grid{grid-template-columns:1fr}.profile-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card{padding:17px 14px}.profile-diagnostic-row{grid-template-columns:1fr auto;gap:10px;padding:16px}.profile-diagnostic-row>div:nth-child(2){grid-column:1/-1;grid-row:2}.profile-diagnostic-score{grid-column:2;grid-row:1}.profile-diagnostic-row details{grid-column:1/-1}.profile-diagnostic-row summary{margin-left:auto}.profile-homework-items li{flex-direction:column;gap:12px}.profile-homework-items li>div:last-child{justify-content:flex-start}.profile-table td,.profile-table th{padding:12px}.profile-table td:first-child{min-width:180px}.profile-attention li{flex-direction:column;gap:5px}.profile-section-heading small{line-height:1.7}.profile-date{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.student-profile *{scroll-behavior:auto!important;transition:none!important}}

.profile-outcome{margin:18px 0}.profile-outcome-controls{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.profile-outcome-controls label{display:flex;align-items:center;gap:7px}.profile-score-reports,.profile-score-queue{padding-left:22px;overflow-wrap:anywhere}.profile-score-reports li{margin:10px 0}.profile-score-reports small{display:block;color:var(--profile-muted)}.profile-score-picker{display:grid;gap:8px;margin:16px 0}.profile-score-picker input{max-width:100%}.profile-outcome [role=alert]{color:#8b3b27}.profile-outcome button:disabled{opacity:.6;cursor:wait}
@media(max-width:720px){.profile-outcome-controls{align-items:flex-start;flex-direction:column}.profile-outcome-controls button{width:100%}}

/* Native, default-closed copy disclosures retain keyboard and return-context behavior. */
.profile-disclosure{margin:12px 0 18px;color:var(--profile-muted);font-size:12px;line-height:1.85}.profile-disclosure>summary{width:fit-content;max-width:100%;cursor:pointer;color:var(--profile-accent);padding:6px 0}.profile-disclosure[open]>summary{margin-bottom:6px}.profile-disclosure>.profile-note{margin:0 0 10px}.profile-stat-strip strong>small{font-size:12px;font-weight:400;color:var(--profile-muted)}

@media(max-width:720px){.profile-disclosure>summary{min-height:44px;box-sizing:border-box;padding-top:10px;padding-bottom:10px}}
