.learner-remember { display: flex; align-items: center; gap: 8px; color: #777e73; font-size: 12px; }
.learner-remember input { width: 14px; height: 14px; margin: 0; accent-color: #78934f; }
.learner-forgot-link { justify-self: end; margin-top: -9px; color: #657b4d; font-size: 12px; font-weight: 600; }
.enrollment-footer a { color: #657b4d; font-weight: 700; }
.learner-courses-page { min-height: 100vh; background: #f7f8f5; color: #282b27; }
.learner-nav { display: flex; height: 70px; align-items: center; justify-content: space-between; }
.learner-nav-actions { display: flex; align-items: center; gap: 17px; }
.learner-greeting { color: #697064; font-size: 12px; }
.learner-profile-link { color: #657b4d; font-size: 12px; font-weight: 600; }
.learner-logout { padding: 7px 11px; border: 1px solid #e5e8df; border-radius: 4px; background: #fff; color: #6f795f; cursor: pointer; font: inherit; font-size: 12px; }
.learner-courses-main { width: min(100% - 40px, 1050px); margin: 0 auto; padding: 48px 0 60px; }
.learner-heading { margin-bottom: 24px; }
.learner-heading h1 { margin: 12px 0 5px; font-family: var(--font-display); font-size: 32px; letter-spacing: -1px; }
.learner-heading h1 span { color: #899d68; }
.learner-heading p { margin: 0; color: #858b81; font-size: 12px; }
.learner-status-message { margin-bottom: 17px; }
.learner-empty { display: grid; justify-items: center; padding: 45px 24px; text-align: center; }
.learner-empty > span { color: #90a66c; font-size: 26px; }
.learner-empty h2 { margin: 13px 0 6px; font-family: var(--font-display); font-size: 17px; }
.learner-empty p { max-width: 420px; margin: 0 0 17px; color: #858b81; font-size: 12px; line-height: 1.7; }
.learner-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.learner-course-card { padding: 17px; border: 1px solid #e9ebe5; border-radius: 5px; background: #fff; }
.learner-course-card-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.learner-category { color: #8a927f; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.learner-course-status { display: inline-flex; align-items: center; gap: 6px; color: #9b7959; font-size: 12px; }
.learner-course-status i { width: 6px; height: 6px; border-radius: 50%; background: #c39b73; }
.learner-course-status.is-completed { color: #637b48; }
.learner-course-status.is-completed i { background: #8ea85d; }
.learner-course-card h2 { margin: 13px 0 6px; font-family: var(--font-display); font-size: 16px; }
.learner-course-card > p { min-height: 34px; margin: 0; color: #858b81; font-size: 12px; line-height: 1.7; }
.learner-course-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #eff0eb; color: #8b9185; font-size: 12px; }
.learner-materials-link { display: inline-flex; margin-top: 14px; }
.learner-material-content { white-space: pre-wrap; overflow-wrap: anywhere; color: #555d4f; font-size: 12px; line-height: 1.8; }
.learner-modules { display: grid; gap: 14px; margin-top: 20px; padding-left: 14px; border-left: 2px solid #e6ecdD; }
.learner-module h3 { margin: 11px 0 6px; font-family: var(--font-display); font-size: 14px; }
.learner-module > p { margin: 0 0 12px; color: #858b81; font-size: 12px; line-height: 1.7; }
.learner-lessons { display: grid; gap: 12px; margin: 14px 0 0 12px; padding-left: 12px; border-left: 1px solid #edf0e8; }
.learner-lesson h4 { margin: 9px 0 5px; font-family: var(--font-display); font-size: 12px; }
.learner-lesson > p { margin: 0 0 10px; color: #858b81; font-size: 12px; line-height: 1.7; }
.learner-completed-date { margin-top: 10px; color: #637b48; font-size: 12px; }
.learner-pagination { margin-top: 15px; }
.learner-profile-main { max-width: 780px; }
.learner-profile-panel { padding: 22px; }
.learner-profile-form { display: grid; gap: 24px; }
.learner-profile-section { display: grid; gap: 13px; }
.learner-profile-section + .learner-profile-section { padding-top: 20px; border-top: 1px solid #eff0eb; }
.learner-profile-section h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.learner-profile-section > p { margin: -8px 0 2px; color: #858b81; font-size: 12px; line-height: 1.6; }
.learner-profile-section .form-field input:disabled { background: #f7f8f5; color: #82887d; cursor: not-allowed; }
.learner-profile-section .form-field input[type="file"] { height: auto; min-height: 38px; padding: 7px; font-size: 12px; }
.learner-profile-photo { display: flex; align-items: center; gap: 15px; }
.learner-profile-photo > img, .learner-profile-photo > span { display: grid; width: 76px; height: 76px; flex: 0 0 76px; place-items: center; overflow: hidden; border-radius: 50%; background: #e3ead7; color: #61774a; font-size: 20px; font-weight: 700; object-fit: cover; }
.learner-profile-photo > .form-field { flex: 1; }
.learner-remove-photo { display: flex; align-items: center; gap: 7px; color: #8b5a4e; font-size: 12px; }
.learner-remove-photo input { accent-color: #a76e60; }
.learner-profile-actions { display: flex; justify-content: flex-end; align-items: center; gap: 13px; padding-top: 16px; border-top: 1px solid #eff0eb; }
.learner-profile-actions .button { min-height: 38px; border: 0; cursor: pointer; }
.learner-cancel-link { color: #777e73; font-size: 12px; }
.learner-nav-photo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.study-page { min-height: 100vh; background: #fff; color: #17191d; }
.study-topbar { position: sticky; z-index: 5; top: 0; display: flex; height: 58px; align-items: center; gap: 13px; padding: 0 22px; border-bottom: 1px solid #e5e7eb; background: #fff; }
.study-back-link { display: inline-flex; align-items: center; gap: 7px; color: #778196; font-size: 14px; white-space: nowrap; }
.study-back-link:hover, .study-account-links a:hover { color: #243b2c; }
.study-topbar-divider { width: 1px; height: 20px; background: #e5e7eb; }
.study-course-title { overflow: hidden; color: #222936; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.study-course-count { color: #8b94a4; font-size: 12px; white-space: nowrap; }
.study-account-links { display: flex; justify-content: flex-end; flex: 1; }
.study-account-links a { color: #778196; font-size: 12px; }
.study-layout { display: grid; min-height: calc(100vh - 58px); grid-template-columns: 312px minmax(0, 1fr); }
.study-sidebar { position: sticky; top: 58px; height: calc(100vh - 58px); overflow-y: auto; border-right: 1px solid #e1e4e9; background: #fff; }
.study-overview-link { display: flex; min-height: 47px; align-items: center; gap: 13px; padding: 0 13px; border-bottom: 1px solid #e6e8ec; color: #455166; font-size: 14px; }
.study-overview-link:hover, .study-overview-link.is-active { background: #f4f6f8; color: #202630; }
.study-overview-icon { color: #7b879b; font-size: 16px; }
.study-material-group + .study-material-group { border-top: 1px solid #e6e8ec; }
.study-material-heading { display: grid; gap: 4px; margin: 0; padding: 14px 14px 7px; color: #455166; font-size: 12px; font-weight: 600; line-height: 1.4; }
.study-material-heading span { color: #929bad; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.study-module { border-bottom: 1px solid #eceef1; }
.study-module summary { display: grid; min-height: 49px; grid-template-columns: 20px minmax(0, 1fr) 12px; align-items: center; gap: 10px; padding: 8px 12px 8px 7px; color: #354052; cursor: pointer; list-style: none; }
.study-module summary::-webkit-details-marker { display: none; }
.study-module summary:hover { background: #f7f8fa; }
.study-module[open] > summary { color: #17191d; }
.study-module-number { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #d4dae3; color: #fff; font-size: 12px; font-weight: 700; }
.study-module[open] > summary .study-module-number { background: #17191d; }
.study-module-title { font-size: 14px; line-height: 1.45; }
.study-chevron { width: 7px; height: 7px; border-right: 1.5px solid #7c8798; border-bottom: 1.5px solid #7c8798; transform: rotate(-45deg); transition: transform .15s; }
.study-module[open] > summary .study-chevron { transform: rotate(45deg); }
.study-lesson-list { display: grid; padding-bottom: 4px; }
.study-lesson-link { display: grid; min-height: 43px; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 13px 8px 7px; color: #667185; }
.study-lesson-link:hover { background: #f7f8fa; color: #202630; }
.study-lesson-link.is-active { background: #e9ebee; color: #17191d; }
.study-lesson-number { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #b9c1ce; color: #fff; font-size: 12px; font-weight: 700; }
.study-lesson-link.is-active .study-lesson-number { background: #17191d; }
.study-lesson-link.is-completed .study-lesson-number { background: #00a84f; color: #fff; font-size: 14px; }
.study-lesson-link.is-active.is-completed .study-lesson-number { background: #111; }
.study-lesson-title { font-size: 12px; line-height: 1.45; }
.study-no-lessons, .study-sidebar-empty { margin: 0; padding: 8px 12px 12px 37px; color: #929bad; font-size: 12px; line-height: 1.5; }
.study-no-modules { padding-left: 14px; }
.study-content { min-width: 0; }
.study-content-inner { width: min(100%, 850px); margin: 0 auto; padding: 50px 34px 70px; }
.study-lesson-meta, .study-eyebrow { display: flex; align-items: center; gap: 9px; color: #8490a2; font-size: 12px; font-weight: 600; letter-spacing: 1.1px; }
.study-content h1 { max-width: 760px; margin: 22px 0 29px; color: #111; font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 600; letter-spacing: -1.15px; line-height: 1.18; }
.study-lead { max-width: 760px; margin: 0 0 22px; color: #383b40; font-size: 16px; line-height: 1.9; }
.study-prose { max-width: 760px; color: #292c31; font-size: 16px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.study-rich-content { color: #0d0d0d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.95; white-space: normal; }
.study-paragraph { max-width: 760px; margin: 0 0 21px; color: #0d0d0d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.study-rich-content h1 { max-width: 760px; margin: 1.5em 0 .55em; padding-bottom: .28em; border-bottom: 1px solid #e4e9dc; color: #253b2c; font-size: 30px; font-weight: 700; letter-spacing: -.7px; line-height: 1.3; }
.study-rich-content h2 { max-width: 760px; margin: 1.35em 0 .5em; padding-left: 12px; border-left: 4px solid #9fc545; color: #354b32; font-size: 23px; font-weight: 700; letter-spacing: -.35px; line-height: 1.35; }
.study-rich-content h3 { max-width: 760px; margin: 1.2em 0 .45em; color: #45563f; font-size: 19px; font-weight: 650; line-height: 1.4; }
.study-rich-content ul, .study-rich-content ol { max-width: 760px; margin: .8em 0 1.2em; padding-left: 1.7em; color: #0d0d0d; }
.study-rich-content ul { list-style-type: disc; }
.study-rich-content ol { list-style-type: decimal; }
.study-rich-content li { margin: .42em 0; padding-left: .3em; line-height: 1.8; }
.study-rich-content ul > li::marker { color: #829b55; }
.study-rich-content ol > li::marker { color: #627a43; font-weight: 700; }
.study-rich-content li > ul, .study-rich-content li > ol { margin: .35em 0; }
.study-inline-code { display: inline-block; padding: 0 5px; border: 1px solid #aeb5c0; border-radius: 5px; background: #f8f9fb; color: #333b4b; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82em; line-height: 1.65; vertical-align: .04em; }
.study-code-block { max-width: 760px; margin: 23px 0 28px; overflow: hidden; border: 1px solid #e0e4eb; border-radius: 8px; background: #fff; }
.study-code-block figcaption { padding: 9px 14px; border-bottom: 1px solid #e9ebef; background: #fafbfc; color: #929bad; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.study-code-block pre { margin: 0; padding: 15px 16px; overflow-x: auto; color: #343944; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; tab-size: 4; }
.study-code-block code { font: inherit; }
.study-sql-keyword { color: #ef5262; }
.study-sql-identifier { color: #564bb4; }
.study-sql-string { color: #45815a; }
.study-sql-comment { color: #929bad; font-style: italic; }
.study-overview-material { margin-top: 34px; padding-top: 25px; border-top: 1px solid #e7e9ed; }
.study-overview-material h2, .study-empty-state h2 { margin: 12px 0; font-family: var(--font-display); font-size: 22px; letter-spacing: -.5px; }
.study-overview-material .study-prose { font-size: 16px; }
.study-empty-state { margin-top: 36px; padding: 25px; border: 1px solid #e7e9ed; border-radius: 6px; }
.study-empty-state p { margin: 0; color: #778196; font-size: 14px; }
.study-pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 54px; padding-top: 20px; border-top: 1px solid #e7e9ed; }
.study-completed-badge { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 6px 12px; border: 1px solid #a6e8c2; border-radius: 999px; background: #f0fff6; color: #00883f; font-size: 14px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.study-completed-badge[hidden], .study-completion-form[hidden], .study-completion-error[hidden] { display: none; }
.study-completion-sentinel { height: 1px; margin-top: 16px; }
.study-completion-form { margin-top: 18px; }
.study-completion-button { padding: 9px 15px; border: 1px solid #a6e8c2; border-radius: 999px; background: #f0fff6; color: #00883f; font-size: 14px; font-weight: 600; cursor: pointer; }
.study-completion-button:hover { background: #e1ffed; }
.study-completion-button:disabled { opacity: .6; cursor: wait; }
.study-completion-error { margin: 10px 0; color: #a52c2c; font-size: 14px; }
.study-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.study-page-link { display: flex; max-width: 48%; align-items: center; gap: 11px; color: #455166; }
.study-page-link:hover { color: #243b2c; }
.study-page-link span:first-child:last-child { font-size: 18px; }
.study-page-link small, .study-page-link strong { display: block; }
.study-page-link small { margin-bottom: 5px; color: #929bad; font-size: 12px; letter-spacing: .9px; }
.study-page-link strong { overflow: hidden; max-width: 300px; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.study-page-next { margin-left: auto; text-align: right; }
.study-page-next > span:last-child { font-size: 18px; }
@media (max-width: 620px) {
    .learner-nav { height: 62px; }
    .learner-greeting { max-width: 120px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .learner-nav-actions { gap: 9px; }
    .learner-profile-link { font-size: 12px; }
    .learner-courses-main { width: calc(100% - 30px); padding-top: 34px; }
    .learner-heading h1 { font-size: 28px; }
    .learner-course-grid { grid-template-columns: 1fr; }
    .learner-profile-panel { padding: 17px 14px; }
    .learner-profile-photo { align-items: flex-start; flex-direction: column; }
    .learner-profile-photo > .form-field { width: 100%; }
    .study-topbar { height: 54px; gap: 9px; padding: 0 12px; }
    .study-back-link { font-size: 12px; }
    .study-topbar-divider { height: 17px; }
    .study-course-title { font-size: 12px; }
    .study-course-count { display: none; }
    .study-account-links a { font-size: 12px; }
    .study-layout { min-height: calc(100vh - 54px); grid-template-columns: 1fr; }
    .study-sidebar { position: static; height: auto; max-height: 42vh; border-right: 0; border-bottom: 1px solid #e1e4e9; }
    .study-content-inner { padding: 31px 20px 48px; }
    .study-content h1 { margin: 17px 0 21px; font-size: 29px; }
    .study-lead, .study-prose { font-size: 16px; line-height: 1.8; }
    .study-paragraph { font-size: 16px; line-height: 1.8; }
    .study-rich-content h1 { font-size: 26px; }
    .study-rich-content h2 { font-size: 21px; }
    .study-rich-content h3 { font-size: 18px; }
    .study-code-block pre { font-size: 12px; }
    .study-pagination { margin-top: 38px; }
}
