/* Learner profiles and expanded-course navigation. */
.profile-switcher{display:flex;align-items:center;gap:8px;background:white;border:1px solid #d7e0d0;border-radius:24px;padding:7px 10px;color:var(--ink);font-size:12px;font-weight:650;max-width:185px;flex:none;box-shadow:none}
.profile-switcher .profile-avatar{font-size:18px;line-height:1.1;flex:none}.profile-switcher .profile-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:120px}.profile-switcher .profile-chevron{font-size:12px;color:var(--muted)}
.profiles-body{padding:26px 30px 30px}.profiles-body>p{font-size:13px;color:var(--muted);margin-bottom:21px;line-height:1.7}.learner-list{display:grid;gap:10px}.learner-row{display:flex;align-items:center;gap:12px;padding:14px;background:white;border:1px solid var(--line);border-radius:14px}.learner-row.current{border-color:#98b189;background:#edf4e7}.learner-avatar{width:43px;height:43px;display:grid;place-items:center;background:#f7f0da;border-radius:13px;font-size:25px;flex:none}.learner-info{flex:1;min-width:0}.learner-info strong{font-size:14px;display:block;overflow-wrap:anywhere}.learner-info small{font-size:10px;display:block;color:var(--muted);margin-top:5px}.learner-actions{display:flex;gap:7px;align-items:center;flex:none}.learner-actions .btn{font-size:11px;padding:9px 11px}.learner-edit-button{background:transparent;border:1px solid #d3ddc9;border-radius:8px;padding:8px 10px;font-size:11px}.learner-editor{margin-top:24px;padding:21px;border:1px solid #dbe4d2;border-radius:15px;background:#edf3e7}.learner-editor h3{font-size:17px;margin-bottom:15px}.learner-editor label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}.learner-editor input{width:100%;border:1px solid #cad9bd;border-radius:10px;background:white;padding:12px 14px;color:var(--ink);font-size:15px}.learner-editor fieldset{padding:0;border:0;margin:18px 0}.learner-editor legend{font-size:12px;font-weight:650;margin-bottom:10px}.avatar-picker{display:flex;flex-wrap:wrap;gap:8px}.avatar-option{border:1px solid #cfdbc5;background:white;border-radius:10px;width:43px;height:43px;display:grid;place-items:center;font-size:24px}.avatar-option.selected{outline:2px solid var(--green);outline-offset:1px;background:#dcebcf}.learner-editor .editor-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.profile-error{color:#994b30;font-size:12px;line-height:1.6;margin:12px 0}.profile-local-note{margin-top:20px;padding:14px 17px;background:#fbf1d9;border-radius:12px;font-size:11px;line-height:1.7;color:#7e6b43}.profile-settings-summary{display:flex;gap:13px;align-items:center;padding:15px;background:#eaf1e3;border-radius:13px;margin:14px 0 20px}.profile-settings-summary>span{font-size:28px}.profile-settings-summary p{font-size:12px;flex:1;margin:0;color:var(--ink)}.profile-settings-summary strong{display:block;margin-bottom:5px}.profile-settings-summary small{font-size:11px;color:var(--muted)}
.course-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px;color:var(--muted);font-size:12px}.chapter-filter{display:flex;gap:10px;align-items:center}.chapter-filter label{font-size:12px}.stage-selector{max-height:285px;overflow:auto;padding:3px 5px 7px 3px;scrollbar-color:#aec39f transparent}.stage-tab{min-height:80px}.expanded-count{font-size:11px;color:var(--muted);margin-top:10px}
@media(max-width:720px){.profile-switcher{padding:6px 8px;max-width:125px;gap:5px}.profile-switcher .profile-name{max-width:74px;font-size:10px}.profile-switcher .profile-avatar{font-size:16px}.topbar-right{gap:8px}.topbar .breadcrumb{display:none}.topbar{justify-content:flex-end}.profiles-body{padding:22px 18px}.learner-row{padding:12px;gap:9px;flex-wrap:wrap}.learner-info{min-width:130px}.learner-actions{margin-left:auto}.learner-editor{padding:17px}.profile-settings-summary{flex-wrap:wrap}.profile-settings-summary .btn{margin-left:auto}.stage-selector{max-height:245px}.course-overview{align-items:start;flex-direction:column}.profile-local-note{font-size:10px}.profile-switcher .profile-chevron{font-size:10px}}
