@font-face { font-family: 'Be Vietnam Pro'; src: url('https://font.fedu.vn/fonts/BeVietnamPro-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('https://font.fedu.vn/fonts/BeVietnamPro-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('https://font.fedu.vn/fonts/BeVietnamPro-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('https://font.fedu.vn/fonts/BeVietnamPro-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('https://font.fedu.vn/fonts/JetBrainsMono-Variable.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #eaf0f8;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --ink: #0b1f3a;
  --body: #344054;
  --muted: #475467;
  --subtle: #667085;
  --primary: #0b5cad;
  --primary-hover: #084788;
  --primary-soft: #eff6ff;
  --primary-border: #bfdbfe;
  --fpt: #f27024;
  --fpt-soft: #fff6ed;
  --fpt-border: #fed7aa;
  --success: #067647;
  --success-soft: #ecfdf3;
  --success-border: #abefc6;
  --cinema: #0b0f19;
  --cinema-2: #131b2e;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 16px 36px rgba(11, 31, 58, 0.10), 0 2px 6px rgba(16, 24, 40, 0.05);
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04";
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }
img { max-width: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }

/* Containers & Common UI */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.3;
}
.badge-academic { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-border); }
.badge-fpt { background: var(--fpt-soft); color: #c2410c; border: 1px solid var(--fpt-border); }
.badge-neutral { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface); border-color: #98a2b3; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 13.5px; }

/* Landing Topbar (Coursera / MS Learn style) */
.site-header {
  position: sticky; top: 0; z-index: 45; height: 64px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand-lockup > div:last-child { min-width: 0; flex: 1; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
  position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.brand-mark::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fpt);
  position: absolute; top: -2px; right: -2px; border: 2px solid #fff;
}
.brand-name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.brand-org { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-nav { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-nav .btn { white-space: nowrap; }
.header-link { font-size: 14px; font-weight: 500; color: var(--muted); }
.header-link:hover { color: var(--primary); }

/* Hero Section */
.hero-sec {
  background: linear-gradient(180deg, #f2f6fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border); padding: 56px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.hero-title {
  font-size: clamp(27px, 3.3vw, 39px); font-weight: 700; line-height: 1.25;
  letter-spacing: -0.015em; color: var(--ink); margin: 14px 0 16px; text-wrap: balance;
}
.only-sm { display: none; }
.hero-lead { font-size: 17px; line-height: 1.68; color: var(--body); margin: 0 0 24px; max-width: 62ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero Preview Card (Course Card) */
.preview-card {
  background: #fff; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.preview-thumb {
  position: relative; aspect-ratio: 16 / 9; background: var(--cinema); overflow: hidden; display: block;
}
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.25s ease; }
.preview-thumb:hover img { transform: scale(1.02); }
.preview-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 14px; background: linear-gradient(180deg, rgba(11,15,25,0.02) 45%, rgba(11,15,25,0.82) 100%); color: #fff;
}
.preview-play-bar {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(11, 31, 58, 0.92); border: 1px solid rgba(255,255,255,0.22); font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.play-circle-sm {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 11px; flex-shrink: 0;
}
.play-circle {
  width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(11, 92, 173, 0.45); border: 2px solid #fff; font-size: 18px;
}
.preview-body { padding: 18px 20px 20px; }
.preview-meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--body); }
.preview-meta-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.preview-meta-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.preview-meta-list strong { color: var(--ink); font-weight: 600; }

/* Metrics Strip */
.metrics-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border);
}
.metric-pill { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.metric-pill-kicker { font-size: 12px; font-weight: 600; color: var(--subtle); margin-bottom: 2px; }
.metric-pill-val { font-size: 16px; font-weight: 700; color: var(--ink); }

/* Landing Sections */
.sec { padding: 72px 0; border-bottom: 1px solid var(--border); }
.sec-alt { background: var(--surface); }
.sec-head { max-width: 760px; margin-bottom: 32px; }
.sec-kicker { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.sec-title { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; line-height: 1.3; color: var(--ink); margin: 0 0 10px; }
.sec-sub { font-size: 16px; color: var(--muted); margin: 0; }

/* Survey & Chart Grid */
.survey-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: start; }
.survey-prose p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--body); }
.survey-prose p:last-child { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-num { font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--primary); margin-bottom: 6px; }
.stat-accent .stat-num { color: var(--fpt); }
.stat-desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.chart-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.chart-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.bar-row { margin-bottom: 13px; }
.bar-row:last-of-type { margin-bottom: 10px; }
.bar-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--body); margin-bottom: 5px; }
.bar-top small { color: var(--subtle); font-size: 12px; }
.bar-track { height: 10px; background: #eaecf0; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 999px; }
.bar-row.is-low .bar-fill { background: var(--fpt); }
.bar-row.is-low .bar-top strong { color: #c2410c; }
.chart-note { font-size: 12.5px; color: var(--subtle); margin: 10px 0 0; line-height: 1.5; }

/* CLO Grid */
.clo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clo-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.clo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.clo-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 6px; flex-shrink: 0; }
.clo-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.35; }
.clo-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Curriculum Accordion (Coursera / Udemy style) */
.acc-list { display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%; text-align: left; background: #fff; border: 0; padding: 20px 22px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.acc-head:hover { background: #fafcff; }
.acc-kicker { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.acc-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.acc-desc { font-size: 14.5px; color: var(--muted); max-width: 72ch; }
.acc-meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); flex-shrink: 0; padding-top: 2px; }
.acc-chevron { transition: transform 0.18s ease; display: inline-block; }
.acc-item.is-open .acc-chevron { transform: rotate(180deg); }
.acc-body { display: none; border-top: 1px solid var(--border); background: #fcfdff; }
.acc-item.is-open .acc-body { display: block; }

.cur-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 22px;
  border-bottom: 1px solid var(--border); transition: background 0.14s ease;
}
.cur-row:last-child { border-bottom: 0; }
.cur-row:hover { background: var(--primary-soft); }
.cur-play {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 12px; flex-shrink: 0; font-weight: 700;
}
.cur-info { flex: 1; min-width: 0; }
.cur-title { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.38; }
.cur-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.cur-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cur-dur { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-weight: 500; }
.cur-check { width: 20px; text-align: center; color: var(--success); font-weight: 700; }

