/* GoPath — quiet surfaces, bright ideas. No external fonts or runtime dependencies. */
:root {
  color-scheme: light;
  --canvas: #f6f8fa;
  --paper: #ffffff;
  --ink: #253746;
  --heading: #203240;
  --muted: #7b8997;
  --soft-text: #647585;
  --line: #e9edf1;
  --primary: #079bc2;
  --primary-dark: #067e9f;
  --sidebar-width: 228px;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(33, 60, 76, .035);
  --accent: #079bc2;
  --tint: #eaf6fb;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, textarea, select { color: inherit; }
button { border: 0; background: none; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 650; }
h1 { font-size: 29px; line-height: 1.45; letter-spacing: -.7px; }
h2 { font-size: 20px; line-height: 1.45; letter-spacing: -.35px; }
h3 { font-size: 16px; line-height: 1.55; }
::selection { background: #cbebf5; color: #1b4a5d; }
:focus-visible { outline: 3px solid #83cddd; outline-offset: 4px; border-radius: 5px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.icon { width: 19px; height: 19px; display: inline-block; vertical-align: middle; }
.blue { --accent: #119cc6; --tint: #eaf6fb; --cover: #e7f4fa; }
.purple { --accent: #8270c9; --tint: #f1edfb; --cover: #f0edfb; }
.teal { --accent: #399f9b; --tint: #e8f6f3; --cover: #e7f5f1; }
.orange { --accent: #d19a43; --tint: #fff5e7; --cover: #fcf2e5; }
.green { --accent: #5b9f78; --tint: #ecf6ef; --cover: #eaf6ed; }
.pink { --accent: #c67c94; --tint: #fbedf1; --cover: #f8ecf1; }
.indigo { --accent: #687dc2; --tint: #edf0fc; --cover: #eaf0fc; }
.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; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); font-size: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 42px; padding: 10px 18px; font-size: 13px; font-weight: 550; line-height: 1.5; border-radius: 8px; border: 1px solid transparent; transition: background .16s, border-color .16s, box-shadow .16s, transform .16s; white-space: nowrap; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 3px 8px #079bc218; }
.button.primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px #079bc22b; transform: translateY(-1px); }
.button.secondary { border-color: #e1e7ec; background: white; color: #526575; }
.button.secondary:hover { background: #f9fbfc; border-color: #c5dae2; }
.button.secondary:disabled { background: #f0f8f5; color: #488d72; border-color: #dfede7; }
.icon-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: #8b98a4; transition: background .15s, color .15s; }
.icon-button:hover { background: #edf6f8; color: var(--primary); }
.text-link, .text-button { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-dark); font-size: 12px; font-weight: 500; white-space: nowrap; }
.text-link:hover, .text-button:hover { color: #026078; }
.text-link .icon, .text-button .icon { width: 15px; height: 15px; }
.is-saved { color: #068ead !important; }
.is-saved .icon { fill: #b9e7f1; }
.small-pill { border: 1px solid var(--line); padding: 4px 8px; font-size: 10px; color: var(--muted); border-radius: 5px; white-space: nowrap; background: #fff; }
.eyebrow { color: #8b98a3; font-size: 10px; letter-spacing: 1.7px; font-weight: 600; line-height: 1.6; }
.tile-icon { width: 43px; height: 43px; background: var(--tint); color: var(--accent); border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile-icon .icon { width: 23px; height: 23px; stroke-width: 1.6; }
.progress-track { display: block; width: 100%; height: 5px; background: #edf1f4; overflow: hidden; border-radius: 100px; }
.progress-track > span { height: 100%; display: block; background: var(--primary); border-radius: inherit; transition: width .3s; }

/* Navigation shell */
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 34px 20px 17px; background: #fff; border-right: 1px solid #e8edf1; display: flex; flex-direction: column; }
.brand { display: flex; gap: 10px; align-items: center; padding: 0 9px; font-size: 25px; font-weight: 720; color: #273e4d; letter-spacing: -.6px; line-height: 1.2; }
.brand-mark { width: 39px; height: 39px; background: var(--primary); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.brand-mark .icon { width: 31px; height: 31px; stroke-width: 2; }
.brand-subtitle { display: block; font-size: 9px; font-weight: 400; letter-spacing: 1px; color: #8b99a4; margin-top: 6px; }
.workspace-label { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #7c8b97; background: #f7f9fb; border: 1px solid #edf1f4; border-radius: 6px; margin: 28px 7px 23px; padding: 8px 9px; white-space: nowrap; }
.workspace-dot { width: 5px; height: 5px; border-radius: 100%; background: #51b1bd; }
.edition { margin-left: auto; font-size: 8px; letter-spacing: .6px; color: #9eabb5; }
.nav-label { font-size: 10px; color: #a1abb3; margin: 0 14px 11px; letter-spacing: 1px; }
.nav-label.second-label { margin-top: 32px; }
.nav-link { height: 45px; border-radius: 8px; display: flex; gap: 13px; align-items: center; padding: 0 13px; color: #667887; margin-bottom: 6px; font-size: 13px; transition: background .15s, color .15s; }
.nav-link .icon { width: 18px; height: 18px; color: #8694a1; }
.nav-link:hover { background: #f5f9fb; color: var(--primary-dark); }
.nav-link.active { background: #eaf6fb; color: #0789b0; font-weight: 600; position: relative; }
.nav-link.active .icon { color: #078fb9; }
.nav-link.active::before { position: absolute; content: ""; left: -20px; width: 3px; height: 21px; background: #119dc7; border-radius: 0 3px 3px 0; }
.nav-count { margin-left: auto; color: #9aa7b2; font-size: 10px; min-width: 19px; text-align: center; font-variant-numeric: tabular-nums; }
.nav-link.active .nav-count { color: #52a7c0; }
.sidebar-bottom { margin-top: auto; padding-top: 34px; }
.sidebar-note { background: #f7fafb; border: 1px solid #eaf0f3; border-radius: 10px; padding: 17px 13px; margin: 0 4px 16px; }
.sidebar-note > .icon { color: #e0b65f; width: 21px; height: 21px; margin-bottom: 8px; }
.sidebar-note strong { display: block; font-size: 11px; font-weight: 550; color: #596f7c; }
.sidebar-note p { font-size: 10px; line-height: 1.9; color: #8a9aa6; margin: 7px 0 13px; }
.sidebar-note a { display: flex; align-items: center; justify-content: space-between; color: #4e94a7; font-size: 10px; }
.sidebar-note a .icon { width: 13px; height: 13px; }
.local-status { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #99a4ae; padding: 0 7px; white-space: nowrap; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #70b79a; }
.status-dot.offline { background: #d7ac6e; }
.local-status .icon { width: 12px; height: 12px; margin-left: auto; }
.workspace { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { height: 74px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-location { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #566b7b; white-space: nowrap; }
.breadcrumb-root { color: #9aa6b0; }
.topbar-location > .icon { width: 12px; height: 12px; color: #b4bec6; }
.topbar-tools { display: flex; align-items: center; gap: 22px; }
.search-form { display: flex; align-items: center; gap: 8px; width: 280px; height: 35px; padding: 0 10px; background: #f7f9fb; border: 1px solid #edf0f3; border-radius: 7px; position: relative; }
.search-form:focus-within { border-color: #a4d6e3; box-shadow: 0 0 0 3px #079bc207; }
.search-form > .icon { color: #96a5b0; width: 16px; height: 16px; }
.search-form input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 11px; color: #49606f; padding: 5px 0; }
.search-form input::placeholder { color: #9ca8b2; }
kbd { font-family: inherit; font-size: 11px; color: #a2adb6; background: #fff; border: 1px solid #e4e9ed; border-radius: 4px; padding: 0 5px; height: 20px; min-width: 18px; text-align: center; }
.playground-link { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #748695; }
.playground-link .icon { width: 15px; height: 15px; }
.playground-link .icon:last-child { width: 11px; height: 11px; margin-left: 2px; }
.avatar { background: #eaf5f6; border: 3px solid #fff; outline: 1px solid #e8edef; border-radius: 50%; color: #5496a2; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; }
.main-content { max-width: 1550px; padding: 32px 34px 0; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 25px; }
.page-heading .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 6px; color: #8fa0ac; }
.page-heading h1 { font-size: 27px; font-weight: 650; letter-spacing: .2px; }
.page-description { margin-top: 7px; color: #84929f; font-size: 12px; }
.heading-note { display: flex; align-items: center; gap: 6px; color: #8697a4; font-size: 11px; align-self: flex-end; margin-bottom: 5px; }
.heading-note .icon { width: 15px; height: 15px; color: #bba778; }
.page-badge { display: flex; gap: 8px; align-items: center; background: #edf6f9; padding: 9px 13px; border-radius: 7px; color: #5f99aa; font-size: 11px; letter-spacing: .6px; white-space: nowrap; }
.mobile-menu { display: none; }

/* Dashboard */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 20px; }
.hero { position: relative; overflow: hidden; border: 1px solid #dcecf1; background: #ebf6fa; border-radius: var(--radius); min-height: 265px; }
.hero-copy { position: relative; z-index: 2; padding: 27px 30px 23px; max-width: 70%; }
.hero-eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 600; color: #5a9daf; display: flex; align-items: center; gap: 6px; }
.hero-eyebrow > span { width: 5px; height: 5px; background: #5cacbb; border-radius: 50%; }
.hero h2 { font-size: 30px; font-weight: 650; line-height: 1.45; margin-top: 12px; letter-spacing: .4px; color: #24424f; }
.hero h2 span { color: #0697bc; }
.hero-copy > p { color: #78939e; font-size: 11px; line-height: 1.9; margin-top: 11px; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.hero-actions .button { min-height: 39px; font-size: 11px; padding: 8px 15px; border-radius: 7px; }
.hero-secondary { color: #638b9a; font-size: 11px; display: flex; gap: 4px; align-items: center; white-space: nowrap; }
.hero-secondary .icon { width: 12px; height: 12px; }
.hero-footnote { display: flex; gap: 11px; align-items: center; font-size: 9px; color: #89a6b0; margin-top: 17px; }
.hero-footnote i { display: block; width: 3px; height: 3px; border-radius: 50%; background: #a9c5cd; }
.hero-illustration { position: absolute; width: 47%; height: auto; max-height: 95%; object-fit: contain; right: -4px; bottom: 6px; }
.study-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px 18px 14px; box-shadow: var(--shadow); }
.study-card-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.study-card-title h2 { font-size: 13px; font-weight: 600; }
.study-card-title .small-pill { font-size: 8px; padding: 3px 5px; border: 0; background: #f7f9fb; color: #99a6b0; }
.study-overview { display: flex; align-items: center; gap: 20px; padding: 21px 3px 20px; }
.progress-ring { width: 85px; height: 85px; flex-shrink: 0; padding: 6px; border-radius: 50%; background: conic-gradient(var(--primary) var(--progress), #ecf2f5 0); transform: rotate(0deg); }
.progress-ring > span { width: 100%; height: 100%; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.progress-ring strong { font-size: 23px; font-weight: 650; color: #3f5666; line-height: 1.1; letter-spacing: -.5px; }
.progress-ring strong small { font-size: 11px; margin-left: 1px; }
.progress-ring > span > small { font-size: 8px; color: #9aa8b1; margin-top: 5px; }
.study-overview > div:last-child { min-width: 0; }
.study-count { display: block; color: #355161; font-size: 22px; line-height: 1.1; letter-spacing: .1px; }
.study-count small { color: #9aabb6; font-size: 12px; font-weight: 400; }
.study-overview > div:last-child > span { display: block; color: #8b9aa6; font-size: 9px; margin-top: 5px; }
.study-overview a { display: flex; gap: 1px; align-items: center; font-size: 9px; color: #5e98a9; margin-top: 10px; }
.study-overview a .icon { width: 11px; height: 11px; }
.weekly-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid #f0f3f5; padding-top: 12px; font-size: 9px; color: #8595a1; }
.weekly-heading b { color: #5a7180; font-weight: 500; padding-left: 5px; }
.goal-control select { border: 0; font-size: 8px; color: #98a6b0; background: transparent; max-width: 72px; cursor: pointer; padding: 2px 0; }
.week-days { display: flex; gap: 7px; justify-content: space-between; margin-top: 8px; }
.week-day { display: flex; align-items: center; flex-direction: column; gap: 7px; flex: 1; }
.week-day > span:first-child { font-size: 8px; color: #9dabb4; }
.day-circle { width: 22px; height: 22px; border: 1px solid #eaf0f4; background: #fafbfc; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.week-day.today .day-circle { background: #f0fbfe; border: 1px solid #89cddb; }
.today-dot { width: 5px; height: 5px; background: #76bfd1; border-radius: 50%; }
.week-day.done .day-circle { background: #0ba0bb; border-color: #0ba0bb; color: white; }
.day-circle .icon { width: 13px; height: 13px; stroke-width: 2; }
.study-encouragement { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 8px; color: #a1adb6; }
.study-encouragement .icon { width: 11px; height: 11px; color: #b7a17d; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 31px; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 17px 8px; }
.stats-strip > div { display: grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 11px; align-items: center; padding: 0 21px; border-right: 1px solid #edf1f4; }
.stats-strip > div:last-child { border-right: 0; }
.stat-icon { width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--accent); background: var(--tint); grid-row: 1/3; }
.stat-icon .icon { width: 19px; height: 19px; }
.stats-strip strong { font-size: 21px; font-weight: 600; line-height: 1.2; color: #334c5c; letter-spacing: -.3px; }
.stats-strip strong span { font-size: 10px; font-weight: 400; letter-spacing: 0; margin-left: 7px; color: #687f8e; }
.stat-note { color: #9ba8b2; font-size: 9px; margin-top: 3px; }
.dashboard-section { margin-top: 30px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-heading h2 { font-size: 18px; font-weight: 650; letter-spacing: 0; }
.section-heading p { color: #8f9ca6; font-size: 11px; margin-top: 5px; }
.curriculum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.segmented-control { display: flex; align-items: center; padding: 3px; background: #eaf0f4; border: 1px solid #e6edf2; border-radius: 8px; }
.segmented-control button { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #7c8e9c; padding: 7px 15px; border-radius: 6px; min-height: 32px; }
.segmented-control button .icon { width: 14px; height: 14px; }
.segmented-control button span { font-size: 9px; color: #9ba9b3; }
.segmented-control button.active { color: #138aa8; background: white; box-shadow: 0 1px 5px #23465509; }
.segmented-control button.active span { background: #edf8fb; color: #50a1b9; border-radius: 3px; padding: 0 4px; }
.toolbar-note { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #9aa7b1; }
.toolbar-note .icon { width: 14px; height: 14px; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.chapter-card { padding: 19px 20px 0; border: 1px solid #e6ecf0; border-radius: 11px; background: white; box-shadow: var(--shadow); transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; }
.chapter-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 30%, white); box-shadow: 0 8px 22px #29435609; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-heading .tile-icon { width: 38px; height: 38px; border-radius: 9px; }
.card-heading .tile-icon .icon { width: 21px; height: 21px; }
.chapter-number { font-size: 22px; font-weight: 400; color: #e5ebef; font-family: "Consolas", monospace; }
.chapter-card h3 { font-size: 15px; color: #3e5261; font-weight: 600; }
.chapter-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 11px; }
.card-description { color: #8b9ba6; font-size: 10px; margin-top: 7px; line-height: 1.8; min-height: 19px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.tags > span { display: inline-flex; align-items: center; font-size: 8px; background: #f6f8fa; color: #8c9aa6; line-height: 1.55; border-radius: 4px; padding: 3px 6px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; border-top: 1px solid #f0f3f5; padding: 10px 0; }
.card-footer > span { display: flex; align-items: center; gap: 5px; color: #99a5af; font-size: 9px; }
.card-footer > span .icon { width: 12px; height: 12px; }
.card-footer i { display: inline-block; width: 2px; height: 2px; border-radius: 50%; background: #b7c1c8; margin: 0 3px; }
.card-arrow { color: #adbac3; position: relative; z-index: 1; display: inline-flex; padding: 3px; }
.card-arrow .icon { width: 16px; height: 16px; }
.chapter-card:hover .card-arrow { color: var(--accent); }
.card-progress { display: flex; gap: 8px; align-items: center; padding-bottom: 10px; }
.card-progress small { font-size: 8px; color: #8ea1aa; white-space: nowrap; }
.card-progress .progress-track { height: 3px; }
.project-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.filter-pills { display: flex; align-items: center; gap: 9px; }
.filter-pills > button, .filter-pills > a { font-size: 11px; padding: 6px 13px; border-radius: 6px; color: #8395a2; border: 1px solid transparent; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.filter-pills > .active { color: #0989ab; border-color: #cfeaf2; background: #eaf7fb; }
.filter-pills > :not(.active):hover { background: #edf2f5; color: #5d8395; }
.filter-pills.wrapping { flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { border: 1px solid #e6ecf0; border-radius: 11px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; min-width: 0; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #3142530b; }
.project-visual { position: relative; height: 144px; overflow: hidden; background-color: var(--cover); background-image: radial-gradient(color-mix(in srgb, var(--accent) 15%, transparent) .7px, transparent .7px); background-size: 13px 13px; display: flex; align-items: center; flex-direction: column; padding-top: 37px; }
.project-visual::after { content: ""; position: absolute; width: 175px; height: 175px; border: 1px solid color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 50%; left: calc(50% - 88px); top: 12px; }
.project-visual > .level-badge { position: absolute; left: 14px; top: 13px; z-index: 2; font-size: 8px; }
.level-badge { display: inline-flex; align-items: center; gap: 5px; background: #ffffffb8; border: 1px solid #ffffffda; color: #769181; border-radius: 4px; font-size: 9px; padding: 3px 7px; white-space: nowrap; }
.level-badge > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.level-badge.easy { color: #5d9d86; }
.level-badge.medium { color: #b69555; }
.level-badge.hard { color: #8c82b4; }
.project-visual .bookmark-button { position: absolute; right: 9px; top: 8px; z-index: 3; color: color-mix(in srgb, var(--accent) 58%, white); }
.project-visual .bookmark-button .icon { width: 16px; height: 16px; }
.project-visual .bookmark-button:hover { background: #ffffff90; }
.project-logo { width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; color: var(--accent); position: relative; z-index: 1; }
.project-logo .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.project-cover-name { font-weight: 650; font-size: 22px; letter-spacing: -.5px; color: color-mix(in srgb, var(--accent) 65%, #263747); position: relative; z-index: 1; margin-top: 1px; line-height: 1.5; }
.project-cover-caption { font-family: "Consolas", monospace; font-size: 8px; color: color-mix(in srgb, var(--accent) 45%, #97a7b1); letter-spacing: .3px; position: relative; z-index: 1; margin-top: 0; }
.visual-line { position: absolute; width: 38px; height: 1px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.visual-line.l1 { top: 82px; left: 23px; }
.visual-line.l2 { bottom: 34px; right: 31px; width: 23px; }
.visual-dot { position: absolute; width: 4px; height: 4px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 50%; }
.visual-dot.d1 { top: 80px; left: 64px; }
.visual-dot.d2 { bottom: 32px; right: 59px; }
.project-body { padding: 17px 18px 0; }
.project-body h3 { font-size: 14px; font-weight: 600; }
.project-body > p { margin-top: 8px; font-size: 10px; color: #8b9aa5; line-height: 1.9; min-height: 38px; }
.project-body .tags { margin-top: 12px; }
.project-footer { border-top: 1px solid #eef2f5; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; padding: 12px 0; font-size: 9px; }
.project-footer > span { display: flex; align-items: center; gap: 4px; color: #97a5ae; }
.project-footer > span .icon { width: 12px; height: 12px; }
.project-footer > a { color: #7594a5; display: flex; align-items: center; gap: 5px; }
.project-footer > a .icon { width: 12px; height: 12px; }
.dashboard-bottom { margin-top: 31px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.daily-quiz, .resource-preview { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 22px; }
.quiz-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.quiz-title .tile-icon { width: 34px; height: 37px; border-radius: 9px; }
.quiz-title .tile-icon .icon { width: 20px; height: 20px; }
.quiz-title .eyebrow { font-size: 8px; letter-spacing: 1px; color: #b4a382; }
.quiz-title h2 { font-size: 15px; margin-top: 3px; }
.quiz-counter { margin-left: auto; font-size: 9px; color: #a1afb8; }
.daily-quiz > h3 { font-size: 12px; font-weight: 500; margin-bottom: 13px; }
.quiz-options { display: grid; gap: 7px; }
.quiz-option { padding: 7px 10px; display: flex; align-items: center; gap: 9px; min-height: 35px; border: 1px solid #edf1f4; background: #f9fbfc; border-radius: 6px; text-align: left; font-size: 10px; color: #7a8d9a; transition: background .15s, border-color .15s; }
.quiz-option > span { font-size: 9px; width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; border: 1px solid #e4eaf0; background: white; border-radius: 4px; color: #92a4af; flex-shrink: 0; }
.quiz-option:not(:disabled):hover { border-color: #b9dce6; background: #f0f9fc; }
.quiz-option.correct { color: #4c9476; background: #edf8f1; border-color: #cce8d5; }
.quiz-option.incorrect { color: #b07c72; background: #fcf2ef; border-color: #edd8d0; }
.quiz-option .icon { width: 13px; height: 13px; margin-left: auto; }
.quiz-hint { margin-top: 11px; font-size: 9px; color: #a3afb7; }
.quiz-explanation { font-size: 11px; line-height: 1.9; background: #f6faf8; padding: 11px; margin-top: 10px; color: #7b948a; border-radius: 6px; }
.quiz-explanation a { display: flex; align-items: center; gap: 5px; color: #538d77; margin-top: 6px; }
.quiz-explanation a .icon { width: 13px; height: 13px; }
.daily-quiz > .text-button { font-size: 10px; margin-top: 12px; padding: 0; }
.resource-preview .section-heading { margin-bottom: 7px; }
.resource-preview .section-heading h2 { font-size: 15px; }
.resource-preview .section-heading p { font-size: 10px; }
.resource-preview .resource-card { border: 0; border-bottom: 1px solid #f0f3f5; border-radius: 0; padding: 14px 0; gap: 12px; }
.resource-preview .resource-card h3 { font-size: 11px; }
.resource-preview .resource-card p { font-size: 9px; }
.resource-preview .tile-icon { width: 33px; height: 33px; border-radius: 8px; }
.resource-preview .tile-icon .icon { width: 17px; height: 17px; }
.resource-preview .bookmark-button .icon { width: 15px; height: 15px; }
.resource-preview-note { margin-top: 16px; display: flex; align-items: center; gap: 5px; font-size: 8px; color: #a4afb7; }
.resource-preview-note .icon { width: 11px; height: 11px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; margin-top: 38px; border-top: 1px solid #e7edf1; color: #a7b1b9; font-size: 9px; }
.footer > span { display: flex; align-items: center; gap: 13px; }
.footer strong { font-size: 15px; color: #8b9da9; letter-spacing: -.5px; }
.footer strong span { color: #56b1c7; }
.footer a { display: inline-flex; align-items: center; gap: 5px; }
.footer .icon { width: 10px; height: 10px; }
.footer i { height: 9px; width: 1px; background: #dfe6eb; }

/* Full curriculum and project directory */
.info-banner { display: flex; align-items: center; gap: 13px; background: #edf7fa; color: #7e9aa5; border: 1px solid #dfedf2; border-radius: 10px; padding: 17px 20px; margin: 24px 0; font-size: 12px; }
.info-banner > .icon { color: #6da5b6; }
.info-banner > div { flex: 1; }
.info-banner strong { display: block; font-size: 12px; color: #5b8292; font-weight: 500; margin-bottom: 3px; }
.info-banner span { display: block; font-size: 11px; line-height: 1.8; }
.info-banner > a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 11px; }
.info-banner > a .icon { width: 14px; height: 14px; }
.info-banner.subtle { background: #f1f5f7; border-color: #e7eef2; color: #93a0ab; margin-top: 26px; }
.info-banner.subtle strong { color: #7f929f; }
.category-filters { margin: 26px 0 23px; }
.curriculum-list { display: grid; gap: 22px; }
.chapter-section { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.chapter-section-heading { display: flex; align-items: center; gap: 15px; padding: 24px; border-bottom: 1px solid #eef2f5; }
.chapter-section-heading .eyebrow { font-size: 8px; color: var(--accent); letter-spacing: 1.4px; opacity: .8; }
.chapter-section-heading h2 { font-size: 18px; margin-top: 4px; }
.chapter-section-heading p:not(.eyebrow) { font-size: 11px; color: #91a0aa; margin-top: 5px; }
.chapter-completion { width: 100px; margin-left: auto; text-align: right; flex-shrink: 0; }
.chapter-completion > span:first-child { color: #92a1ab; font-size: 10px; display: block; margin-bottom: 9px; }
.lesson-row { display: flex; align-items: center; padding: 18px 24px; gap: 16px; border-bottom: 1px solid #f1f4f6; transition: background .15s; }
.lesson-row:last-child { border-bottom: 0; }
.lesson-row:hover { background: #fcfdfe; }
.lesson-number { width: 25px; height: 25px; color: #b0bdc6; font-family: "Consolas", monospace; font-size: 12px; text-align: center; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lesson-row.completed .lesson-number { color: #5ba786; background: #f0f9f3; border-radius: 50%; }
.lesson-number .icon { width: 15px; height: 15px; }
.lesson-row-text { flex: 1; min-width: 0; }
.lesson-row h3 { font-size: 13px; font-weight: 550; }
.lesson-row p { color: #99a6af; font-size: 11px; margin-top: 4px; }
.lesson-duration { display: flex; align-items: center; gap: 5px; color: #9ba8b1; font-size: 10px; white-space: nowrap; }
.lesson-duration .icon { width: 13px; height: 13px; }
.project-level-guide { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin-bottom: 28px; }
.project-level-guide > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 8px 13px; }
.level-step { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #eef6f2; font-size: 12px; color: #70a68f; grid-row: 1/3; }
.level-step.medium { background: #fbf5eb; color: #b79f70; }
.level-step.hard { background: #f0eef9; color: #9789bc; }
.project-level-guide h3 { font-size: 13px; font-weight: 500; }
.project-level-guide p { font-size: 11px; color: #98a5af; line-height: 1.9; }
.guide-arrow { color: #c2ced7; margin: 0 26px; }
.guide-arrow .icon { width: 21px; height: 21px; }
.full-project-grid { gap: 24px 19px; }
.full-project-grid .project-visual { height: 165px; padding-top: 42px; }
.full-project-grid .project-cover-name { font-size: 23px; margin-top: 4px; }
.full-project-grid .project-body { padding: 20px 21px 0; }
.full-project-grid .project-body h3 { font-size: 15px; }
.full-project-grid .project-body > p { font-size: 11px; min-height: 63px; }
.full-project-grid .tags > span { font-size: 9px; }

/* Reader */
.reader-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #98a5af; font-size: 11px; margin: 2px 0 25px; }
.reader-breadcrumb a { color: #6991a3; }
.reader-breadcrumb > .icon { width: 11px; height: 11px; color: #b8c3cb; }
.reader-heading { margin-bottom: 27px; }
.reader-heading .eyebrow { color: #75a8b7; margin-bottom: 8px; }
.reader-heading h1 { font-size: 30px; }
.reader-heading > p:not(.eyebrow) { color: #8396a3; font-size: 13px; margin-top: 9px; }
.reader-meta { display: flex; align-items: center; gap: 18px; font-size: 10px; color: #98a6b0; margin-top: 17px; flex-wrap: wrap; }
.reader-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.reader-meta .icon { width: 13px; height: 13px; }
.status-label { color: #85a2ae; }
.status-label.complete { color: #529979; }
.reader-layout { display: grid; grid-template-columns: minmax(0,1fr) 238px; gap: 24px; align-items: start; }
.lesson-article { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.lesson-article > section { margin-bottom: 36px; }
.lesson-article > section:last-of-type { margin-bottom: 25px; }
.article-kicker { font-size: 9px; color: #96b0bb; letter-spacing: 1.6px; display: block; margin-bottom: 9px; }
.lesson-article h2 { font-size: 19px; margin-bottom: 16px; font-weight: 600; }
.lesson-article section > p { color: #748894; font-size: 13px; line-height: 2.05; margin-bottom: 14px; overflow-wrap: anywhere; }
.key-points { background: #f6fafc; border-radius: 8px; padding: 17px 20px 17px 34px; color: #728b99; font-size: 12px; line-height: 1.95; margin: 18px 0 0; }
.key-points li { padding-left: 3px; margin-bottom: 7px; }
.key-points li:last-child { margin-bottom: 0; }
.key-points li::marker { color: #8dbdcc; font-size: .8em; }
.code-block { background: #213642; border: 1px solid #213642; border-radius: 9px; overflow: hidden; margin-top: 17px; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 15px; background: #273e4a; border-bottom: 1px solid #314954; color: #8fa9b7; font-family: "Cascadia Code", "Consolas", monospace; font-size: 10px; }
.code-toolbar > span { display: flex; align-items: center; gap: 8px; }
.code-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #6baa96; }
.code-toolbar button { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #a0b6c2; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; padding: 4px 6px; border-radius: 4px; flex-shrink: 0; }
.code-toolbar button:hover { background: #39525f; color: #e3f5fa; }
.code-toolbar button .icon { width: 12px; height: 12px; }
.code-block pre { padding: 20px; margin: 0; overflow-x: auto; color: #c4dbe4; font-family: "Cascadia Code", "Consolas", monospace; font-size: 12px; line-height: 1.9; tab-size: 4; scrollbar-width: thin; scrollbar-color: #496272 #233b48; }
.code-block code { font: inherit; }
.code-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-top: 10px; font-size: 10px; line-height: 1.8; color: #99a8b1; }
.code-caption > span { flex: 1; }
.code-caption a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: #6295a9; }
.code-caption a .icon { width: 11px; height: 11px; }
.exercise-callout { display: flex; align-items: flex-start; gap: 11px; background: #edf8fb; border: 1px solid #deeff5; border-radius: 8px; padding: 18px; }
.exercise-callout > .icon { color: #5baabd; margin-top: 3px; }
.exercise-callout p { color: #648996; font-size: 13px; line-height: 1.9; }
.answer-details { margin-top: 13px; border: 1px solid #e7edf1; border-radius: 8px; font-size: 12px; overflow: hidden; }
.answer-details summary { list-style: none; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; color: #7f95a1; cursor: pointer; }
.answer-details summary::-webkit-details-marker { display: none; }
.answer-details summary .icon { width: 15px; height: 15px; }
.answer-details[open] summary { background: #f9fbfc; border-bottom: 1px solid #edf1f4; }
.answer-details[open] summary .icon { transform: rotate(180deg); }
.answer-details p { padding: 15px 17px; color: #738b98; line-height: 2; }
.pitfall-callout { margin-top: 18px; display: flex; gap: 11px; padding: 17px; border: 1px solid #f0e6d6; background: #fffbf4; border-radius: 8px; }
.pitfall-callout > .icon { width: 18px; height: 18px; color: #c6a567; margin-top: 2px; }
.pitfall-callout h3 { font-size: 12px; color: #a7926f; margin-bottom: 6px; font-weight: 500; }
.pitfall-callout p { font-size: 11px; color: #aa9a7d; line-height: 1.95; }
.note-label { display: block; color: #8a9ca7; font-size: 12px; margin-bottom: 12px; line-height: 1.9; }
#lesson-note { width: 100%; min-height: 150px; resize: vertical; background: #fbfcfd; border: 1px solid #dfe8ee; border-radius: 8px; padding: 14px 16px; color: #5c7888; font-size: 12px; line-height: 1.9; }
#lesson-note::placeholder { color: #b0bec7; }
#lesson-note:focus { outline: none; border-color: #a1cddc; box-shadow: 0 0 0 3px #eaf7fa; }
.note-status { display: flex; justify-content: space-between; gap: 8px; color: #a2aeb7; font-size: 9px; margin-top: 6px; }
.reading-links { display: grid; gap: 9px; }
.reading-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 12px; border: 1px solid #e8eef2; border-radius: 7px; color: #6c8b9b; background: #fff; overflow-wrap: anywhere; }
.reading-links a:hover { background: #f7fbfd; border-color: #c5dfe9; }
.reading-links .icon { width: 15px; height: 15px; }
.reading-links .icon:last-child { margin-left: auto; width: 13px; height: 13px; color: #a5b7c1; }
.lesson-complete { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 23px; margin-top: 8px; }
.lesson-complete strong { font-size: 13px; color: #688593; font-weight: 550; }
.lesson-complete p { font-size: 10px; color: #a3afb7; margin-top: 5px; }
.lesson-complete .button { font-size: 11px; }
.completed-button { color: #5c9b82 !important; background: #f3f9f5 !important; border-color: #dceee2 !important; }
.reader-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }
.reader-pagination a { display: flex; flex-direction: column; gap: 4px; }
.reader-pagination span { color: #9babb6; font-size: 10px; }
.reader-pagination strong { color: #6a8d9d; font-size: 12px; font-weight: 500; }
.reader-pagination a.next { text-align: right; }
.reader-aside { display: grid; gap: 17px; position: sticky; top: 22px; }
.reader-aside-card { padding: 21px 19px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.aside-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.aside-card-heading h2, .reader-aside-card > h2 { font-size: 14px; }
.aside-card-heading > span { font-size: 9px; color: #a8b4bc; }
.outline-lessons { display: grid; gap: 5px; margin: 0 -8px; }
.outline-lessons a { display: flex; align-items: flex-start; gap: 7px; padding: 11px 8px; border-radius: 6px; font-size: 11px; color: #8da1ad; line-height: 1.7; }
.outline-lessons a > span { font-size: 9px; color: #acbac4; padding-top: 2px; width: 20px; flex-shrink: 0; }
.outline-lessons a .icon { width: 13px; height: 13px; color: #6aae95; }
.outline-lessons a.active { background: #edf8fb; color: #4e91a8; }
.outline-lessons a.active > span { color: #83b4c4; }
.outline-lessons a:not(.active):hover { background: #f7fafb; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #edf1f4; }
.aside-actions .button { font-size: 10px; padding: 7px 9px; min-height: 34px; gap: 5px; }
.aside-actions .button .icon { width: 13px; height: 13px; }
.mini-roadmap { background: #f2f8fa; border-color: #e4edf1; }
.mini-roadmap .tile-icon { width: 34px; height: 34px; margin-bottom: 11px; }
.mini-roadmap .tile-icon .icon { width: 21px; height: 21px; }
.mini-roadmap h3 { color: #6e8d9d; font-size: 12px; }
.mini-roadmap p { color: #91a6b2; font-size: 11px; margin: 9px 0 16px; line-height: 1.85; }
.mini-roadmap a { font-size: 11px; }
.aside-note { color: #a3b0b9; font-size: 10px; line-height: 1.95; padding: 0 8px; }

/* Project walkthrough */
.project-detail-hero { display: flex; align-items: center; gap: 27px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 14%, white); border-radius: 13px; padding: 32px; margin-bottom: 27px; }
.project-detail-mark { width: 98px; height: 98px; display: flex; align-items: center; justify-content: center; border-radius: 25px; background: #ffffffac; color: var(--accent); flex-shrink: 0; }
.project-detail-mark .icon { width: 55px; height: 55px; stroke-width: 1.25; }
.project-detail-hero h1 { margin: 11px 0 7px; font-size: 29px; }
.project-detail-hero p { color: #8098a5; font-size: 12px; }
.project-detail-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 17px; }
.project-detail-links > a { display: inline-flex; align-items: center; gap: 7px; color: #7493a4; font-size: 11px; }
.project-detail-links > a .icon { width: 14px; height: 14px; }
.project-detail-links > a .icon:last-child { width: 11px; height: 11px; }
.project-detail-links .button { font-size: 10px; min-height: 30px; padding: 5px 10px; }
.project-detail-links .button .icon { width: 13px; height: 13px; }
.outcome-card { display: flex; gap: 12px; background: #f0f8f5; border: 1px solid #e2eee7; border-radius: 8px; padding: 18px; margin-top: 18px; }
.outcome-card > .icon { color: #7aa895; margin-top: 2px; }
.outcome-card h3 { font-size: 12px; color: #739282; margin-bottom: 6px; }
.outcome-card p { font-size: 12px; color: #839e91; line-height: 1.9; }
.source-map { margin: 18px 0 25px; }
.source-map > div { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf1f4; }
.source-map > div:first-child { padding-top: 0; }
.source-map > div > span { background: #f2f7fa; color: #9bb5c2; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.source-map code { color: #66899c; font-family: "Consolas", "Microsoft YaHei", monospace; font-size: 12px; overflow-wrap: anywhere; }
.source-map p { font-size: 11px; color: #99aab5; margin-top: 5px; line-height: 1.8; }
.code-footnote { font-size: 10px !important; color: #98aab6 !important; margin-top: 10px; }
.training-steps { display: grid; gap: 16px; }
.training-step { display: flex; gap: 15px; padding: 20px 17px; border: 1px solid #e5edf2; border-radius: 9px; }
.training-step.done { background: #fbfefc; border-color: #dceee3; }
.step-check { display: block; width: 22px; height: 22px; flex-shrink: 0; position: relative; cursor: pointer; margin-top: 1px; }
.step-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 22px; height: 22px; }
.step-check > span { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid #d5e1e8; border-radius: 6px; color: transparent; background: white; pointer-events: none; }
.step-check input:checked + span { background: #65ab91; border-color: #65ab91; color: white; }
.step-check input:focus-visible + span { outline: 3px solid #afd7e1; outline-offset: 3px; }
.step-check .icon { width: 14px; height: 14px; }
.step-label { font-size: 8px; color: #9cb4c0; letter-spacing: 1px; }
.training-step h3 { font-size: 14px; margin-top: 4px; }
.training-step p { font-size: 12px; color: #8ca1ae; line-height: 1.95; margin-top: 8px; }
.step-deliverable { background: #f6f9fb; border-radius: 5px; padding: 10px 12px; margin-top: 13px; color: #8aa2af; font-size: 10px; line-height: 1.9; }
.step-deliverable strong { color: #6f92a4; font-weight: 500; margin-right: 9px; }
.acceptance-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.acceptance-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #8299a7; line-height: 1.9; }
.acceptance-list .icon { color: #70ae95; width: 17px; height: 17px; margin-top: 3px; }
.source-attribution { color: #a0b0ba !important; font-size: 10px !important; margin-top: 16px; }
.project-start-card > .tile-icon { margin-bottom: 15px; }
.project-start-card > h2 { margin-bottom: 8px; }
.project-start-card > p { font-size: 11px; color: #94a8b4; line-height: 1.9; }
.project-progress-label { display: flex; justify-content: space-between; margin-top: 22px; font-size: 10px; color: #97aab6; margin-bottom: 9px; }
.project-progress-label strong { font-weight: 500; color: #78a0af; }
.project-start-card .button { width: 100%; margin-top: 22px; font-size: 11px; }
.project-start-card > small { display: block; text-align: center; font-size: 9px; color: #a6b5be; margin-top: 10px; }
.reader-aside-card > h3 { font-size: 12px; }
.prerequisites { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.prerequisites li { display: flex; gap: 7px; font-size: 11px; color: #9aabb6; line-height: 1.8; }
.prerequisites .icon { width: 13px; height: 13px; color: #8ab4aa; margin-top: 3px; }
.related-title { margin-top: 24px; padding-top: 19px; border-top: 1px solid #eef2f5; }
.related-lessons { display: grid; margin-top: 12px; gap: 12px; }
.related-lessons a { display: flex; gap: 6px; justify-content: space-between; align-items: center; font-size: 10px; color: #8ba6b6; line-height: 1.8; }
.related-lessons .icon { width: 12px; height: 12px; }

/* Reading list */
.resource-banner { display: flex; align-items: center; gap: 16px; border: 1px solid #deebf1; background: #eff7fa; border-radius: 11px; padding: 23px; margin: 23px 0; }
.resource-banner > div { flex: 1; }
.resource-banner h2 { font-size: 15px; color: #668b9b; }
.resource-banner p { margin-top: 7px; font-size: 11px; color: #94aab7; line-height: 1.9; }
.resource-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 16px; }
.resource-filters .filter-pills { gap: 4px; }
.language-select { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 10px; color: #91a3af; }
.language-select select { background: white; padding: 7px 9px; border: 1px solid #e1e9ef; border-radius: 6px; color: #7d96a6; font-size: 11px; }
.result-count { font-size: 11px; color: #9aabb7; margin: 17px 0; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.resource-card { display: flex; align-items: flex-start; gap: 16px; border: 1px solid #e6edf1; border-radius: 10px; padding: 22px; background: white; min-width: 0; transition: border-color .15s; }
.resource-card:hover { border-color: #ccdee7; }
.resource-body { flex: 1; min-width: 0; }
.resource-card h3 { font-size: 14px; line-height: 1.8; }
.resource-card h3 a { display: inline; }
.resource-card h3 a > .icon { width: 11px; height: 11px; color: #a5b7c3; margin-left: 8px; vertical-align: baseline; }
.resource-card p { font-size: 11px; color: #94a6b2; margin-top: 5px; line-height: 1.95; }
.resource-card .bookmark-button { margin-top: -5px; margin-right: -7px; }
.resource-meta { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #a5b4be; margin-top: 13px; }
.resource-meta > span:first-child { background: #f3f7f9; color: #8ea6b4; padding: 2px 6px; border-radius: 3px; }

/* Roadmap and personal collection */
.roadmap-summary { position: relative; display: flex; align-items: center; gap: 17px; padding: 25px 26px 33px; background: white; border: 1px solid #e5edf2; border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.roadmap-summary h2 { font-size: 17px; }
.roadmap-summary p { font-size: 12px; color: #96a9b6; margin-top: 8px; }
.roadmap-summary > .progress-track { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 0; height: 5px; }
.roadmap-percent { font-size: 33px; color: #73a9b9; margin-left: auto; font-weight: 550; }
.roadmap-percent small { font-size: 15px; }
.roadmap-list { padding: 0 32px 0 14px; max-width: 1000px; margin: 0 auto; }
.roadmap-stage { position: relative; padding: 0 0 28px 66px; }
.roadmap-stage::before { content: ""; position: absolute; width: 1px; top: 39px; bottom: -2px; left: 20px; background: #dce7ed; }
.roadmap-stage:last-child::before { bottom: 25px; }
.roadmap-marker { position: absolute; top: 17px; left: 0; width: 41px; height: 41px; border: 1px solid #d8e7ee; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f5fafc; color: #89a8b8; font-size: 12px; font-weight: 550; z-index: 1; }
.roadmap-stage.finished .roadmap-marker { color: #64a389; background: #eef9f3; border-color: #d5eade; }
.roadmap-stage-content { border: 1px solid #e5edf2; background: white; padding: 23px 27px; border-radius: 11px; }
.roadmap-stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.roadmap-stage-heading .eyebrow { font-size: 8px; color: #94acb9; }
.roadmap-stage-heading h2 { font-size: 18px; margin-top: 5px; }
.roadmap-stage-content > p { font-size: 12px; color: #93a6b3; margin-top: 9px; }
.roadmap-chapters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.roadmap-chapters a { display: flex; align-items: center; gap: 7px; font-size: 10px; border: 1px solid #e6edf2; border-radius: 6px; padding: 7px 10px; color: #8aa3b1; }
.roadmap-chapters a .icon { width: 13px; height: 13px; }
.roadmap-chapters a .icon:last-child { width: 10px; height: 10px; margin-left: 3px; }
.roadmap-chapters a:hover { background: #f4fafc; }
.roadmap-deliverable { display: flex; gap: 11px; align-items: center; margin-top: 19px; padding-top: 17px; border-top: 1px solid #eef3f6; }
.roadmap-deliverable > span { display: flex; gap: 5px; align-items: center; font-size: 9px; color: #a3b4be; white-space: nowrap; }
.roadmap-deliverable > span .icon { width: 13px; height: 13px; }
.roadmap-deliverable p { color: #8da6b4; font-size: 11px; flex: 1; line-height: 1.8; }
.roadmap-deliverable a { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #73a1b3; white-space: nowrap; }
.roadmap-deliverable a .icon { width: 13px; height: 13px; }
.roadmap-end { display: flex; gap: 9px; align-items: center; justify-content: center; color: #96acba; font-size: 12px; margin: 10px 0 36px; }
.roadmap-end .icon { color: #c2b185; }
.saved-overview { display: grid; grid-template-columns: repeat(4, 1fr); padding: 23px 5px; background: white; border: 1px solid var(--line); border-radius: 11px; margin: 27px 0; }
.saved-overview > div { text-align: center; border-right: 1px solid #edf1f5; }
.saved-overview > div:last-child { border-right: 0; }
.saved-overview strong { display: block; color: #6999ab; font-weight: 550; font-size: 27px; line-height: 1.2; }
.saved-overview span { display: block; font-size: 11px; color: #9dafbb; margin-top: 6px; }
.saved-items { display: grid; gap: 13px; }
.saved-row { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid #e4edf2; background: white; border-radius: 9px; }
.saved-row > a { flex: 1; }
.saved-row .eyebrow { font-size: 8px; letter-spacing: .7px; }
.saved-row h3 { font-size: 14px; margin: 4px 0; }
.saved-row p { font-size: 11px; color: #94a8b5; }
.saved-notes { margin-top: 33px; }
.note-card { display: block; border: 1px solid #e4edf2; background: white; padding: 23px; border-radius: 9px; margin-bottom: 13px; }
.note-card h3 { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.note-card h3 .icon { width: 16px; height: 16px; color: #86a8b8; }
.note-card p { color: #93a7b4; font-size: 12px; line-height: 1.9; margin-top: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-card > span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #78a6b8; margin-top: 13px; }
.note-card > span .icon { width: 13px; height: 13px; }
.empty-state { padding: 50px 20px; text-align: center; border: 1px dashed #dfe9f0; border-radius: 12px; background: #ffffff75; grid-column: 1/-1; }
.empty-illustration { position: relative; color: #9bc9d9; display: inline-flex; align-items: center; justify-content: center; width: 90px; height: 90px; margin-bottom: 18px; background: #edf7fb; border-radius: 28px; transform: rotate(-6deg); }
.empty-illustration > .icon { width: 49px; height: 49px; stroke-width: 1; }
.empty-illustration > span { position: absolute; right: -6px; top: 0; background: #fff; color: #b8ad8f; width: 28px; height: 28px; border-radius: 9px; border: 1px solid #ecf0f3; font-size: 15px; transform: rotate(13deg); }
.empty-state h2 { font-size: 19px; color: #7594a5; }
.empty-state p { font-size: 12px; color: #a0b1bc; margin: 12px 0 23px; line-height: 1.9; }
.empty-state .button { font-size: 11px; }

/* Search */
.search-popover { position: absolute; right: 0; top: 43px; width: 460px; max-width: calc(100vw - 30px); border: 1px solid #e0eaf0; border-radius: 11px; background: #fff; box-shadow: 0 14px 40px #2646531a; z-index: 60; overflow: hidden; }
.search-popover-heading { display: flex; align-items: center; justify-content: space-between; color: #9db0bb; font-size: 10px; padding: 12px 16px; background: #fbfdfe; border-bottom: 1px solid #eef3f6; }
.search-result { display: flex; gap: 16px; align-items: center; padding: 22px; background: white; border: 1px solid #e4ecf1; border-radius: 9px; min-width: 0; }
.search-result:hover { background: #f6fafc; }
.search-result-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.search-result-label { font-size: 9px; color: #a1b1bd; }
.search-result strong { font-size: 14px; font-weight: 550; color: #67889b; overflow-wrap: anywhere; }
.search-result-description { font-size: 12px; color: #9badb9; line-height: 1.9; }
.search-result > .icon:last-child { color: #a5bfcd; width: 16px; height: 16px; }
.search-result.compact { border: 0; border-bottom: 1px solid #f0f4f6; border-radius: 0; padding: 12px 15px; gap: 12px; }
.search-result.compact .tile-icon { width: 32px; height: 32px; border-radius: 7px; }
.search-result.compact .tile-icon .icon { width: 17px; height: 17px; }
.search-result.compact strong { font-size: 11px; }
.search-result.compact .search-result-text { gap: 1px; }
.search-result.compact .search-result-label { font-size: 8px; }
.all-search-results { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; color: #6aa0b7; padding: 12px; background: #fbfdfe; }
.all-search-results .icon { width: 13px; height: 13px; }
.search-no-result { padding: 24px 18px; font-size: 11px; color: #9aafbc; }
.search-result-list { display: grid; gap: 13px; }
.toast { position: fixed; bottom: 28px; left: calc(50% + var(--sidebar-width) / 2); transform: translate(-50%, 15px); opacity: 0; visibility: hidden; color: #eff9fc; background: #355361; border: 1px solid #456371; box-shadow: 0 8px 24px #23394720; border-radius: 9px; padding: 12px 19px; max-width: calc(100vw - 40px); font-size: 12px; line-height: 1.7; z-index: 100; transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.noscript { max-width: 760px; margin: 100px auto; padding: 30px; }
.export-dialog { width: 620px; max-width: calc(100vw - 34px); padding: 27px; border: 1px solid #dce7ee; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 20px 90px #17374530; }
.export-dialog::backdrop { background: #243f5260; backdrop-filter: blur(3px); }
.export-heading { display: flex; align-items: center; gap: 13px; }
.export-heading > div { flex: 1; }
.export-heading .eyebrow { font-size: 8px; }
.export-heading h2 { font-size: 18px; margin-top: 4px; }
.export-heading > .icon-button { align-self: flex-start; margin: -8px -9px 0 0; }
.export-summary { margin: 18px 0 21px; font-size: 12px; color: #7791a0; }
.export-dialog .note-label { font-size: 11px; margin-bottom: 8px; }
#export-json { width: 100%; min-height: 240px; resize: vertical; border: 1px solid #dfe9ef; border-radius: 8px; padding: 15px; font-family: "Consolas", "Microsoft YaHei", monospace; font-size: 11px; color: #678594; background: #f8fbfc; line-height: 1.85; }
.export-note { font-size: 11px; color: #91a6b3; line-height: 1.9; margin-top: 12px; }
.export-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 21px; }
@media (max-width: 580px) {
  .export-dialog { padding: 22px 19px; }
  .export-heading h2 { font-size: 15px; }
  .export-heading > .tile-icon { width: 34px; height: 34px; }
  .export-summary { font-size: 10px; }
  .export-actions .button { font-size: 11px; flex: 1; }
}

/* Keep learning text comfortable to read, while metadata stays deliberately quiet. */
.nav-link { font-size: 14px; }
.brand-subtitle { font-size: 10px; letter-spacing: .35px; }
.page-description { color: #738694; }
.hero-copy > p { color: #678895; font-size: 12px; }
.card-description { color: #728693; font-size: 12px; line-height: 1.9; }
.tags > span { color: #7a8e9b; font-size: 10px; }
.card-footer > span { font-size: 10px; color: #8195a3; }
.project-body > p { font-size: 12px; color: #738997; line-height: 1.95; }
.project-footer { font-size: 11px; }
.section-heading p { color: #8296a4; font-size: 12px; }
.lesson-article section > p { color: #617783; font-size: 14px; line-height: 2.05; }
.key-points { color: #688593; font-size: 13px; }
.answer-details p { color: #647e8c; font-size: 13px; }
.exercise-callout p { color: #5c8191; font-size: 13px; }
.resource-card p { color: #7c94a2; font-size: 12px; }
.lesson-row h3 { font-size: 14px; }
.lesson-row p { color: #849ba9; font-size: 12px; }
.training-step p { color: #718a98; font-size: 13px; }
.acceptance-list li { color: #6d8796; font-size: 13px; }

/* Responsive: maintain the same hierarchy, never shrink the app into a screenshot. */
@media (min-width: 1600px) {
  :root { --sidebar-width: 244px; }
  .sidebar { padding: 38px 23px 20px; }
  .main-content { padding: 39px 43px 0; }
  .topbar { padding: 0 43px; height: 78px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 298px; gap: 23px; }
  .hero { min-height: 286px; }
  .hero-copy { padding: 31px 35px 25px; }
  .hero h2 { font-size: 34px; }
  .hero-copy > p { font-size: 12px; }
  .hero-illustration { right: 15px; width: 45%; }
  .study-card { padding: 23px; }
  .study-overview { padding: 25px 3px; gap: 23px; }
  .progress-ring { width: 88px; height: 88px; }
  .chapter-grid { gap: 20px; }
  .chapter-card { padding: 23px 24px 0; }
  .chapter-card h3 { font-size: 16px; }
  .card-description { font-size: 11px; }
  .tags > span { font-size: 9px; }
  .card-footer { margin-top: 18px; padding: 12px 0; }
  .project-visual { height: 165px; padding-top: 46px; }
  .project-body { padding: 20px 23px 0; }
  .project-body h3 { font-size: 15px; }
  .project-body > p { font-size: 11px; }
  .stats-strip { margin-bottom: 36px; padding: 19px 8px; }
  .stats-strip > div { padding: 0 25px; }
  .dashboard-section { margin-top: 34px; }
}
@media (max-width: 1250px) {
  :root { --sidebar-width: 206px; }
  .sidebar { padding: 29px 15px 16px; }
  .brand { padding: 0 7px; font-size: 23px; gap: 9px; }
  .brand-mark { width: 34px; height: 36px; }
  .brand-subtitle { font-size: 8px; letter-spacing: .5px; }
  .workspace-label { margin-left: 4px; margin-right: 4px; font-size: 9px; }
  .nav-link { gap: 10px; font-size: 12px; }
  .nav-link.active::before { left: -15px; }
  .main-content { padding: 28px 26px 0; }
  .topbar { padding: 0 26px; gap: 12px; }
  .topbar-tools { gap: 18px; }
  .search-form { width: 240px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) 248px; gap: 16px; }
  .hero-copy { padding: 27px 25px 24px; max-width: 85%; }
  .hero h2 { font-size: 27px; }
  .hero-illustration { width: 42%; right: -14px; bottom: 13px; opacity: .9; }
  .hero-actions { gap: 13px; }
  .hero-secondary { font-size: 10px; }
  .study-card { padding: 21px 15px 13px; }
  .study-overview { gap: 15px; padding: 21px 0 20px; }
  .study-overview a { font-size: 8px; }
  .study-card-title h2 { font-size: 12px; }
  .study-card-title .small-pill { font-size: 7px; }
  .stats-strip > div { padding: 0 14px; column-gap: 8px; }
  .stats-strip strong span { margin-left: 4px; font-size: 9px; }
  .stat-note { font-size: 8px; }
  .stats-strip strong { font-size: 19px; }
  .chapter-card { padding: 17px 17px 0; }
  .chapter-card h3 { font-size: 14px; }
  .card-description { min-height: 36px; }
  .tags { gap: 4px; }
  .tags > span { font-size: 7px; }
  .project-body { padding: 16px 16px 0; }
  .project-body h3 { font-size: 13px; }
  .project-body > p { min-height: 57px; }
  .guide-arrow { margin: 0 13px; }
  .project-level-guide { padding: 23px; }
  .project-level-guide h3 { font-size: 11px; }
  .project-level-guide p { font-size: 10px; }
  .reader-layout { grid-template-columns: minmax(0,1fr) 214px; gap: 20px; }
  .lesson-article { padding: 25px; }
  .reader-aside-card { padding: 19px 15px; }
  .lesson-complete { align-items: flex-start; flex-direction: column; gap: 13px; }
  .resource-banner > .text-link { display: none; }
  .resource-filters { align-items: flex-start; }
  .resource-card { padding: 18px; gap: 12px; }
  .resource-card h3 { font-size: 13px; }
  .resource-grid .resource-card > .tile-icon { width: 36px; height: 36px; }
  .roadmap-deliverable { flex-wrap: wrap; }
  .roadmap-deliverable p { flex-basis: calc(100% - 83px); }
  .roadmap-deliverable a { margin-left: 79px; }
}
@media (max-width: 1060px) {
  .topbar-tools { gap: 15px; }
  .playground-link { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 270px; }
  .hero-copy { max-width: 70%; padding: 26px 29px; }
  .hero h2 { font-size: 30px; }
  .hero-illustration { width: 45%; right: 9px; opacity: 1; }
  .study-card { display: grid; grid-template-columns: 1fr 1.5fr; column-gap: 27px; align-items: center; padding: 18px 23px; }
  .study-card-title { grid-column: 1; }
  .study-card-title .small-pill { display: none; }
  .study-overview { grid-column: 1; grid-row: 2/4; padding: 14px 0 0; gap: 15px; }
  .progress-ring { width: 65px; height: 65px; padding: 5px; }
  .progress-ring strong { font-size: 19px; }
  .progress-ring > span > small { font-size: 7px; }
  .study-count { font-size: 19px; }
  .study-overview a { font-size: 9px; }
  .weekly-heading { grid-column: 2; grid-row: 1; border-top: 0; padding: 0; font-size: 10px; }
  .goal-control select { font-size: 9px; }
  .week-days { grid-column: 2; grid-row: 2; margin: 10px 0 0; }
  .study-encouragement { grid-column: 2; grid-row: 3; margin-top: 7px; }
  .stats-strip > div { grid-template-columns: 1fr; text-align: center; }
  .stat-icon { display: none; }
  .stats-strip strong { font-size: 20px; }
  .stats-strip strong span { font-size: 9px; }
  .stat-note { font-size: 8px; }
  .chapter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-description { min-height: 19px; }
  .tags > span { font-size: 8px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-section .project-card:last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .dashboard-section .project-card:last-child .project-visual { height: 100%; min-height: 204px; justify-content: center; padding-top: 10px; }
  .dashboard-section .project-card:last-child .project-body { padding-top: 24px; }
  .project-body > p { min-height: 38px; }
  .toolbar-note { display: none; }
  .reader-layout { display: flex; flex-direction: column; }
  .reader-aside { position: static; width: 100%; grid-template-columns: 1fr 1fr; align-items: start; }
  .reader-aside .aside-note { grid-column: 1/-1; }
  .lesson-article { width: 100%; padding: 29px; }
  .lesson-complete { flex-direction: row; align-items: center; }
  .project-detail-hero { padding: 24px; gap: 22px; }
  .project-detail-hero h1 { font-size: 25px; }
  .project-detail-mark { width: 80px; height: 80px; border-radius: 20px; }
  .project-detail-mark .icon { width: 45px; height: 45px; }
  .resource-card { padding: 18px 15px; }
  .resource-grid .resource-card > .tile-icon { display: none; }
  .roadmap-list { padding-right: 0; padding-left: 0; }
  .roadmap-stage { padding-left: 58px; }
  .roadmap-stage-content { padding: 22px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .heading-note { display: none; }
}
@media (max-width: 800px) {
  :root { --sidebar-width: 0px; }
  .sidebar { width: 228px; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility .2s; padding: 30px 20px 20px; box-shadow: none; overflow-y: auto; }
  .menu-open .sidebar { transform: translateX(0); visibility: visible; box-shadow: 10px 0 40px #243d5c1f; }
  .sidebar .brand-subtitle { font-size: 9px; }
  .sidebar .nav-link { font-size: 13px; height: 46px; }
  .sidebar .nav-link.active::before { left: -20px; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 35; background: #29445240; backdrop-filter: blur(2px); }
  .mobile-menu { display: inline-flex; width: 29px; margin-left: -5px; }
  .workspace { margin-left: 0; }
  .topbar { height: 65px; padding: 0 24px; }
  .topbar-tools { gap: 15px; }
  .topbar-location { gap: 9px; }
  .search-form { width: 255px; }
  .main-content { padding: 28px 24px 0; }
  .page-heading h1 { font-size: 25px; }
  .hero h2 { font-size: 31px; }
  .hero-illustration { width: 43%; right: 15px; }
  .project-level-guide { gap: 10px; }
  .project-level-guide > div { grid-template-columns: 1fr; align-self: start; gap: 10px; }
  .level-step { grid-row: auto; }
  .guide-arrow { margin: 0 10px; }
  .project-level-guide h3 { font-size: 12px; }
  .project-level-guide p { font-size: 10px; }
  .resource-grid .resource-card > .tile-icon { display: flex; }
  .toast { left: 50%; }
  .reader-heading h1 { font-size: 27px; }
  .page-heading { gap: 17px; }
}
@media (max-width: 580px) {
  :root { font-size: 14px; }
  .main-content { padding: 23px 17px 0; }
  .topbar { height: 61px; padding: 0 17px; }
  .topbar-location { font-size: 11px; gap: 7px; }
  .breadcrumb-root, .topbar-location > .icon { display: none; }
  .topbar-tools { gap: 11px; }
  .search-form { width: 162px; height: 33px; padding: 0 8px; gap: 6px; }
  .search-form input { font-size: 10px; }
  .search-form input::placeholder { font-size: 10px; }
  .search-form kbd { display: none; }
  .avatar { width: 28px; height: 28px; font-size: 11px; }
  .search-popover { width: calc(100vw - 32px); position: fixed; top: 57px; left: 16px; right: 16px; }
  .page-heading { margin-bottom: 20px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .page-heading .eyebrow { font-size: 8px; margin-bottom: 6px; }
  .page-heading h1 { font-size: 23px; letter-spacing: 0; }
  .page-description { font-size: 11px; margin-top: 8px; line-height: 1.9; }
  .page-badge { display: none; }
  .page-heading > .button { font-size: 10px; min-height: 33px; padding: 7px 11px; }
  .hero-grid { gap: 14px; }
  .hero { min-height: 270px; }
  .hero-copy { padding: 25px 22px; max-width: 100%; }
  .hero h2 { font-size: 27px; margin-top: 11px; position: relative; z-index: 2; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .hero-copy > p { font-size: 10px; line-height: 1.95; max-width: 94%; position: relative; z-index: 2; }
  .hero-illustration { width: 43%; right: -15px; bottom: -4px; opacity: .72; }
  .hero-actions { margin-top: 18px; gap: 14px; position: relative; z-index: 2; }
  .hero-actions .button { padding: 8px 11px; min-height: 37px; font-size: 10px; }
  .hero-secondary { font-size: 9px; background: #edf7fa9c; padding: 5px 0; }
  .hero-footnote { font-size: 8px; gap: 8px; }
  .study-card { grid-template-columns: 1fr 1.27fr; gap: 0 17px; padding: 18px 16px; }
  .study-card-title h2 { font-size: 11px; }
  .study-overview { gap: 10px; padding-top: 13px; }
  .progress-ring { width: 58px; height: 58px; padding: 4px; }
  .progress-ring strong { font-size: 17px; }
  .progress-ring strong small { font-size: 8px; }
  .progress-ring > span > small { font-size: 6px; margin-top: 3px; }
  .study-count { font-size: 17px; }
  .study-count small { font-size: 9px; }
  .study-overview > div:last-child > span { font-size: 7px; white-space: nowrap; }
  .study-overview a { font-size: 7px; gap: 0; margin-top: 6px; white-space: nowrap; }
  .weekly-heading { font-size: 8px; gap: 5px; }
  .weekly-heading b { padding-left: 2px; }
  .goal-control select { font-size: 7px; max-width: 55px; }
  .week-days { gap: 3px; margin-top: 10px; }
  .week-day { gap: 7px; }
  .week-day > span:first-child { font-size: 7px; }
  .day-circle { width: 17px; height: 17px; }
  .today-dot { width: 3px; height: 3px; }
  .study-encouragement { font-size: 6px; gap: 3px; margin-top: 8px; }
  .study-encouragement .icon { width: 10px; height: 10px; }
  .stats-strip { margin: 17px 0 26px; padding: 14px 0; }
  .stats-strip > div { padding: 0 5px; }
  .stats-strip strong { font-size: 21px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .stats-strip strong span { font-size: 8px; margin-left: 0; }
  .stat-note { display: none; }
  .section-heading { gap: 11px; margin-bottom: 16px; align-items: center; }
  .section-heading h2 { font-size: 16px; }
  .section-heading p { font-size: 10px; line-height: 1.8; margin-top: 6px; }
  .section-heading > .text-link { font-size: 9px; gap: 3px; }
  .section-heading > .text-link .icon { width: 12px; height: 12px; }
  .dashboard-section { margin-top: 25px; }
  .segmented-control { padding: 3px; }
  .segmented-control button { padding: 7px 12px; font-size: 10px; }
  .curriculum-toolbar { margin-bottom: 14px; }
  .chapter-grid { grid-template-columns: 1fr; gap: 13px; }
  .chapter-card { padding: 18px 19px 0; display: grid; grid-template-columns: 43px 1fr; column-gap: 13px; }
  .card-heading { grid-column: 1; grid-row: 1/3; margin: 0; align-items: flex-start; }
  .card-heading .tile-icon { width: 40px; height: 40px; }
  .chapter-number { display: none; }
  .chapter-card h3 { font-size: 15px; grid-column: 2; padding-top: 1px; }
  .card-description { grid-column: 2; font-size: 10px; min-height: auto; margin-top: 6px; }
  .chapter-card > .tags { grid-column: 2; margin-top: 11px; gap: 5px; }
  .chapter-card > .tags span { font-size: 8px; padding: 2px 6px; }
  .card-footer { grid-column: 1/-1; margin-top: 15px; padding: 11px 0; }
  .card-footer > span { font-size: 9px; }
  .card-progress { grid-column: 1/-1; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-card, .dashboard-section .project-card:last-child { display: block; grid-column: auto; }
  .project-visual, .full-project-grid .project-visual { height: 156px; padding-top: 40px; }
  .dashboard-section .project-card:last-child .project-visual { height: 156px; min-height: 156px; padding-top: 40px; justify-content: initial; }
  .project-cover-name { font-size: 24px; }
  .project-cover-caption { font-size: 9px; }
  .project-body, .full-project-grid .project-body, .dashboard-section .project-card:last-child .project-body { padding: 19px 21px 0; }
  .project-body h3, .full-project-grid .project-body h3 { font-size: 15px; }
  .project-body > p, .full-project-grid .project-body > p { font-size: 11px; min-height: auto; line-height: 1.95; }
  .project-body .tags span, .full-project-grid .project-body .tags span { font-size: 9px; }
  .project-footer { padding: 13px 0; font-size: 10px; }
  .filter-pills { gap: 5px; }
  .filter-pills > button, .filter-pills > a { font-size: 10px; padding: 6px 9px; }
  .project-toolbar { gap: 8px; flex-wrap: wrap; }
  .dashboard-bottom { margin-top: 25px; gap: 17px; }
  .daily-quiz, .resource-preview { padding: 20px 19px; }
  .quiz-title { gap: 9px; }
  .quiz-title h2 { font-size: 13px; }
  .quiz-title .eyebrow { font-size: 7px; }
  .daily-quiz > h3 { font-size: 12px; line-height: 1.9; }
  .quiz-option { font-size: 10px; padding: 9px 10px; min-height: 40px; }
  .resource-preview .resource-card h3 { font-size: 12px; }
  .resource-preview-note { font-size: 8px; line-height: 1.8; }
  .footer { gap: 12px; margin-top: 29px; padding: 21px 0; font-size: 8px; }
  .footer > span { gap: 11px; }
  .footer strong { font-size: 14px; }
  .info-banner { padding: 15px; align-items: flex-start; gap: 9px; margin: 20px 0; }
  .info-banner strong { font-size: 11px; }
  .info-banner span { font-size: 10px; margin-top: 6px; }
  .info-banner > a { display: none; }
  .info-banner > .icon { width: 17px; height: 17px; margin-top: 2px; }
  .category-filters { margin: 22px 0 18px; gap: 7px; }
  .chapter-section-heading { padding: 20px 17px; align-items: flex-start; gap: 11px; flex-wrap: wrap; }
  .chapter-section-heading .tile-icon { width: 37px; height: 37px; }
  .chapter-section-heading > div:nth-child(2) { flex: 1; }
  .chapter-section-heading h2 { font-size: 16px; }
  .chapter-section-heading p:not(.eyebrow) { font-size: 10px; line-height: 1.9; }
  .chapter-completion { width: 100%; margin-left: 48px; display: flex; flex-direction: row; align-items: center; gap: 11px; }
  .chapter-completion > span:first-child { white-space: nowrap; margin: 0; font-size: 9px; }
  .chapter-completion .progress-track { width: 68px; height: 3px; }
  .lesson-row { padding: 17px 13px; gap: 9px; flex-wrap: wrap; }
  .lesson-number { width: 20px; font-size: 10px; }
  .lesson-row-text { min-width: calc(100% - 105px); }
  .lesson-row h3 { font-size: 12px; }
  .lesson-row p { font-size: 10px; margin-top: 7px; line-height: 1.85; }
  .lesson-row .lesson-duration { margin-left: 29px; font-size: 9px; }
  .lesson-row .bookmark-button { margin-left: auto; }
  .lesson-row > .icon-button { width: 28px; height: 27px; }
  .lesson-row > .icon-button .icon { width: 15px; height: 15px; }
  .project-level-guide { grid-template-columns: 1fr; padding: 18px; gap: 17px; }
  .project-level-guide > div { grid-template-columns: 33px 1fr; gap: 4px 13px; }
  .level-step { grid-row: 1/3; }
  .project-level-guide h3 { font-size: 12px; }
  .project-level-guide p { font-size: 10px; }
  .project-level-guide p br { display: none; }
  .guide-arrow { display: none; }
  .reader-breadcrumb { margin-bottom: 18px; font-size: 10px; gap: 7px; }
  .reader-heading h1 { font-size: 25px; line-height: 1.6; }
  .reader-heading > p:not(.eyebrow) { font-size: 12px; line-height: 1.9; }
  .reader-heading .eyebrow { font-size: 8px; }
  .reader-meta { gap: 11px; font-size: 9px; }
  .reader-meta .icon { width: 12px; height: 12px; }
  .lesson-article { padding: 24px 19px; }
  .lesson-article h2 { font-size: 18px; margin-bottom: 15px; }
  .lesson-article section > p { font-size: 13px; line-height: 2.1; }
  .lesson-article > section { margin-bottom: 31px; }
  .key-points { font-size: 12px; padding: 15px 15px 15px 29px; }
  .code-block pre { font-size: 11px; padding: 17px 15px; }
  .code-toolbar { font-size: 9px; padding: 9px 12px; }
  .code-toolbar > span { overflow-wrap: anywhere; }
  .code-toolbar button { font-size: 8px; }
  .code-caption { flex-direction: column; gap: 7px; font-size: 9px; }
  .exercise-callout { padding: 15px; gap: 9px; }
  .exercise-callout p { font-size: 12px; }
  .answer-details summary { font-size: 11px; padding: 13px; }
  .answer-details p { font-size: 12px; line-height: 2; }
  .pitfall-callout { padding: 15px; gap: 9px; }
  .pitfall-callout p { font-size: 11px; line-height: 2; }
  .reading-links a { font-size: 11px; padding: 12px; }
  .lesson-complete { flex-direction: column; align-items: stretch; gap: 16px; }
  .lesson-complete .button { width: 100%; }
  .reader-pagination { gap: 20px; }
  .reader-pagination strong { font-size: 11px; line-height: 1.9; }
  .reader-aside { grid-template-columns: 1fr; gap: 15px; }
  .reader-aside-card { padding: 23px; }
  .outline-lessons a { font-size: 12px; }
  .reader-aside-card h2 { font-size: 15px; }
  .reader-aside .mini-roadmap { display: none; }
  .project-detail-hero { padding: 22px 19px; gap: 0; }
  .project-detail-mark { display: none; }
  .project-detail-hero h1 { font-size: 23px; }
  .project-detail-hero p { font-size: 11px; line-height: 1.9; }
  .project-detail-links { margin-top: 15px; gap: 14px; }
  .project-detail-links > a { font-size: 10px; word-break: break-all; }
  .project-detail-links .button { font-size: 9px; }
  .source-map { margin: 19px 0; }
  .source-map code { font-size: 11px; }
  .source-map p { font-size: 11px; }
  .training-step { padding: 17px 13px; gap: 12px; }
  .training-step h3 { font-size: 13px; }
  .training-step p { font-size: 12px; }
  .step-deliverable { padding: 9px 10px; font-size: 10px; }
  .resource-banner { padding: 18px; gap: 11px; align-items: flex-start; }
  .resource-banner > .tile-icon { width: 32px; height: 32px; }
  .resource-banner > .tile-icon .icon { width: 18px; height: 18px; }
  .resource-banner h2 { font-size: 13px; }
  .resource-banner p { font-size: 10px; }
  .resource-filters { flex-direction: column; gap: 17px; }
  .resource-filters .filter-pills { gap: 6px; }
  .resource-grid { grid-template-columns: 1fr; gap: 13px; }
  .resource-card { padding: 19px 17px; gap: 12px; }
  .resource-card h3 { font-size: 13px; }
  .resource-card p { font-size: 11px; }
  .resource-card .bookmark-button { width: 27px; height: 31px; }
  .resource-card .bookmark-button .icon { width: 16px; height: 16px; }
  .roadmap-summary { padding: 20px 17px 25px; gap: 12px; flex-wrap: wrap; }
  .roadmap-summary > .tile-icon { width: 34px; height: 34px; }
  .roadmap-summary > div { flex: 1; }
  .roadmap-summary h2 { font-size: 13px; line-height: 1.8; }
  .roadmap-summary p { font-size: 10px; line-height: 1.85; }
  .roadmap-percent { font-size: 26px; margin-left: 45px; }
  .roadmap-percent small { font-size: 13px; }
  .roadmap-stage { padding-left: 37px; padding-bottom: 20px; }
  .roadmap-marker { width: 28px; height: 28px; font-size: 9px; top: 19px; }
  .roadmap-stage::before { left: 13px; top: 35px; }
  .roadmap-marker .icon { width: 15px; height: 15px; }
  .roadmap-stage-content { padding: 19px 16px; }
  .roadmap-stage-heading { align-items: flex-start; gap: 8px; }
  .roadmap-stage-heading h2 { font-size: 16px; }
  .roadmap-stage-heading .small-pill { font-size: 8px; padding: 3px 5px; }
  .roadmap-stage-heading .eyebrow { font-size: 7px; }
  .roadmap-stage-content > p { font-size: 11px; line-height: 1.9; }
  .roadmap-chapters { gap: 7px; margin-top: 14px; }
  .roadmap-chapters a { font-size: 9px; padding: 6px 8px; gap: 5px; }
  .roadmap-deliverable { flex-direction: column; align-items: flex-start; gap: 9px; }
  .roadmap-deliverable > span { font-size: 9px; }
  .roadmap-deliverable p { font-size: 11px; }
  .roadmap-deliverable a { margin-left: 0; font-size: 10px; }
  .roadmap-end { font-size: 10px; align-items: flex-start; line-height: 1.9; }
  .roadmap-end .icon { width: 17px; height: 17px; margin-top: 2px; }
  .saved-overview { margin-top: 20px; padding: 18px 0; }
  .saved-overview strong { font-size: 23px; }
  .saved-overview span { font-size: 9px; margin-top: 7px; }
  .saved-row { padding: 18px 16px; gap: 12px; }
  .saved-row > .tile-icon { width: 34px; height: 34px; }
  .saved-row > .tile-icon .icon { width: 18px; height: 18px; }
  .saved-row h3 { font-size: 12px; }
  .saved-row p { font-size: 10px; line-height: 1.95; }
  .saved-row .bookmark-button { width: 24px; }
  .saved-row .bookmark-button .icon { width: 16px; height: 16px; }
  .note-card { padding: 19px; }
  .note-card h3 { font-size: 12px; }
  .note-card p { font-size: 11px; }
  .empty-state { padding: 40px 19px; }
  .empty-state h2 { font-size: 17px; line-height: 1.8; }
  .empty-state p { font-size: 11px; line-height: 2; }
  .search-result { padding: 18px 14px; gap: 11px; }
  .search-result > .tile-icon { width: 33px; height: 33px; }
  .search-result > .tile-icon .icon { width: 17px; height: 17px; }
  .search-result strong { font-size: 12px; }
  .search-result-description { font-size: 10px; }
  .search-result-label { font-size: 8px; }
  .toast { bottom: 18px; font-size: 11px; width: max-content; max-width: calc(100vw - 34px); padding: 11px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body { background: white; }
  .sidebar, .topbar, .reader-aside, .footer, .toast, .sidebar-backdrop, .lesson-complete, .reader-pagination, .aside-actions, .code-toolbar button, .page-heading > .button { display: none !important; }
  .workspace { margin: 0; }
  .main-content { max-width: none; padding: 0; }
  .reader-layout { display: block; }
  .lesson-article { border: 0; padding: 0; }
  .code-block, .exercise-callout, .pitfall-callout { break-inside: avoid; }
  .code-block pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #203645; background: #f4f7f9; }
  .code-toolbar { background: #eef3f5; color: #537080; border: 0; }
}
