:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #111827;
  background: #f9fafb;
  --brand: #eb0033;
  --brand-dark: #c9002c;
  --brand-soft: #ffe5eb;
  --border: #e5e7eb;
  --muted: #667085;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
button, a, input, summary, main { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #2563eb; outline-offset: 3px;
}
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; font-weight: 500; line-height: 1.35; }
h2 { font-size: 18px; font-weight: 500; line-height: 1.45; }
h3 { font-size: 16px; font-weight: 500; line-height: 1.5; }
p { line-height: 1.6; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid transparent; padding: 10px 16px; border-radius: 7px; font-weight: 500; line-height: 1.3; transition: background-color .15s, border-color .15s; }
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover:enabled { background: var(--brand-dark); }
.button.outline { background: white; color: #111827; border-color: var(--border); }
.button.outline:hover:enabled { background: #f9fafb; border-color: #cdd2da; }
.button.ghost { color: #111; background: transparent; padding: 6px 8px; }
.button.ghost > .icon { order: 1; }
.button.text-link { padding: 0; min-height: 32px; color: var(--brand); border: 0; background: transparent; justify-content: flex-start; }
.button.back-button { color: #4b5563; margin-bottom: 18px; }
.full { width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brand); white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; width: 40px; height: 40px; border-radius: 10px; }
.brand-mark .icon { width: 24px; height: 24px; }
.brand-large { flex-direction: column; gap: 20px; color: #111; }
.brand-large .brand-mark { width: 64px; height: 64px; border-radius: 50%; }
.brand-large .icon { width: 32px; height: 32px; }
.brand-large > span { font-size: 16px; }
.entry-stage { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 32px 16px 72px; background: linear-gradient(130deg, #ffe4e9, #ffd1dc); }
.entry-card { width: 100%; max-width: 448px; padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.entry-subtitle { text-align: center; color: var(--muted); margin: 20px 0 24px; }
.login-fields { display: grid; gap: 8px; }
.field-label { font-size: 14px; line-height: 1.3; margin-top: 8px; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; width: 16px; height: 16px; top: 13px; left: 12px; color: #98a2b3; }
.input-wrap input { width: 100%; height: 42px; border: 1px solid transparent; border-radius: 7px; padding: 10px 12px 10px 40px; background: #f3f4f6; color: #6b7280; }
.entry-card > .text-link { margin: 14px 0 10px; }
.entry-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 16px; }
.demo-disclosure { padding: 10px 12px; margin: 16px 0; border-radius: 6px; background: #f9fafb; color: #5b6575; font-size: 12px; }
.sso-button { font-size: 12px; }
.entry-title { text-align: center; margin-top: 24px; }
.onboarding-card { max-width: 672px; padding: 32px; }
progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: none; border-radius: 999px; overflow: hidden; background: #d1d1d5; color: #08051c; }
progress::-webkit-progress-bar { background: #d1d1d5; border-radius: 999px; }
progress::-webkit-progress-value { background: #08051c; border-radius: 999px; }
progress::-moz-progress-bar { background: #08051c; border-radius: 999px; }
.step-caption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.onboarding-content { text-align: center; padding: 52px 16px 56px; }
.onboarding-icon { margin: 0 auto 28px; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3f4f6 !important; }
.onboarding-icon .icon { width: 48px; height: 48px; }
.onboarding-content h1 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.onboarding-content p { max-width: 448px; margin: auto; color: #475467; font-size: 16px; }
.onboarding-actions { display: flex; gap: 16px; }
.onboarding-actions > .button { flex: 1; }
.step-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.step-dots span { width: 8px; height: 8px; background: #d1d5db; border-radius: 999px; }
.step-dots .current { width: 32px; background: var(--brand); }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; width: 256px; flex: 0 0 256px; align-self: flex-start; position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--border); }
.sidebar > .brand { padding: 24px; border-bottom: 1px solid var(--border); }
.user-profile { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; color: #a70026; background: #ffd9e2; font-weight: 600; }
.user-name { font-size: 14px; color: #101828; }
.user-meta { font-size: 12px; color: var(--muted); }
.user-meta > span { color: var(--brand); margin-left: 8px; }
.profile-demo { color: var(--muted); font-size: 10px; }
.side-nav { padding: 16px; flex: 1; overflow-y: auto; }
.button.nav-button { display: flex; width: 100%; justify-content: flex-start; padding: 12px 16px; min-height: 44px; gap: 12px; margin-bottom: 4px; color: #344054; background: transparent; font-size: 14px; border-radius: 9px; }
.button.nav-button:hover { background: #f9fafb; }
.button.nav-button.active { color: var(--brand); background: var(--brand-soft); }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.sidebar-footer .button { justify-content: flex-start; }
.workspace { flex: 1; min-width: 0; }
.dashboard-content { padding: 32px; display: flex; flex-direction: column; gap: 24px; max-width: 1920px; margin: auto; }
.page-heading p { color: #4b5563; font-size: 16px; margin-top: 8px; }
.panel { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { display: flex; gap: 12px; align-items: center; padding: 16px; min-height: 82px; }
.stat-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.stat-label { color: var(--muted); font-size: 12px; line-height: 1.4; }
.stat-value { margin-top: 2px; font-size: 16px; line-height: 1.4; }
.tone-red { color: #c4002b; background: #ffd3de; }
.tone-blue { color: #1d4ed8; background: #dbeafe; }
.tone-green { color: #15803d; background: #dcfce7; }
.tone-purple { color: #9333ea; background: #f3e8ff; }
.tone-yellow { color: #896000; background: #fef9c3; }
.tone-neutral { color: #475467; background: #f3f4f6; }
.color-red { color: #c9002c; }.color-blue { color: #2563eb; }.color-green { color: #15803d; }.color-purple { color: #9333ea; }.color-yellow { color: #a16b00; }
.continue-panel h2 { margin-bottom: 54px; }
.continue-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.video-thumbnail { width: 128px; height: 80px; background: #000; color: white; display: flex; align-items: center; justify-content: center; border-radius: 9px; flex-shrink: 0; }
.video-thumbnail .icon { width: 32px; height: 32px; }
.continue-detail { flex: 1; min-width: 0; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; font-size: 12px; font-weight: 500; line-height: 1.3; border-radius: 6px; }
.continue-detail h3 { margin: 8px 0; }
.progress-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.inline-title { display: flex; align-items: center; gap: 8px; }
.quick-panel > .muted { margin-top: 4px; }
.pill-list { display: grid; gap: 12px; margin-top: 54px; }
.button.pill-row { width: 100%; display: flex; justify-content: flex-start; text-align: left; gap: 12px; background: white; border: 1px solid var(--border); padding: 12px; margin-top: 12px; border-radius: 9px; }
.pill-list .pill-row { margin-top: 0; }
.button.pill-row:hover { background: #f9fafb; }
.pill-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 9px; }
.pill-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.pill-title { color: #111; font-size: 14px; font-weight: 400; }
.pill-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.pill-meta .icon { width: 14px; height: 14px; }
.pill-complete { width: 24px; height: 24px; border-radius: 50%; color: #16a34a; background: #dcfce7; display: flex; align-items: center; justify-content: center; }
.pill-complete .icon { width: 14px; height: 14px; }.pill-chevron { color: #98a2b3; width: 16px; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.course-card { border: 1px solid var(--border); background: #fff; border-radius: 9px; overflow: hidden; }
.course-cover { height: 128px; position: relative; display: flex; align-items: center; justify-content: center; }
.course-cover > .icon { width: 48px; height: 48px; opacity: .55; }
.cover-red { background: #ffe5eb; color: #bc0030; }.cover-blue { background: #e5edff; color: #2563eb; }.cover-green { background: #e2f6eb; color: #15803d; }
.course-cover > .badge { position: absolute; right: 10px; top: 10px; color: #344054; background: white; }
.course-card-body { padding: 16px; }
.course-card h3 { margin: 10px 0 6px; }
.course-description { font-size: 13px; color: #667085; min-height: 62px; }
.course-level { font-size: 12px; color: #667085; margin: 12px 0; }
.course-caption { color: #667085; font-size: 11px; margin: 6px 0 16px; }
.scenario-note { font-size: 12px; color: #667085; }
.search-field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 0 14px; background: white; max-width: 520px; color: #98a2b3; }
.search-field input { width: 100%; min-height: 46px; border: 0; background: transparent; color: #344054; }
.learning-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 24px; }
.module-panel > .muted { margin-top: 8px; margin-bottom: 16px; }
.button.module-button { color: #344054; background: white; width: 100%; justify-content: flex-start; text-align: left; border-radius: 0; padding: 20px 0; border-top: 1px solid var(--border); }
.button.module-button .icon { color: #2563eb; }
.course-intro { text-align: left; }
.course-intro-visual { background: linear-gradient(120deg, #ffe5eb, #fff5f7); color: var(--brand); border-radius: 8px; padding: 36px; text-align: center; margin-bottom: 24px; }
.course-intro-visual .icon { width: 64px; height: 64px; }
.course-intro p { margin: 16px 0; color: #667085; }
.course-intro .button { margin-right: 8px; margin-top: 8px; }
.lesson-reader { max-width: 840px; width: 100%; margin: 0 auto; padding: 32px; }
.lesson-reader > progress, .assessment-card > progress { margin: 16px 0 32px; }
.reader-symbol { width: 64px; height: 64px; border-radius: 12px; background: #fff1f4; color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 24px 0; }
.reader-symbol .icon { width: 32px; height: 32px; }
.lesson-text { font-size: 18px; line-height: 1.9; margin: 16px 0 32px; }
.takeaway { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: #fffbeb; color: #765b15; border-radius: 8px; margin-bottom: 32px; }
.takeaway .icon { margin-top: 3px; }
.reader-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.assessment-card { max-width: 840px; width: 100%; margin: auto; padding: 32px; }
.quiz-options { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-options legend { font-size: 20px; line-height: 1.5; margin-bottom: 24px; }
.answer-option { display: flex; align-items: center; gap: 12px; padding: 18px; min-height: 58px; margin: 12px 0; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.answer-option:hover { background: #f9fafb; }
.answer-option.selected { border-color: var(--brand); background: #fff1f4; }
.answer-option input { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.assessment-note { font-size: 12px; color: #667085; margin-top: 24px; }
.result-card { text-align: center; max-width: 840px; width: 100%; margin: auto; padding: 40px 32px; }
.result-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.result-icon .icon { width: 48px; height: 48px; }
.result-card progress { margin: 24px auto; max-width: 448px; height: 12px; }
.result-card > .muted { margin-top: 16px; }.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.review-item { padding: 24px 0; border-bottom: 1px solid var(--border); }.review-item:last-child { border-bottom: 0; padding-bottom: 0; }.review-item h3 { margin-top: 12px; }.review-item p { margin-top: 8px; }
.metric-course { margin-top: 24px; }.metric-course h3 { font-size: 14px; }.metric-course progress { margin-top: 12px; }
.ranking-row { display: flex; align-items: center; gap: 16px; padding: 18px 12px; border-bottom: 1px solid var(--border); }.ranking-row.is-me { border-radius: 8px; background: #fff1f4; border-color: transparent; }.ranking-position { color: #667085; width: 20px; text-align: center; }.ranking-name { flex: 1; }.ranking-row strong { color: var(--brand); font-weight: 500; }
.empty-state { text-align: center; padding: 56px 32px; }.empty-state > .icon { color: var(--brand); width: 56px; height: 56px; margin-bottom: 24px; }.empty-state p { max-width: 520px; margin: 16px auto 24px; }
.faq { padding: 20px 0; border-bottom: 1px solid var(--border); }.faq summary { cursor: pointer; line-height: 1.6; }.faq p { color: #667085; margin-top: 12px; }.faq + .button { margin-top: 24px; }
.empty-note { padding: 24px; color: #667085; }
.demo-indicator { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #087f3d; color: #fff; padding: 9px 12px; border-radius: 7px; font-size: 11px; font-weight: 500; box-shadow: 0 2px 8px #0000000a; }
.demo-dot { width: 6px; height: 6px; background: #a7f3d0; border-radius: 50%; }
#status:empty { display: none; }
#status { position: fixed; top: 16px; right: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; max-width: min(400px, calc(100vw - 32px)); padding: 10px 10px 10px 18px; border: 1px solid #e5e7eb; border-left: 4px solid var(--brand); border-radius: 9px; background: #fff; box-shadow: 0 4px 24px #11182718; font-size: 13px; color: #344054; }
.button.notice-close { flex-shrink: 0; width: 44px; min-height: 44px; padding: 10px; background: transparent; color: #344054; }
.mobile-header, .bottom-nav { display: none; }
.skip { position: fixed; left: -1000px; top: 12px; z-index: 100; color: #111; background: white; padding: 12px; border-radius: 6px; }.skip:focus { left: 12px; }
.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; }
@media (min-width: 1600px) { .dashboard-content { padding: 32px; } }
@media (max-width: 1199px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card { gap: 8px; padding: 12px; }.stat-icon { width: 32px; height: 32px; }.stat-label { font-size: 11px; } }
@media (max-width: 1023px) {
  .sidebar { display: none; }.mobile-header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 10px 16px; background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
  .mobile-header .brand-mark { width: 32px; height: 32px; }.mobile-header .brand-mark .icon { width: 20px; height: 20px; }.mobile-disclosure { display: block; margin-top: 3px; font-size: 10px; color: #087f3d; }.mobile-menu > summary { list-style: none; cursor: pointer; padding: 12px; display: flex; }.mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > nav { position: absolute; right: 12px; top: 60px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px; width: 230px; box-shadow: 0 8px 28px #11182718; }
  .dashboard-content { padding: 24px 16px 112px; }.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.stat-card { padding: 16px; }.stat-icon { width: 40px; height: 40px; }.stat-label { font-size: 12px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; background: white; border-top: 1px solid var(--border); padding: 6px 8px max(6px, env(safe-area-inset-bottom)); }
  .bottom-nav .button.nav-button { flex-direction: column; justify-content: center; gap: 4px; padding: 7px 2px; margin: 0; font-size: 11px; }.bottom-nav .button.nav-button.active { background: white; }.bottom-nav .icon { width: 20px; height: 20px; }
  .app-shell ~ .demo-indicator { display: none; }.learning-grid { grid-template-columns: 1fr; }.continue-panel h2 { margin-bottom: 32px; }.pill-list { margin-top: 32px; }
}
@media (max-width: 639px) {
  h1 { font-size: 21px; } h2 { font-size: 16px; } h3 { font-size: 14px; }.page-heading p { font-size: 13px; margin-top: 6px; }
  .dashboard-content { gap: 16px; padding: 20px 12px 116px; }.panel { padding: 16px; border-radius: 10px; }.stats-grid { gap: 8px; }.stat-card { min-height: 76px; padding: 12px; }.stat-value { font-size: 14px; }.stat-icon { width: 32px; height: 32px; }.stat-icon .icon { width: 17px; height: 17px; }.stat-label { font-size: 10px; }
  .continue-panel h2 { margin-bottom: 24px; }.continue-row { gap: 12px; }.video-thumbnail { width: 80px; height: 64px; }.video-thumbnail .icon { width: 26px; height: 26px; }.continue-detail h3 { margin: 6px 0; font-size: 13px; line-height: 1.4; }.badge { font-size: 10px; padding: 3px 7px; }.progress-meta { font-size: 10px; }.continue-detail progress { height: 5px; }
  .section-heading { gap: 8px; }.inline-title { gap: 6px; }.inline-title > .icon { width: 17px; height: 17px; }.quick-panel > .muted { font-size: 12px; }.pill-list { margin-top: 24px; gap: 10px; }.button.pill-row { padding: 10px; gap: 10px; }.pill-title { font-size: 12px; line-height: 1.4; }.pill-meta { font-size: 10px; }.pill-icon { width: 32px; height: 32px; }.pill-icon .icon { width: 17px; height: 17px; }
  .course-grid, .catalog-grid { grid-template-columns: 1fr; gap: 14px; }.course-cover { height: 112px; }.course-description { min-height: 0; }.course-grid { margin-top: 16px; }.course-card h3 { font-size: 16px; }
  .button { min-height: 44px; }.button.ghost { font-size: 12px; }.entry-stage { padding: 24px 16px 64px; }.entry-card { padding: 24px; }.onboarding-card { padding: 24px; }.onboarding-content { padding: 36px 0; }.onboarding-content h1 { font-size: 18px; }.onboarding-content p { font-size: 14px; }.onboarding-icon { width: 80px; height: 80px; }.onboarding-icon .icon { width: 40px; height: 40px; }.onboarding-actions { gap: 12px; }
  .lesson-reader, .assessment-card { padding: 20px; }.lesson-text { font-size: 16px; line-height: 1.8; }.reader-actions .button { padding: 10px 12px; }.takeaway { font-size: 12px; padding: 12px; }.quiz-options legend { font-size: 18px; }.answer-option { padding: 14px; font-size: 13px; }.result-card { padding: 28px 20px; }.result-actions { flex-direction: column; }.result-actions .button { width: 100%; }.ranking-row { gap: 10px; padding: 16px 0; font-size: 12px; }.ranking-row .avatar { width: 32px; height: 32px; }.empty-state { padding: 40px 20px; }
  .demo-indicator { right: 10px; bottom: 10px; padding: 7px 10px; font-size: 10px; }.app-shell ~ .demo-indicator { bottom: 82px; }.scenario-note { font-size: 11px; }
}
@media (max-width: 359px) {
  .entry-card { padding: 20px; }.stat-card { gap: 8px; }.stat-icon { width: 28px; height: 28px; }.stat-label { font-size: 10px; }.stat-value { font-size: 13px; }.panel { padding: 12px; }.continue-row { gap: 8px; }.video-thumbnail { width: 64px; height: 56px; }.continue-detail h3 { font-size: 12px; }.badge { font-size: 9px; }.reader-actions { gap: 8px; }.reader-actions .button { font-size: 12px; }.lesson-reader { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