/* Toolkit, Team & Project Report Block */
.tk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 18px; }
.tk-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.tk-box h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.tk-box ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; color: var(--body); }
.rubric-banner { background: #fff; border: 1px solid var(--primary-border); border-left: 4px solid var(--primary); border-radius: 10px; padding: 16px 20px; font-size: 14.5px; color: var(--body); }

.report-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-md); }
.project-meta-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.meta-kv { font-size: 14.5px; color: var(--body); margin-bottom: 8px; }
.meta-kv strong { color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.team-role { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.03em; }
.team-name { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 3px 0 2px; }
.team-unit { font-size: 13px; font-weight: 500; color: var(--subtle); margin-bottom: 8px; }
.team-scope { font-size: 13.5px; color: var(--body); margin: 0; line-height: 1.5; }

.ms-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ms-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; position: relative; }
.ms-dot { width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; margin-bottom: 8px; }
.ms-done .ms-dot { background: var(--success); }
.ms-current { border-color: var(--primary); background: var(--primary-soft); }
.ms-current .ms-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(11,92,173,0.18); }
.ms-time { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ms-label { font-size: 13px; color: var(--muted); line-height: 1.45; }

.site-footer { background: var(--ink); color: #cbd5e1; padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

/* =========================================================
   PAGE 2: LMS COURSE PLAYER (Udemy / Skillshare / Coursera)
   ========================================================= */
.lms-topbar {
  position: sticky; top: 0; z-index: 50; height: 56px;
  background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px; gap: 12px;
}
.lms-top-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lms-back {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 7px;
  background: rgba(255,255,255,0.1); color: #f8fafc; font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.lms-back:hover { background: rgba(255,255,255,0.18); }
.lms-course-name { font-size: 14.5px; font-weight: 600; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lms-top-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lms-prog-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cbd5e1; font-weight: 600; }
.lms-prog-track { width: 100px; height: 7px; background: rgba(255,255,255,0.16); border-radius: 999px; overflow: hidden; }
.lms-prog-fill { height: 100%; width: 0%; background: #38bdf8; border-radius: 999px; transition: width 0.2s ease; }
.lms-drawer-btn {
  display: none; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border-radius: 7px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 13px; font-weight: 600;
}

.lms-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; min-height: calc(100vh - 56px); align-items: start; }
.lms-main { min-width: 0; background: #fff; }

/* Cinema Video Stage */
.cinema-stage { background: var(--cinema); padding: 18px 24px; border-bottom: 1px solid #1e293b; }
.video-frame-wrap {
  max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000;
  border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08);
}
.video-frame-wrap iframe, .video-frame-wrap video { width: 100%; height: 100%; border: 0; display: block; }
.yt-facade { position: relative; width: 100%; height: 100%; background: #090d16; overflow: hidden; display: grid; place-items: center; }
.yt-facade-bg { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); object-fit: cover; filter: blur(22px) brightness(0.42); transform: scale(1.08); }
.yt-facade-img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; opacity: 0.92; }
.yt-facade-btn {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; padding: 18px 22px;
  background: linear-gradient(180deg, rgba(11,15,25,0.52) 0%, rgba(11,15,25,0.22) 45%, rgba(11,15,25,0.78) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; text-align: left;
}
.yt-facade-btn:hover .play-circle { background: var(--primary-hover); transform: scale(1.05); transition: transform 0.16s ease; }
.yt-facade-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.yt-facade-pill { font-size: 12px; font-weight: 600; background: rgba(11,31,58,0.85); border: 1px solid rgba(255,255,255,0.2); padding: 4px 11px; border-radius: 999px; }
.yt-facade-dur { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; background: rgba(11,15,25,0.8); padding: 4px 9px; border-radius: 6px; }
.yt-facade-center { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.yt-facade-title { font-size: clamp(14px, 1.8vw, 17px); font-weight: 600; color: #f8fafc; line-height: 1.35; max-width: 64ch; text-shadow: 0 2px 8px rgba(0,0,0,0.65); }

/* Below Video Lesson Body */
.lesson-container { max-width: 820px; margin: 0 auto; padding: 26px 32px 84px; }
.lesson-head-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lesson-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary); }
.lesson-QuickNav { display: flex; align-items: center; gap: 8px; }
.btn-nav-sm {
  display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 5px 11px;
  border-radius: 7px; border: 1px solid var(--border-strong); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink);
}
.btn-nav-sm:hover { background: var(--surface); }

.lesson-h1 { font-size: clamp(22px, 2.5vw, 27px); font-weight: 700; line-height: 1.32; color: var(--ink); margin: 0 0 8px; text-wrap: balance; }
.lesson-subtitle { font-size: 15.5px; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.lesson-action-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.btn-complete {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
  border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 600;
}
.btn-complete.is-done { background: var(--success); border-color: var(--success); color: #fff; }

.lesson-tabs {
  position: sticky; top: 56px; z-index: 30; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  display: flex; gap: 22px; border-bottom: 1px solid var(--border); margin: 0 0 26px; padding: 12px 0; overflow-x: auto;
}
.lesson-tab-link { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.lesson-tab-link:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* Summary Box */
.summary-card {
  background: var(--surface); border: 1px solid var(--primary-border); border-radius: 12px;
  padding: 20px 22px; margin-bottom: 32px; scroll-margin-top: 120px;
}
.summary-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; }
.summary-head h2 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0; }
.summary-hint { font-size: 12px; color: var(--subtle); }
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.summary-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--body); }
.seek-chip {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--primary);
  background: #fff; border: 1px solid var(--primary-border); border-radius: 6px;
  padding: 3px 8px; flex-shrink: 0; margin-top: 2px;
}
.seek-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Article Prose */
.article-sec { margin-bottom: 36px; scroll-margin-top: 120px; }
.sec-h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.article-prose p { font-size: 17px; line-height: 1.76; color: #1d2939; margin: 0 0 18px; max-width: 70ch; }

/* Practice & Rubric Card */
.practice-sec {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--fpt);
  border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 32px; scroll-margin-top: 120px;
}
.practice-goal { font-size: 16px; font-weight: 600; color: var(--ink); margin: 6px 0 14px; }
.practice-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; color: var(--body); }
.code-card { background: #0f172a; color: #f8fafc; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.code-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px; font-weight: 600; color: #cbd5e1;
}
.btn-copy-code {
  min-height: 32px; padding: 4px 11px; border-radius: 6px; border: 1px solid #475569;
  background: #1e293b; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.btn-copy-code:hover { background: #334155; }
.code-card pre {
  margin: 0; padding: 14px 16px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.62;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
}
.rubric-check-box { background: var(--surface); border-radius: 9px; padding: 14px 16px; border: 1px solid var(--border); }
.rubric-check-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.rubric-check-box ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }

.next-lesson-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-radius: 12px; border: 1px solid var(--primary-border); background: var(--primary-soft);
}
.next-lesson-card:hover { border-color: var(--primary); }

/* Right Curriculum Sidebar */
.lms-sidebar {
  position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto;
  background: #f8fafc; border-left: 1px solid var(--border);
}
.sidebar-head { padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; }
.sidebar-head strong { font-size: 15px; color: var(--ink); }
.sidebar-head span { font-size: 12.5px; color: var(--subtle); }
.sb-mod { border-bottom: 1px solid var(--border); }
.sb-mod-head {
  width: 100%; text-align: left; background: #f1f5f9; border: 0; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.sb-mod-kicker { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.03em; }
.sb-mod-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 2px; line-height: 1.35; }
.sb-lessons { display: none; background: #fff; }
.sb-mod.is-open .sb-lessons { display: block; }
.sb-link {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9; border-left: 3px solid transparent; font-size: 13.5px; color: var(--body);
}
.sb-link:hover { background: #f8fafc; }
.sb-link.is-active { background: var(--primary-soft); border-left-color: var(--primary); color: var(--ink); font-weight: 600; }
.sb-status { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cbd5e1; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; color: transparent; }
.sb-link.is-done .sb-status { background: var(--success); border-color: var(--success); color: #fff; }
.sb-link.is-active:not(.is-done) .sb-status { border-color: var(--primary); color: var(--primary); }
.sb-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--subtle); margin-top: 3px; }

/* Mobile Drawer & Responsive */
.drawer-overlay { display: none; position: fixed; inset: 0; z-index: 70; background: rgba(11,15,25,0.55); align-items: flex-end; }
.drawer-overlay.open { display: flex; }
.drawer-panel { width: 100%; max-height: 82vh; background: #fff; border-radius: 16px 16px 0 0; overflow-y: auto; padding-bottom: 24px; }
.drawer-top { position: sticky; top: 0; background: #fff; padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 1023px) {
  .hide-sm { display: none !important; }
  .only-sm { display: inline; }
  .hero-sec { padding: 36px 0 32px; }
  .hero-grid, .survey-grid, .clo-grid, .tk-grid, .team-grid, .project-meta-grid { grid-template-columns: 1fr; gap: 20px; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ms-list { grid-template-columns: 1fr; }
  .sec { padding: 48px 0; }
  .cur-row { flex-wrap: wrap; padding: 14px 16px; }
  .cur-right { width: 100%; padding-left: 46px; justify-content: flex-start; }
  .lms-layout { grid-template-columns: 1fr; }
  .lms-sidebar, .lms-prog-wrap { display: none; }
  .lms-drawer-btn { display: inline-flex; }
  .cinema-stage { padding: 0; }
  .video-frame-wrap { border-radius: 0; border: 0; }
  .yt-facade-btn { padding: 12px 14px; }
  .yt-facade-title { display: none; }
  .lesson-container { padding: 20px 16px 64px; }
  .practice-sec, .summary-card { padding: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-nav .btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
  .brand-org { font-size: 11px; }
  .lesson-tabs { gap: 14px; }
  .lesson-tab-link { font-size: 13.5px; }
  .next-lesson-card { flex-wrap: wrap; }
  .next-lesson-card .btn { white-space: nowrap; }
  .stat-grid, .metrics-strip { grid-template-columns: 1fr; }
  .lms-course-name { display: none; }
}
