/* Keep the real lesson model and all completion controls; group context so reading starts sooner. */
html[data-theme='bridge'] #app[data-view='learn'] .b-breadcrumb {
  margin-bottom: 8px;
  min-height: 24px;
  font-size: 0.8125rem;
  color: #4c6173;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-experience-hero.compact {
  padding: 8px 0 14px;
  margin: 0 0 10px;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  border-bottom: 1px solid #d1dce4;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-experience-hero h1 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
  color: #172f43;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-experience-hero p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #455d72;
  margin: 0;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-learning-hierarchy {
  padding: 8px 0;
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  box-shadow: none;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-learning-hierarchy :is(p, summary) {
  font-size: 0.875rem;
  color: #435e74;
}
html[data-theme='bridge'] #app[data-view='learn'] .lesson-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 24px;
  padding: 12px 16px;
  margin: 0 0 18px;
  background: #f8fafb;
  border-color: #c5d2de;
}
html[data-theme='bridge'] #app[data-view='learn'] .lesson-context-header {
  min-height: 24px;
}
html[data-theme='bridge'] #app[data-view='learn'] .lesson-context p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #455d72;
  margin: 0;
}
html[data-theme='bridge'] #app[data-view='learn'] .lesson-completion {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0;
}
html[data-theme='bridge'] #app[data-view='learn'] .completion-requirements {
  grid-column: 1/-1;
  font-size: 0.8125rem;
  color: #3e5870;
}
html[data-theme='bridge'] #app[data-view='learn'] .completion-requirements > summary {
  min-height: 26px;
  line-height: 1.7;
  cursor: pointer;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-chapter-introduction {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 0 12px;
  margin: 0 0 16px;
  border: 0;
  border-bottom: 1px solid #d1dce4;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-chapter-introduction h2 {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #253f55;
}
html[data-theme='bridge'] #app[data-view='learn'] .b-chapter-introduction p {
  font-size: 0.8125rem;
  color: #53697b;
}
html[data-theme='bridge'] #app[data-view='learn'] .lesson-tabs {
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  html[data-theme='bridge'] #app[data-view='learn'] .lesson-context {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px 14px;
  }
  html[data-theme='bridge'] #app[data-view='learn'] .lesson-completion {
    justify-content: flex-start;
    max-width: none;
  }
  html[data-theme='bridge'] #app[data-view='learn'] .b-experience-hero.compact {
    gap: 14px;
  }
  html[data-theme='bridge'] #app[data-view='learn'] .b-learning-hierarchy {
    padding-block: 5px;
  }
  html[data-theme='bridge'] #app[data-view='learn'] .b-chapter-introduction {
    gap: 6px 14px;
  }
}
@media (pointer: coarse) {
  html[data-theme='bridge'] #app[data-view='learn'] .completion-requirements > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
