/* v0.7 — learner selection and local classroom reports. */
.learner-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:16px 0;font-size:.875rem}
.learner-bar>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.learner-bar-label,.learner-bar small{color:var(--muted);font-size:.8rem}.learner-bar strong{font-weight:600;overflow-wrap:anywhere}.learner-bar-actions{display:flex;gap:10px;flex:none}.learner-bar-actions a{padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#265fc4}.learner-bar-actions a.active{background:#edf3fc;border-color:#8eaad1}
.storage-notice p{margin:0 0 10px}.storage-actions{display:flex;flex-wrap:wrap;gap:10px}.storage-actions .secondary-cta{font-size:.85rem;padding:8px 12px;min-height:42px}
.profiles-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.profile-list-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.profile-list-heading .field{flex:1;max-width:440px}.profile-list-heading p{font-size:.8rem;color:var(--muted);flex:none}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:.875rem;font-weight:550}.field label>span{font-size:.75rem;font-weight:400;color:var(--muted);margin-left:6px}.field input,.field select{width:100%;min-height:44px;border:1px solid #b7c7dc;border-radius:7px;padding:9px 12px;background:#fff;color:var(--ink);font:inherit;font-size:.9rem;box-sizing:border-box}.field input:focus,.field select:focus{outline:2px solid #719bd5;outline-offset:2px}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-card{padding:23px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}.profile-card.selected{border-color:#6486b9;background:#f8faff}.profile-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-avatar{display:grid;place-items:center;width:40px;height:40px;background:#e9eff8;border-radius:9px;color:#315781;font-size:1.15rem;font-weight:600}.profile-state{font-size:.75rem;color:#5a7396}.profile-card h2{font-size:1.15rem;font-weight:600;line-height:1.7;margin:18px 0 4px;overflow-wrap:anywhere}.profile-card p{font-size:.8rem;color:var(--muted);margin:0;min-height:22px;overflow-wrap:anywhere}.profile-stats{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:.8rem;color:var(--muted)}.profile-stats strong{font-weight:550;color:#355882}.profile-actions{display:flex;gap:12px;margin-top:18px}.profile-actions .primary-cta{min-height:44px;font-size:.875rem;padding:9px 17px;flex:1;justify-content:center}.profile-edit{border:0;background:transparent;color:#315d96;padding:10px;font:inherit;font-size:.875rem;cursor:pointer}.profile-form-panel{padding:26px;background:#fff;border:1px solid var(--line);border-radius:10px}.profile-form-panel h2{margin:0 0 8px;font-size:1.2rem;font-weight:600}.profile-form-panel>p{font-size:.875rem;color:var(--muted);margin:0 0 22px;line-height:1.8}.profile-form-panel form{display:grid;gap:17px}.profile-form-panel .primary-cta,.profile-form-panel .secondary-cta{width:100%;justify-content:center;font-size:.875rem;margin-top:4px}.profile-form-panel p.profile-local-note{font-size:.8rem;border-top:1px solid var(--line);padding-top:18px;margin:24px 0 0;line-height:1.85}.transfer-status.error{color:#a33727}.transfer-learner{font-weight:550;color:#26528b;overflow-wrap:anywhere}
.teacher-heading{align-items:center;gap:20px}.teacher-heading .primary-cta{flex:none;font-size:.9rem}.report-local-note{font-size:.875rem;color:#526883;background:#eaf0f8;border:1px solid #d6e0ef;border-radius:8px;padding:14px 18px;margin:0 0 24px;line-height:1.8}.teacher-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,.6fr);gap:20px;max-width:850px}.teacher-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 28px}.teacher-summary article{padding:21px 23px;background:#fff;border:1px solid var(--line);border-radius:9px}.teacher-summary small{color:var(--muted);display:block;font-size:.8rem}.teacher-summary strong{display:block;font-size:1.9rem;font-weight:600;margin-top:8px;color:#1d3f6a}.teacher-summary strong>span{font-size:.95rem;font-weight:400;color:#667e9a}.report-panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:26px;overflow:hidden}.report-panel>.section-heading{padding:24px 26px 20px;margin:0;align-items:center}.report-panel .section-heading p{font-size:.8rem;color:var(--muted);margin:6px 0 0}.report-panel h2{overflow-wrap:anywhere}.report-panel .field{min-width:210px;max-width:300px}.table-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%}.table-scroll:focus-visible{outline:2px solid #719bd5;outline-offset:-2px}.report-table{width:100%;min-width:900px;border-collapse:collapse;text-align:left;font-size:.875rem;color:#3a526f}.report-table th,.report-table td{padding:17px 22px;border-top:1px solid #e4eaf3;vertical-align:top;line-height:1.8}.report-table thead th{font-weight:550;font-size:.8rem;background:#f5f7fb;color:#566d8b;white-space:nowrap}.report-table tbody th{font-weight:500;min-width:175px;max-width:270px;overflow-wrap:anywhere}.report-table tbody tr:hover{background:#fafcff}.report-table small{display:block;font-size:.75rem;color:#6b7d96;font-weight:400;margin-top:3px}.report-learner{background:none;border:0;padding:0;color:#265fc4;text-decoration:underline;text-underline-offset:4px;font:inherit;font-weight:550;text-align:left;cursor:pointer;overflow-wrap:anywhere}.report-attention{color:#865919}.report-state{display:inline-block;background:#f0f3f8;padding:2px 9px;border-radius:4px;font-size:.8rem;white-space:nowrap}.report-state.complete{background:#eaf6ee;color:#266047}.report-state.practicing{background:#fff5de;color:#865919}.report-track{display:block;color:#657c99;font-size:.75rem;font-weight:400;margin-bottom:3px}.detail-table{min-width:1120px}.detail-table tbody th{min-width:205px}.detail-table td:nth-child(3),.detail-table td:nth-child(4),.detail-table td:nth-child(5){white-space:nowrap}.report-legend{padding:18px 26px;margin:0;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted);line-height:1.9}.report-empty{padding:30px 20px;background:#f4f7fb;border-radius:8px;font-size:.9rem;color:var(--muted);text-align:center;margin:0}.report-panel .report-empty{border-radius:0}.teacher-summary+.report-panel{margin-top:0}
@media(max-width:1000px){.profiles-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.profile-grid{grid-template-columns:1fr}.teacher-summary{grid-template-columns:1fr 1fr}.profile-list-heading{align-items:start;flex-direction:column;gap:5px}.profile-list-heading .field{width:100%}.profile-form-panel{padding:22px}}
@media(max-width:700px){.learner-bar{align-items:start;gap:12px;flex-direction:column;padding:13px 0}.learner-bar-actions{width:100%}.learner-bar-actions a{flex:1;text-align:center;min-height:40px;display:grid;place-items:center}.learner-bar>div:first-child{gap:5px 10px}.profiles-layout{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr 1fr;gap:12px}.profile-card{padding:18px}.profile-card-top{flex-wrap:wrap;gap:8px}.profile-actions{gap:6px}.profile-actions .primary-cta{padding:9px 11px;font-size:.8rem}.profile-edit{padding:8px;font-size:.8rem}.profile-form-panel{margin-top:4px}.teacher-heading{align-items:start;flex-direction:column}.teacher-heading .primary-cta{width:100%;justify-content:center}.teacher-filters{grid-template-columns:1fr;gap:14px}.teacher-summary{gap:12px;margin-bottom:22px}.teacher-summary article{padding:18px 15px}.teacher-summary small{font-size:.75rem}.teacher-summary strong{font-size:1.7rem}.teacher-summary strong>span{font-size:.85rem}.report-panel>.section-heading{padding:20px 18px;align-items:start}.report-panel .field{max-width:none;width:100%}.report-legend{padding:16px 18px}.report-local-note{font-size:.8rem;padding:13px 15px}.report-table th,.report-table td{padding:14px 16px}.profile-list-heading .field{max-width:none}.storage-actions{flex-direction:column}.storage-actions .secondary-cta{justify-content:center}}
@media(max-width:420px){.profile-grid{grid-template-columns:1fr}.profile-card-top{flex-wrap:nowrap}.profile-actions .primary-cta{font-size:.875rem}.teacher-summary small{min-height:38px}}

/* Match the user's v0.6.3 blue/white/sky visual system. */
.profile-card,.profile-form-panel,.report-panel{border-radius:16px;border-color:var(--cc-line,#dce5f0);box-shadow:0 10px 28px rgba(31,67,111,.045)}
.teacher-summary article{border-radius:14px}.profile-card.selected{border-color:#89abe0;background:linear-gradient(135deg,#f7faff,#eef5ff)}.profile-avatar{border-radius:12px;background:#e8f1ff;color:#2f64ad}.learner-bar-actions a{border-radius:9px;background:rgba(255,255,255,.88)}
.teacher-report-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 28px;margin-top:24px}.teacher-report-entry h2{font-size:1.3rem;margin:0 0 8px}.teacher-report-entry p{color:var(--muted);margin:0}.teacher-report-entry .primary-cta{flex:none}
#profileStatus{scroll-margin-top:calc(var(--site-header-height,100px) + 20px)}
@media(max-width:700px){.teacher-report-entry{display:block;padding:20px}.teacher-report-entry .primary-cta{width:100%;margin-top:16px;justify-content:center}.profile-card,.profile-form-panel,.report-panel{border-radius:13px}}
