:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #f0ede4;
  --line: #e3dfd3;
  --ink: #1d2420;
  --ink-2: #4c564f;
  --muted: #7d867f;
  --brand: #1f5b45;
  --brand-2: #e7f0ea;
  --accent: #f4c95d;
  --accent-soft: #fdf3d6;
  --ppt: #c8532e;  --ppt-soft: #fbeae3;
  --word: #2b5fb3; --word-soft: #e6eefb;
  --excel: #1f7a4a; --excel-soft: #e3f3e9;
  --basic: #6b4fb3; --basic-soft: #eee9fa;
  --s1: #2b7a5a; --s2: #2b5fb3; --s3: #b06b16; --s4: #8a3fb0; --s5: #c8532e;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .04), 0 8px 24px rgba(20, 30, 25, .06);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video, iframe { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; position: relative; flex: none; }
.brand-mark i { position: absolute; right: 3px; top: 0; font-style: normal; font-size: 12px; color: var(--accent); }
.brand-name { font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand-sub { font-size: 12px; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.nav a.on { background: var(--brand); color: #fff; }

main { padding: 32px 0 72px; outline: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 700; font-size: 15px; background: var(--brand); color: #fff; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31, 91, 69, .25); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { box-shadow: var(--shadow); }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 16px 0 28px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; letter-spacing: -.02em; margin: 12px 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.hero p.lead { color: var(--ink-2); font-size: 17px; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-badges span::before { content: "✓ "; color: var(--brand); font-weight: 800; }

.hero-art { position: relative; aspect-ratio: 5 / 4; border-radius: 26px; background: linear-gradient(145deg, #e3eee6, #f4efe1); padding: 28px; overflow: hidden; }
.mock-player { position: absolute; left: 7%; top: 10%; width: 74%; background: #10221a; border-radius: 16px; box-shadow: 0 18px 40px rgba(16, 34, 26, .25); overflow: hidden; }
.mock-screen { aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #2d6b52, #10221a 70%); color: #fff; position: relative; }
.mock-screen .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--brand); font-size: 22px; padding-left: 5px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .15); }
.mock-screen .cap { position: absolute; left: 16px; bottom: 12px; font-size: 13px; font-weight: 600; opacity: .9; }
.mock-bar { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #9fb8ab; font-size: 11px; }
.mock-bar .track { flex: 1; height: 4px; background: #2a4337; border-radius: 4px; position: relative; }
.mock-bar .track::after { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--accent); border-radius: 4px; }
.mock-card { position: absolute; right: 6%; bottom: 9%; width: 46%; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.mock-card b { display: block; font-size: 14px; margin-bottom: 8px; }
.mock-card li { list-style: none; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.mock-card ul { margin: 0; padding: 0; }
.mock-card .ck { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line); flex: none; }
.mock-card .ck.on { background: var(--brand); border-color: var(--brand); position: relative; }
.mock-card .ck.on::after { content: "✓"; color: #fff; font-size: 11px; position: absolute; inset: -3px 0 0 2px; }
.mock-sticker { position: absolute; right: 8%; top: 9%; background: var(--accent); color: #3d2f05; font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; transform: rotate(6deg); }

/* ---------- Path strip ---------- */
.path { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 8px 0 48px; flex-wrap: wrap; }
.path b { font-size: 14px; margin-right: 8px; }
.path .step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.path .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-2); color: var(--brand); font-weight: 800; font-size: 13px; }
.path .arrow { color: var(--line); font-weight: 700; flex: 1; text-align: center; min-width: 16px; }

/* ---------- Section ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 28px; margin: 6px 0 4px; letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--ink-2); }

/* ---------- Course cards ---------- */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s, box-shadow .18s; position: relative; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course-top { display: flex; align-items: center; justify-content: space-between; }
.course-letter { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff; }
.course-meta { font-size: 12px; color: var(--muted); text-align: right; }
.course-card h3 { margin: 6px 0 0; font-size: 20px; }
.course-card .tag { font-size: 13px; font-weight: 700; }
.course-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.course-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.course-foot .go { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 800; }
.course-card:hover .go { background: var(--brand); color: #fff; }
.mini-progress { height: 6px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.mini-progress i { display: block; height: 100%; border-radius: 6px; }

.c-basic { --c: var(--basic); --cs: var(--basic-soft); }
.c-ppt { --c: var(--ppt); --cs: var(--ppt-soft); }
.c-word { --c: var(--word); --cs: var(--word-soft); }
.c-excel { --c: var(--excel); --cs: var(--excel-soft); }
.course-letter, .mini-progress i { background: var(--c); }
.course-card .tag { color: var(--c); }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-2); color: var(--brand); font-size: 20px; flex: none; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Course page ---------- */
.course-head { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: end; margin-bottom: 20px; }
.course-head h1 { font-size: 38px; margin: 6px 0 6px; }
.course-head p { margin: 0; color: var(--ink-2); }
.progress-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.progress-box small { color: var(--muted); font-size: 13px; }
.progress-box .big { font-size: 30px; font-weight: 800; }
.progress-box .big span { font-size: 16px; color: var(--muted); font-weight: 600; }
.note { background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; font-size: 14px; color: #5d4a10; margin-bottom: 18px; }

.mission-list { display: flex; flex-direction: column; gap: 10px; }
.mission-row { display: grid; grid-template-columns: 56px 1fr auto auto auto 28px; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; transition: box-shadow .15s, border-color .15s; }
.mission-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.mission-row .no { font-size: 24px; font-weight: 800; color: var(--c); font-variant-numeric: tabular-nums; }
.mission-row h3 { margin: 0; font-size: 17px; }
.mission-row .sk { font-size: 13px; color: var(--muted); }
.mission-row .len { font-size: 13px; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.mission-row .arr { font-weight: 800; color: var(--muted); }
.mission-row.done { background: linear-gradient(90deg, var(--brand-2), var(--surface) 40%); }
.mission-row.done .no::after { content: " ✓"; color: var(--brand); font-size: 16px; }

.stage { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, white); }
.stage.s1 { --sc: var(--s1); } .stage.s2 { --sc: var(--s2); } .stage.s3 { --sc: var(--s3); } .stage.s4 { --sc: var(--s4); } .stage.s5 { --sc: var(--s5); }
.vid-chip { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #10221a; color: #fff; white-space: nowrap; }
.vid-chip.off { background: var(--surface-2); color: var(--muted); }

/* ---------- Lesson ---------- */
.lesson { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.lesson > * { min-width: 0; }
.side { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side h4 { margin: 4px 8px 10px; font-size: 15px; color: var(--c); }
.side a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.side a .n { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.side a:hover { background: var(--surface-2); }
.side a.on { background: var(--cs); color: var(--ink); font-weight: 700; }
.side a.on .n { color: var(--c); }
.side a.done .n::after { content: "✓"; margin-left: 2px; color: var(--brand); }
.side .tip { margin-top: 12px; padding: 12px; font-size: 13px; color: var(--muted); background: var(--surface-2); border-radius: 12px; }

.lesson-head h1 { font-size: 32px; margin: 6px 0 6px; letter-spacing: -.01em; }
.lesson-head p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; }
.lesson-head .eyebrow { color: var(--c); }

.player-card { background: #10221a; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.player { aspect-ratio: 16 / 9; background: #0b1812; position: relative; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #d5e4dc; padding: 24px; background: radial-gradient(circle at 30% 25%, #24533f, #0b1812 72%); }
.player-empty .play { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 24px; padding-left: 5px; border: 2px dashed rgba(255, 255, 255, .35); }
.player-empty b { font-size: 18px; color: #fff; display: block; margin-bottom: 4px; }
.player-empty small { font-size: 13px; opacity: .8; }
.chapters { display: flex; gap: 8px; padding: 12px 14px; overflow-x: auto; scrollbar-width: thin; }
.chapter { flex: none; background: #1b3428; color: #cfe0d6; border: 0; border-radius: 10px; padding: 8px 12px; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.chapter:hover:not([disabled]) { background: #275a43; color: #fff; }
.chapter[disabled] { cursor: default; opacity: .7; }
.chapter time { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.watch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px 14px; color: #9fb8ab; font-size: 13px; flex-wrap: wrap; }
.watch-btn { background: transparent; border: 1px solid #3a5a4b; color: #dbe8e0; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.watch-btn.on { background: var(--accent); border-color: var(--accent); color: #3d2f05; }

.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 6px; }
.lesson-actions small { color: var(--muted); font-size: 13px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 26px 0 0; overflow-x: auto; }
.tab { background: none; border: 0; padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.on { color: var(--ink); border-bottom-color: var(--c); }
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 28px; }
.panel h3 { margin: 4px 0 8px; font-size: 22px; }
.panel .skillbox { background: var(--cs); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }
.panel .skillbox b { display: block; font-size: 13px; color: var(--c); margin-bottom: 2px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); cursor: pointer; transition: background .15s; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--c); color: var(--c); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.steps li.ok { background: var(--brand-2); color: var(--ink-2); }
.steps li.ok::before { content: "✓"; background: var(--brand); border-color: var(--brand); color: #fff; }

.challenge { border: 2px dashed var(--c); border-radius: 16px; padding: 20px 22px; background: var(--cs); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 12px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.checks label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.checks label:has(input:checked) { background: var(--brand-2); border-color: transparent; }
.done-banner { display: flex; gap: 14px; align-items: center; background: var(--brand); color: #fff; border-radius: 16px; padding: 18px 20px; }
.done-banner .em { font-size: 28px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Record ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat small { color: var(--muted); font-size: 13px; }
.stat b { display: block; font-size: 32px; }
.rec-course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.rec-course h3 { margin: 0 0 10px; font-size: 18px; display: flex; justify-content: space-between; gap: 10px; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.dots a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.dots a.done { background: var(--c); color: #fff; }
.dots a.watched { box-shadow: inset 0 0 0 2px var(--c); color: var(--c); }

/* ---------- Guide ---------- */
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.guide .card h3 { margin: 0 0 8px; }
.guide .card ul, .guide .card ol { margin: 0; padding-left: 20px; color: var(--ink-2); }
.guide .card li { margin: 4px 0; }
kbd { font-family: inherit; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .side nav { display: flex; gap: 6px; overflow-x: auto; }
  .side a { flex: none; }
  .side .tip, .side h4 { display: none; }
  .features, .stats { grid-template-columns: 1fr; }
  .course-head { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .mission-row { grid-template-columns: 40px 1fr 28px; row-gap: 8px; }
  .mission-row .len, .mission-row .stage, .mission-row .vid-chip { grid-column: 2; justify-self: start; }
  .mission-row .arr { grid-row: 1; grid-column: 3; }
}
@media (max-width: 560px) {
  .courses { grid-template-columns: 1fr; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .brand-name { font-size: 17px; }
  .topbar-in { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .path .arrow { display: none; }
  .panel { padding: 20px; }
  .course-head h1, .lesson-head h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- 강의 구조도 ---------- */
.map { margin-top: 48px; }
.map-bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-bottom: 18px; }
.map-school, .map-here { border-radius: var(--radius); padding: 18px 20px; }
.map-school { background: var(--surface-2); border: 1px dashed #cfc9b8; }
.map-school b, .map-here b { display: block; font-size: 15px; margin-bottom: 10px; }
.map-school .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.map-school .chips span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.map-arrow { display: grid; place-items: center; font-size: 28px; font-weight: 800; color: var(--brand); }
.map-here { background: var(--brand); color: #fff; }
.map-here p { margin: 0; font-size: 18px; font-weight: 700; }
.map-here em { font-style: normal; color: var(--accent); }
.map-grid { display: grid; grid-template-columns: 190px repeat(var(--cols), minmax(0, 1fr)) 150px; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.map-corner, .map-goal-h { font-size: 12px; color: var(--muted); display: flex; align-items: flex-end; padding: 0 4px 4px; }
.map-col { font-size: 13px; font-weight: 700; text-align: center; padding: 8px 4px; border-radius: 10px; color: #fff; background: var(--s); }
.map-col small { display: block; font-size: 11px; opacity: .85; }
.s1 { --s: var(--s1); } .s2 { --s: var(--s2); } .s3 { --s: var(--s3); } .s4 { --s: var(--s4); } .s5 { --s: var(--s5); }
.map-lane { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--cs); }
.map-lane .course-letter { flex: none; }
.map-lane b { display: block; font-size: 14px; line-height: 1.3; }
.map-lane small { font-size: 12px; color: var(--c); font-weight: 700; }
.map-node { position: relative; display: flex; flex-direction: column; gap: 6px; word-break: keep-all; overflow-wrap: anywhere; padding: 10px; min-height: 96px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; line-height: 1.35; transition: transform .15s, border-color .15s; }
.map-node:hover { transform: translateY(-2px); border-color: var(--c); }
.map-node i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--cs); color: var(--c); }
.map-node.done i { background: var(--c); color: #fff; }
.map-node .map-type { display: none; }
.map-goal { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: var(--c); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; }
.map-goal span { color: var(--accent); font-size: 18px; }
.c-basic { --c: var(--basic); --cs: var(--basic-soft); } .c-ppt { --c: var(--ppt); --cs: var(--ppt-soft); } .c-word { --c: var(--word); --cs: var(--word-soft); } .c-excel { --c: var(--excel); --cs: var(--excel-soft); }
.map-scale { display: flex; align-items: center; gap: 12px; margin: 12px 4px 0; font-size: 12px; color: var(--muted); }
.map-scale i { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5)); }
@media (max-width: 1000px) {
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-corner, .map-col, .map-goal-h { display: none; }
  .map-lane, .map-goal { grid-column: 1 / -1; }
  .map-lane { margin-top: 10px; }
  .map-node .map-type { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; background: var(--s); padding: 2px 8px; border-radius: 999px; }
}
@media (max-width: 560px) {
  .map-bridge { grid-template-columns: 1fr; }
  .map-arrow { transform: rotate(90deg); }
}
