/* Course path. */
.unified-map { max-width:840px; margin:28px auto 0; font-family:Inter,"Segoe UI",Arial,sans-serif; }
.unified-map #course-lesson-list,.unified-map #roadmap { display:grid; gap:38px; width:100%; margin:0; }
.unified-map #roadmap { margin-top:38px; }
.unified-map .path-chapter { display:block; padding:0; border:0; border-radius:20px; background:transparent; box-shadow:none; min-width:0; }
.unified-map .chapter-banner { display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:24px; align-items:center; padding:28px; border:1px solid #45405f; border-radius:20px; background:linear-gradient(125deg,#31284c,#232b40); }
.unified-map .chapter-banner h3 { font-family:inherit; font-size:23px; font-weight:750; letter-spacing:-.7px; margin:4px 0 10px; line-height:1.3; }
.unified-map .chapter-banner p { font-size:14px; line-height:1.7; max-width:530px; margin:0 0 7px; color:var(--muted); }
.unified-map .chapter-banner small { font-size:12px; color:var(--muted); }
.unified-map .chapter-number { display:grid; place-content:center; width:64px; height:64px; border-radius:18px; background:#a995ff20; color:#cabdff; font-size:26px; font-weight:750; border:1px solid #a995ff44; }
.unified-map .path-chapter .eyebrow { font-size:10px; letter-spacing:2px; margin-bottom:7px; }
.unified-map .path-chapter progress { display:block; width:190px; max-width:100%; height:6px; margin-top:10px; border:0; border-radius:10px; overflow:hidden; accent-color:var(--accent); }
.unified-map progress::-webkit-progress-bar { background:var(--line); }
.unified-map progress::-webkit-progress-value { background:var(--accent); border-radius:10px; }
.unified-map .chapter-banner .button { padding:12px 20px; border:1px solid var(--button); border-radius:12px; background:var(--button); color:#fff; font-size:13px; font-weight:750; line-height:1.65; letter-spacing:.15px; box-shadow:0 4px 0 #493686; transform:translateY(-2px); white-space:nowrap; }
.unified-map .chapter-banner .button:active { transform:translateY(1px); box-shadow:0 1px 0 #493686; }
.unified-map .current-chapter .chapter-banner { border-color:#9e86ed; box-shadow:0 0 0 4px #9e86ed0c; }
.unified-map .path-chapter details { width:100%; margin:0; padding:0; border:0; }
.unified-map .path-chapter summary { font-size:14px; font-weight:400; padding:20px 28px; color:var(--muted); }
.unified-map .path-chapter summary span { float:right; font-size:12px; }
.unified-map .unit-path { display:flex; flex-direction:column; align-items:center; position:relative; padding:16px 30px 40px; gap:32px; }
.unified-map .unit-divider { align-self:stretch; margin:14px 0 4px; padding:28px 0 8px; border-top:1px dashed #3c4356; text-align:center; }
.unified-map .unit-divider span { display:block; color:var(--muted); font-size:11px; letter-spacing:2.5px; }
.unified-map .unit-divider strong { display:block; color:var(--ink); font-size:17px; font-weight:650; margin-top:9px; }
.unified-map .path-node { position:relative; display:flex; align-items:center; width:520px; max-width:calc(100% - 80px); gap:26px; min-height:114px; padding:14px 0; isolation:isolate; text-decoration:none; color:var(--ink); }
.unified-map .path-node:nth-of-type(4n+1) { transform:translateX(-42px); }
.unified-map .path-node:nth-of-type(4n+2),.unified-map .path-node:nth-of-type(4n) { transform:none; }
.unified-map .path-node:nth-of-type(4n+3) { transform:translateX(42px); }
.unified-map .node-bubble { display:grid; place-items:center; flex-shrink:0; width:84px; height:80px; border-radius:50%; border:3px solid #414b65; background:#2c3449; color:#b5bfd6; box-shadow:0 8px 0 #151c2b; font-size:28px; font-weight:800; transition:filter .12s; }
.unified-map .path-node:hover .node-bubble { filter:brightness(1.2); }
.unified-map .path-current .node-bubble { background:#8568eb; color:#fff; border-color:#b4a0ff; box-shadow:0 8px 0 #493686; outline:3px solid #ab94ff30; outline-offset:8px; }
.unified-map .path-done .node-bubble { background:#265d46; color:#a7edc0; border-color:#458665; box-shadow:0 8px 0 #143626; }
.unified-map .node-label { font-size:18px; line-height:1.5; font-weight:650; min-width:0; }
.unified-map .node-label small { display:block; color:var(--muted); font-size:12px; font-weight:400; margin-top:8px; line-height:1.6; }
.unified-map .start-tag { position:absolute; left:42px; top:-10px; transform:translateX(-50%); font-size:9px; padding:5px 10px; border:1px solid #c6b7ff; border-radius:7px; background:#b6a2ff; color:#1e153e; font-weight:800; letter-spacing:.5px; white-space:nowrap; }
.unified-map .path-node:active .node-bubble { transform:translateY(4px); box-shadow:0 4px 0 #151c2b; }
.dashboard-view > .section-heading { max-width:840px; margin-left:auto; margin-right:auto; }
@media(max-width:850px) {
 .unified-map .chapter-banner { grid-template-columns:56px minmax(0,1fr); gap:18px; }
 .unified-map .chapter-number { width:56px; height:56px; }
 .unified-map .chapter-banner .button { grid-column:2; justify-self:start; }
}
@media(max-width:600px) {
 .unified-map .chapter-banner { padding:22px 18px; grid-template-columns:48px minmax(0,1fr); gap:16px; border-radius:17px; }
 .unified-map .chapter-number { width:48px; height:48px; font-size:22px; border-radius:14px; }
 .unified-map .chapter-banner h3 { font-size:20px; }
 .unified-map .chapter-banner p { font-size:13px; }
 .unified-map .path-chapter summary { padding:19px 12px; font-size:13px; }
 .unified-map .unit-path { padding:8px 12px 26px; gap:30px; }
 .unified-map .unit-divider { padding-top:22px; }
 .unified-map .unit-divider strong { font-size:15px; }
 .unified-map .path-node { width:100%; max-width:100%; gap:20px; min-height:102px; padding:12px 4px; }
 .unified-map .path-node:nth-of-type(n) { transform:none; }
 .unified-map .path-node:nth-of-type(even) { padding-left:20px; }
 .unified-map .node-bubble { width:70px; height:66px; font-size:24px; }
 .unified-map .node-label { font-size:16px; }
 .unified-map .node-label small { font-size:11px; line-height:1.6; }
 .unified-map .start-tag { left:39px; top:-11px; font-size:8px; }
}

/* Introduction and Python preview. */
#acasa .welcome-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); max-width:1000px; margin:0 auto 30px; gap:60px; align-items:center; min-height:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
#acasa .welcome-copy h1 { font-size:clamp(34px,4.2vw,52px); letter-spacing:-1.6px; line-height:1.14; margin:16px 0 20px; }
#acasa .welcome-copy .lead { font-size:17px; line-height:1.8; margin:0 0 24px; }
.python-hero { background:#1c1d32; border:1px solid #36324e; border-radius:22px; padding:26px 30px; box-shadow:0 20px 65px #0003; max-width:370px; justify-self:end; width:100%; }
.python-hero > small { font-size:10px; letter-spacing:2px; color:var(--accent); }
.python-mini-window { background:var(--code); border-radius:12px; margin-top:16px; box-shadow:0 12px 30px #30215716; overflow:hidden; }
.python-window-dots { padding:10px 16px; color:#b7a3ed; font-size:13px; letter-spacing:4px; border-bottom:1px solid #ffffff12; }
.python-mini-window pre { background:none; margin:0; padding:20px; border-radius:0; font-size:13px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere; }
.python-mini-window code { font-family:Consolas,"Cascadia Code",monospace; font-size:inherit; color:#e6eaf5; }
.python-demo-number { color:#ffcb91; }
.python-demo-function { color:#c5a1ff; }
.python-mini-result { background:var(--paper); border-radius:8px; padding:14px 18px; margin-top:12px; font-size:14px; color:#c4b6ff; border:1px solid #36324e; }
.python-mini-result span { font-size:10px; color:var(--muted); display:block; margin-bottom:3px; }
.python-mini-result strong { font-family:Consolas,"Cascadia Code",monospace; }
#acasa > .section-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:30px; }
#acasa > .section-heading > span { font-size:12px; color:var(--muted); letter-spacing:0; }
@media(max-width:850px) { #acasa .welcome-layout { gap:24px; } }
@media(max-width:600px) {
 #acasa .welcome-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
 #acasa .welcome-copy h1 { font-size:36px; }
 #acasa .welcome-copy .lead { font-size:16px; }
 .python-hero { justify-self:center; }
}

/* Course notes. */
#acasa > .notice { width:100%; max-width:840px; margin:24px auto 0; padding:20px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; color:var(--muted); font-size:12px; line-height:1.7; }
#acasa > details.notice { margin-top:24px; padding:20px 0 0; }
#acasa > details.notice > summary { padding:0; color:var(--muted); font-size:13px; font-weight:400; }
#acasa > details.notice > p { margin:14px 0 0; font-size:12px; line-height:1.7; color:var(--muted); }
