/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.15_@playwright+test@1.59.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.15_@playwright+test@1.59.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ba-bg: #f7f7f5;
  --ba-surface: #ffffff;
  --ba-surface-strong: #ffffff;
  --ba-border: #e5e5e0;
  --ba-text: #111111;
  --ba-muted: #666666;
  --ba-subtle: #999999;
  --ba-accent: #e8590c;
  --ba-accent-dark: #d14e0b;
  --ba-forest: #111111;
  --ba-teal: #e8590c;
  --ba-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --ba-radius-xl: 16px;
  --ba-radius-lg: 12px;
  --ba-radius-md: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ba-bg);
  color: var(--ba-text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Noto Sans SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

.ba-page {
  min-height: 100vh;
  background: #f7f7f5;
}

.ba-page--cool {
  background:
    radial-gradient(circle at top left, rgba(15, 95, 108, 0.2), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(191, 219, 254, 0.45), transparent 22%),
    linear-gradient(180deg, #f4f8f8 0%, #eff4f1 44%, #f8f3ea 100%);
}

.ba-page--warm {
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.26), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(232, 89, 12, 0.15), transparent 20%),
    linear-gradient(180deg, #faf6ef 0%, #f6f1e8 36%, #eef2f0 100%);
}

.ba-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ba-header-shell {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.ba-topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ba-topbar--plain {
  min-height: 72px;
}

.ba-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ba-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #121212;
  color: #fff;
  font-weight: 800;
  box-shadow: none;
}

.ba-brand-copy {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.ba-brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba-brand--mono .ba-brand-title {
  letter-spacing: 0;
  text-transform: none;
}

.ba-brand-title--cn {
  font-size: 30px;
  font-weight: 900;
}

.ba-brand-subtitle {
  color: var(--ba-subtle);
  font-size: 12px;
}

.ba-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ba-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ba-muted);
}

.ba-nav-link:hover {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ba-text);
}

.ba-nav-link--primary {
  background: var(--ba-forest);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 52, 45, 0.18);
}

.ba-header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ba-search-pill {
  min-width: 226px;
  height: 38px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--ba-subtle);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-decoration: none;
}

.ba-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ba-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
}

.ba-circle-entry {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.ba-main {
  padding: 32px 0 72px;
}

.ba-stack-lg {
  display: grid;
  grid-gap: 32px;
  gap: 32px;
}

.ba-stack-md {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.ba-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
}

.ba-home-hero {
  padding: 68px 0 58px;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ba-home-hero-title {
  margin: 0;
  max-width: 620px;
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.ba-home-hero-lead {
  margin: 0;
  max-width: 820px;
  color: var(--ba-muted);
  font-size: 18px;
  line-height: 1.72;
}

.ba-home-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 2px;
}

.ba-home-toolbar-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ba-subtle);
  font-size: 14px;
}

.ba-home-featured {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding-top: 28px;
}

