/* LMSAuto · interface tokens and application layout */
:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #fff;
  --surface-soft: #f8faff;
  --ink: #17243d;
  --muted: #728097;
  --line: #e7ecf3;
  --primary: #275df5;
  --primary-hover: #184ad5;
  --primary-soft: #edf2ff;
  --green: #26876c;
  --green-soft: #eaf6f0;
  --warm: #ad791c;
  --warm-soft: #fff5e2;
  --shadow: 0 8px 30px #25345b0a;
  --sidebar: 232px;
  --ux-bg: var(--surface);
  --ux-surface: var(--surface);
  --ux-text: var(--ink);
  --ux-text-secondary: var(--muted);
  --ux-text-muted: var(--muted);
  --ux-border: var(--line);
  --ux-accent: var(--primary);
  --ux-accent-light: var(--primary-soft);
  --ux-success: var(--green);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
}
h1 {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 700;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.45px;
}
h3 {
  font-size: 16px;
}
svg {
  display: block;
}
input,
select {
  min-width: 0;
}
:focus-visible {
  outline: 3px solid #7aa0ff;
  outline-offset: 4px;
}
#page-title:focus {
  outline: none;
}
::selection {
  background: #dbe5ff;
  color: #1745b2;
}
.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.hidden,
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 9px;
}
.skip-link:focus {
  transform: translateY(0);
}
.full-width {
  width: 100%;
}
.green-text {
  color: var(--green) !important;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 6px #275df516;
}
.button.primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px #275df526;
}
.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface-soft);
  border-color: #cbd6eb;
}
.button.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 11px;
  gap: 7px;
}
.button.small .icon {
  width: 15px;
  height: 15px;
}
.button.selected-button {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: #c8d6ff;
}
.text-button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 0;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.text-button:hover {
  text-decoration: underline;
}
.icon-button {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
}
.badge .icon {
  width: 12px;
  height: 12px;
}
.badge.success {
  background: var(--green-soft);
  color: var(--green);
}
.badge.warm {
  background: var(--warm-soft);
  color: var(--warm);
}
.badge.blue {
  background: var(--primary-soft);
  color: var(--primary);
}
.badge.neutral {
  background: #f0f3f8;
  color: #69758b;
}
.count-tag {
  background: #eef2f8;
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  vertical-align: middle;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--muted);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 3px 9px #275df51a;
}
.brand-mark svg {
  width: 25px;
  height: 25px;
}
.brand-word {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.4px;
  color: var(--ink);
  position: relative;
}
.brand-word b {
  color: var(--primary);
  font-weight: 700;
}
.brand-word i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin-left: 2px;
}
.sidebar {
  position: fixed;
  width: var(--sidebar);
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 29px 16px 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  margin: 0 12px 29px;
}
.workspace-label {
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  background: var(--surface-soft);
}
.workspace-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 7px;
  font-weight: 700;
}
.workspace-label strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}
.workspace-label small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.workspace-label > .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.3px;
  color: #9aa4b5;
  padding: 0 13px;
  margin-bottom: 9px;
}
.nav-space {
  margin-top: 29px;
}
.nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  color: #6d7890;
  font-size: 11px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  margin-bottom: 4px;
  min-height: 44px;
}
.nav-link > .icon {
  width: 18px;
  height: 18px;
}
.nav-link > .icon:last-child:not(:first-child) {
  width: 13px;
  height: 13px;
  margin-left: auto;
}
.nav-link b {
  font-size: 9px;
  font-weight: 500;
  background: #e1eaff;
  color: var(--primary);
  padding: 0 5px;
  min-width: 17px;
  line-height: 17px;
  border-radius: 4px;
  margin-left: auto;
  text-align: center;
}
.nav-link b:empty {
  display: none;
}
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--surface-soft);
}
.nav-link.active:hover {
  background: var(--primary-soft);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.support-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #18366a, #142448);
  color: #fff;
  border: 1px solid #254472;
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 22px;
}
.support-emblem {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #ffffff15;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  margin-bottom: 12px;
}
.support-emblem .icon {
  width: 16px;
  height: 16px;
  color: #abc4ff;
}
.support-card h3 {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}
.support-card p {
  font-size: 9px;
  color: #a8b9d7;
  margin-top: 9px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.support-card p strong {
  font-weight: 500;
  color: #d1dfff;
}
.support-card button {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  color: #e8efff;
  margin-top: 14px;
  padding: 0;
  position: relative;
  z-index: 1;
}
.support-card button .icon {
  width: 14px;
  height: 14px;
}
.support-orbit {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid #ffffff10;
  right: -100px;
  top: -35px;
  border-radius: 50%;
  box-shadow:
    0 0 0 24px #ffffff04,
    0 0 0 48px #ffffff03;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ecedfc;
  color: #7466ae;
  border: 3px solid var(--surface);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px #edeef7;
}
.sidebar-user strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.sidebar-user small {
  font-size: 8px;
  color: var(--muted);
}
.sidebar-user .icon-button {
  margin-left: auto;
  width: 24px;
}
.sidebar-user .icon {
  width: 16px;
  height: 16px;
}
.app-body {
  margin-left: var(--sidebar);
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 75px;
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 320px;
  max-width: 40%;
  color: #8c97aa;
}
.global-search .icon {
  width: 17px;
  height: 17px;
}
.global-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  height: 36px;
  outline-offset: 1px;
}
.global-search input::placeholder {
  color: #98a1b2;
}
.global-search kbd {
  font-family: inherit;
  width: 21px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #a1aabd;
  font-size: 10px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notification-button {
  position: relative;
}
.notification-button i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e8a075;
  border: 1px solid var(--surface);
  top: 7px;
  right: 10px;
}
.small-avatar {
  margin-left: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
}
#main-content {
  padding: 27px 32px 0;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  flex: 1;
  outline: 0;
}
#main-content.has-selection {
  padding-bottom: 100px;
}
.app-footer {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #97a2b3;
  font-size: 9px;
}
.app-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-footer .icon {
  width: 12px;
  height: 12px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.breadcrumb {
  font-size: 9px;
  color: #8b97a9;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.breadcrumb span {
  margin: 0 8px;
  color: #c0c9d8;
}
.page-heading h1 {
  margin-bottom: 7px;
}
.page-heading p {
  font-size: 11px;
  color: var(--muted);
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.select-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  height: 39px;
  padding: 0 11px;
  border-radius: 8px;
  position: relative;
}
.select-wrap > .icon {
  width: 14px;
  height: 14px;
  color: #8c98ac;
}
.select-wrap > .icon:last-child {
  width: 12px;
  height: 12px;
  pointer-events: none;
  position: absolute;
  right: 10px;
}
.select-wrap select {
  appearance: none;
  border: 0;
  outline-offset: 8px;
  background: transparent;
  padding-right: 18px;
  color: var(--ink);
  font-size: 10px;
  max-width: 180px;
}
.refresh-button {
  font-size: 10px;
  min-height: 39px;
  padding: 9px 13px;
}
.refresh-button .icon {
  width: 14px;
  height: 14px;
}
.welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(103deg, #eef2ff 0%, #f0f5ff 65%, #e7eeff 100%);
  border: 1px solid #e0e7fb;
  border-radius: 13px;
  position: relative;
  overflow: hidden;
  padding: 22px 28px;
  min-height: 182px;
}
.welcome-banner > div {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6080b8;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  margin-bottom: 10px;
}
.banner-eyebrow > span {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #6289e2;
}
.welcome-banner h2 {
  font-size: 22px;
  letter-spacing: -0.9px;
  font-weight: 600;
  color: #233f75;
}
.welcome-banner p {
  font-size: 10px;
  color: #7184a7;
  line-height: 1.9;
  margin-top: 8px;
}
.banner-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #5573a4;
  background: #ffffffbd;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 4px 7px;
  margin-top: 12px;
}
.banner-price .icon {
  width: 11px;
  height: 11px;
  margin-right: 2px;
  color: #537fec;
}
.banner-price strong {
  font-weight: 600;
  color: #315da5;
}
.banner-art {
  width: 348px;
  height: auto;
  flex-shrink: 0;
  margin: -17px -6px -20px 10px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0 27px;
}
.stat-card {
  padding: 17px 17px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  box-shadow: 0 2px 4px #1a335202;
}
.stat-icon {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.stat-icon .icon {
  width: 17px;
  height: 17px;
}
.stat-icon.blue {
  color: #5279d9;
  background: #edf2ff;
}
.stat-icon.purple {
  color: #9374c7;
  background: #f3eefd;
}
.stat-icon.mint {
  color: #4a9c87;
  background: #ebf7f2;
}
.stat-icon.peach {
  color: #d58e4e;
  background: #fff3e8;
}
.stat-card > div > span {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.stat-card strong {
  font-size: 25px;
  line-height: 1.55;
  display: block;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.stat-card small {
  font-size: 8px;
  color: #a2adbe;
  grid-column: 2;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.stat-card small .icon {
  width: 10px;
  height: 10px;
}
.stat-card .price-stat {
  font-size: 22px;
  line-height: 1.76;
}
.price-stat span {
  font-size: 13px;
  margin-left: 3px;
  font-weight: 400;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 16px;
  font-weight: 600;
}
.section-heading p {
  font-size: 10px;
  color: #8b96a9;
  margin-top: 5px;
}
.view-switch {
  display: flex;
  gap: 3px;
  background: #edf1f7;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 7px;
}
.view-switch button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 27px;
  border-radius: 5px;
  color: #939eaf;
}
.view-switch button .icon {
  width: 15px;
  height: 15px;
}
.view-switch button.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 1px 4px #2534510e;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-tabs button {
  font-size: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: #7f8b9f;
  white-space: nowrap;
  min-height: 34px;
}
.filter-tabs button span {
  font-size: 8px;
  line-height: 15px;
  min-width: 16px;
  text-align: center;
  background: #ecf0f6;
  border-radius: 4px;
  color: #94a0b3;
}
.filter-tabs button.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 500;
}
.filter-tabs button.active span {
  color: var(--primary);
  background: #dde7ff;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #929daf;
  white-space: nowrap;
}
.sort-label select {
  appearance: none;
  background: transparent;
  border: 0;
  color: #586982;
  font-size: 9px;
  padding: 8px 0 8px 3px;
  cursor: pointer;
}
.sort-label > .icon {
  width: 11px;
  height: 11px;
  color: #8592aa;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.course-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 2px 5px #233d6403;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  min-width: 0;
}
.course-card:hover {
  border-color: #cbd7ec;
  box-shadow: 0 5px 18px #1c3e7b09;
  transform: translateY(-2px);
}
.course-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.course-cover {
  height: 103px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 20px;
}
.purple {
  color: #9b7fcc;
  background: #f0ebfa;
}
.mint {
  color: #62a98f;
  background: #e7f4ef;
}
.peach {
  color: #daaa70;
  background: #fcf0e1;
}
.sky {
  color: #7fa6d6;
  background: #e8f1fc;
}
.rose {
  color: #c889ad;
  background: #faeaf2;
}
.slate {
  color: #8c9eb9;
  background: #eaf0f7;
}
.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 21px 21px;
  opacity: 0.055;
  mask-image: linear-gradient(to right, transparent 0%, black 85%);
}
.course-cover-text {
  position: relative;
  z-index: 1;
}
.course-cover-text > span {
  display: block;
  font-size: 7px;
  letter-spacing: 1.2px;
  opacity: 0.9;
  font-weight: 600;
}
.course-cover-text strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.5;
  margin-top: 3px;
  opacity: 0.9;
}
.course-art {
  position: absolute;
  right: 24px;
  top: 12px;
  width: 83px;
  height: 83px;
  transform: rotate(-6deg);
}
.course-art svg {
  width: 100%;
  height: 100%;
}
.course-more {
  position: absolute;
  top: 7px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  color: currentColor;
}
.course-more:hover {
  background: #ffffff80;
}
.course-more .icon {
  width: 16px;
  height: 16px;
}
.selected-mark {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  border: 2px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
.selected-mark .icon {
  width: 11px;
  height: 11px;
}
.course-body {
  padding: 15px 18px 14px;
}
.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.course-meta > span:last-child:not(.badge) {
  font-size: 8px;
  color: #a2acbd;
}
.course-body h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.5;
  min-height: 39px;
  max-width: 95%;
}
.course-teacher {
  color: #9aa5b6;
  font-size: 8px;
  margin-top: 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.course-types {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  color: #8591a6;
  margin-top: 13px;
}
.course-types > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.course-types .icon {
  width: 12px;
  height: 12px;
  color: #9ca8ba;
}
.progress-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #8a96a9;
  margin-top: 15px;
  margin-bottom: 6px;
}
.progress-caption strong {
  color: #5377c6;
  font-size: 10px;
  font-weight: 600;
}
.progress-caption strong small {
  font-size: 9px;
  font-weight: 400;
  margin-left: 1px;
}
.progress-track {
  height: 4px;
  border-radius: 3px;
  overflow: hidden;
  background: #edf1f7;
}
.progress-track > i {
  height: 100%;
  display: block;
  border-radius: 3px;
  background: #6290f7;
  transition: width 0.5s;
}
.progress-track.green > i {
  background: #55ac91;
}
.completed .progress-caption strong {
  color: #4b9d83;
}
.progress-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a3adbd;
  font-size: 8px;
  margin-top: 6px;
}
.progress-detail > .icon {
  width: 11px;
  height: 11px;
  color: #55ac91;
}
.course-bottom {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.course-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-wrap: wrap;
}
.course-price > strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.course-price > span {
  color: #9ba5b6;
  font-size: 8px;
}
.course-price > .paid-label {
  color: var(--green);
  font-weight: 500;
}
.catalog-footnote {
  font-size: 9px;
  color: #8a98ac;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 21px;
}
.catalog-footnote .icon {
  width: 13px;
  height: 13px;
}
.selection-bar {
  position: fixed;
  bottom: 19px;
  left: calc(var(--sidebar) + 32px);
  right: 32px;
  z-index: 65;
  background: var(--surface);
  border: 1px solid #d5dff5;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 8px 32px #1e3c731c;
  animation: bar-in 0.22s ease-out;
}
.selection-count {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.selection-bar > div > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.selection-bar > div > span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.selection-bar .clear-selection {
  font-size: 10px;
  color: #97a2b5;
  margin-left: 8px;
}
.selection-bar .selection-total {
  margin-left: auto;
  padding-right: 8px;
}
.selection-total > strong {
  font-size: 19px !important;
  color: var(--primary);
}
.selection-bar > .button {
  min-height: 42px;
}
.list-view {
  grid-template-columns: 1fr 1fr;
}
.list-view .course-card {
  display: flex;
}
.list-view .course-cover {
  width: 105px;
  height: auto;
  min-height: 230px;
  flex-shrink: 0;
  align-items: flex-start;
  padding: 24px 12px;
}
.list-view .course-cover-text > span {
  font-size: 6px;
}
.list-view .course-cover-text > strong {
  font-size: 15px;
}
.list-view .course-art {
  width: 75px;
  height: 75px;
  right: 15px;
  top: 110px;
}
.list-view .course-body {
  width: 100%;
  padding: 14px;
}
.list-view .course-body h3 {
  min-height: 0;
}
.list-view .course-teacher {
  display: none;
}
.list-view .course-types {
  margin-top: 10px;
}
.list-view .course-meta {
  margin-bottom: 8px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 2px 5px #243e6403;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}
.panel-heading h2 {
  font-size: 13px;
  font-weight: 600;
}
.panel-heading > span {
  color: var(--muted);
  font-size: 9px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 23px;
}
.payment-panel {
  padding: 25px;
  text-align: center;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.payment-heading-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.panel-header h2 {
  font-size: 14px;
  font-weight: 600;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.panel-header p strong {
  font-weight: 500;
  color: #5f7195;
}
.panel-header > .badge {
  margin-left: auto;
}
.payment-amount {
  margin: 27px 0 18px;
}
.payment-amount > span {
  font-size: 11px;
  color: var(--muted);
}
.payment-amount > strong {
  display: block;
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.55;
}
.payment-amount > p {
  font-size: 10px;
  color: #929db0;
}
.qr-wrap {
  width: 215px;
  height: 215px;
  margin: 0 auto;
  position: relative;
  padding: 6px;
}
.demo-qr {
  width: 100%;
  height: 100%;
}
.qr-corner {
  position: absolute;
  width: 23px;
  height: 23px;
  border: 2px solid #7a9aee;
}
.top-left {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  border-radius: 8px 0 0;
}
.top-right {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
  border-radius: 0 8px 0 0;
}
.bottom-left {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 8px;
}
.bottom-right {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 8px;
}
.qr-disclaimer {
  font-size: 9px;
  color: #b28b41;
  margin: 12px 0 21px;
}
.payment-code {
  max-width: 350px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  text-align: left;
}
.payment-code span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.payment-code strong {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
}
.payment-expiry {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  margin: 18px 0;
}
.payment-expiry .icon {
  width: 13px;
  height: 13px;
}
.payment-expiry strong {
  color: #aa8348;
  font-weight: 500;
  min-width: 32px;
}
.payment-demo-button {
  width: 100%;
  max-width: 350px;
  min-height: 44px;
}
.payment-demo-button .icon {
  width: 17px;
  height: 17px;
}
.payment-note {
  font-size: 9px;
  color: var(--muted);
  max-width: 330px;
  margin: 15px auto 0;
  display: flex;
  gap: 6px;
  text-align: left;
  line-height: 1.8;
}
.payment-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
}
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-summary {
  padding: 21px;
}
.order-summary > h2 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.order-course {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.course-mini-art {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.course-mini-art svg {
  width: 31px;
  height: 31px;
}
.order-course > div {
  min-width: 0;
}
.order-course strong {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}
.order-course > div > span {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.order-course > b {
  font-size: 10px;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin: 15px 0;
}
.summary-line > b {
  color: #6a7c9a;
  font-weight: 500;
}
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
}
.summary-total strong {
  font-size: 21px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.summary-safe {
  border-radius: 6px;
  background: var(--surface-soft);
  color: #94a0b3;
  font-size: 8px;
  padding: 9px;
  margin-top: 17px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.summary-safe .icon {
  width: 12px;
  height: 12px;
}
.workflow-card {
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.ux {
  font-family: inherit;
  word-break: normal;
}
.u062,
.u444,
.u454 {
  max-width: 100%;
}
.workflow-card .u444 {
  background: transparent;
}
.workflow-caption {
  position: absolute;
  left: 23px;
  right: 23px;
  top: 24px;
}
.workflow-caption .eyebrow {
  font-size: 7px;
  letter-spacing: 1px;
}
.workflow-caption h3 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 5px;
}
.workflow-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 31px;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.9;
}
.u444-st {
  max-width: 100%;
}
.checkout-help {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.checkout-help .icon {
  width: 15px;
  height: 15px;
}
.checkout-help button {
  padding: 0;
  color: var(--primary);
  font-size: 10px;
  font-weight: 500;
}
.run-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
}
.run-main,
.run-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.run-overview {
  padding: 23px;
}
.run-course-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.course-mini-art.large {
  width: 48px;
  height: 53px;
}
.course-mini-art.large svg {
  width: 38px;
  height: 38px;
}
.run-course-heading > .badge {
  margin-left: auto;
}
.run-course-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 0.6px;
}
.run-course-heading .eyebrow > span {
  color: #a0aabd;
}
.run-course-heading h2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}
.run-course-heading p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.run-progress {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 31px 0;
}
.progress-ring {
  width: 130px;
  height: 130px;
  background: conic-gradient(var(--primary) var(--progress), #edf1f9 0);
  border-radius: 50%;
  padding: 8px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.progress-ring > div {
  background: var(--surface);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
.progress-ring strong {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -1.5px;
}
.progress-ring strong small {
  font-size: 15px;
  letter-spacing: -0.5px;
  font-weight: 400;
  margin-left: 2px;
}
.progress-ring span {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.run-progress-copy .eyebrow {
  font-size: 7px;
  color: #87a0ca;
  letter-spacing: 0.8px;
}
.run-progress-copy h3 {
  font-size: 16px;
  margin-top: 7px;
  font-weight: 600;
}
.run-progress-copy > p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.8;
}
.run-metrics {
  display: flex;
  gap: 30px;
  margin-top: 17px;
}
.run-metrics > span {
  display: block;
  font-size: 8px;
  color: var(--muted);
}
.run-metrics strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.6px;
}
.run-metrics small {
  font-size: 12px;
  font-weight: 400;
  color: #a2aec1;
  margin-left: 2px;
}
.run-current {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e2eafb;
  border-radius: 9px;
  background: #f5f8ff;
  padding: 14px;
}
.current-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d9e4fc;
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary);
  flex-shrink: 0;
}
.current-symbol .icon {
  width: 16px;
  height: 16px;
}
.current-symbol.done {
  color: var(--green);
  border-color: #cce8dd;
}
.run-current > div > span {
  font-size: 7px;
  font-weight: 600;
  color: #97a9c7;
  display: block;
  letter-spacing: 0.8px;
}
.run-current > div > strong {
  font-size: 11px;
  font-weight: 500;
  color: #536a90;
  display: block;
  margin-top: 4px;
  line-height: 1.7;
}
.equalizer {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  height: 24px;
  padding: 0 5px;
}
.equalizer i {
  display: block;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: #89a8f5;
  animation: equalize 0.9s ease-in-out infinite alternate;
}
.equalizer i:nth-child(2) {
  animation-delay: -0.4s;
}
.equalizer i:nth-child(3) {
  animation-delay: -0.7s;
}
.equalizer i:nth-child(4) {
  animation-delay: -0.2s;
}
.run-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.run-actions > span {
  font-size: 8px;
  color: #9aa6ba;
  display: flex;
  gap: 5px;
  align-items: flex-start;
  max-width: 230px;
}
.run-actions > span .icon {
  width: 11px;
  height: 11px;
  margin-top: 1px;
}
.run-actions .button {
  font-size: 10px;
  min-height: 36px;
  padding: 8px 12px;
}
.run-actions .button .icon {
  width: 14px;
  height: 14px;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 23px;
  border-bottom: 1px solid var(--line);
}
.lesson-row:last-child {
  border-bottom: 0;
}
.lesson-index {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 9px;
  color: #a3aec0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lesson-index .icon {
  width: 13px;
  height: 13px;
}
.lesson-row.done .lesson-index {
  background: var(--green-soft);
  border-color: transparent;
  color: #6daa95;
}
.lesson-row.current {
  background: var(--surface-soft);
}
.lesson-row.current .lesson-index {
  border-color: #d7e1fb;
  color: var(--primary);
  background: var(--primary-soft);
}
.lesson-row > div > strong {
  font-size: 10px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.lesson-row > div > span {
  font-size: 8px;
  color: #9aa5b7;
  display: block;
  margin-top: 3px;
}
.lesson-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  white-space: nowrap;
  color: #9ba7b9;
}
.lesson-row.done .lesson-status {
  color: #71a68f;
}
.lesson-row.current .lesson-status {
  color: #5c84d8;
}
.tiny-spinner {
  width: 10px;
  height: 10px;
  border: 1px solid #cad8f6;
  border-top-color: #668cef;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.timeline-panel {
  overflow: hidden;
}
.timeline-panel .u454 {
  background: transparent;
  margin: 0 auto;
  height: 278px;
}
.timeline-panel .u454-c {
  background: var(--surface);
}
.tiny-dot {
  width: 5px;
  height: 5px;
  background: #7798ed;
  box-shadow: 0 0 0 3px var(--primary-soft);
  border-radius: 50%;
  display: block;
}
.activity-list {
  padding: 8px 22px 15px;
}
.activity-row {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  position: relative;
}
.activity-row:not(:last-child):after {
  content: "";
  position: absolute;
  left: 3px;
  top: 20px;
  bottom: -7px;
  width: 1px;
  background: var(--line);
}
.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b3c4e8;
  flex-shrink: 0;
  margin-top: 5px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--surface);
}
.activity-dot.success {
  background: #87bba4;
}
.activity-row p {
  font-size: 9px;
  color: #75849b;
  line-height: 1.8;
}
.activity-row time {
  display: block;
  color: #b0b9c8;
  font-size: 8px;
  margin-top: 4px;
  letter-spacing: 0.4px;
}
.queue-panel {
  padding: 20px;
}
.queue-panel h2 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  padding: 10px;
  border-radius: 6px;
  color: var(--muted);
}
.queue-item.active {
  background: var(--primary-soft);
  color: var(--primary);
}
.queue-item > .icon {
  width: 14px;
  height: 14px;
}
.run-note {
  font-size: 9px;
  color: #93a1b8;
  line-height: 1.9;
  display: flex;
  gap: 7px;
  padding: 0 2px;
}
.run-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.order-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 23px;
  padding: 22px 0;
}
.order-stat-strip > div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.order-stat-strip > div:last-child {
  border: 0;
}
.order-stat-strip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.order-stat-strip strong {
  font-size: 25px;
  display: block;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-top: 5px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
  white-space: nowrap;
}
th {
  background: var(--surface-soft);
  color: #8f9bb0;
  font-size: 9px;
  font-weight: 500;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-size: 10px;
  font-weight: 600;
}
td small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 5px;
}
td > span {
  display: block;
  font-size: 10px;
}
td b {
  font-weight: 500;
}
td > .badge {
  display: inline-flex;
}
.table-scroll .text-button {
  font-size: 9px;
}
.empty-state {
  grid-column: 1/-1;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--surface);
  border: 1px dashed #dbe3f0;
  border-radius: 12px;
  padding: 35px 20px;
  text-align: center;
}
.transactions-panel .empty-state {
  border: 0;
}
.empty-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-soft);
  color: #81a0e9;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
}
.empty-icon > .icon {
  width: 25px;
  height: 25px;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 600;
}
.empty-state p {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 22px;
  max-width: 330px;
  line-height: 1.8;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 47% 53%;
  background: var(--surface);
}
.login-story {
  background: radial-gradient(
    ellipse at 80% 60%,
    #294976 0%,
    #1b345e 42%,
    #152744 100%
  );
  padding: 42px 48px 28px;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 850px;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  left: -270px;
  bottom: -500px;
  border: 1px solid #c2d2fa18;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #c2d2fa05,
    0 0 0 90px #c2d2fa03;
  pointer-events: none;
}
.login-brand .brand-word,
.login-brand .brand-word b {
  color: #fff;
}
.login-brand .brand-word i {
  background: #8cb0ff;
}
.login-brand .brand-mark {
  background: #386cf2;
}
.login-story-content {
  margin: auto 0;
  padding: 60px 0 25px;
  position: relative;
  z-index: 1;
}
.story-tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a2bce7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-tag > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ba5ff;
  box-shadow: 0 0 0 3px #6d99ef12;
}
.login-story h1 {
  font-size: 49px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -2.5px;
  margin-top: 24px;
}
.login-story-content > p {
  font-size: 12px;
  color: #a7b8d5;
  line-height: 2;
  margin-top: 22px;
}
.login-illustration {
  position: relative;
  margin: 15px -35px 30px;
  height: 245px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-illustration .banner-art {
  width: 440px;
  height: auto;
  max-width: 100%;
  margin: 0;
  filter: drop-shadow(0 18px 24px #0a193544);
}
.floating-card {
  position: absolute;
  bottom: 2px;
  left: 70px;
  background: #f8faff;
  border: 1px solid #fff;
  border-radius: 11px;
  box-shadow: 0 12px 35px #0c1f4533;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(-4deg);
  color: #354868;
}
.mini-check {
  width: 30px;
  height: 30px;
  background: #e9f5f0;
  color: #43977d;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.mini-check .icon {
  width: 15px;
  height: 15px;
}
.floating-card strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.floating-card span:not(.mini-check) {
  display: block;
  color: #94a0b5;
  font-size: 8px;
  margin-top: 3px;
}
.login-benefits {
  display: flex;
  gap: 23px;
  color: #99aed2;
  font-size: 9px;
}
.login-benefits > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.login-benefits .icon {
  width: 14px;
  height: 14px;
  color: #7f9fce;
}
.login-story-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7188ac;
  font-size: 8px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.login-panel {
  padding: 25px 42px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.login-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.demo-pill {
  font-size: 8px;
  color: #7e8da8;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 7px;
  letter-spacing: 0.7px;
}
.login-form-area {
  margin: auto 0;
  text-align: center;
  max-width: 420px;
  width: 100%;
  padding: 26px 0;
}
.login-welcome {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a0adc1;
  font-weight: 500;
}
.login-form-area > h2 {
  font-size: 25px;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin: 11px 0 8px;
}
.login-intro {
  font-size: 11px;
  color: var(--muted);
}
.auth-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 9px;
  margin: 23px auto 19px;
  max-width: 370px;
}
.auth-tabs button {
  flex: 1;
  white-space: nowrap;
  border-radius: 6px;
  font-size: 9px;
  color: #8d9ab0;
  min-height: 34px;
  padding: 7px 5px;
}
.auth-tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 1px 5px #1d376512;
  font-weight: 500;
}
.auth-tabs button:hover {
  color: var(--primary);
}
#auth-form-panel {
  display: flex;
  justify-content: center;
}
.u062 {
  box-shadow: 0 10px 32px #1c3d7208;
  border-color: var(--line) !important;
}
.u062 .u062-logo.auth-logo {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
}
.auth-logo > .icon {
  width: 24px;
  height: 24px;
}
.u062-row a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px !important;
}
.u062-row a .icon {
  width: 12px;
  height: 12px;
}
.u062 .u062-go {
  font-family: inherit;
  font-size: 12px;
}
.u062 .u062-box input {
  font-family: inherit;
  font-size: 11px;
}
.u062 .u062-f label {
  font-size: 10px;
}
.u062 .u062-pane > h3 {
  font-size: 19px;
}
.u062 .u062-pane > p {
  font-size: 10px;
}
.u062 .auth-method-hint {
  min-height: 89px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.auth-demo-note {
  font-size: 8px;
  color: #9aa8bd;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  margin: 15px auto 3px;
  max-width: 340px;
  line-height: 1.9;
}
.auth-demo-note .icon {
  width: 11px;
  height: 11px;
  margin-top: 2px;
}
.explore-button {
  font-size: 10px;
  margin-top: 5px;
}
.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 8px;
  color: #a3aec0;
  padding-top: 20px;
}
.login-footer button {
  font-size: 9px;
  color: #7990b2;
  padding: 0;
}
#toast-region {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 210;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 32px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1c3354;
  color: #edf3ff;
  padding: 12px 18px;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  box-shadow: 0 8px 30px #172e5530;
  font-size: 11px;
  animation: bar-in 0.22s ease-out;
  line-height: 1.7;
}
.toast .icon {
  width: 16px;
  height: 16px;
  color: #a4c1ff;
}
dialog {
  background: var(--surface);
  color: var(--ink);
  width: 510px;
  max-width: calc(100% - 32px);
  max-height: 90dvh;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 17px;
  box-shadow: 0 24px 100px #132b5640;
  overflow: auto;
}
dialog::backdrop {
  background: #10244380;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  border-radius: 50%;
}
.dialog-close .icon {
  width: 15px;
  height: 15px;
}
.dialog-heading {
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 22px;
  margin: 7px 0 8px;
}
.dialog-heading > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.dialog-heading .eyebrow {
  font-size: 9px;
}
.dialog-copy {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 15px 0;
}
.dialog-copy strong {
  color: var(--ink);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.detail-hero {
  height: 110px;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}
.detail-hero > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  max-width: 65%;
}
.detail-hero > div {
  position: absolute;
  right: 28px;
  top: 9px;
  width: 94px;
  transform: rotate(-7deg);
}
.detail-hero svg {
  width: 100%;
  height: auto;
}
.detail-progress {
  padding: 15px 0;
}
.detail-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
.detail-progress strong {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}
.detail-progress small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.detail-subtitle {
  font-size: 12px;
  font-weight: 600;
  margin-top: 15px;
}
.detail-chapters {
  margin: 10px 0 23px;
}
.detail-chapters > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.detail-chapters > div > span {
  font-size: 10px;
  color: var(--muted);
  background: var(--bg);
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.detail-chapters strong {
  font-size: 10px;
  font-weight: 500;
}
.detail-chapters .icon {
  width: 14px;
  height: 14px;
  color: #a5b2c9;
  margin-left: auto;
}
.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--warm-soft);
  color: var(--warm);
  padding: 12px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.8;
}
.inline-notice .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.faq p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 10px;
}
.profile-avatar {
  width: 60px;
  height: 60px;
  font-size: 20px;
  margin-bottom: 15px;
}
.profile-info {
  background: var(--bg);
  border-radius: 9px;
  padding: 15px 18px;
  margin: 15px 0;
}
.profile-info p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 11px;
}
.profile-info span {
  color: var(--muted);
}
.profile-info b {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notice-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.notice-item .icon {
  color: var(--primary);
  width: 17px;
  height: 17px;
}
.is-syncing .icon {
  animation: spin 1s linear infinite;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: #162c5066;
  z-index: 69;
  backdrop-filter: blur(3px);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes equalize {
  0% {
    height: 5px;
  }
  100% {
    height: 21px;
  }
}
@keyframes bar-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101827;
  --surface: #182238;
  --surface-soft: #1b2840;
  --ink: #e4ecfb;
  --muted: #98a8c1;
  --line: #29374e;
  --primary: #7299fb;
  --primary-hover: #8aaaff;
  --primary-soft: #25385b;
  --green: #87bea9;
  --green-soft: #203f39;
  --warm: #d7b775;
  --warm-soft: #3d3527;
  --shadow: 0 8px 30px #00000018;
  --ux-bg: #182238;
  --ux-surface: #1b2840;
  --ux-text: #e4ecfb;
  --ux-text-secondary: #98a8c1;
  --ux-text-muted: #91a1ba;
  --ux-border: #29374e;
  --ux-accent: #7299fb;
  --ux-accent-light: #25385b;
  --ux-success: #87bea9;
}
[data-theme="dark"] .welcome-banner {
  background: linear-gradient(110deg, #223556, #1a2a46);
  border-color: #2d4269;
}
[data-theme="dark"] .welcome-banner h2 {
  color: #d6e4ff;
}
[data-theme="dark"] .welcome-banner p {
  color: #99afd2;
}
[data-theme="dark"] .banner-price {
  background: #1c2b46;
  border-color: #344767;
  color: #9eb9df;
}
[data-theme="dark"] .banner-price strong {
  color: #afc8f3;
}
[data-theme="dark"] .button.primary {
  color: #142647;
}
[data-theme="dark"] .brand-mark {
  background: #396fe9;
}
[data-theme="dark"] .avatar {
  background: #333b60;
  color: #bac2ed;
  box-shadow: 0 0 0 1px #34425d;
}
[data-theme="dark"] .view-switch,
[data-theme="dark"] .badge.neutral,
[data-theme="dark"] .count-tag,
[data-theme="dark"] .filter-tabs button span {
  background: #24324b;
  color: #a1b0ca;
  border-color: #2b3b59;
}
[data-theme="dark"] .filter-tabs button.active span,
[data-theme="dark"] .nav-link b {
  background: #314d7d;
  color: #aac5ff;
}
[data-theme="dark"] .progress-track {
  background: #283853;
}
[data-theme="dark"] .purple {
  background: #352e4c;
  color: #bc9de6;
}
[data-theme="dark"] .mint {
  background: #243d37;
  color: #91c6b1;
}
[data-theme="dark"] .peach {
  background: #44392e;
  color: #d9b788;
}
[data-theme="dark"] .sky {
  background: #293c58;
  color: #9abbea;
}
[data-theme="dark"] .rose {
  background: #462f43;
  color: #dca8c9;
}
[data-theme="dark"] .slate {
  background: #2d3b50;
  color: #adc0dc;
}
[data-theme="dark"] .stat-icon.blue {
  background: #263959;
  color: #97b5ff;
}
[data-theme="dark"] .stat-icon.purple {
  background: #352e4c;
  color: #bc9de6;
}
[data-theme="dark"] .stat-icon.mint {
  background: #243d37;
  color: #91c6b1;
}
[data-theme="dark"] .stat-icon.peach {
  background: #44392e;
  color: #d9b788;
}
[data-theme="dark"] .progress-ring {
  background: conic-gradient(var(--primary) var(--progress), #293951 0);
}
[data-theme="dark"] .run-current {
  background: #20304d;
  border-color: #304368;
}
[data-theme="dark"] .run-current strong {
  color: #b8c8e7;
}
[data-theme="dark"] .selection-bar {
  border-color: #425b86;
}
[data-theme="dark"] .sort-label select {
  color: #b0c0db;
}
[data-theme="dark"] .course-card:hover {
  border-color: #526589;
}
[data-theme="dark"] .course-card.selected {
  border-color: var(--primary);
}
[data-theme="dark"] .u062 {
  box-shadow: none;
}
[data-theme="dark"] .u062-box input {
  color: var(--ink);
}
[data-theme="dark"] .course-cover-text > span {
  color: inherit;
}
@media (min-width: 1600px) {
  .selection-bar {
    max-width: 1496px;
    margin: 0 auto;
  }
  .welcome-banner {
    min-height: 196px;
  }
  .banner-art {
    width: 370px;
  }
  .course-cover {
    height: 120px;
  }
  .course-art {
    top: 19px;
  }
  .course-body h3 {
    font-size: 15px;
  }
  .course-body {
    padding: 18px 21px;
  }
  .course-teacher {
    font-size: 9px;
  }
  .course-types {
    font-size: 10px;
  }
  .stat-card {
    padding: 20px;
  }
  .course-grid {
    gap: 23px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 215px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sidebar-user {
    gap: 6px;
  }
  .sidebar-user strong {
    font-size: 9px;
  }
  .topbar {
    padding: 0 24px;
  }
  #main-content {
    padding: 24px 24px 0;
  }
  .app-footer {
    padding: 22px 24px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > div:first-child {
    flex: 1;
  }
  .heading-actions {
    gap: 6px;
  }
  .refresh-button span {
    display: none;
  }
  .welcome-banner {
    padding: 23px;
  }
  .welcome-banner h2 {
    font-size: 20px;
  }
  .banner-art {
    width: 285px;
    margin-right: -20px;
  }
  .stat-card {
    padding: 13px 11px;
    column-gap: 8px;
    grid-template-columns: 29px 1fr;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .stat-card .price-stat {
    font-size: 20px;
  }
  .course-grid {
    gap: 15px;
  }
  .course-cover {
    padding: 16px;
  }
  .course-cover-text strong {
    font-size: 19px;
  }
  .course-art {
    right: 12px;
    width: 76px;
    height: 76px;
    top: 17px;
  }
  .course-body {
    padding: 13px;
  }
  .course-types {
    gap: 9px;
    font-size: 8px;
  }
  .course-bottom {
    gap: 4px;
  }
  .course-price strong {
    font-size: 12px;
  }
  .button.small {
    font-size: 9px;
    padding: 7px 8px;
  }
  .course-price > span {
    font-size: 7px;
  }
  .selection-bar {
    left: calc(var(--sidebar) + 24px);
    right: 24px;
  }
  .run-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 17px;
  }
  .run-overview {
    padding: 19px;
  }
  .run-progress {
    gap: 18px;
  }
  .progress-ring {
    width: 105px;
    height: 105px;
    padding: 7px;
  }
  .run-progress-copy h3 {
    font-size: 14px;
  }
  .run-course-heading > .badge {
    align-self: flex-start;
  }
  .run-course-heading h2 {
    font-size: 14px;
  }
  .run-course-heading .eyebrow > span {
    display: none;
  }
  .timeline-panel .u454 {
    width: 100%;
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
  }
  .checkout-summary .order-summary {
    padding: 18px;
  }
  .order-course {
    gap: 7px;
  }
  .order-course > b {
    font-size: 9px;
  }
  .order-course strong {
    font-size: 9px;
  }
  .login-story {
    padding: 36px;
  }
  .login-story h1 {
    font-size: 44px;
  }
  .login-panel {
    padding: 23px;
  }
  .login-form-area > h2 {
    font-size: 23px;
  }
  .login-benefits {
    gap: 16px;
    font-size: 8px;
  }
}
@media (max-width: 1050px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .course-body {
    padding: 16px;
  }
  .course-body h3 {
    font-size: 14px;
  }
  .course-types {
    font-size: 9px;
  }
  .course-bottom .button {
    font-size: 10px;
    padding: 7px 11px;
  }
  .course-price strong {
    font-size: 14px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .heading-actions {
    margin: 0;
  }
  .page-heading > div:first-child {
    min-width: 280px;
  }
  .welcome-banner h2 {
    font-size: 20px;
    max-width: 260px;
  }
  .welcome-banner p {
    font-size: 9px;
  }
  .banner-art {
    width: 245px;
    margin-right: -30px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .stat-card > div {
    flex: 1;
  }
  .stat-card small {
    width: 100%;
    font-size: 7px;
    margin-left: 36px;
  }
  .stat-card > div > span {
    font-size: 8px;
  }
  .stat-card strong {
    font-size: 22px;
  }
  .stat-card .price-stat {
    font-size: 18px;
  }
  .sort-label {
    font-size: 0;
    gap: 3px;
  }
  .sort-label select {
    font-size: 9px;
  }
  .filter-tabs {
    gap: 1px;
  }
  .filter-tabs button {
    padding: 7px 8px;
    font-size: 9px;
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
  }
  .payment-panel {
    padding: 20px;
  }
  .panel-header {
    gap: 8px;
  }
  .panel-header h2 {
    font-size: 12px;
  }
  .panel-header > .badge {
    font-size: 8px;
  }
  .payment-heading-icon {
    display: none;
  }
  .run-grid {
    grid-template-columns: 1fr;
  }
  .run-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .run-note {
    grid-column: 1/-1;
  }
  .run-progress {
    gap: 30px;
  }
  .run-progress-copy h3 {
    font-size: 18px;
  }
  .progress-ring {
    width: 130px;
    height: 130px;
  }
  .run-current > div > strong {
    font-size: 12px;
  }
  .run-course-heading h2 {
    font-size: 17px;
  }
  .list-view {
    grid-template-columns: 1fr;
  }
  .global-search {
    max-width: 36%;
  }
  .topbar-actions {
    gap: 6px;
  }
  .selection-bar {
    gap: 10px;
    padding: 13px;
  }
  .selection-bar > div > strong {
    font-size: 10px;
  }
  .selection-bar > div > span {
    font-size: 8px;
  }
  .selection-bar > .button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .selection-bar .clear-selection {
    font-size: 9px;
    margin-left: 0;
  }
  .selection-count {
    width: 31px;
    height: 34px;
  }
  .selection-total > strong {
    font-size: 17px !important;
  }
  .login-story {
    padding: 35px 30px;
  }
  .login-story h1 {
    font-size: 39px;
  }
  .login-story-content > p {
    font-size: 10px;
  }
  .login-illustration {
    margin: 25px -15px;
    height: 215px;
  }
  .floating-card {
    left: 20px;
  }
  .login-benefits {
    flex-wrap: wrap;
    gap: 12px;
  }
  .login-story-bottom {
    font-size: 7px;
  }
  .login-form-area > h2 {
    font-size: 21px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 232px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    padding: 23px 16px 0;
    top: 0;
    box-shadow: 0 0 0 transparent;
  }
  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 10px 0 50px #10264922;
  }
  .app-body {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    gap: 14px;
    height: 66px;
    padding: 0 22px;
  }
  .global-search {
    margin-right: auto;
    max-width: 45%;
  }
  .topbar-actions {
    gap: 6px;
  }
  .selection-bar {
    left: 24px;
    right: 24px;
  }
  .sidebar-user strong {
    font-size: 10px;
  }
  .sidebar-user small {
    font-size: 9px;
  }
  .sidebar-user {
    gap: 9px;
  }
  .stat-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    padding: 17px;
    column-gap: 10px;
  }
  .stat-card small {
    margin: 0;
    grid-column: 2;
    width: auto;
    font-size: 8px;
  }
  .stat-card > div > span {
    font-size: 9px;
  }
  .stat-card strong {
    font-size: 26px;
  }
  .stat-card .price-stat {
    font-size: 21px;
  }
  .banner-art {
    width: 315px;
    margin-right: 0;
  }
  .welcome-banner h2 {
    max-width: none;
    font-size: 22px;
  }
  .welcome-banner p {
    font-size: 10px;
  }
  .course-cover {
    height: 112px;
  }
  .course-art {
    width: 85px;
    height: 85px;
    right: 27px;
    top: 13px;
  }
  .course-cover-text strong {
    font-size: 24px;
  }
  .course-cover {
    padding: 20px;
  }
  .course-body {
    padding: 18px;
  }
  .course-types {
    font-size: 10px;
  }
  .course-body h3 {
    font-size: 15px;
    min-height: 45px;
  }
  .course-meta > .badge {
    font-size: 10px;
  }
  .course-meta > span:last-child:not(.badge) {
    font-size: 9px;
  }
  .progress-caption {
    font-size: 9px;
  }
  .progress-detail {
    font-size: 9px;
  }
  .course-teacher {
    font-size: 9px;
  }
  .course-price strong {
    font-size: 15px;
  }
  .course-bottom .button {
    min-height: 37px;
    font-size: 11px;
  }
  .course-price > span {
    font-size: 8px;
  }
  .filter-tabs button {
    font-size: 10px;
    padding: 8px 11px;
  }
  .filter-tabs {
    gap: 5px;
  }
  .sort-label {
    font-size: 9px;
  }
  .login-page {
    grid-template-columns: 42% 58%;
  }
  .login-story {
    padding: 28px;
  }
  .login-story h1 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .story-tag {
    font-size: 7px;
  }
  .login-story-content > p {
    font-size: 10px;
  }
  .login-illustration {
    margin: 35px -22px 25px;
    height: 180px;
  }
  .floating-card {
    left: 15px;
    bottom: -5px;
  }
  .login-story-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .welcome-banner {
    padding: 23px;
    min-height: 177px;
  }
  .welcome-banner h2 {
    font-size: 21px;
    max-width: 270px;
  }
  .welcome-banner .banner-art {
    width: 220px;
    margin-right: -40px;
    opacity: 0.85;
  }
  .welcome-banner > div {
    flex-shrink: 1;
  }
  .welcome-banner p {
    max-width: 275px;
  }
  .sort-label {
    font-size: 0;
  }
  .sort-label select {
    max-width: 90px;
  }
  .catalog-toolbar {
    gap: 5px;
  }
  .filter-tabs {
    gap: 1px;
  }
  .filter-tabs button {
    font-size: 9px;
    padding: 8px;
  }
  .selection-bar .clear-selection {
    display: none;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .checkout-help {
    grid-column: 1/-1;
  }
  .workflow-card .u444 {
    width: 100%;
  }
  .workflow-card .u444-st {
    transform: scale(0.88);
  }
  .order-summary {
    min-width: 0;
  }
  .order-course {
    flex-wrap: wrap;
  }
  .order-course > b {
    margin-left: 50px;
  }
  .run-aside {
    gap: 14px;
  }
  .timeline-panel .u454-c {
    width: calc(100% - 30px);
  }
  .timeline-panel .u454-t {
    font-size: 10px;
  }
  .timeline-panel .u454-m {
    font-size: 9px;
  }
  .run-progress-copy h3 {
    font-size: 16px;
  }
  .app-footer {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: 0;
    padding: 23px 25px;
    background: #1c355b;
  }
  .login-story-content,
  .login-story-bottom {
    display: none;
  }
  .login-brand {
    align-self: flex-start;
  }
  .login-brand .brand-mark {
    width: 29px;
    height: 29px;
  }
  .login-brand .brand-word {
    font-size: 23px;
  }
  .login-panel {
    padding: 0 20px 23px;
    min-height: calc(100dvh - 75px);
  }
  .login-topline {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
  }
  .login-topline .demo-pill {
    background: #ffffff10;
    border-color: #ffffff1c;
    color: #a6bbdc;
  }
  .login-topline .icon-button {
    color: #b7c9e8;
  }
  .login-form-area {
    padding-top: 29px;
  }
  .login-form-area > h2 {
    font-size: 24px;
  }
  .login-welcome {
    font-size: 8px;
  }
  .login-footer {
    max-width: 400px;
  }
  .auth-tabs {
    margin-top: 22px;
  }
  .login-intro {
    font-size: 11px;
  }
  .u062 {
    box-shadow: 0 7px 22px #1c3d7208;
  }
  .selection-bar > div > span {
    display: none;
  }
  .selection-bar .selection-total > span {
    display: block;
  }
}
@media (max-width: 500px) {
  html {
    scroll-padding-top: 82px;
  }
  .sidebar {
    top: 0;
  }
  .mobile-overlay {
    top: 0;
  }
  .app-body {
    padding-top: 0;
  }
  .topbar {
    top: 0;
    height: 60px;
    padding: 0 14px;
    gap: 8px;
  }
  .topbar-actions {
    gap: 1px;
  }
  .topbar-actions .icon-button {
    width: 29px;
    height: 34px;
  }
  .topbar-actions .icon {
    width: 17px;
    height: 17px;
  }
  .topbar-actions .notification-button {
    display: none;
  }
  .global-search {
    max-width: none;
    gap: 7px;
    width: auto;
    flex: 1;
  }
  .global-search input {
    font-size: 10px;
    width: 100%;
  }
  .global-search kbd {
    display: none;
  }
  .global-search .icon {
    width: 15px;
    height: 15px;
  }
  .small-avatar {
    width: 29px;
    height: 29px;
    font-size: 9px;
    margin-left: 4px;
  }
  .mobile-menu {
    width: 27px;
  }
  .mobile-menu .icon {
    width: 20px;
    height: 20px;
  }
  #main-content {
    padding: 22px 16px 0;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 20px;
  }
  .page-heading > div:first-child {
    min-width: 0;
    width: 100%;
    flex: auto;
  }
  .page-heading h1 {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.9;
  }
  .breadcrumb {
    font-size: 8px;
    margin-bottom: 11px;
  }
  .heading-actions {
    width: 100%;
    gap: 8px;
  }
  .select-wrap {
    flex: 1;
    max-width: 250px;
    height: 38px;
  }
  .select-wrap select {
    font-size: 10px;
    max-width: none;
    width: 100%;
  }
  .refresh-button {
    min-height: 38px;
  }
  .refresh-button span {
    display: inline;
    font-size: 10px;
  }
  .page-heading > a.button {
    min-height: 34px;
    font-size: 10px;
    padding: 7px 12px;
  }
  .welcome-banner {
    padding: 20px;
    min-height: 185px;
    border-radius: 11px;
  }
  .welcome-banner > div {
    width: 100%;
  }
  .welcome-banner .banner-art {
    position: absolute;
    width: 170px;
    right: -39px;
    bottom: 1px;
    opacity: 0.18;
    pointer-events: none;
    margin: 0;
  }
  .welcome-banner h2 {
    font-size: 21px;
    max-width: 255px;
    line-height: 1.45;
  }
  .welcome-banner p {
    font-size: 9px;
    max-width: 245px;
    line-height: 1.9;
  }
  .banner-eyebrow {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .banner-price {
    font-size: 7px;
    margin-top: 13px;
    padding: 4px 6px;
  }
  .banner-price .icon {
    width: 10px;
  }
  .stats-grid {
    gap: 10px;
    margin: 16px 0 24px;
  }
  .stat-card {
    padding: 13px 12px;
    grid-template-columns: 30px 1fr;
    gap: 8px;
  }
  .stat-card small {
    grid-column: 2;
    font-size: 7px;
    margin-top: -5px;
    letter-spacing: -0.1px;
  }
  .stat-card > div > span {
    font-size: 8px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .stat-card .price-stat {
    font-size: 20px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  .stat-icon .icon {
    width: 16px;
    height: 16px;
  }
  .price-stat span {
    font-size: 11px;
  }
  .section-heading {
    margin-bottom: 12px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading p {
    font-size: 9px;
  }
  .view-switch {
    padding: 2px;
  }
  .view-switch button {
    width: 28px;
    height: 29px;
  }
  .count-tag {
    font-size: 10px;
    padding: 0 6px;
  }
  .catalog-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }
  .filter-tabs {
    justify-content: space-between;
    width: 100%;
    gap: 1px;
  }
  .filter-tabs button {
    font-size: 9px;
    padding: 9px 8px;
    min-height: 35px;
    gap: 5px;
  }
  .filter-tabs button span {
    font-size: 8px;
  }
  .sort-label {
    font-size: 8px;
    margin-left: auto;
  }
  .sort-label select {
    font-size: 8px;
    max-width: none;
    padding: 4px 0;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .course-cover {
    height: 118px;
    padding: 22px;
  }
  .course-cover-text > span {
    font-size: 8px;
  }
  .course-cover-text strong {
    font-size: 26px;
  }
  .course-art {
    width: 94px;
    height: 94px;
    top: 12px;
    right: 29px;
  }
  .course-body {
    padding: 18px 20px;
  }
  .course-meta {
    margin-bottom: 11px;
  }
  .course-body h3 {
    min-height: 0;
    font-size: 16px;
    line-height: 1.6;
  }
  .course-teacher {
    font-size: 9px;
    margin-top: 6px;
  }
  .course-types {
    font-size: 10px;
    margin-top: 16px;
    gap: 18px;
  }
  .course-types .icon {
    width: 14px;
    height: 14px;
  }
  .progress-caption {
    font-size: 9px;
    margin-top: 18px;
  }
  .progress-caption strong {
    font-size: 12px;
  }
  .progress-track {
    height: 5px;
  }
  .progress-detail {
    font-size: 9px;
    margin-top: 7px;
  }
  .course-bottom {
    padding-top: 16px;
    margin-top: 17px;
  }
  .course-bottom .button {
    min-height: 40px;
    font-size: 11px;
    padding: 9px 14px;
  }
  .course-price > strong {
    font-size: 17px;
  }
  .course-price > span {
    font-size: 9px;
  }
  .catalog-footnote {
    font-size: 8px;
    align-items: flex-start;
    line-height: 1.8;
    text-align: center;
    padding: 0 10px;
  }
  .catalog-footnote .icon {
    margin-top: 1px;
  }
  .app-footer {
    padding: 22px 16px;
    font-size: 8px;
  }
  .app-footer > span:last-child {
    font-size: 7px;
  }
  .selection-bar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 11px 12px;
    gap: 9px;
    flex-wrap: wrap;
    border-radius: 11px;
  }
  .selection-count {
    width: 29px;
    height: 29px;
    font-size: 13px;
    border-radius: 7px;
  }
  .selection-bar > div > strong {
    font-size: 10px;
  }
  .selection-bar .selection-total {
    padding: 0;
    margin-left: auto;
  }
  .selection-total > strong {
    font-size: 16px !important;
    line-height: 1.3;
  }
  .selection-bar .selection-total > span {
    font-size: 7px;
    line-height: 1.5;
  }
  .selection-bar > .button {
    width: 100%;
    min-height: 39px;
    font-size: 11px;
    justify-content: space-between;
    padding: 8px 13px;
  }
  #main-content.has-selection {
    padding-bottom: 123px;
  }
  .list-view .course-cover {
    min-height: 250px;
    width: 88px;
    padding: 30px 9px;
  }
  .list-view .course-cover-text > strong {
    font-size: 13px;
  }
  .list-view .course-art {
    width: 70px;
    right: 8px;
    top: 115px;
  }
  .list-view .course-body {
    padding: 13px 12px;
  }
  .list-view .course-body h3 {
    font-size: 12px;
    line-height: 1.7;
  }
  .list-view .course-types {
    font-size: 8px;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 9px;
  }
  .list-view .course-types .icon {
    width: 11px;
    height: 11px;
  }
  .list-view .badge {
    font-size: 8px;
  }
  .list-view .course-meta > span:last-child:not(.badge) {
    font-size: 7px;
  }
  .list-view .progress-caption {
    font-size: 8px;
    margin-top: 11px;
  }
  .list-view .progress-detail {
    font-size: 8px;
  }
  .list-view .course-bottom {
    margin-top: 11px;
    padding-top: 11px;
    flex-wrap: wrap;
  }
  .list-view .course-price > strong {
    font-size: 13px;
  }
  .list-view .course-price > span {
    font-size: 7px;
  }
  .list-view .course-bottom .button {
    min-height: 33px;
    font-size: 9px;
    padding: 7px;
  }
  .checkout-summary {
    display: flex;
    gap: 17px;
  }
  .checkout-grid {
    gap: 17px;
  }
  .payment-panel {
    padding: 20px 17px;
  }
  .panel-header {
    padding-bottom: 17px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .panel-header p {
    font-size: 9px;
  }
  .panel-header > .badge {
    font-size: 8px;
  }
  .payment-amount {
    margin: 24px 0 20px;
  }
  .payment-amount > strong {
    font-size: 35px;
  }
  .payment-code {
    margin-top: 4px;
  }
  .payment-note {
    font-size: 8px;
  }
  .payment-demo-button {
    font-size: 10px;
    min-height: 43px;
  }
  .order-summary {
    padding: 21px !important;
  }
  .order-course {
    flex-wrap: nowrap;
    padding: 18px 0;
  }
  .order-course > b {
    margin-left: auto;
    font-size: 10px;
  }
  .order-course strong {
    font-size: 10px;
  }
  .workflow-card .u444 {
    width: 340px;
  }
  .workflow-card .u444-st {
    transform: scale(0.94);
  }
  .workflow-caption {
    left: 21px;
  }
  .checkout-help {
    font-size: 9px;
  }
  .run-grid {
    gap: 17px;
  }
  .run-main {
    gap: 17px;
  }
  .run-overview {
    padding: 18px;
  }
  .run-course-heading {
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 17px;
  }
  .run-course-heading > div {
    flex: 1;
  }
  .run-course-heading .course-mini-art {
    width: 40px;
    height: 45px;
  }
  .run-course-heading h2 {
    font-size: 13px;
    line-height: 1.6;
  }
  .run-course-heading .eyebrow {
    font-size: 8px;
  }
  .run-course-heading p {
    font-size: 8px;
  }
  .run-course-heading > .badge {
    margin-left: 50px;
    font-size: 8px;
    margin-top: -4px;
  }
  .run-progress {
    gap: 20px;
    padding: 23px 0;
    align-items: center;
  }
  .progress-ring {
    width: 94px;
    height: 94px;
    padding: 6px;
  }
  .progress-ring strong {
    font-size: 25px;
  }
  .progress-ring strong small {
    font-size: 13px;
  }
  .progress-ring span {
    font-size: 8px;
  }
  .run-progress-copy {
    flex: 1;
    min-width: 0;
  }
  .run-progress-copy .eyebrow {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  .run-progress-copy h3 {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .run-progress-copy > p {
    font-size: 8px;
    margin-top: 5px;
  }
  .run-metrics {
    gap: 16px;
    margin-top: 13px;
  }
  .run-metrics strong {
    font-size: 18px;
  }
  .run-metrics small {
    font-size: 10px;
  }
  .run-metrics > span {
    font-size: 7px;
  }
  .run-current {
    padding: 11px;
    gap: 10px;
  }
  .run-current > div > strong {
    font-size: 10px;
  }
  .run-current > div > span {
    font-size: 6px;
  }
  .current-symbol {
    width: 30px;
    height: 30px;
  }
  .current-symbol .icon {
    width: 14px;
    height: 14px;
  }
  .equalizer {
    padding: 0;
  }
  .run-actions {
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
  }
  .run-actions > span {
    font-size: 7px;
    max-width: 160px;
    flex: 1;
  }
  .run-actions .button {
    font-size: 9px;
    min-height: 36px;
    padding: 8px 10px;
  }
  .panel-heading {
    padding: 17px 18px;
    gap: 8px;
  }
  .panel-heading h2 {
    font-size: 11px;
  }
  .panel-heading > span {
    font-size: 8px;
  }
  .lesson-row {
    padding: 14px 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .lesson-row > div {
    flex: 1;
    min-width: 0;
  }
  .lesson-row > div > strong {
    font-size: 9px;
  }
  .lesson-row > div > span {
    font-size: 7px;
  }
  .lesson-status {
    font-size: 7px;
  }
  .lesson-index {
    width: 23px;
    height: 23px;
  }
  .run-aside {
    display: flex;
    gap: 17px;
  }
  .timeline-panel .u454 {
    width: 340px;
    height: 300px;
  }
  .timeline-panel .u454-c {
    width: 282px;
    max-width: calc(100% - 30px);
  }
  .timeline-panel .u454-t {
    font-size: 12px;
  }
  .timeline-panel .u454-m {
    font-size: 10px;
  }
  .order-stat-strip {
    padding: 16px 0;
  }
  .order-stat-strip > div {
    padding: 0 12px;
  }
  .order-stat-strip span {
    font-size: 7px;
    min-height: 24px;
  }
  .order-stat-strip strong {
    font-size: 20px;
  }
  .order-stat-strip > div:last-child strong {
    font-size: 17px;
    line-height: 1.9;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 13px 16px;
  }
  .empty-state {
    min-height: 300px;
    padding: 25px 17px;
  }
  .empty-state h3 {
    font-size: 16px;
  }
  .empty-state p {
    font-size: 10px;
  }
  .login-panel {
    padding-left: 16px;
    padding-right: 16px;
  }
  .login-form-area > h2 {
    font-size: 22px;
  }
  .login-welcome {
    font-size: 7px;
  }
  .auth-tabs {
    max-width: 340px;
  }
  .auth-tabs button {
    font-size: 8px;
    min-height: 36px;
  }
  .u062 {
    width: 340px;
  }
  .u062 .u062-pane {
    padding-left: 24px;
    padding-right: 24px;
  }
  .login-form-area {
    padding-bottom: 15px;
  }
  .login-footer {
    font-size: 7px;
    max-width: 340px;
  }
  .login-footer button {
    font-size: 8px;
  }
  .toast {
    font-size: 10px;
    padding: 11px 14px;
  }
  dialog {
    padding: 22px;
    max-width: calc(100% - 24px);
    border-radius: 14px;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  .profile-info p {
    font-size: 9px;
  }
  .profile-info {
    padding: 13px;
  }
  .detail-hero {
    height: 100px;
  }
  .detail-hero > span {
    font-size: 8px;
  }
  .detail-hero > div {
    width: 81px;
    right: 20px;
  }
  .dialog-actions .button {
    font-size: 10px;
  }
  .sidebar {
    overflow-y: auto;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .support-card {
    margin-bottom: 17px;
  }
  .sidebar-user {
    padding: 13px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .button:hover:not(:disabled),
  .course-card:hover {
    transform: none;
  }
  .equalizer i {
    height: 12px;
  }
  .u444 .u444-dot:after {
    animation: none !important;
  }
}
