:root {
  --ink: #132437;
  --muted: #607287;
  --line: #d6e2ec;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --navy: #09172a;
  --cyan: #65c7ff;
  --cyan-dark: #1477c8;
  --success: #177a58;
  --warning: #9a6500;
  --danger: #a93636;
  --shadow: 0 18px 50px rgba(19, 48, 74, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
textarea { resize: vertical; }
.shell { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 99; padding: 10px 14px; background: white; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(9,23,42,.97); border-top: 3px solid var(--cyan); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 35px rgba(4,14,25,.18); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand small { color: #a9c8dd; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav form { margin: 0; }
.main-nav a, .link-button { color: #edf7fd; font-weight: 650; }
.link-button { border: 0; background: transparent; cursor: pointer; padding: 0; }
.nav-cta { padding: 10px 16px; border-radius: 999px; color: #06121e !important; background: var(--cyan); }

.hero { position: relative; overflow: hidden; padding: 88px 0 76px; color: white; background: radial-gradient(circle at 12% 0%, rgba(101,199,255,.22), transparent 34%), linear-gradient(125deg, #06101b, #0b2137 58%, #123c62); }
.hero::after { content: ""; position: absolute; inset: auto -9% -65% auto; width: 520px; aspect-ratio: 1; border: 1px solid rgba(101,199,255,.16); border-radius: 50%; box-shadow: 0 0 0 90px rgba(101,199,255,.035), 0 0 0 180px rgba(101,199,255,.025); }
.hero-grid, .course-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.16; }
h3 { line-height: 1.25; }
.lead { max-width: 690px; font-size: 1.15rem; opacity: .9; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--cyan); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--cyan); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; cursor: pointer; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary { color: white; background: var(--cyan-dark); }
.hero .button.primary { color: #06121e; background: var(--cyan); }
.button.ghost { color: var(--ink); background: white; border-color: var(--line); }
.hero .button.ghost { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.button.full { width: 100%; }
.button:disabled { cursor: default; opacity: .55; transform: none; }
.hero-visual { min-width: 0; }
.hero-photo-card { position: relative; overflow: hidden; margin: 0 0 14px; min-height: 245px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,14,25,.88)); }
.hero-photo-card img { width: 100%; height: 100%; min-height: 245px; display: block; object-fit: cover; }
.hero-photo-card figcaption { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: white; font-weight: 800; }
.hero-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-stat { display: grid; gap: 3px; padding: 15px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
.hero-stat strong { font-size: 1.25rem; color: var(--cyan); }
.hero-stat span { font-size: .82rem; line-height: 1.25; }

.section { padding-block: 68px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(9,23,42,.09); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(9,23,42,.14); }
.course-art { position: relative; min-height: 180px; overflow: hidden; color: white; background: var(--navy); }
.course-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,14,25,.9)); }
.course-art img { width: 100%; height: 180px; display: block; object-fit: cover; }
.course-art span { position: absolute; z-index: 1; left: 18px; bottom: 14px; font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.course-body { padding: 24px; }
.course-body h2, .course-body h3 { margin: 12px 0 10px; }
.course-body h2 { font-size: 1.28rem; }
.course-body h3 { font-size: 1.2rem; }
.course-body p { color: var(--muted); min-height: 72px; }
.course-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pill { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: #0c568f; background: #e5f5ff; font-size: .76rem; font-weight: 800; text-transform: capitalize; }
.pill.warning { color: var(--warning); background: #fff3d5; }

.page-hero, .dashboard-hero { padding: 58px 0; color: white; background: radial-gradient(circle at 85% 20%, rgba(101,199,255,.2), transparent 30%), linear-gradient(135deg, #06101b, #123c62); }
.page-hero h1, .dashboard-hero h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.page-hero p, .dashboard-hero p { margin-bottom: 0; max-width: 720px; color: #dbeaf2; }
.purchase-card { padding: 26px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.purchase-card > span, .purchase-card > strong { display: block; }
.purchase-card > strong { margin: 4px 0 20px; font-size: 2rem; }
.purchase-card small { display: block; margin-top: 14px; color: var(--muted); }
.purchase-card-photo { width: calc(100% + 52px); height: 170px; display: block; margin: -26px -26px 22px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.detail-grid, .cart-layout { display: grid; grid-template-columns: 1.45fr .75fr; gap: 36px; align-items: start; }
.prose { font-size: 1.05rem; }
.outline { padding: 0; margin: 0; list-style: none; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.outline li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.outline li:last-child { border-bottom: 0; }
.outline .module-title { color: white; background: var(--navy); font-weight: 800; }
.outline small { color: var(--muted); }

.auth-section { min-height: 70vh; display: grid; place-items: center; padding: 60px 16px; background: radial-gradient(circle at 10% 10%, rgba(101,199,255,.18), transparent 34%), linear-gradient(180deg, #edf7fd, #f4f8fb); }
.auth-card { width: min(460px, 100%); padding: 38px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.auth-card.wide { width: min(620px, 100%); }
.auth-card h1 { margin-bottom: 12px; font-size: 2.3rem; }
.stack-form { display: grid; gap: 18px; margin-top: 28px; }
.stack-form label { display: grid; gap: 7px; font-weight: 700; }
.stack-form input { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #b9c8d6; border-radius: 10px; }
.stack-form textarea, .stack-form select { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #b9c8d6; border-radius: 10px; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { outline: 3px solid rgba(0,167,181,.2); border-color: var(--cyan); }
.stack-form small, .auth-alternate { color: var(--muted); }
.auth-alternate { margin: 22px 0 0; text-align: center; }
.notice { margin: 20px 0; padding: 13px 16px; border-radius: 12px; border: 1px solid; }
.notice.success { color: var(--success); background: #eaf8f1; border-color: #b9e4d0; }
.notice.error { color: var(--danger); background: #fff0f0; border-color: #efc2c2; }
.notice.warning { color: var(--warning); background: #fff7df; border-color: #ecd99d; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 46px; }
.metric-grid article { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.metric-grid span, .metric-grid strong { display: block; }
.metric-grid span { color: var(--muted); }
.metric-grid strong { margin-top: 6px; font-size: 2rem; }
.table-card { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #f8fafc; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
.learning-list { display: grid; gap: 16px; }
.learning-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.learning-card > div { flex: 1; }
.learning-card h3 { margin: 10px 0; }
.progress { height: 9px; overflow: hidden; background: #e4ebf1; border-radius: 999px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--cyan)); border-radius: inherit; }
.learning-card small { color: var(--muted); }
.empty-state { padding: 50px; text-align: center; background: white; border: 1px dashed #aebdca; border-radius: var(--radius); }

.lesson-shell { padding-block: 34px 70px; }
.lesson-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: var(--muted); }
.lesson-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
.lesson-sidebar, .lesson-content { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.lesson-sidebar { align-self: start; }
.lesson-content h1 { margin: 16px 0 30px; font-size: clamp(2rem, 4vw, 3.5rem); }
.lesson-content .prose { min-height: 260px; padding: 28px; margin-bottom: 28px; background: var(--soft); border-radius: 14px; }
.lesson-media { padding: 18px; margin-bottom: 24px; background: var(--soft); border-radius: 14px; }
.lesson-media video { display: block; width: 100%; max-height: 70vh; background: #000; border-radius: 10px; }
.lesson-media.external-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; }
.lesson-media.external-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-media.image-card img { display: block; width: 100%; height: auto; max-height: 75vh; object-fit: contain; border-radius: 12px; background: #eef3f7; }
.lesson-media.image-card figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.guide-prose { border-left: 4px solid var(--accent); padding-left: 1rem; }
.document-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.document-card p { flex: 1 1 260px; margin: 0; color: var(--muted); }
.media-file-summary { padding: 10px 12px; margin: 0; overflow-wrap: anywhere; background: white; border: 1px solid var(--line); border-radius: 10px; }
.order-status { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-grid, .editor-layout, .assessment-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 28px; align-items: start; }
.editor-layout { grid-template-columns: minmax(0, 1fr) 260px; }
.editor-card, .attempt-card, .certificate-card, .certificate-status { padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(18,58,99,.05); }
.editor-card h2:first-child, .attempt-card h2:first-child { margin-top: 0; }
.editor-sidebar { position: sticky; top: 98px; }
.stack-xl { display: grid; gap: 24px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inline-form { display: flex; align-items: end; gap: 12px; }
.inline-form label { display: grid; gap: 7px; font-weight: 700; }
.inline-form input { width: 100%; padding: 11px 12px; border: 1px solid #b9c8d6; border-radius: 10px; }
.inline-form .grow { flex: 1; }
.wrap { flex-wrap: wrap; }
.button.small { min-height: 40px; padding: 8px 14px; }
.block { display: block; color: var(--muted); }
.muted { color: var(--muted); }
.student-admin-list { display: grid; gap: 18px; }
.student-admin-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(18,58,99,.05); }
.student-admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.student-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.student-title-row h3 { margin: 0; }
.student-admin-header .block { margin-top: 5px; }
.student-progress-summary { min-width: 120px; text-align: right; }
.student-progress-summary strong, .student-progress-summary span { display: block; }
.student-progress-summary strong { color: var(--cyan-dark); font-size: 1.75rem; }
.student-progress-summary span { color: var(--muted); font-size: .82rem; }
.student-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 4px; }
.student-stats span { padding: 12px; color: var(--muted); background: var(--soft); border-radius: 10px; font-size: .85rem; }
.student-stats strong { display: block; color: var(--ink); font-size: 1.1rem; }
.student-course-list { display: grid; gap: 10px; margin-top: 16px; }
.student-course-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 240px); gap: 24px; align-items: center; padding: 14px; background: var(--soft); border-radius: 12px; }
.student-course-progress > span { display: block; margin-bottom: 5px; text-align: right; font-weight: 800; }
.student-empty-enrollments { margin: 14px 0 0; }
.module-editor { padding: 20px 0; border-top: 1px solid var(--line); }
.module-editor:first-of-type { border-top: 0; }
.lesson-editors { display: grid; gap: 14px; margin: 18px 0; }
.lesson-editor { padding: 18px; margin-top: 0; background: var(--soft); border-radius: 14px; }
.compact-form { padding: 18px; margin-top: 12px; background: var(--soft); border-radius: 14px; }
.add-row { padding-top: 20px; border-top: 1px solid var(--line); }
details { margin-top: 14px; }
summary { cursor: pointer; color: var(--cyan-dark); font-weight: 800; }
.question-list { display: grid; gap: 12px; margin-top: 24px; }
.question-summary { padding: 16px; background: var(--soft); border-radius: 12px; }
.question-summary ol { margin-bottom: 0; }
.correct-option { color: var(--success); font-weight: 750; }
.assessment-main { min-width: 0; }
.assessment-form { display: grid; gap: 18px; }
.question-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.question-card legend { padding: 0 8px; font-weight: 850; }
.option-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin-top: 8px; background: var(--soft); border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.option-row:has(input:checked) { border-color: var(--cyan); background: #e8f8fa; }
.option-row input { margin-top: 5px; inline-size: 20px; block-size: 20px; flex: 0 0 auto; }
.attempt-card { position: sticky; top: 98px; }
.attempt-card ol { padding-left: 20px; }
.learning-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.certificate-card { text-align: center; }
.certificate-card .button { margin: 6px; }
.narrow-shell { width: min(760px, calc(100% - 32px)); }
.certificate-status { text-align: center; }
.certificate-status.valid { border-top: 5px solid var(--success); }
.certificate-status.invalid { border-top: 5px solid var(--danger); }
.status-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; color: white; background: var(--success); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.certificate-status dl { margin: 26px 0 0; text-align: left; }
.certificate-status dl div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.certificate-status dt { color: var(--muted); font-weight: 700; }
.certificate-status dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.code-value { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.brand-story { padding: 0 0 72px; }
.brand-story-grid { overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 390px; color: white; background: #09172a; border-radius: 26px; box-shadow: 0 24px 60px rgba(9,23,42,.18); }
.brand-story-photo img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; }
.brand-story-copy { display: flex; flex-direction: column; justify-content: center; padding: 46px; }
.brand-story-copy p { color: #bdd1df; }
.brand-story-copy .button { align-self: flex-start; color: #06121e; background: var(--cyan); }
.site-footer { padding: 42px 0; color: #d7e5ed; background: #06101b; border-top: 3px solid #1477c8; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .55fr .65fr 1.25fr; gap: 28px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand img { flex: 0 0 auto; object-fit: contain; }
.footer-brand a { color: var(--cyan); font-size: .9rem; font-weight: 750; }
.footer-grid p { margin: 6px 0 0; color: #9db3c3; }
.footer-subscribe { display: grid; gap: 10px; }
.footer-subscribe label { display: grid; gap: 5px; color: #d7e5ed; font-size: .9rem; }
.footer-subscribe input[type="email"] { width: 100%; padding: 10px 12px; border: 1px solid #567084; border-radius: 9px; }
.footer-subscribe .consent-row { display: flex; align-items: flex-start; gap: 9px; }
.footer-subscribe .consent-row input { margin-top: 4px; }
.stage-editor { padding: 10px 0; border-top: 1px dashed var(--line); }
.install-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.install-grid ol { padding-left: 22px; }
.platform-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; color: white; background: linear-gradient(145deg, var(--navy), var(--cyan)); border-radius: 16px; font-weight: 900; }
.install-callout { margin-top: 26px; padding: 24px; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.install-callout p { margin: 14px auto 0; max-width: 760px; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid, .course-hero-grid, .detail-grid, .cart-layout, .lesson-layout, .admin-grid, .editor-layout, .assessment-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .brand-story-grid { grid-template-columns: 1fr; }
  .brand-story-photo img { min-height: 300px; max-height: 420px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 62px; }
  .editor-sidebar, .attempt-card { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1160px); }
  .header-inner { align-items: stretch; flex-direction: column; gap: 12px; padding-block: 12px; }
  .brand { align-self: flex-start; }
  .brand-logo { width: 52px; height: 52px; }
  .main-nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: .9rem; }
  .main-nav > a, .main-nav > form, .main-nav form button { width: 100%; }
  .main-nav > a, .main-nav form button { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 8px 10px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; }
  .main-nav > a.nav-cta { color: #06121e !important; background: var(--cyan); border-color: transparent; border-radius: 10px; }
  .card-grid, .metric-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: 48px; }
  .hero { padding-block: 54px; }
  .hero-photo-card, .hero-photo-card img { min-height: 210px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-stat { grid-template-columns: 44px 1fr; align-items: center; }
  .brand-story { padding-bottom: 48px; }
  .brand-story-photo img { min-height: 230px; }
  .brand-story-copy { padding: 30px 24px; }
  .section-heading, .learning-card, .lesson-top { align-items: flex-start; flex-direction: column; }
  .learning-card .button { width: 100%; }
  .learning-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .auth-card { padding: 28px 22px; }
  .course-body p { min-height: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .editor-card, .attempt-card, .certificate-card, .certificate-status, .question-card { padding: 18px; }
  .inline-form { align-items: stretch; flex-direction: column; }
  .inline-form .button { width: 100%; }
  .responsive-table, .responsive-table table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .responsive-table tr { padding: 14px; border-bottom: 1px solid var(--line); }
  .responsive-table td { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 8px 0; border: 0; }
  .responsive-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
  .responsive-table td:last-child { display: block; }
  .responsive-table td:last-child .button { width: 100%; }
  .certificate-status dl div { grid-template-columns: 1fr; gap: 4px; }
  .student-admin-header { flex-direction: column; }
  .student-progress-summary { text-align: left; }
  .student-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-course-row { grid-template-columns: 1fr; gap: 12px; }
  .student-course-progress > span { text-align: left; }
  .page-hero, .dashboard-hero { padding: 40px 0; }
  h1 { font-size: clamp(2rem, 12vw, 3rem); }
}

@media (max-width: 380px) {
  .main-nav { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
