:root { color-scheme: light; --ink: #243033; --muted: #58676d; --accent: #116e66; --line: #d7e1df; --paper: #ffffff; --canvas: #f5f7f7; --archive: #8c324b; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
:focus-visible { outline: 3px solid #9b3158; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; line-height: 1.25; margin-bottom: 10px; }
h2 { font-size: 18px; line-height: 1.4; margin-bottom: 6px; }
p { margin-bottom: 8px; }
.content-width, .header-inner { max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; }
.header-inner > div { min-width: 0; }
.header-inner .account-links { flex-shrink: 0; }
.brand { font-size: 21px; font-weight: 720; color: var(--ink); text-decoration: none; }
.school { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.account-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.account-links form { margin: 0; }
.icon { flex: 0 0 18px; vertical-align: middle; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.icon-button:hover { background: var(--canvas); }
.edition-band { background: var(--canvas); border-bottom: 1px solid var(--line); }
.edition-band .content-width { display: flex; align-items: center; gap: 18px; padding-block: 12px; font-size: 14px; font-weight: 600; }
.archive-label { color: var(--archive); font-size: 13px; font-weight: 700; }
.course-nav { display: flex; flex-wrap: wrap; gap: 0 26px; border-bottom: 1px solid var(--line); }
.nav-core, .nav-supplement { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-width: 0; }
.nav-supplement { padding-left: 24px; border-left: 1px solid var(--line); margin-left: auto; gap: 0 18px; }
.course-nav a { padding: 17px 0 13px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.course-nav a[aria-current] { color: var(--accent); border-color: var(--accent); }
.course-nav a:hover { color: var(--ink); }
.nav-supplement a { color: #873d58; }
.nav-supplement a[aria-current] { color: #873d58; border-color: #873d58; }
.page-heading { padding-block: 32px 22px; }
.page-heading #downloads { margin-top: 14px; font-size: 14px; }
main.content-width { padding-bottom: 48px; }
.page-heading p, .muted { color: var(--muted); font-size: 14px; }
.chapter-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 8px 8px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; min-width: 0; }
.chapter-row h3 { font-size: 15px; line-height: 1.4; font-weight: 620; margin: 0; overflow-wrap: anywhere; }
.chapter-number { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.resource-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; align-items: center; font-size: 13px; }
.resource-link, .interactive-link { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-weight: 600; text-decoration: none; }
.unavailable { color: var(--muted); font-size: 12px; }
.chapter-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chapter-row .resource-actions { grid-column: 1 / -1; justify-content: flex-start; gap: 2px 12px; align-self: end; }
.package-row, .edition-row, .activity-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 24px 0; border-block: 1px solid var(--line); }
.package-row { margin-bottom: 28px; }
.edition-row h2 { margin-block: 8px; font-size: 22px; }
.edition-row p, .activity-row p { color: var(--muted); }
.primary-link, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 5px; padding: 11px 17px; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; }
.primary-link .icon, .primary-button .icon { filter: brightness(0) invert(1); }
.primary-link:hover, .primary-button:hover { background: #0d5750; color: white; }
.assessment-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.assessment-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; align-items: center; border: 1px solid var(--line); border-radius: 5px; padding: 12px 16px; }
.assessment-row .interactive-link { font-size: 13px; }
.quiz-status { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.assessment-row p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.assessment-row h2 { font-size: 17px; margin: 0; }
.platform { font-size: 14px; font-weight: 600; }
.archive-note { color: var(--muted); margin-bottom: 24px; }
.eyebrow { font-size: 13px; color: var(--archive); font-weight: 700; }
.login-section { width: 100%; max-width: 410px; margin: 64px auto 90px; }
.login-section h1 { margin-top: 13px; }
.login-section > p { color: var(--muted); }
.login-form { display: grid; gap: 12px; margin-top: 26px; }
.login-form label { font-size: 14px; font-weight: 650; }
.login-form input[type=password] { width: 100%; min-width: 0; height: 46px; padding: 8px 12px; border: 1px solid #91a5a0; border-radius: 5px; }
.login-form button { margin-top: 8px; }
.alert { color: #82273b !important; background: #fff2f5; padding: 12px 14px; border-left: 3px solid #82273b; }
footer.content-width { color: var(--muted); font-size: 12px; padding-block: 36px; margin-top: 30px; }
footer span { margin-inline: 8px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 10px; background: white; z-index: 10; }
.skip-link:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.course-overview { padding-block: 18px 10px; border-bottom: 1px solid var(--line); }
.course-overview h1 { font-size: 20px; margin-bottom: 6px; }
.course-overview .course-facts { margin-block: 4px 6px; line-height: 1.4; }
.course-overview .course-facts > div { padding-block: 1px; }
.course-overview .course-note { padding: 6px 12px; margin: 0; line-height: 1.4; }
.course-overview .course-contacts { margin-top: 4px; }
.course-overview + .page-heading { padding-block: 16px 12px; }
.course-overview + .page-heading #downloads { margin-top: 4px; }
.course-overview > p, .assessment-intro > p { max-width: 960px; }
.course-facts { margin-block: 18px; font-size: 14px; }
.course-facts > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding-block: 5px; }
.course-facts dt { font-weight: 650; }
.course-facts dd { margin: 0; }
.course-contacts { margin-top: 12px; font-size: 14px; }
summary { cursor: pointer; color: var(--accent); font-weight: 600; min-height: 32px; padding-block: 4px; }
details > p { margin-top: 8px; }
.course-contacts p { overflow-wrap: anywhere; }
.plain-list { margin-block: 16px 24px; padding-left: 22px; }
.plain-list li { padding-left: 4px; margin-bottom: 7px; }
.course-note { color: #365b77; background: #f0f6fa; border-left: 3px solid #688da8; padding: 12px 16px; font-size: 14px; }
.plain-list.course-note { padding-left: 34px; margin-bottom: 0; }
.course-note li:last-child { margin-bottom: 0; }
.assessment-intro, .exam-information { padding-bottom: 22px; }
.practice-information { padding: 20px; background: #f8f2f5; border-left: 3px solid #a96681; }
.practice-information h2 { color: #873d58; }
.exam-date { font-weight: 600; }
.availability-note { border-left: 3px solid #a75817; padding: 8px 14px; margin-block: 16px; background: #fff8ed; }
.guide-body { max-width: 800px; }
.guide-steps { padding-left: 26px; }
.guide-steps li { padding: 10px 0 12px 10px; border-bottom: 1px solid var(--line); }
.guide-checks { margin-block: 18px; }
.reference-links { color: var(--muted); font-size: 13px; margin-top: 18px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
p code { overflow-wrap: anywhere; }
.tutorial-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 34px; }
.tutorial-nav nav { position: sticky; top: 20px; padding-right: 22px; border-right: 1px solid var(--line); font-size: 13px; }
.tutorial-nav h2 { font-size: 15px; }
.tutorial-nav ol { margin-block: 12px 20px; padding-left: 22px; }
.tutorial-nav li { padding: 6px 0 6px 2px; }
.tutorial-nav a { text-decoration: none; }
.tutorial-body, .lesson-section { min-width: 0; }
.lesson-section { padding-block: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.lesson-section h2 { font-size: 20px; }
.prediction { color: #77334e; margin-top: 14px; }
.code-example { margin-block: 16px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--canvas); }
.code-example pre { margin: 0; white-space: pre; overflow-x: auto; max-width: 100%; padding: 16px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; }
.code-example pre code { font: inherit; }
.run-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-block: 1px solid var(--line); padding: 8px 12px; background: white; }
.run-button { display: inline-flex; align-items: center; gap: 7px; min-width: 84px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--accent); background: white; border-radius: 4px; color: var(--accent); cursor: pointer; font-weight: 600; }
.run-button[disabled] { opacity: .55; cursor: wait; }
.run-button:hover { background: #eaf4f2; }
.output-label { font-size: 12px; font-weight: 650; }
.run-status { color: var(--muted); font-size: 12px; }
.code-output { min-height: 100px; background: #fff; }
.session-recovery { display: inline-block; margin: 0 16px 16px; }
.exercise { margin-top: 18px; }
.tutorial-downloads { justify-content: flex-start; margin-block: 16px; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
    .course-nav { gap: 0; }
    .nav-core, .nav-supplement { width: 100%; }
    .nav-supplement { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-actions { grid-column: 2; justify-content: flex-start; gap: 12px 22px; }
    .assessment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .content-width, .header-inner { padding-inline: 18px; }
    .header-inner { align-items: flex-start; gap: 12px; }
    .brand { display: block; font-size: 18px; line-height: 1.35; }
    .account-links { gap: 10px; font-size: 12px; }
    .account-links a { padding-top: 10px; }
    .course-nav { gap: 0 20px; }
    .course-nav a { padding-block: 12px 8px; font-size: 13px; }
    .nav-core { gap: 0 16px; }
    .nav-supplement { gap: 0 16px; }
    .course-facts > div { grid-template-columns: 1fr; gap: 2px; padding-block: 7px; }
    .tutorial-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tutorial-nav nav { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
    .tutorial-nav ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .tutorial-nav li { padding-block: 7px; }
    .code-example pre { font-size: 12px; padding: 12px; }
    h1 { font-size: 25px; }
    .page-heading { padding-top: 25px; }
    .chapter-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .course-overview .course-facts > div { gap: 0; padding-block: 2px; }
    .resource-actions { display: flex; flex-wrap: wrap; gap: 5px 18px; }
    .resource-actions .unavailable { min-height: 32px; display: flex; align-items: center; }
    .package-row, .edition-row, .activity-row { align-items: flex-start; flex-direction: column; gap: 16px; }
    .assessment-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .assessment-row { padding: 8px 12px; }
    .login-section { margin-top: 42px; }
    footer span { display: block; height: 5px; visibility: hidden; }
}
:root .course-footer { display: flex; justify-content: flex-end; padding: 12px 0 24px; }
.footer-signout { border: 0; padding: 6px 0; background: transparent; color: #5f6b79; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.footer-signout:focus-visible { outline: 2px solid #19756f; outline-offset: 4px; }