.ba-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-gap: 24px;
  gap: 24px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.ba-feature-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f76300;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.ba-feature-copy {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.ba-feature-actions {
  display: flex;
  align-items: center;
}

.ba-home-rail {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ba-home-rail-card {
  max-width: 560px;
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-home-rail-copy {
  max-width: 900px;
  color: var(--ba-muted);
}

.ba-card {
  background: var(--ba-surface);
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius-xl);
  box-shadow: var(--ba-shadow);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ba-card--dense {
  border-radius: var(--ba-radius-lg);
}

.ba-card-pad-lg {
  padding: 36px;
}

.ba-card-pad-md {
  padding: 26px;
}

.ba-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ba-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ba-title-xl {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.ba-title-lg {
  margin: 8px 0 14px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.ba-title-md {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.ba-lead {
  margin: 0;
  color: var(--ba-muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 700px;
}

.ba-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ba-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ba-button--primary {
  background: var(--ba-forest);
  color: #fff;
  box-shadow: 0 14px 32px rgba(23, 52, 45, 0.18);
}

.ba-button--accent {
  background: var(--ba-accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(232, 89, 12, 0.22);
}

.ba-button--ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ba-text);
  border: 1px solid rgba(20, 27, 24, 0.08);
}

.ba-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ba-loop-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ba-loop-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
}

.ba-loop-index {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 52, 45, 0.08);
  color: var(--ba-forest);
  font-size: 13px;
  font-weight: 900;
}

.ba-loop-copy h3,
.ba-loop-copy p {
  margin: 0;
}

.ba-loop-copy p {
  margin-top: 6px;
  color: var(--ba-muted);
  line-height: 1.65;
}

.ba-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.ba-stat-card {
  padding: 22px;
  border-radius: var(--ba-radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(20, 27, 24, 0.08);
}

.ba-stat-label {
  color: var(--ba-subtle);
  font-size: 13px;
  margin: 0 0 8px;
}

.ba-stat-value {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.ba-stat-note {
  margin: 8px 0 0;
  color: var(--ba-muted);
  line-height: 1.6;
}

.ba-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.ba-section-copy p {
  margin: 8px 0 0;
  color: var(--ba-muted);
  line-height: 1.75;
}

.ba-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.ba-category-section {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ba-course-card {
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 27, 24, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.ba-course-media {
  min-height: 250px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  background: linear-gradient(180deg, #dfeceb 0%, #d8e5e5 100%);
}

.ba-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 27, 24, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.ba-course-media-copy {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.ba-course-media-copy h3 {
  margin: 0;
  font-size: 42px;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.ba-course-media-copy p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 14px;
}

.ba-course-media-kicker {
  color: var(--ba-text) !important;
  font-size: 13px !important;
  font-weight: 700;
}

.ba-course-body {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 28px;
}

.ba-price {
  color: var(--ba-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ba-copy {
  color: var(--ba-muted);
  line-height: 1.72;
}

.ba-stack-xs {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.ba-course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ba-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 95, 108, 0.08);
  color: var(--ba-teal);
  font-size: 12px;
  font-weight: 700;
}

.ba-chip--surface {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ba-forest);
  border: 1px solid rgba(20, 27, 24, 0.08);
}

.ba-link-arrow {
  color: var(--ba-forest);
  font-weight: 800;
}

.ba-category-grid {
  display: grid;
  grid-gap: 32px;
  gap: 32px;
}

.ba-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}

.ba-detail-grid--editorial {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 48px;
}

.ba-detail-main {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
}

.ba-detail-subtitle {
  font-size: 18px;
}

.ba-detail-cover-panel {
  min-height: 280px;
  padding: 28px;
  border-radius: 22px;
  display: grid;
  align-content: end;
  grid-gap: 12px;
  gap: 12px;
  background: linear-gradient(180deg, #dce8e6 0%, #d6e3e2 100%);
}

.ba-detail-cover-panel h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.ba-detail-cover-panel p {
  margin: 0;
  max-width: 520px;
  color: var(--ba-muted);
}

.ba-detail-copy-stack {
  display: grid;
  grid-gap: 28px;
  gap: 28px;
  padding-top: 8px;
}

.ba-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ba-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
  color: var(--ba-muted);
  line-height: 1.7;
}

.ba-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ba-accent) 0%, #ffb076 100%);
}

.ba-aside-stack {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-aside-stack--compact {
  gap: 18px;
}

.ba-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ba-note {
  color: var(--ba-subtle);
  font-size: 14px;
  line-height: 1.65;
}

.ba-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  grid-gap: 20px;
  gap: 20px;
}

.ba-alert {
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff1ee;
  border: 1px solid #f3c0b4;
  color: #a73f14;
}

.ba-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
}

.ba-bullet-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ba-bullet-list li {
  color: var(--ba-muted);
  line-height: 1.7;
}

.ba-bullet-list strong {
  color: var(--ba-text);
}

.ba-form {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.ba-field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ba-forest);
}

.ba-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 52, 45, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.ba-input:focus {
  outline: 2px solid rgba(15, 95, 108, 0.18);
  border-color: rgba(15, 95, 108, 0.4);
}

.ba-inline-link {
  color: var(--ba-teal);
  font-weight: 700;
}

.ba-empty-card {
  padding: 32px;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-surface-strong);
  border: 1px solid rgba(20, 27, 24, 0.08);
}

.ba-card--compact {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.88);
}

.ba-card--plain {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.ba-inline-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 27, 24, 0.08);
}

.ba-bullets {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.ba-dashboard-grid {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.ba-my-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-gap: 42px;
  gap: 42px;
  padding: 48px 0 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ba-my-hero-copy {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-my-hero-panel {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-course-owned-card {
  overflow: hidden;
  border-radius: var(--ba-radius-lg);
  border: 1px solid rgba(20, 27, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.ba-course-owned-cover {
  min-height: 184px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  grid-gap: 14px;
  gap: 14px;
  background: linear-gradient(180deg, #dfeceb 0%, #d4e1df 100%);
}

.ba-course-owned-cover h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.06;
}

.ba-course-owned-cover p {
  margin: 0;
  color: var(--ba-muted);
}

.ba-course-owned-body {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 24px;
}

.ba-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ba-result-grid {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.ba-learning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}

.ba-learning-sidebar {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.ba-learning-media {
  width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  background: #0f172a;
}

.ba-learning-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.ba-learning-card-copy {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.ba-transcript-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.ba-transcript-item {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(20, 27, 24, 0.08);
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

.ba-transcript-item:hover {
  border-color: rgba(15, 95, 108, 0.24);
  transform: translateY(-1px);
}

.ba-transcript-meta {
  color: var(--ba-teal);
  font-size: 13px;
  font-weight: 700;
}

.ba-transcript-text {
  color: var(--ba-text);
  line-height: 1.72;
}

.ba-learning-note-card {
  padding: 18px 20px;
  border-radius: var(--ba-radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 27, 24, 0.08);
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.ba-ref-learn-page {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr) minmax(340px, 400px);
  grid-template-rows: 58px minmax(0, 1fr);
  background: #fafaf7;
  color: #111111;
}

.ba-ref-learn-page--tools-collapsed {
  grid-template-columns: 256px minmax(0, 1fr) 0;
}

.ba-ref-learn-sidebar {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 0;
  border-right: 1px solid #e5e5e0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ba-ref-learn-course-head {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e0;
}

.ba-ref-learn-course-head a {
  display: inline-flex;
  margin-bottom: 8px;
  color: #666666;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.ba-ref-learn-course-head a:hover {
  color: #111111;
}

.ba-ref-learn-course-head h1 {
  margin: 0;
  color: #111111;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.ba-ref-learn-course-head p {
  margin: 4px 0 0;
  color: #888888;
  font-size: 11px;
}

.ba-ref-learn-units {
  min-height: 0;
  overflow-y: auto;
  padding: 4px 0 16px;
}

.ba-ref-learn-nav-title {
  padding: 12px 16px 6px;
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ba-ref-learn-unit {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  padding: 10px 16px 10px 14px;
  border-left: 3px solid transparent;
  color: #555555;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ba-ref-learn-unit:hover {
  background: #fafaf7;
  color: #111111;
}

.ba-ref-learn-unit--active {
  border-left-color: #e8590c;
  background: #fff4f0;
  color: #111111;
}

.ba-ref-learn-unit span {
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ba-ref-learn-unit strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.ba-ref-learn-unit em {
  color: #bbbbbb;
  font-size: 10px;
  font-style: normal;
}

.ba-ref-learn-main,
.ba-ref-learn-tools {
  min-height: 0;
}

.ba-ref-learn-main {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ba-ref-learn-topbar {
  grid-column: 2 / 4;
  grid-row: 1;
  min-height: 58px;
  padding: 10px 16px 10px 20px;
  border-bottom: 1px solid #e5e5e0;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.ba-ref-learn-topbar p {
  margin: 0 0 3px;
  color: #e8590c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ba-ref-learn-topbar h2 {
  margin: 0;
  color: #111111;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.ba-ref-learn-topbar a {
  padding: 7px 12px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.ba-ref-learn-topbar a:hover {
  border-color: #e8590c;
  color: #e8590c;
}

.ba-ref-learn-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ba-ref-tool-toggle {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  background: #ffffff;
  color: #666666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.ba-ref-tool-toggle:hover {
  border-color: #e8590c;
  color: #111111;
}

.ba-ref-tool-toggle--active,
.ba-ref-tool-toggle--active:hover {
  border-color: #e8590c;
  background: #e8590c;
  color: #ffffff;
}

.ba-ref-learn-topbar .ba-ref-learn-page-avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #e8590c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(232, 89, 12, 0.18);
}

.ba-ref-learn-topbar .ba-ref-learn-page-avatar:hover {
  background: #d9480f;
  color: #ffffff;
}

.ba-ref-learn-scroll {
  min-height: 0;
  overflow-y: auto;
}

.ba-ref-learn-scroll > .ba-card:first-child {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000000;
  box-shadow: none;
}

.ba-ref-learn-scroll > .ba-card:first-child .ba-kicker,
.ba-ref-learn-scroll > .ba-card:first-child .ba-title-md {
  display: none;
}

.ba-ref-learn-scroll .ba-learning-media {
  width: 100%;
  max-height: 50vh;
  margin: 0;
  border-radius: 0;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ba-ref-learn-objective {
  padding: 18px 24px;
  border-bottom: 1px solid #ffe8d0;
  background: linear-gradient(90deg, #fff8f4 0%, #fffbf7 100%);
}

.ba-ref-learn-objective div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ba-ref-learn-objective span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #e8590c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.ba-ref-learn-objective h2 {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 800;
}

.ba-ref-learn-objective p {
  margin: 0;
  color: #444444;
  font-size: 14px;
  line-height: 1.75;
}

.ba-ref-learn-scroll > section.ba-card {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.ba-ref-learn-scroll .ba-section-head {
  margin-bottom: 16px !important;
}

.ba-ref-learn-scroll .ba-kicker {
  display: none;
}

.ba-ref-learn-scroll .ba-title-md {
  font-size: 14px;
}

.ba-ref-learn-scroll .ba-transcript-list {
  gap: 8px;
}

.ba-ref-learn-scroll .ba-transcript-item {
  padding: 12px 14px;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
}

.ba-ref-learn-scroll .ba-transcript-item:hover {
  border-color: transparent;
  background: #fafaf7;
  transform: none;
}

.ba-ref-learn-scroll .ba-transcript-meta {
  color: #1b4d7e;
  font-size: 11px;
}

.ba-ref-learn-scroll .ba-transcript-text {
  color: #333333;
  font-size: 14px;
  line-height: 1.85;
}

.ba-ref-learn-tools {
  grid-column: 3;
  grid-row: 2;
  overflow-y: auto;
  border-left: 1px solid #e5e5e0;
  background: #ffffff;
  padding: 0;
}

.ba-ref-learn-tools .ba-card,
.ba-ref-learn-tools .ba-learning-note-card {
  border-color: #e8e8e4;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.ba-ref-learn-tools .ba-card-pad-md {
  padding: 16px;
}

.ba-ref-learn-tools .ba-section-head {
  margin-bottom: 12px !important;
}

.ba-ref-learn-tools .ba-kicker {
  display: none;
}

.ba-ref-learn-tools .ba-title-md {
  font-size: 16px;
}

.ba-ref-learn-tools .ba-progress-pills {
  gap: 8px;
  margin-bottom: 10px;
}

.ba-ref-learn-tools .ba-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
}

.ba-ref-tool-panel {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ba-ref-tool-tabs {
  padding: 4px 8px;
  border-bottom: 1px solid #e8e8e4;
  background: #fafaf7;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ba-ref-tool-tab {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #666666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.ba-ref-tool-tab span {
  font-size: 12px;
  line-height: 1;
}

.ba-ref-tool-tab:hover {
  background: #f0f0eb;
  color: #111111;
}

.ba-ref-tool-tab--active,
.ba-ref-tool-tab--active:hover {
  background: #e8590c;
  color: #ffffff;
}

.ba-ref-tool-panel > .ba-card,
.ba-ref-tool-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ba-ref-tool-card {
  padding: 18px;
}

.ba-ref-tool-card h2 {
  margin: 0 0 10px;
  color: #111111;
  font-size: 16px;
}

.ba-ref-tool-card p,
.ba-ref-tool-card li {
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
}

.ba-ref-tool-card p {
  margin: 0 0 16px;
}

.ba-ref-ask-panel {
  min-height: 0;
  flex: 1 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ba-ref-ask-header {
  padding: 20px 28px;
  border-bottom: 1px solid #e5e5e0;
  background: #faf7f2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ba-ref-ask-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e8590c;
  color: #faf7f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.ba-ref-ask-header h2 {
  margin: 0 0 4px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.ba-ref-ask-header p {
  margin: 0;
  color: #888888;
  font-size: 12px;
}

.ba-ref-ask-scroll {
  min-height: 0;
  flex: 1 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.ba-ref-ask-empty {
  padding: 20px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  background: #fff4f0;
}

.ba-ref-ask-empty p {
  margin: 0 0 14px;
  color: #6b4423;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
}

.ba-ref-ask-empty span,
.ba-ref-ask-followups span {
  display: block;
  margin-bottom: 8px;
  color: #888888;
  font-size: 12px;
}

.ba-ref-ask-starters {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.ba-ref-ask-starters button {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #e5e5e0;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ba-ref-ask-starters button:hover {
  border-color: #e8590c;
  background: #ffffff;
}

.ba-ref-ask-messages {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ba-ref-ask-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 16px;
}

.ba-ref-ask-bubble--assistant {
  border: 1px solid #e5e5e0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
}

.ba-ref-ask-bubble-meta {
  margin-bottom: 6px;
  color: #888888;
  font-size: 11px;
  font-weight: 700;
}

.ba-ref-ask-bubble p {
  margin: 0;
  color: #111111;
  font-size: 14px;
  line-height: 1.7;
}

.ba-ref-ask-citations {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.ba-ref-ask-citations div {
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ba-ref-ask-citations blockquote {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid #e8590c;
  border-radius: 0 6px 6px 0;
  background: #f8f8f6;
  color: #444444;
  font-size: 12px;
  line-height: 1.7;
}

.ba-ref-ask-followups button {
  margin: 0 8px 8px 0;
  padding: 7px 10px;
  border: 1px solid #e5e5e0;
  border-radius: 999px;
  background: #ffffff;
  color: #555555;
  cursor: pointer;
  font-size: 12px;
}

.ba-ref-ask-loading {
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 14px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  background: #ffffff;
  color: #666666;
  font-size: 13px;
}

.ba-ref-ask-composer {
  padding: 16px 28px;
  border-top: 1px solid #e5e5e0;
  background: #faf7f2;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ba-ref-ask-composer input {
  min-width: 0;
  flex: 1 1;
  padding: 10px 14px;
  border: 1px solid #e5e5e0;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
}

.ba-ref-ask-composer input::placeholder {
  color: #999999;
}

.ba-ref-ask-composer input:focus {
  border-color: #e8590c;
  outline: none;
}

.ba-ref-ask-composer button {
  min-width: 58px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #e8590c;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.ba-ref-ask-composer button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ba-ref-tool-card ul {
  margin: 0;
  padding-left: 18px;
}

.ba-ref-discuss-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.ba-ref-discuss-list button {
  width: 100%;
  padding: 12px;
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  background: #fafaf7;
  color: #444444;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.ba-ref-discuss-list button:hover {
  border-color: #e8590c;
  background: #fff8f4;
}

.ba-progress-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ba-next-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ba-muted);
  line-height: 1.8;
}

.ba-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.ba-loading-card {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-surface-strong);
  border: 1px solid rgba(20, 27, 24, 0.08);
  box-shadow: var(--ba-shadow);
}

.ba-spinner {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid rgba(15, 95, 108, 0.14);
  border-top-color: var(--ba-teal);
  animation: ba-spin 0.8s linear infinite;
}

@keyframes ba-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .ba-hero-grid,
  .ba-detail-grid,
  .ba-detail-grid--editorial,
  .ba-learning-grid,
  .ba-login-grid,
  .ba-split-grid,
  .ba-my-hero {
    grid-template-columns: 1fr;
  }

  .ba-home-toolbar,
  .ba-feature-card {
    grid-template-columns: 1fr;
  }

  .ba-stat-grid {
    grid-template-columns: 1fr;
  }

  .ba-ref-learn-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    grid-template-columns: 1fr;
  }

  .ba-ref-learn-sidebar,
  .ba-ref-learn-tools {
    max-height: none;
    overflow: visible;
    border-left: 0;
    border-right: 0;
  }

  .ba-ref-learn-units {
    display: flex;
    overflow-x: auto;
    padding: 0 12px 12px;
  }

  .ba-ref-learn-nav-title {
    flex: 0 0 auto;
    align-self: center;
    padding: 10px 12px;
  }

  .ba-ref-learn-unit {
    min-width: 180px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 10px;
  }

  .ba-ref-learn-unit--active {
    border-bottom-color: #e8590c;
  }

  .ba-ref-learn-scroll {
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .ba-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ba-nav {
    justify-content: flex-start;
  }

  .ba-header-tools {
    justify-content: space-between;
  }

  .ba-search-pill {
    min-width: 0;
    flex: 1 1;
  }

  .ba-learning-card {
    align-items: stretch;
    flex-direction: column;
  }

  .ba-card-pad-lg,
  .ba-card-pad-md {
    padding: 24px;
  }

  .ba-main {
    padding-bottom: 48px;
  }

  .ba-home-hero {
    padding-top: 44px;
  }

  .ba-course-media-copy h3,
  .ba-course-owned-cover h3 {
    font-size: 28px;
  }
}

/* po-ju-academy reference skin: style-only overrides. */
.ba-header-shell {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e8e8e4;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ba-topbar {
  min-height: 60px;
  padding: 0;
}

.ba-brand {
  gap: 12px;
}

.ba-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 0;
  box-shadow: none;
}

.ba-brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.ba-brand-title,
.ba-brand-title--cn {
  color: #111;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.ba-header-tools {
  gap: 10px;
}

.ba-search-pill {
  width: min(260px, 32vw);
  min-width: 0;
  height: 36px;
  border-radius: 10px;
  background: #f0f0ec;
  color: #888;
  font-size: 14px;
}

.ba-icon-pill,
.ba-circle-entry {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.ba-icon-pill {
  background: #f0f0ec;
  color: #666;
}

.ba-circle-entry {
  background: #e8590c;
  color: #fff;
}

.ba-main {
  padding: 0 0 72px;
}

.ba-shell {
  width: min(1200px, calc(100% - 80px));
}

.ba-stack-lg {
  gap: 48px;
}

.ba-home-hero {
  margin-inline: calc((100vw - min(1200px, calc(100vw - 80px))) / -2);
  padding: 72px calc((100vw - min(1200px, calc(100vw - 80px))) / 2) 56px;
  border-bottom: 0;
  background: linear-gradient(160deg, #0c0c0c 0%, #1a1f2e 60%, #1e2a3a 100%);
}

.ba-home-hero .ba-kicker {
  color: #e8590c;
}

.ba-home-hero-title {
  max-width: 520px;
  color: #fff;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.ba-home-hero-lead {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 17px;
  line-height: 1.8;
}

.ba-kicker {
  color: #e8590c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.ba-home-toolbar {
  padding: 0;
  align-items: flex-start;
}

.ba-home-toolbar-stats {
  color: #999;
  font-size: 13px;
}

.ba-title-xl,
.ba-title-lg,
.ba-title-md {
  color: #111;
  font-weight: 800;
  letter-spacing: 0;
}

.ba-title-lg {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.ba-title-md {
  font-size: 22px;
  line-height: 1.25;
}

.ba-copy,
.ba-section-copy p,
.ba-note {
  color: #888;
}

.ba-button {
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ba-button:hover {
  transform: translateY(-1px);
}

.ba-button--primary,
.ba-button--accent {
  background: #e8590c;
  color: #fff;
  box-shadow: none;
}

.ba-button--primary:hover,
.ba-button--accent:hover {
  background: #d14e0b;
}

.ba-button--ghost {
  background: transparent;
  border: 1px solid #c4b8a3;
  color: #111;
}

.ba-chip {
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #f5f5f3;
  color: #777;
  font-size: 11px;
  font-weight: 600;
}

.ba-chip--surface {
  background: #fff4f0;
  color: #e8590c;
  border: 0;
}

.ba-home-featured {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.ba-feature-card {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px 36px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8590c, #c74308);
  box-shadow: 0 12px 40px rgba(232, 89, 12, 0.32);
  color: #fff;
  overflow: hidden;
}

.ba-feature-card::before,
.ba-feature-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ba-feature-card::before {
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
}

.ba-feature-card::after {
  right: 100px;
  bottom: -60px;
  width: 160px;
  height: 160px;
}

.ba-feature-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

.ba-feature-card .ba-title-lg,
.ba-feature-card .ba-copy,
.ba-feature-card .ba-note {
  color: #fff;
}

.ba-feature-card .ba-copy,
.ba-feature-card .ba-note {
  opacity: 0.72;
}

.ba-feature-card .ba-chip {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ba-feature-card .ba-button {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.ba-home-rail {
  padding: 0;
  border-top: 0;
}

.ba-category-section {
  gap: 20px;
  padding-top: 0;
  border-top: 0;
}

.ba-category-section:nth-child(even) {
  padding: 28px 24px;
  border-radius: 20px;
  background: #efeee9;
}

.ba-section-head {
  align-items: baseline;
}

.ba-course-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.ba-course-card,
.ba-card,
.ba-card--dense,
.ba-card--plain,
.ba-card--compact,
.ba-empty-card,
.ba-inline-card,
.ba-course-owned-card,
.ba-learning-note-card,
.ba-transcript-item,
.ba-stat-card {
  border: 1px solid #e5e5e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.ba-course-card {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ba-course-card:hover {
  border-color: #ccc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ba-course-card > a {
  display: flex !important;
  height: 100%;
}

.ba-course-media {
  min-height: auto;
  width: 5px;
  flex: 0 0 5px;
  padding: 0;
  background: #e8590c;
}

.ba-course-media-copy {
  display: none;
}

.ba-course-body {
  flex: 1 1;
  min-width: 0;
  padding: 20px;
  gap: 10px;
}

.ba-course-body .ba-title-md {
  font-size: 17px;
  line-height: 1.4;
}

.ba-course-body .ba-copy {
  font-size: 13px;
  line-height: 1.65;
}

.ba-price {
  color: #e8590c;
  font-size: 12px;
  font-weight: 600;
}

.ba-link-arrow {
  color: #e8590c;
  font-size: 13px;
  font-weight: 600;
}

.ba-detail-cover-panel,
.ba-course-owned-cover {
  background: linear-gradient(145deg, rgba(232, 89, 12, 0.1), rgba(232, 89, 12, 0.04));
  border: 2px solid rgba(232, 89, 12, 0.15);
  border-radius: 16px;
}

.ba-alert {
  border-radius: 8px;
  background: #fdf6e8;
  border-color: #d4a574;
  color: #6b4423;
}

.ba-input {
  min-height: 46px;
  border-radius: 8px;
  border-color: #ebebeb;
  background: #fff;
}

.ba-input:focus {
  outline: none;
  border-color: #e8590c;
}

@media (max-width: 960px) {
  .ba-shell {
    width: min(100% - 32px, 1200px);
  }

  .ba-home-hero {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .ba-feature-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ba-topbar {
    min-height: auto;
    padding: 12px 0;
  }

  .ba-search-pill {
    width: auto;
  }

  .ba-home-hero {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .ba-home-hero-title {
    font-size: 40px;
  }

  .ba-home-toolbar {
    flex-direction: column;
  }

  .ba-feature-card {
    padding: 24px;
  }

  .ba-course-grid {
    grid-template-columns: 1fr;
  }
}

.ba-ref-page {
  min-height: 100vh;
  background: #f7f7f5;
  color: #111111;
}

.ba-ref-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e8e8e4;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.ba-ref-topbar {
  width: min(1200px, 100%);
  height: 60px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ba-ref-brand-title {
  font-size: 17px;
  font-weight: 800;
  color: #111111;
}

.ba-ref-search {
  width: 260px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  background: #f0f0ec;
  color: #777777;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}

.ba-ref-icon-button,
.ba-ref-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
}

.ba-ref-icon-button {
  background: #f0f0ec;
  color: #666666;
}

.ba-ref-avatar {
  background: #e8590c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.ba-ref-hero {
  background: linear-gradient(160deg, #0c0c0c 0%, #1a1f2e 60%, #1e2a3a 100%);
}

.ba-ref-hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 72px 40px 56px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.ba-ref-hero-copy {
  flex: 1 1;
  min-width: 0;
}

.ba-ref-hero-copy p {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #e8590c;
}

.ba-ref-hero-copy h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.ba-ref-hero-copy div {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 17px;
  line-height: 1.8;
}

.ba-ref-ai-panel {
  width: 380px;
  flex-shrink: 0;
}

.ba-ref-ai-bubble {
  position: relative;
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.ba-ref-ai-bubble::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.ba-ref-ai-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.ba-ref-ai-entry {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ba-ref-ai-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #e8590c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(232, 89, 12, 0.4);
}

.ba-ref-ai-entry strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

.ba-ref-ai-entry span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.ba-ref-continue-shell,
.ba-ref-section,
.ba-ref-footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.ba-ref-continue-shell {
  padding-top: 0;
}

.ba-ref-continue {
  position: relative;
  z-index: 5;
  margin-top: -28px;
  padding: 28px 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8590c, #c74308);
  box-shadow: 0 12px 40px rgba(232, 89, 12, 0.35);
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 24px;
  gap: 24px;
  overflow: hidden;
  text-decoration: none;
}

.ba-ref-continue::before,
.ba-ref-continue::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.ba-ref-continue::before {
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
}

.ba-ref-continue::after {
  bottom: -60px;
  right: 100px;
  width: 160px;
  height: 160px;
}

.ba-ref-play {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ba-ref-continue span,
.ba-ref-continue p,
.ba-ref-continue h2,
.ba-ref-continue em,
.ba-ref-continue strong,
.ba-ref-play {
  position: relative;
  z-index: 1;
}

.ba-ref-continue span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
}

.ba-ref-continue h2 {
  margin: 6px 0 4px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
}

.ba-ref-continue p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.ba-ref-continue > strong {
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 16px;
  white-space: nowrap;
}

.ba-ref-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ba-ref-progress i {
  width: min(300px, 100%);
  height: 8px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #ffffff 0 33%, transparent 33%),
    rgba(255, 255, 255, 0.15);
}

.ba-ref-progress em {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.ba-ref-section {
  padding-top: 48px;
}

.ba-ref-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ba-ref-section-heading h2 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 22px;
  font-weight: 800;
}

.ba-ref-section-heading p {
  margin: 0;
  color: #999999;
  font-size: 14px;
}

.ba-ref-section-heading a {
  color: #e8590c;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ba-ref-section-heading--stack {
  display: block;
  margin-bottom: 32px;
}

.ba-ref-section-heading--stack h2 {
  font-size: 24px;
}

.ba-ref-recent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.ba-ref-recent-feature {
  min-height: 280px;
  grid-row: 1 / 3;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8590c, rgba(232, 89, 12, 0.8));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.ba-ref-recent-feature > span {
  position: absolute;
  top: 16px;
  left: 20px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 600;
}

.ba-ref-recent-feature small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.ba-ref-recent-feature h3 {
  margin: 8px 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.3;
}

.ba-ref-recent-feature p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.ba-ref-recent-feature em,
.ba-ref-recent-card em {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-style: normal;
}

.ba-ref-recent-card {
  min-height: 130px;
  padding: 20px;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ba-ref-recent-card--tall {
  padding: 24px;
  border-radius: 14px;
}

.ba-ref-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ba-ref-card-row span,
.ba-ref-recent-card > span {
  color: #e8590c;
  font-size: 12px;
  font-weight: 600;
}

.ba-ref-card-row small {
  color: #cccccc;
  font-size: 12px;
}

.ba-ref-recent-card h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 17px;
  line-height: 1.4;
}

.ba-ref-recent-card--tall h3 {
  font-size: 20px;
  line-height: 1.35;
}

.ba-ref-recent-card p {
  margin: 0;
  color: #888888;
  font-size: 13px;
  line-height: 1.5;
}

.ba-ref-recent-card--tall p {
  font-size: 14px;
}

.ba-ref-recent-card em {
  margin-top: 12px;
  color: #bbbbbb;
  font-size: 12px;
}

.ba-ref-recent-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.ba-ref-topics {
  padding-top: 56px;
}

.ba-ref-topic {
  margin-bottom: 48px;
}

.ba-ref-topic--alt {
  padding: 28px 24px;
  border-radius: 20px;
  background: #efeee9;
}

.ba-ref-topic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ba-ref-topic-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ba-ref-topic-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ba-ref-topic h2 {
  margin: 0;
  color: #111111;
  font-size: 20px;
  font-weight: 800;
}

.ba-ref-topic-title p {
  margin: 2px 0 0;
  color: #999999;
  font-size: 13px;
}

.ba-ref-topic-head > a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ba-ref-topic-desc {
  max-width: 650px;
  margin: 0 0 20px 56px;
  color: #888888;
  font-size: 14px;
  line-height: 1.7;
}

.ba-ref-topic-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.ba-ref-topic-feature {
  min-height: 240px;
  grid-row: 1 / 3;
  padding: 28px;
  border: 2px solid;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ba-ref-topic-feature h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 22px;
  line-height: 1.35;
}

.ba-ref-topic-feature p {
  margin: 0 0 12px;
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
}

.ba-ref-topic-feature div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #999999;
  font-size: 13px;
}

.ba-ref-topic-feature a,
.ba-ref-topic-feature div span:last-child {
  color: #e8590c;
  font-weight: 600;
  text-decoration: none;
}

.ba-ref-course-card {
  border: 1px solid #e5e5e0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ba-ref-course-card:not(.ba-ref-course-card--disabled):hover {
  border-color: #cccccc;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.ba-ref-course-card--disabled {
  cursor: default;
}

.ba-ref-course-card-inner {
  min-height: 100%;
  display: flex;
}

.ba-ref-course-strip {
  width: 4px;
  flex-shrink: 0;
}

.ba-ref-course-body {
  flex: 1 1;
  min-width: 0;
  padding: 20px;
}

.ba-ref-course-tags {
  min-height: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ba-ref-status,
.ba-ref-category {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.ba-ref-status {
  background: #f5f5f3;
  color: #777777;
}

.ba-ref-status--live {
  background: #fff4f0;
  color: #e8590c;
}

.ba-ref-category {
  color: #777777;
}

.ba-ref-course-body h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.ba-ref-course-card:not(.ba-ref-course-card--disabled):hover h3 {
  color: #e8590c;
}

.ba-ref-course-body p {
  margin: 0 0 14px;
  color: #999999;
  font-size: 13px;
  line-height: 1.5;
}

.ba-ref-course-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999999;
  font-size: 11px;
}

.ba-ref-dot {
  color: #dddddd;
}

.ba-ref-enter {
  margin-left: auto;
  color: #e8590c;
  font-weight: 600;
}

.ba-ref-footer {
  margin-top: 8px;
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e8e8e4;
}

.ba-ref-footer div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ba-ref-footer span {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.ba-ref-footer p,
.ba-ref-footer em {
  margin: 0;
  color: #bbbbbb;
  font-size: 12px;
}

.ba-ref-footer em {
  color: #dddddd;
}

@media (max-width: 900px) {
  .ba-ref-topbar,
  .ba-ref-hero-inner,
  .ba-ref-continue-shell,
  .ba-ref-section,
  .ba-ref-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ba-ref-search {
    display: none;
  }

  .ba-ref-hero-inner {
    display: block;
    padding-top: 48px;
  }

  .ba-ref-ai-panel {
    width: 100%;
    margin-top: 32px;
  }

  .ba-ref-continue {
    grid-template-columns: auto 1fr;
  }

  .ba-ref-continue > strong {
    grid-column: 1 / -1;
    text-align: center;
  }

  .ba-ref-recent-grid,
  .ba-ref-recent-list,
  .ba-ref-topic-grid {
    grid-template-columns: 1fr;
  }

  .ba-ref-recent-feature,
  .ba-ref-topic-feature {
    grid-row: auto;
  }

  .ba-ref-topic-desc {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .ba-ref-topbar {
    height: 56px;
  }

  .ba-ref-hero-copy h1 {
    font-size: 34px;
  }

  .ba-ref-continue {
    padding: 22px;
  }

  .ba-ref-play {
    width: 52px;
    height: 52px;
  }

  .ba-ref-section-heading,
  .ba-ref-topic-head,
  .ba-ref-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.ba-ref-detail-page,
.ba-ref-category-page,
.ba-ref-profile-page {
  min-height: calc(100vh - 60px);
  background: #f8f8f6;
}

.ba-ref-detail-page {
  min-height: 100vh;
}

.ba-ref-detail-header,
.ba-ref-category-header {
  border-bottom: 1px solid #ebebeb;
  background: #ffffff;
}

.ba-ref-detail-shell,
.ba-ref-category-shell,
.ba-ref-profile-shell {
  width: min(900px, 100%);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.ba-ref-detail-shell {
  width: min(896px, 100%);
  padding-left: 32px;
  padding-right: 32px;
}

.ba-ref-detail-header .ba-ref-detail-shell,
.ba-ref-category-header .ba-ref-category-shell {
  padding-top: 40px;
  padding-bottom: 36px;
}

.ba-ref-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  color: #999999;
  font-size: 12px;
  text-decoration: none;
}

.ba-ref-back:hover {
  color: #111111;
}

.ba-ref-detail-eyebrow {
  margin-bottom: 12px;
  color: #999999;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-ref-detail-header h1,
.ba-ref-category-header h1,
.ba-ref-profile-header h1 {
  margin: 0;
  color: #111111;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.ba-ref-detail-header p {
  margin: 10px 0 0;
  color: #666666;
  font-size: 18px;
}

.ba-ref-detail-meta {
  margin: 24px 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #999999;
  font-size: 14px;
}

.ba-ref-primary-action,
.ba-ref-disabled-action {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ba-ref-primary-action {
  background: #e8590c;
  color: #ffffff;
}

.ba-ref-primary-action:hover {
  background: #d14e0b;
}

.ba-ref-disabled-action {
  background: #f5f5f3;
  color: #999999;
}

.ba-ref-detail-content {
  padding-top: 40px;
  padding-bottom: 64px;
}

.ba-ref-detail-content section {
  margin-bottom: 40px;
}

.ba-ref-detail-content h2 {
  margin: 0 0 16px;
  color: #111111;
  font-size: 20px;
  font-weight: 800;
}

.ba-ref-detail-content section > p {
  margin: 0;
  color: #444444;
  font-size: 15px;
  line-height: 1.9;
}

.ba-ref-highlight-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.ba-ref-highlight-list article {
  padding: 16px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

.ba-ref-highlight-list span {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f5f5f3;
  color: #e8590c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.ba-ref-highlight-list p,
.ba-ref-highlight-list p {
  margin: 0;
  color: #444444;
  font-size: 14px;
  line-height: 1.7;
}

.ba-ref-detail-final {
  padding-top: 32px;
  border-top: 1px solid #ebebeb;
  text-align: center;
}

.ba-ref-detail-final p {
  color: #999999;
  font-size: 14px;
}

.ba-ref-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ba-ref-category-title > div:first-child {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ba-ref-category-title span {
  display: block;
  margin-top: 2px;
  color: #999999;
  font-size: 13px;
}

.ba-ref-category-header p {
  max-width: 620px;
  margin: 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.7;
}

.ba-ref-category-list {
  padding-top: 32px;
  padding-bottom: 64px;
}

.ba-ref-category-card {
  border: 1px solid #e8e8e4;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.ba-ref-category-course + .ba-ref-category-course {
  border-top: 1px solid #f0f0ec;
}

.ba-ref-category-course-head {
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ba-ref-category-course-head h2 {
  margin: 0;
  color: #111111;
  font-size: 17px;
  font-weight: 800;
}

.ba-ref-category-course-head p {
  margin: 4px 0 0;
  color: #888888;
  font-size: 13px;
}

.ba-ref-category-course-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ba-ref-category-course-head span {
  padding: 2px 8px;
  border-radius: 6px;
  background: #e8590c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.ba-ref-category-course-head em {
  color: #cccccc;
  font-size: 13px;
  font-style: normal;
}

.ba-ref-category-units {
  border-top: 1px solid #f0f0ec;
  background: #fafaf7;
}

.ba-ref-category-unit {
  padding: 12px 24px 12px 48px;
  border-bottom: 1px solid #f0f0ec;
  display: block;
  text-decoration: none;
}

.ba-ref-category-unit:last-child {
  border-bottom: 0;
}

.ba-ref-category-unit--active:hover {
  background: #f0efec;
}

.ba-ref-category-unit span {
  display: block;
  color: #555555;
  font-size: 14px;
}

.ba-ref-category-unit em {
  display: block;
  margin-top: 2px;
  color: #cccccc;
  font-size: 11px;
  font-style: normal;
}

.ba-ref-category-grid-section {
  margin-top: 36px;
}

.ba-ref-category-grid-section h2 {
  margin: 0 0 16px;
  color: #111111;
  font-size: 20px;
}

.ba-ref-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.ba-ref-profile-page {
  padding: 40px 0 64px;
}

.ba-ref-profile-shell {
  width: min(880px, 100%);
}

.ba-ref-profile-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ba-ref-profile-header p {
  margin: 0 0 6px;
  color: #e8590c;
  font-size: 13px;
  font-weight: 700;
}

.ba-ref-profile-header span {
  display: block;
  margin-top: 8px;
  color: #888888;
  font-size: 14px;
}

.ba-ref-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #e8590c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(232, 89, 12, 0.28);
}

.ba-ref-profile-info {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 28px;
}

.ba-ref-profile-info article,
.ba-ref-profile-section,
.ba-ref-profile-empty {
  border: 1px solid #e8e8e4;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
}

.ba-ref-profile-info h2,
.ba-ref-profile-section h2 {
  margin: 0 0 16px;
  color: #111111;
  font-size: 18px;
  font-weight: 800;
}

.ba-ref-profile-info article > div:not(.ba-ref-profile-stats) {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0ec;
}

.ba-ref-profile-info span {
  color: #666666;
  font-size: 14px;
}

.ba-ref-profile-info strong {
  color: #111111;
  font-size: 14px;
}

.ba-ref-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.ba-ref-profile-stats div {
  padding: 18px 12px;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  text-align: center;
}

.ba-ref-profile-stats span,
.ba-ref-profile-stats strong,
.ba-ref-profile-stats em {
  display: block;
}

.ba-ref-profile-stats strong {
  margin-top: 6px;
  color: #e8590c;
  font-size: 26px;
}

.ba-ref-profile-stats em {
  margin-top: 4px;
  color: #999999;
  font-size: 11px;
  font-style: normal;
}

.ba-ref-profile-section {
  margin-bottom: 24px;
}

.ba-ref-profile-course {
  padding: 18px 20px;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  background: #ffffff;
  display: block;
  text-decoration: none;
}

.ba-ref-profile-course + .ba-ref-profile-course {
  margin-top: 10px;
}

.ba-ref-profile-course > div:first-child {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ba-ref-profile-course strong {
  color: #111111;
  font-size: 15px;
}

.ba-ref-profile-course span,
.ba-ref-profile-progress em {
  color: #999999;
  font-size: 12px;
}

.ba-ref-profile-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ba-ref-profile-progress i {
  flex: 1 1;
  height: 6px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, #e8590c 0 33%, transparent 33%),
    #e8e8e4;
}

.ba-ref-profile-progress em {
  flex-shrink: 0;
  font-style: normal;
}

.ba-ref-profile-muted {
  padding: 24px;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  background: #ffffff;
  color: #cccccc;
  text-align: center;
  font-size: 13px;
}

.ba-ref-profile-empty {
  max-width: 640px;
  margin: 0 auto;
}

.ba-ref-profile-empty h1 {
  margin: 0 0 10px;
  color: #111111;
  font-size: 32px;
}

.ba-ref-profile-empty p {
  margin: 0 0 24px;
  color: #666666;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .ba-ref-detail-shell,
  .ba-ref-category-shell,
  .ba-ref-profile-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ba-ref-detail-header h1,
  .ba-ref-category-header h1,
  .ba-ref-profile-header h1 {
    font-size: 28px;
  }

  .ba-ref-category-grid,
  .ba-ref-profile-info,
  .ba-ref-profile-stats {
    grid-template-columns: 1fr;
  }

  .ba-ref-category-course-head,
  .ba-ref-profile-header,
  .ba-ref-profile-course > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .ba-ref-category-unit {
    padding-left: 24px;
  }
}

