/* Shared B shell and the approved blue-arch mark. Navigation and authorization
   stay independent of the logo's responsive display size. */
.workspace-header {
  position: sticky;
  top: 0;
  min-height: 74px;
  padding: 12px 24px;
  gap: 20px;
}
.workspace-header .brand {
  font-size: 1.15rem;
}
.workspace-header .brand img {
  width: 32px;
  height: 32px;
}
.workspace-header .header-tag {
  display: none;
}
.d-global-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(320px, 26vw);
  border: 1px solid var(--b-border);
  border-radius: 9px;
  background: white;
  padding: 0 12px;
}
.d-global-search input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  height: 38px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  color: var(--b-dark);
}
.d-global-search:focus-within {
  border-color: var(--b-primary);
  box-shadow: 0 0 0 3px var(--b-primary-light);
}
.d-global-search .icon {
  width: 16px;
  height: 16px;
  margin: 0;
}
.workspace-header .top-actions {
  margin-left: 0;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.d-app-frame {
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: start;
}
.d-app-frame > .legacy-sidebar {
  position: sticky;
  top: 74px;
  height: calc(100dvh - 74px);
  min-height: 0;
  padding: 24px 12px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: white;
}
.d-app-frame .rail-title {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--b-text-sub);
  font-weight: 500;
  padding: 4px 14px 20px;
}
.d-app-frame .legacy-sidebar nav {
  gap: 9px;
}
.d-app-frame .legacy-sidebar nav a {
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
}
.d-app-frame .legacy-sidebar.light nav a.active {
  color: #007e96;
  background: linear-gradient(100deg, #def4fb, #effaff);
  box-shadow: inset 3px 0 #079bb2;
  font-weight: 650;
}
.d-app-frame .sidebar-bottom {
  padding: 24px 0 0;
}
.d-app-frame .sidebar-account {
  margin: 18px -12px 0;
  min-height: 125px;
  padding: 20px 24px;
  background: #f8fcff;
}
.d-app-frame .sidebar-account a {
  padding: 7px 10px;
}
.d-app-frame .sidebar-user-info > .icon {
  width: 25px;
  height: 25px;
}
.d-app-frame .workspace-main {
  max-width: 1440px;
  padding: 24px 30px 48px;
}
.d-discovery-frame .workspace-main {
  max-width: 1380px;
}
.d-discovery-frame .b-catalog-container {
  max-width: none;
  padding: 0;
}
.d-rail-backdrop {
  display: none;
}
.d-search-trigger {
  display: none;
}
.d-home,
.d-course-overview {
  color: var(--b-dark);
}
.d-home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--b-text-muted);
  font-size: 12px;
}
.d-home-heading > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.d-home-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 292px;
  padding: 42px 38px;
  border-radius: 16px;
  background: #def3fc url('/assets/bridge.png') center 55% / cover no-repeat;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.d-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e8f7ffed 0%, #edf9ffba 47%, #e6f7fe1a 79%);
  z-index: -1;
}
.d-home-hero h1 {
  font-size: clamp(26px, 2.7vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 10px 0 12px;
  font-weight: 760;
}
.d-home-hero > div > p:not(.d-kicker) {
  font-size: 16px;
  color: #486986;
  margin: 0 0 26px;
}
.d-kicker {
  font-size: 11px;
  color: #287e98;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0;
}
.d-home-hero .primary {
  border-radius: 28px;
  padding: 12px 23px;
}
.d-hero-note {
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1.9;
  color: #4a7899;
  align-self: flex-start;
  padding-top: 5px;
}
.d-discovery-section {
  margin: 30px 0;
}
.d-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.d-section-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}
.d-discovery-section .d-section-head h2 {
  position: relative;
  padding-left: 15px;
  font-size: 22px;
}
.d-discovery-section .d-section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 4px;
  border-radius: 3px;
  background: var(--b-primary);
}
.d-section-head p {
  margin: 5px 0 0;
  color: var(--b-text-muted);
  font-size: 13px;
}
.d-section-head > a {
  font-size: 12px;
  white-space: nowrap;
}
.d-course-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 23px;
  padding: 16px;
  background: white;
  border: 1px solid var(--b-border);
  border-radius: 13px;
  margin-bottom: 14px;
  box-shadow: 0 2px 9px #19467403;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.d-course-card:hover {
  box-shadow: 0 6px 22px #2953730d;
  border-color: #badde9;
}
.d-course-art {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 142px;
  border-radius: 9px;
  overflow: hidden;
  background: #e7f4fc;
}
.d-course-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d-course-art span {
  position: absolute;
  left: 9px;
  top: 9px;
  font-size: 10px;
  background: #145e78d9;
  color: white;
  border-radius: 5px;
  padding: 3px 8px;
}
.d-course-kicker {
  color: var(--b-primary);
  font-size: 11px;
  margin-bottom: 5px;
}
.d-course-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.d-course-title h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.d-course-title a {
  color: var(--b-dark);
}
.d-code {
  color: #167a97;
  background: #e9f7fc;
  border: 1px solid #cde7f4;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
}
.d-course-summary {
  font-size: 13px;
  line-height: 1.8;
  color: var(--b-text-muted);
  margin: 8px 0 11px;
  overflow-wrap: anywhere;
}
.d-course-facts {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 12px;
  margin: 13px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf3f8;
}
.d-course-facts > div {
  min-width: 0;
}
.d-course-facts dt {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--b-text-muted);
  font-size: 10px;
  margin-bottom: 4px;
}
.d-course-facts .icon {
  width: 13px;
  height: 13px;
  margin: 0;
}
.d-course-facts dd {
  margin: 0;
  font-size: 11px;
  color: #365570;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.d-course-action .primary,
.d-course-action .secondary {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 24px;
}
.d-featured-course {
  grid-template-columns: 245px minmax(0, 1fr) auto;
  padding: 14px;
}
.d-featured-course .d-course-art {
  min-height: 162px;
}
.d-featured-course .d-course-title h2 {
  font-size: 22px;
}
.d-featured-course .d-code {
  font-weight: 650;
}
.d-home-tags,
.d-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.d-home-tags {
  margin: 0 0 16px;
}
.d-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 15px;
  min-height: 34px;
  border: 1px solid var(--b-border);
  background: white;
  color: #54758f;
  border-radius: 24px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.d-chip .icon {
  width: 14px;
  height: 14px;
  margin: 0;
}
.d-chip.active {
  background: var(--b-primary);
  color: white;
  border-color: var(--b-primary);
}
.d-chip:hover {
  border-color: var(--b-primary);
  text-decoration: none;
}
.d-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.d-tags span {
  background: #e9f6fc;
  color: #35738c;
  border: 1px solid #d9edf5;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
}
.d-section-note {
  color: var(--b-text-muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 15px 2px 0;
}
.d-home-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--b-border);
  margin-top: 40px;
  padding: 26px 0 0;
}
.d-home-path > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 6px 8px;
}
.d-home-path strong {
  font-size: 12px;
}
.d-home-path span {
  grid-column: 2;
  color: var(--b-text-muted);
  font-size: 10px;
  line-height: 1.8;
}
.d-home-path > a {
  font-size: 11px;
}
.d-directory-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(105deg, #edf8fe, #dff3fc);
  border: 1px solid #d9edf7;
  border-radius: 14px;
  min-height: 175px;
  padding: 27px 30px;
  overflow: hidden;
}
.d-directory-banner h1 {
  font-size: 27px;
  margin: 8px 0;
  letter-spacing: -0.02em;
}
.d-directory-banner p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--b-text-muted);
  margin: 0;
}
.d-directory-banner > img {
  width: 180px;
  height: 125px;
  object-fit: cover;
  border-radius: 10px;
}
.d-filter-search {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.d-discovery-filters {
  gap: 0;
}
.d-discovery-filters .d-filter-line {
  margin: 8px 0;
}
.d-discovery-filters .d-filter-search {
  margin-bottom: 8px;
}
.d-filter-search .b-search-box {
  flex: 1;
  max-width: none;
}
.d-filter-search .b-search-box > .icon {
  margin-left: 12px;
  flex-shrink: 0;
}
.d-filter-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 14px 0;
}
.d-filter-line > span {
  color: var(--b-text-muted);
  font-size: 12px;
  min-width: 68px;
  padding-top: 9px;
}
.d-filter-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--b-border-subtle);
  padding-top: 17px;
}
.d-filter-selects label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--b-text-muted);
  font-size: 12px;
}
.d-discovery-filters select,
.d-discovery-result select,
.d-directory-paging select {
  height: 37px;
  max-width: 250px;
  border: 1px solid #d0e1ed;
  border-radius: 7px;
  background: white;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  color: var(--b-dark);
}
.d-filter-help {
  font-size: 11px;
  line-height: 1.7;
  color: var(--b-text-muted);
  margin: 14px 0 0;
}
#scene-taxonomy-error:empty {
  display: none;
}
#scene-taxonomy-error {
  font-size: 12px;
  color: #9a5420;
}
.d-discovery-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 3px 0;
}
.d-discovery-result > div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.d-discovery-result strong {
  font-size: 12px;
}
.d-discovery-result > label,
.d-directory-paging > label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--b-text-muted);
  flex-shrink: 0;
}
.d-discovery-result .d-chip {
  font-size: 11px;
  padding: 4px 11px;
}
.d-directory-paging {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.d-directory-paging > div {
  flex: 1;
  min-width: 0;
}
.d-directory-paging .pagination {
  margin: 0;
  padding: 8px 0;
}
.d-course-hero {
  background: linear-gradient(110deg, #f1faff, #e4f4ff);
  border: 1px solid #deedf7;
  padding: 30px;
  border-radius: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 30px;
  align-items: center;
  margin-top: 18px;
}
.d-course-hero h1 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.5;
  margin: 18px 0 10px;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.d-course-lead {
  color: #55728c;
  line-height: 1.9;
  font-size: 14px;
  white-space: pre-line;
}
.d-course-hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  object-fit: cover;
}
.d-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 14px;
}
.d-hero-actions .quiet {
  font-size: 12px;
}
.d-hero-facts {
  color: var(--b-text-muted);
  font-size: 11px;
  margin: 0;
}
.d-enrollment-status p {
  color: var(--b-text-muted);
  font-size: 11px;
  margin: 6px 0;
}
.d-local-nav {
  display: flex;
  gap: 12px;
  align-items: stretch;
  position: sticky;
  top: 74px;
  z-index: 2;
  background: #f4f9fdf5;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d6e5ef;
  margin: 12px 0 22px;
  padding: 0 4px;
}
.d-local-nav button {
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  color: var(--b-text-muted);
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 18px 15px 13px;
  cursor: pointer;
}
.d-local-nav button.active {
  color: #008799;
  border-color: #079bb2;
}
.d-local-nav button:hover {
  color: var(--b-primary);
  background: #e6f5fb;
}
.d-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 20px;
}
.d-overview-main,
.d-overview-aside {
  min-width: 0;
}
.d-overview-panel {
  padding: 24px;
  margin: 0 0 20px;
  border-color: var(--b-border);
  border-radius: 13px;
  scroll-margin-top: 150px;
}
.d-overview-panel h2 {
  margin: 0 0 18px;
  font-size: 19px;
}
.d-overview-panel .d-section-head h2 {
  margin: 0;
}
.d-overview-panel h3 {
  font-size: 14px;
  margin: 20px 0 10px;
  line-height: 1.7;
}
.d-overview-panel p {
  font-size: 13px;
  color: #557089;
  line-height: 1.9;
}
.d-intro-text,
.d-authored-text {
  white-space: pre-wrap;
  font-size: 13px;
  color: #425e78;
  line-height: 2;
  overflow-wrap: anywhere;
}
.d-authored-section {
  margin-top: 22px;
  padding-top: 3px;
}
.d-authored-section + .d-authored-section {
  border-top: 1px solid #edf3f8;
}
.d-muted {
  color: var(--b-text-muted);
  font-size: 12px;
}
.d-chapter {
  background: white;
  border: 1px solid #dfebf4;
  border-radius: 9px;
  margin: 12px 0;
}
.d-chapter > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  cursor: pointer;
  list-style: none;
}
.d-chapter > summary::-webkit-details-marker {
  display: none;
}
.d-chapter > summary > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.d-chapter > summary strong {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.d-chapter > summary small {
  display: block;
  color: var(--b-text-muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 3px;
}
.d-chapter > summary > .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.18s;
}
.d-chapter[open] > summary > .icon {
  transform: rotate(180deg);
}
.d-index {
  color: #0797ae;
  font-size: 24px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.d-chapter-lessons {
  border-top: 1px solid #e9f2f8;
  margin: 0 18px;
}
.d-lesson-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px 0;
}
.d-lesson-row + .d-lesson-row {
  border-top: 1px solid #edf3f8;
}
.d-lesson-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: #ecf7fc;
  border-radius: 8px;
}
.d-lesson-symbol .icon {
  width: 15px;
  height: 15px;
  margin: 0;
}
.d-lesson-row > div {
  flex: 1;
  min-width: 0;
}
.d-lesson-row h3 {
  margin: 0 0 4px;
  font-size: 13px;
}
.d-lesson-row p {
  font-size: 11px;
  margin: 0 0 5px;
}
.d-lesson-row small {
  color: var(--b-text-muted);
  font-size: 10px;
  line-height: 1.8;
}
.d-lesson-row a,
.d-lesson-gate {
  font-size: 11px;
  flex-shrink: 0;
}
.d-lesson-gate {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--b-text-muted);
}
.d-lesson-gate .icon {
  width: 12px;
  height: 12px;
}
.d-module-body {
  border-top: 1px solid #edf3f8;
  padding: 8px 20px 20px;
}
.d-module-body > a {
  font-size: 12px;
  margin: 8px 0;
}
.d-module-body progress {
  width: 100%;
  height: 7px;
  accent-color: var(--b-primary);
}
.d-module-outline {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 2px solid #d6e8f3;
}
.d-module-outline strong {
  font-size: 12px;
}
.d-module-outline ul {
  padding-left: 17px;
  font-size: 12px;
  color: #486780;
}
.d-module-outline li {
  margin: 9px 0;
}
.d-module-outline small {
  color: var(--b-text-muted);
  font-size: 10px;
}
.d-practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.d-practice-card {
  background: linear-gradient(130deg, #f4fbff, white);
  border: 1px solid #e0edf6;
  border-radius: 9px;
  padding: 16px;
}
.d-practice-card > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
.d-practice-card > summary::-webkit-details-marker {
  display: none;
}
.d-practice-card .d-index {
  font-size: 18px;
}
.d-practice-card summary strong {
  font-size: 12px;
  flex: 1;
  line-height: 1.8;
}
.d-practice-card .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.d-practice-card > div {
  margin-top: 15px;
  border-top: 1px solid #e6f0f8;
}
.d-practice-card h4 {
  font-size: 12px;
  margin-bottom: 8px;
}
.d-practice-card .d-authored-text {
  font-size: 12px;
}
.d-overview-aside .d-overview-panel {
  padding: 22px;
}
.d-overview-aside h2 {
  font-size: 16px;
}
.d-overview-aside h3 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.d-overview-aside .icon {
  width: 15px;
  height: 15px;
  margin: 0;
}
.d-overview-aside p,
.d-overview-aside .d-authored-text {
  font-size: 12px;
}
.d-overview-tip {
  background: linear-gradient(130deg, #e7f5fd, #f4fbff);
  border: 1px solid #d7eaf5;
  border-radius: 13px;
  padding: 22px;
  display: grid;
  gap: 10px;
}
.d-overview-tip p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--b-text-muted);
  margin: 0;
}
.d-overview-tip a {
  font-size: 12px;
}
.d-course-progress {
  border: 1px solid #daebf5;
  border-radius: 10px;
  background: white;
  padding: 18px 22px;
  margin-top: 17px;
}
.d-course-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 12px;
}
.d-course-progress progress {
  display: block;
  width: 100%;
  height: 7px;
  margin: 12px 0;
  accent-color: var(--b-primary);
}
.d-course-progress p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--b-text-muted);
}
.d-rule-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 9px;
  background: #edf8fc;
  padding: 13px 16px;
  margin: 20px 0;
}
.d-rule-note .icon {
  flex-shrink: 0;
  margin-top: 5px;
}
.d-rule-note p {
  margin: 0;
  font-size: 12px;
}
.d-overview-main > .d-overview-panel:last-child {
  margin-bottom: 0;
}
.d-course-overview .b-breadcrumb {
  flex-wrap: wrap;
  line-height: 1.8;
}
.d-course-overview .b-breadcrumb [aria-current='page'] {
  overflow-wrap: anywhere;
}
.d-app-frame .learning-card {
  border-radius: 14px;
  border-color: #dbeaf5;
  box-shadow: 0 3px 16px #2c597706;
}
.d-workbench-hero {
  background: linear-gradient(115deg, #e5f4fd, #f4fbff);
  border: 1px solid #dbeaf5;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 22px;
}
.d-workbench-hero .page-head {
  margin: 13px 0 0;
}
.d-workbench-hero .page-head h1 {
  font-size: 27px;
}
.d-workbench-hero .page-head p {
  max-width: 55em;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 0;
}
.d-scope-label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #27798f;
  font-size: 11px;
}
.d-scope-label .icon {
  width: 14px;
  height: 14px;
}
.d-workbench .stat-grid {
  gap: 15px;
  margin-bottom: 23px;
}
.d-workbench .stat {
  border-radius: 11px;
  padding: 20px 23px;
}
.d-workbench .stat strong {
  color: var(--b-primary);
  font-size: 30px;
}
.d-workbench .stat p {
  font-size: 11px;
  margin-bottom: 13px;
}
.d-workbench > .panel {
  border-radius: 13px;
}
.d-workbench .panel > h2,
.d-workbench .section-head h2 {
  font-size: 18px;
}
.d-workbench .section-head p {
  font-size: 12px;
}
.d-queue-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.d-queue-tabs .d-chip {
  border-radius: 7px;
  gap: 8px;
  padding: 7px 12px;
}
.d-queue-tabs .d-chip span {
  background: #eef5f8;
  color: #4b6b80;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
}
.d-queue-tabs .d-chip.active span {
  background: #ffffff33;
  color: white;
}
.d-workbench .management-filter {
  background: #f6faff;
  border: 1px solid #e5eff6;
  border-radius: 9px;
  padding: 14px;
}
.d-workbench .management-filter label {
  font-size: 11px;
}
.d-workbench .management-filter input,
.d-workbench .management-filter select {
  min-height: 36px;
  font-size: 12px;
}
.d-workbench .d-task-row {
  padding: 19px 4px;
  gap: 20px;
}
.d-task-row h3 {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 7px;
}
.d-task-context {
  display: block;
  font-size: 10px;
  color: #3e849b;
  margin: 0 0 5px;
}
.d-task-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--b-text-muted);
  font-size: 11px;
}
.d-task-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.d-task-meta .icon {
  width: 13px;
  height: 13px;
}
.d-task-row .d-task-meta + p {
  color: var(--b-text-muted);
  font-size: 11px;
  margin: 7px 0 0;
}
.d-task-row .row {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .d-workbench-hero {
    padding: 22px 20px;
  }
  .d-workbench-hero .page-head h1 {
    font-size: 23px;
  }
  .d-workbench .stat {
    padding: 18px;
  }
  .d-workbench .d-task-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .d-task-row .row {
    align-self: flex-end;
  }
}
.d-app-frame .learning-card > img {
  border-radius: 10px;
}
.d-app-frame .learning-card h2 {
  font-size: 21px;
  line-height: 1.7;
}
.d-app-frame .learning-feedback-overview {
  background: #f4faff;
  border: 1px solid #e0edf6;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 18px;
}
.d-app-frame .site-footer {
  padding: 24px 30px;
  font-size: 11px;
}
.b-program-card .b-meta-val {
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
.b-program-card .b-card-title {
  overflow-wrap: anywhere;
}
@media (min-width: 1400px) {
  .d-app-frame {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .d-app-frame .workspace-main {
    padding: 28px 38px 50px;
  }
}
@media (max-width: 1150px) {
  .d-global-search {
    width: min(260px, 24vw);
  }
  .workspace-header .account-name {
    display: none;
  }
  .d-overview-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 15px;
  }
  .d-overview-panel {
    padding: 20px;
  }
  .d-course-card,
  .d-featured-course {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }
  .d-course-action {
    grid-column: 2;
    justify-self: end;
    margin-top: -3px;
  }
  .d-course-art {
    grid-row: span 2;
  }
  .d-home-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .d-home-path > a {
    grid-column: 1/-1;
    justify-self: start;
  }
}
@media (max-width: 1000px) {
  .d-app-frame {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .d-app-frame .workspace-main {
    padding: 22px;
  }
  .d-app-frame > .legacy-sidebar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .d-app-frame .legacy-sidebar nav a {
    font-size: 12px;
    padding: 13px 10px;
    gap: 9px;
  }
  .d-app-frame .sidebar-account {
    margin-left: -8px;
    margin-right: -8px;
    padding: 20px 18px;
  }
  .d-overview-layout {
    grid-template-columns: 1fr;
  }
  .d-overview-aside {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .d-home-hero {
    min-height: 250px;
    padding: 30px;
  }
  .d-hero-note {
    display: none;
  }
  .d-course-hero {
    gap: 22px;
    padding: 24px;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  }
  .d-local-nav {
    gap: 0;
  }
  .d-local-nav button {
    padding-left: 10px;
    padding-right: 10px;
  }
  .d-course-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .d-course-facts > div:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .workspace-header {
    min-height: 66px;
    padding: 12px 14px;
    gap: 10px;
  }
  .workspace-header .brand {
    font-size: 14px;
  }
  .workspace-header .brand img {
    width: 27px;
    height: 27px;
  }
  .workspace-header .top-actions {
    margin-left: auto;
  }
  .workspace-header .top-actions > .account-role,
  .workspace-header .top-actions > .account-password,
  .workspace-header .top-actions > a[href='#profile'],
  .workspace-header .top-actions > [data-action='organization'],
  .workspace-header .top-actions > [data-action='platform-home'] {
    display: none;
  }
  .workspace-header .top-actions .primary {
    font-size: 11px;
    padding: 8px 10px;
  }
  .workspace-header .top-actions .primary > .icon {
    display: none;
  }
  .d-global-search {
    display: none;
  }
  .d-search-trigger {
    display: inline-flex;
    margin-left: auto;
  }
  .d-global-search.is-open {
    display: flex;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 7px);
    width: auto;
    box-shadow: var(--b-shadow-md);
    z-index: 15;
  }
  .d-app-frame {
    display: block;
  }
  .d-app-frame > .legacy-sidebar {
    display: none;
  }
  .d-app-frame.nav-open > .legacy-sidebar {
    position: fixed;
    display: flex;
    top: 66px;
    left: 0;
    width: min(290px, 85vw);
    height: calc(100dvh - 66px);
    min-height: 0;
    z-index: 12;
    box-shadow: 10px 0 40px #12345220;
  }
  .d-app-frame.nav-open > .legacy-sidebar nav {
    grid-template-columns: 1fr;
  }
  .d-app-frame.nav-open .sidebar-bottom {
    display: block;
    margin-top: auto;
  }
  .d-app-frame .d-rail-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 66px 0 0;
    z-index: 11;
    border: 0;
    border-radius: 0;
    background: #12345266;
  }
  .d-app-frame .workspace-main {
    padding: 18px 15px 36px;
  }
  .d-home-heading {
    font-size: 11px;
  }
  .d-home-hero {
    min-height: 236px;
    padding: 26px 22px;
    background-position: 58% center;
  }
  .d-home-hero h1 {
    font-size: clamp(23px, 5vw, 32px);
    max-width: 19em;
  }
  .d-home-hero > div > p:not(.d-kicker) {
    font-size: 13px;
    max-width: 22em;
    line-height: 1.9;
  }
  .d-kicker {
    font-size: 10px;
  }
  .d-section-head {
    gap: 12px;
    align-items: flex-start;
  }
  .d-discovery-section .d-section-head h2 {
    font-size: 20px;
  }
  .d-section-head p {
    font-size: 11px;
    line-height: 1.9;
  }
  .d-section-head > a {
    font-size: 11px;
  }
  .d-course-card,
  .d-featured-course {
    grid-template-columns: 125px minmax(0, 1fr);
    padding: 12px;
    gap: 13px;
  }
  .d-course-art {
    min-height: 140px;
  }
  .d-featured-course .d-course-art {
    min-height: 160px;
  }
  .d-course-title h2,
  .d-featured-course .d-course-title h2 {
    font-size: 16px;
  }
  .d-course-summary {
    font-size: 11px;
  }
  .d-course-kicker {
    font-size: 10px;
  }
  .d-course-facts {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 9px;
  }
  .d-course-facts > div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .d-course-facts > div:last-child {
    grid-column: auto;
  }
  .d-course-art img {
    max-height: none;
  }
  .d-course-action .primary,
  .d-course-action .secondary {
    padding: 8px 13px;
    font-size: 11px;
  }
  .d-home-path {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 28px;
  }
  .d-directory-banner {
    padding: 24px 21px;
  }
  .d-directory-banner h1 {
    font-size: 24px;
  }
  .d-directory-banner > img {
    width: 120px;
    height: 130px;
  }
  .d-filter-search {
    align-items: stretch;
    flex-direction: column;
  }
  .d-filter-search > button {
    align-self: flex-start;
  }
  .d-filter-selects {
    align-items: stretch;
  }
  .d-filter-selects label {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .d-filter-selects select {
    max-width: none;
    width: 66%;
  }
  .d-filter-line {
    gap: 10px;
  }
  .d-filter-line > span {
    min-width: 55px;
    font-size: 11px;
  }
  .d-chip {
    padding: 6px 12px;
    font-size: 11px;
  }
  .d-discovery-result {
    flex-wrap: wrap;
  }
  .d-discovery-result > label {
    margin-left: auto;
  }
  .d-directory-paging {
    flex-wrap: wrap;
  }
  .d-directory-paging > div {
    flex-basis: 100%;
  }
  .d-directory-paging > label {
    margin-left: auto;
  }
  .d-course-hero {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .d-course-hero h1 {
    font-size: 25px;
  }
  .d-local-nav {
    top: 66px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    margin-top: 7px;
  }
  .d-local-nav button {
    flex-shrink: 0;
    font-size: 11px;
    min-height: 51px;
  }
  .d-overview-panel {
    padding: 20px 17px;
    scroll-margin-top: 132px;
  }
  .d-practice-grid {
    grid-template-columns: 1fr;
  }
  .d-overview-aside {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .d-lesson-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .d-lesson-row > div {
    min-width: calc(100% - 45px);
  }
  .d-lesson-row > a,
  .d-lesson-gate {
    margin-left: 40px;
  }
  .d-chapter > summary {
    gap: 11px;
    padding: 14px;
  }
  .d-chapter > summary > span:nth-child(3) {
    display: none;
  }
  .d-index {
    font-size: 21px;
  }
  .d-app-frame .site-footer {
    padding: 22px 16px;
    line-height: 1.8;
  }
}
@media (max-width: 420px) {
  .workspace-header .brand {
    gap: 5px;
    font-size: 12px;
  }
  .workspace-header .brand img {
    width: 24px;
    height: 24px;
  }
  .workspace-header .top-actions {
    gap: 5px;
  }
  .workspace-header .top-actions > .secondary {
    display: none;
  }
  .d-course-card,
  .d-featured-course {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .d-course-art {
    grid-row: auto;
    height: 165px;
  }
  .d-featured-course .d-course-art {
    min-height: 165px;
  }
  .d-course-art img {
    height: 100%;
  }
  .d-course-action {
    grid-column: 1;
    margin-top: 0;
  }
  .d-course-facts {
    grid-template-columns: 1fr;
  }
  .d-directory-banner {
    padding: 22px 18px;
  }
  .d-directory-banner > img {
    display: none;
  }
  .d-home-hero .primary {
    padding: 10px 18px;
  }
  .d-section-head {
    flex-wrap: wrap;
  }
  .d-home-heading > .quiet {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .d-course-card,
  .d-chapter > summary > .icon {
    transition: none;
  }
}

/* A full wordmark has its own aspect ratio; the former square icon rules must
   not squeeze it. The same asset is used by signup, recovery and mail previews. */
.workspace-header .brand {
  gap: 8px;
  flex-shrink: 0;
}
.workspace-header .brand .brand-wordmark {
  display: block;
  width: 172px;
  height: auto;
  aspect-ratio: 344 / 88;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 760px) {
  .workspace-header .brand .brand-wordmark {
    width: 136px;
  }
}
@media (max-width: 420px) {
  .workspace-header .brand .brand-wordmark {
    width: 120px;
  }
}
@media (max-width: 360px) {
  .workspace-header .brand .brand-wordmark {
    width: 104px;
  }
}

/* User-supplied square PNGs retain their original bytes. This viewport displays
   the horizontal mark's visible bounds without stretching or redrawing it. */
.workspace-header .brand .brand-crop {
  position: relative;
  display: block;
  width: 156px;
  aspect-ratio: 2108 / 466;
  overflow: hidden;
  flex-shrink: 0;
}
.workspace-header .brand .brand-crop .brand-wordmark {
  position: absolute;
  left: -9.297913%;
  top: -218.240343%;
  width: 118.595825%;
  height: auto;
  aspect-ratio: 1;
  max-width: none;
}
.taxonomy-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: linear-gradient(120deg, #ffffff, #f2f7fc);
}
.taxonomy-explainer > div + div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.taxonomy-explainer h2,
.taxonomy-list h2 {
  font-size: 1.05rem;
  font-weight: 600;
}
.taxonomy-explainer p {
  color: var(--sub);
  line-height: 1.85;
  font-size: 0.9rem;
}
.taxonomy-tabs {
  display: flex;
  gap: 10px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}
.taxonomy-list td strong {
  font-weight: 550;
}
.metadata-discovery > .help,
.metadata-instructors > .help {
  max-width: 64em;
  line-height: 1.85;
}
@media (max-width: 900px) {
  .taxonomy-explainer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .taxonomy-explainer > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }
}
@media (max-width: 760px) {
  .workspace-header .brand .brand-crop {
    width: 140px;
  }
}
@media (max-width: 420px) {
  .workspace-header .brand .brand-crop {
    width: 128px;
  }
}
@media (max-width: 360px) {
  .workspace-header .brand .brand-crop {
    width: 112px;
  }
}

/* Shared header rhythm: one text size, aligned controls, and an undistorted mark. */
.workspace-header .top-actions {
  flex-wrap: nowrap;
  gap: 12px;
  flex-shrink: 0;
  font-size: var(--type-control);
  line-height: 1.5;
}
.workspace-header .top-actions > .quiet,
.workspace-header .top-actions > .secondary,
.workspace-header .account-name,
.workspace-header .account-context {
  font-size: var(--type-control);
  line-height: 1.5;
}
.workspace-header .top-actions > .quiet {
  padding: 7px 4px;
  font-weight: 500;
  white-space: nowrap;
}
.workspace-header .account-context {
  border: 0;
  padding: 0;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-header .account-name .account-role {
  font-size: var(--type-caption);
}
.workspace-header .icon-button {
  width: 36px;
  height: 36px;
  padding: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.workspace-header .icon-button .icon,
.workspace-header .account-name > .icon {
  width: 18px;
  height: 18px;
}
.workspace-header .d-search-trigger,
.workspace-header .mobile-menu {
  display: none;
}
.d-global-search {
  flex: 0 1 300px;
  min-width: 180px;
  max-width: 320px;
}
.d-global-search input {
  height: 36px;
  font-size: var(--type-control);
  line-height: 1.5;
}
@media (max-width: 1150px) {
  .workspace-header .account-context {
    max-width: 180px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .workspace-header .top-actions > .account-password,
  .workspace-header .top-actions > [data-action='platform-home'] {
    display: none;
  }
}
@media (max-width: 760px) {
  .workspace-header {
    padding: 10px 14px;
  }
  .workspace-header .icon-button {
    width: 44px;
    height: 44px;
  }
  .workspace-header .d-search-trigger,
  .workspace-header .mobile-menu {
    display: grid;
  }
  .workspace-header .top-actions {
    gap: 8px;
  }
  .d-global-search {
    min-width: 0;
    max-width: none;
  }
}
