@charset "UTF-8";
/*!
 * local_lernhive/styles.css — Plugin Shell CSS (ADR-P03)
 *
 * DO NOT EDIT THIS FILE DIRECTLY. A hand-edit here works immediately and is
 * therefore invisible — until an unrelated rebuild silently drops it. CI
 * enforces this: playbooks/lint-scss-build.sh fails when this file is not
 * reproducible from the SCSS source.
 *
 * Source: public/local/lernhive/scss/main.scss and partials under scss/.
 * Rebuild: npx --yes sass@1.102.0 --no-source-map --style=expanded \
 *            public/local/lernhive/scss/main.scss \
 *            public/local/lernhive/styles.css
 *
 * See product/adrs/adr-p03-plugin-theme-ux-decoupling.md for context.
 */
body:not(.theme-lernhive) {
  --lh-primary: #194866;
  --lh-primary-dark: #0f2b3d;
  --lh-primary-light: #f3f5f8;
  --lh-accent: #f98012;
  --lh-accent-dark: #c25b00;
  --lh-accent-light: #ffecdb;
  --lh-bg: #f5f5f5;
  --lh-bg-soft: #f3f5f8;
  --lh-bg-white: #ffffff;
  --lh-text: #1f2937;
  --lh-text-secondary:#5f6b77;
  --lh-text-light: #80868b;
  --lh-muted: #5f6b77;
  --lh-border: #dbe7ee;
  --lh-border-light: #f0f0f0;
  --lh-radius: 12px;
  --lh-radius-sm: 8px;
  --lh-radius-btn: 8px;
  --lh-radius-lg: 16px;
  --lh-radius-pill: 9999px;
  --lh-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
  --lh-shadow-card: 0 2px 8px rgba(15, 23, 42, 0.05);
  --lh-shadow-hover: 0 4px 16px rgba(60, 64, 67, 0.18);
  --lh-spacing-xs: 4px;
  --lh-spacing-sm: 8px;
  --lh-spacing-md: 16px;
  --lh-spacing-lg: 24px;
  --lh-spacing-xl: 32px;
  --lh-success: #3aadaa;
  --lh-success-light: #d1eceb;
  --lh-danger: #ab1d79;
  --lh-danger-light: #f5e4ef;
  --lh-warning: #f98012;
  --lh-warning-light: #ffecdb;
  --lh-page-header-height: 0px;
  --lh-sidebar-width: 0px;
  --lh-context-dock-width: 0px;
  --lh-page-max-default: 72rem;
  --lh-page-max-reading: 58rem;
  --lh-page-max-wide: 88rem;
  --lh-page-max-full: none;
}

@supports (scrollbar-gutter: stable) {
  html:has(body:not(.theme-lernhive) .lh-plugin-shell) {
    scrollbar-gutter: stable;
  }
}
body:not(.theme-lernhive) .lh-plugin-shell {
  margin: 0 auto;
  max-width: var(--lh-page-max-default);
  width: 100%;
}
body:not(.theme-lernhive) .lh-plugin-shell__readable {
  margin-inline: auto;
  max-width: var(--lh-page-max-reading);
  width: 100%;
}
body:not(.theme-lernhive) .lh-plugin-shell--wide {
  max-width: var(--lh-page-max-wide);
}
body:not(.theme-lernhive) .lh-plugin-shell--full {
  max-width: var(--lh-page-max-full);
}
body:not(.theme-lernhive) .lh-plugin-header {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  margin: 0 0 0.75rem;
  min-height: 6.5rem;
  padding: 1rem;
}
body:not(.theme-lernhive) .lh-plugin-header__row {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}
body:not(.theme-lernhive) .lh-plugin-header__title-block {
  min-width: 0;
}
body:not(.theme-lernhive) .lh-plugin-header__home {
  color: inherit;
  text-decoration: none;
  transition: color 0.12s ease, text-decoration-color 0.12s ease;
}
body:not(.theme-lernhive) .lh-plugin-header__home:hover, body:not(.theme-lernhive) .lh-plugin-header__home:focus-visible {
  color: var(--lh-accent-dark);
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
body:not(.theme-lernhive) .lh-plugin-header__home:focus-visible {
  outline: 2px solid var(--lh-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
body:not(.theme-lernhive) .lh-plugin-header__actions {
  align-items: center;
  align-self: flex-start;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-left: auto;
}
body:not(.theme-lernhive) .lh-plugin-header__action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  color: var(--lh-primary);
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  width: 2.25rem;
}
body:not(.theme-lernhive) .lh-plugin-header__action:hover, body:not(.theme-lernhive) .lh-plugin-header__action:focus-visible {
  background: #eef6f9;
  border-color: var(--lh-primary);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-header__action:focus-visible {
  outline: 2px solid var(--lh-primary);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-plugin-header__action--current {
  background: var(--lh-primary-light);
  border-color: var(--lh-primary);
  color: var(--lh-primary);
  cursor: default;
}
body:not(.theme-lernhive) .lh-plugin-header__action--current:hover, body:not(.theme-lernhive) .lh-plugin-header__action--current:focus-visible {
  background: var(--lh-primary-light);
  border-color: var(--lh-primary);
  color: var(--lh-primary);
}
body:not(.theme-lernhive) .lh-plugin-header__nav {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}
body:not(.theme-lernhive) .lh-plugin-header__name {
  align-items: center;
  color: var(--lh-primary);
  display: flex;
  flex-wrap: wrap;
  font-size: 1.25rem;
  font-weight: 800;
  gap: 0.6rem;
  line-height: 1.25;
}
body:not(.theme-lernhive) .lh-plugin-header__name-text {
  color: inherit;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}
body:not(.theme-lernhive) .lh-plugin-header__sep {
  color: #9aa8b3;
  margin: 0 0.25rem;
}
body:not(.theme-lernhive) .lh-plugin-header__tagline {
  color: var(--lh-text);
  font-weight: 650;
}
body:not(.theme-lernhive) .lh-plugin-header__subtitle {
  color: var(--lh-muted);
  margin: 0.35rem 0 0;
}
body:not(.theme-lernhive) .lh-plugin-header__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0;
}
body:not(.theme-lernhive) .lh-plugin-tag {
  align-items: center;
  background: #eef6f9;
  border: 1px solid #d4e6ee;
  border-radius: var(--lh-radius-pill);
  box-sizing: border-box;
  color: var(--lh-primary);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.35rem;
  line-height: 1.2;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
}
body:not(.theme-lernhive) .lh-plugin-tag--active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #166534;
}
body:not(.theme-lernhive) .lh-plugin-tag--meta {
  background: var(--lh-bg-soft);
  border-color: var(--lh-border-light);
  color: var(--lh-text-secondary);
  font-weight: 600;
}
body:not(.theme-lernhive) .lh-plugin-tag--info {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #075985;
}
body:not(.theme-lernhive) .lh-plugin-tag--neutral {
  background: var(--lh-primary-light);
  border-color: var(--lh-border);
  color: var(--lh-primary-dark);
}
body:not(.theme-lernhive) .lh-plugin-tag--warning {
  background: var(--lh-accent-light);
  border-color: #ffd2a8;
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-plugin-tag--danger {
  background: var(--lh-danger-light);
  border-color: #f0c2db;
  color: var(--lh-danger);
}
body:not(.theme-lernhive) .lh-plugin-tag--done {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}
body:not(.theme-lernhive) .lh-plugin-tag--locked {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}
body:not(.theme-lernhive) .lh-plugin-tag--level {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1e4d8c;
}
body:not(.theme-lernhive) .lh-plugin-tag--type {
  background: #ede9fb;
  border-color: #ddd6fe;
  color: #5b3fa6;
}
body:not(.theme-lernhive) .lh-plugin-section-nav {
  background: transparent;
  border-top: 1px solid var(--lh-border);
  display: flex;
  gap: 0.25rem;
  margin: 1rem -1rem -1rem;
  mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent);
  overflow-x: auto;
  padding: 0 1.75rem 0 0.9rem;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent);
}
body:not(.theme-lernhive) .lh-plugin-section-nav__item {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--lh-text-secondary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.96rem;
  font-weight: 700;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.1rem 0.75rem 0;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-section-nav__item:hover,
body:not(.theme-lernhive) .lh-plugin-section-nav__item:focus-visible {
  background: var(--lh-primary-light);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-section-nav__item:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: -2px;
}
body:not(.theme-lernhive) .lh-plugin-section-nav__item[aria-current=page] {
  border-bottom-color: var(--lh-accent);
  color: var(--lh-primary-dark);
}
body:not(.theme-lernhive) .lh-plugin-section-nav__more {
  margin-left: auto;
}
body:not(.theme-lernhive) .lh-plugin-infobar {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--lh-radius-sm);
  color: #7c2d12;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
}
body:not(.theme-lernhive) .lh-plugin-infobar__stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
body:not(.theme-lernhive) .lh-plugin-infobar__stat {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}
body:not(.theme-lernhive) .lh-plugin-infobar__progress {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto minmax(8rem, 1fr) auto auto;
  width: 100%;
}
body:not(.theme-lernhive) .lh-plugin-infobar__progress-track {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--lh-radius-pill);
  height: 0.55rem;
  overflow: hidden;
}
body:not(.theme-lernhive) .lh-plugin-infobar__progress-fill {
  background: var(--lh-accent);
  height: 100%;
}
body:not(.theme-lernhive) .lh-plugin-infobar__progress-count {
  font-weight: 800;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-plugin-infobar__progress-count--muted {
  color: var(--lh-muted);
  font-weight: 600;
}
body:not(.theme-lernhive) .lh-plugin-section-nav:has(+ .lh-plugin-header__actionbar) {
  margin-bottom: 0;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar {
  border-top: 1px solid var(--lh-border-light);
  padding: 0.6rem 0.9rem 0.55rem;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-item {
  align-items: center;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  color: var(--lh-text-secondary);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.35rem;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-item .fa {
  font-size: 0.85rem;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-item:hover {
  background: var(--lh-primary-light);
  border-color: var(--lh-primary);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-item:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-item[aria-current=page] {
  background: var(--lh-primary);
  border-color: var(--lh-primary);
  color: #fff;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar-more .dropdown-toggle {
  min-height: 2.75rem;
}
body:not(.theme-lernhive) .lh-plugin-header__actionbar .lh-icon-action--active {
  background: var(--lh-primary);
  color: #fff;
}
body:not(.theme-lernhive) .lh-plugin-content-area {
  margin: 0 auto;
  max-width: 100%;
}
body:not(.theme-lernhive) .lh-plugin-select-wrap {
  display: inline-flex;
  min-width: min(22rem, 100%);
  position: relative;
}
body:not(.theme-lernhive) .lh-plugin-select-wrap::after {
  border-bottom: 2px solid var(--lh-text-secondary);
  border-right: 2px solid var(--lh-text-secondary);
  content: "";
  height: 0.5rem;
  pointer-events: none;
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  width: 0.5rem;
}
body:not(.theme-lernhive) .lh-plugin-select {
  appearance: none;
  background: var(--lh-bg-white);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  color: var(--lh-text);
  cursor: pointer;
  min-height: 2.75rem;
  padding: 0.65rem 2.4rem 0.65rem 0.85rem;
  width: 100%;
}
body:not(.theme-lernhive) .lh-plugin-select:focus-visible {
  border-color: var(--lh-primary);
  box-shadow: 0 0 0 3px rgba(25, 72, 102, 0.12);
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-plugin-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: start;
}
body:not(.theme-lernhive) .lh-plugin-grid--cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
body:not(.theme-lernhive) .lh-plugin-grid--cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
body:not(.theme-lernhive) .lh-plugin-grid--cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
body:not(.theme-lernhive) .lh-plugin-grid--equal {
  align-items: stretch;
}
body:not(.theme-lernhive) .lh-plugin-grid--equal > .lh-plugin-card {
  height: 100%;
}
body:not(.theme-lernhive) .lh-row-actions {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-row-action {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--lh-primary);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  width: 2rem;
}
body:not(.theme-lernhive) .lh-row-action:hover, body:not(.theme-lernhive) .lh-row-action:focus-visible {
  background: #eef6f9;
  border-color: var(--lh-primary);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-row-action:focus-visible {
  outline: 2px solid var(--lh-primary);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-row-action--danger {
  color: var(--lh-danger, #ab1d79);
}
body:not(.theme-lernhive) .lh-row-action--danger:hover, body:not(.theme-lernhive) .lh-row-action--danger:focus-visible {
  background: #fdecea;
  border-color: var(--lh-danger, #ab1d79);
  color: var(--lh-danger, #ab1d79);
}
body:not(.theme-lernhive) .lh-audience-member-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
body:not(.theme-lernhive) .lh-audience-member-list__row {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--lh-radius-sm);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 0.75rem;
}
body:not(.theme-lernhive) .lh-audience-member-list__row + .lh-audience-member-list__row {
  border-top-color: var(--lh-border-light);
}
body:not(.theme-lernhive) .lh-audience-member-list__identity {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}
body:not(.theme-lernhive) .lh-audience-member-list__identity .userpicture {
  border-radius: 50%;
  flex: 0 0 auto;
}
body:not(.theme-lernhive) .lh-audience-member-list__person {
  min-width: 0;
}
body:not(.theme-lernhive) .lh-audience-member-list__name {
  color: var(--lh-text);
  display: block;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-audience-member-list__name:hover, body:not(.theme-lernhive) .lh-audience-member-list__name:focus-visible {
  color: var(--lh-primary);
  text-decoration: underline;
}
body:not(.theme-lernhive) .lh-audience-member-list__email {
  color: var(--lh-muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
body:not(.theme-lernhive) .lh-audience-member-list__meta {
  color: var(--lh-muted);
  min-width: 9rem;
}
body:not(.theme-lernhive) .lh-audience-member-list__date {
  color: var(--lh-text-secondary);
  font-weight: 700;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-plugin-card {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
}
body:not(.theme-lernhive) .lh-plugin-card__top {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}
body:not(.theme-lernhive) .lh-plugin-card__icon {
  align-items: center;
  background: #eef6f9;
  border-radius: var(--lh-radius-sm);
  color: var(--lh-primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 600;
  height: 2.5rem;
  justify-content: center;
  text-transform: uppercase;
  width: 2.5rem;
}
body:not(.theme-lernhive) .lh-plugin-card__icon--course {
  background: #dbeafe;
  color: #1d4ed8;
}
body:not(.theme-lernhive) .lh-plugin-card__icon--community {
  background: #dcfce7;
  color: #166534;
}
body:not(.theme-lernhive) .lh-plugin-card__icon--snack {
  background: #fef3c7;
  color: #92400e;
}
body:not(.theme-lernhive) .lh-plugin-card__icon--tour {
  background: #ede9fe;
  color: #6d28d9;
}
body:not(.theme-lernhive) .lh-plugin-card__icon--generic {
  background: #f1f5f9;
  color: #334155;
}
body:not(.theme-lernhive) .lh-plugin-card__meta {
  min-width: 0;
}
body:not(.theme-lernhive) {
  /* Eyebrow micro-label — small uppercase text used as a kicker / sub-line
     above or below the main label of a card or list item. A11y rules
     (see ux-system.md §5.6 'Eyebrow micro-label'):
     – Source text MUST be Mixed-Case in the template; the upper-casing is
       a CSS visual transform only (screen readers spell echte all-caps).
     – Min font-size 12px (0.75rem).
     – letter-spacing >= 0.04em.
     – Use only for short labels (1–3 words), never for sentences. */
}
body:not(.theme-lernhive) .lh-eyebrow,
body:not(.theme-lernhive) .lh-plugin-card__kicker,
body:not(.theme-lernhive) .lh-plugin-card__sub {
  color: var(--lh-muted);
  font-size: 0.78rem; /* 12.5px — above the 12px a11y floor */
  font-weight: 700;
  letter-spacing: 0.04em;
}
body:not(.theme-lernhive) .lh-eyebrow--upper {
  text-transform: uppercase;
}
body:not(.theme-lernhive) .lh-plugin-card__title {
  color: var(--lh-text);
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
body:not(.theme-lernhive) .lh-plugin-card__body {
  color: var(--lh-muted);
  flex: 1 1 auto;
  line-height: 1.5;
  margin-top: 0.85rem;
}
@media (max-width: 767px) {
  body:not(.theme-lernhive) .lh-audience-member-list__row {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body:not(.theme-lernhive) .lh-audience-member-list__meta {
    grid-column: 1/-1;
    min-width: 0;
  }
}
body:not(.theme-lernhive) .lh-plugin-card__actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
body:not(.theme-lernhive) .lh-plugin-card__top > .lh-plugin-card__actions {
  margin-left: auto;
  margin-top: 0;
}
body:not(.theme-lernhive) .lh-plugin-card__actions-gap {
  flex: 1;
}
body:not(.theme-lernhive) .lh-ai-suite-grid.lh-plugin-grid {
  align-items: stretch;
}
body:not(.theme-lernhive) .lh-ai-suite-card {
  height: 100%;
}
body:not(.theme-lernhive) .lh-ai-suite-card .lh-plugin-card__actions {
  margin-top: auto;
}
body:not(.theme-lernhive) .lh-ai-suite-card__settings {
  margin-left: auto;
}
body:not(.theme-lernhive) .lh-log-filter {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  margin-bottom: 0.85rem;
  padding: 0.9rem 1rem;
}
body:not(.theme-lernhive) .lh-log-filter__title {
  color: var(--lh-text);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
body:not(.theme-lernhive) .lh-log-filter__grid {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
body:not(.theme-lernhive) .lh-log-filter__field {
  min-width: 0;
}
body:not(.theme-lernhive) .lh-log-filter__field label {
  color: var(--lh-text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
body:not(.theme-lernhive) .lh-log-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
body:not(.theme-lernhive) .lh-log-summary {
  color: var(--lh-muted);
  font-weight: 650;
  margin: 0.4rem 0 0.75rem;
}
body:not(.theme-lernhive) .lh-log-table-card {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  overflow-x: auto;
}
body:not(.theme-lernhive) .lh-log-table-card .generaltable {
  margin-bottom: 0;
}
body:not(.theme-lernhive) .lh-log-empty {
  margin-bottom: 0.85rem;
}
body:not(.theme-lernhive) .lh-filter-toolbar {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  margin-bottom: 0.85rem;
  padding: 0.9rem 1rem;
}
body:not(.theme-lernhive) .lh-filter-toolbar__grid {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
body:not(.theme-lernhive) .lh-filter-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
body:not(.theme-lernhive) .lh-filter-chip {
  align-items: center;
  background: var(--lh-surface-alt);
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  color: var(--lh-text-secondary);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
}
body:not(.theme-lernhive) .lh-table-summary {
  color: var(--lh-muted);
  font-weight: 650;
  margin: 0.4rem 0 0.75rem;
}
body:not(.theme-lernhive) .lh-table-card {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  overflow-x: auto;
}
body:not(.theme-lernhive) .lh-table-card .generaltable {
  margin-bottom: 0;
}
body:not(.theme-lernhive) .lh-table-empty {
  margin-bottom: 0.85rem;
}
body:not(.theme-lernhive) .lh-plugin-empty-state {
  align-items: center;
  background: var(--lh-bg-white);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
}
body:not(.theme-lernhive) .lh-plugin-empty-state__icon {
  align-items: center;
  background: var(--lh-bg-soft);
  border-radius: var(--lh-radius-sm);
  color: var(--lh-primary);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}
body:not(.theme-lernhive) .lh-plugin-empty-state__title {
  color: var(--lh-text);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}
body:not(.theme-lernhive) .lh-plugin-empty-state__message {
  color: var(--lh-muted);
  margin: 0;
  max-width: 36rem;
}
body:not(.theme-lernhive) .lh-plugin-empty-state__action {
  margin-top: 0.25rem;
}
@media (max-width: 767px) {
  body:not(.theme-lernhive) .lh-plugin-header__row,
  body:not(.theme-lernhive) .lh-plugin-infobar {
    align-items: stretch;
    flex-direction: column;
  }
  body:not(.theme-lernhive) .lh-plugin-infobar__progress {
    grid-template-columns: 1fr auto;
  }
  body:not(.theme-lernhive) .lh-plugin-infobar__progress-label,
  body:not(.theme-lernhive) .lh-plugin-infobar__progress-track {
    grid-column: 1/-1;
  }
}

.lh-plugin-shell--wide {
  max-width: var(--lh-page-max-wide, 88rem);
}

.lh-plugin-shell__readable {
  margin-inline: auto;
  max-width: var(--lh-page-max-reading, 58rem);
  width: 100%;
}

body:not(.theme-lernhive) .lh-plugin-header__nav-btn,
body:not(.theme-lernhive) .lh-plugin-infobar__cta,
body:not(.theme-lernhive) .lh-plugin-btn,
body:not(.theme-lernhive) .lh-btn,
body:not(.theme-lernhive) .lh-btn-open,
body:not(.theme-lernhive) .lh-btn-outline,
body:not(.theme-lernhive) .lh-btn-ghost,
body:not(.theme-lernhive) .lh-btn-start,
body:not(.theme-lernhive) .lh-btn-danger {
  align-items: center;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-btn);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-plugin-header__nav-btn:focus-visible,
body:not(.theme-lernhive) .lh-plugin-infobar__cta:focus-visible,
body:not(.theme-lernhive) .lh-plugin-btn:focus-visible,
body:not(.theme-lernhive) .lh-btn:focus-visible,
body:not(.theme-lernhive) .lh-btn-open:focus-visible,
body:not(.theme-lernhive) .lh-btn-outline:focus-visible,
body:not(.theme-lernhive) .lh-btn-ghost:focus-visible,
body:not(.theme-lernhive) .lh-btn-start:focus-visible,
body:not(.theme-lernhive) .lh-btn-danger:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-plugin-btn--open,
body:not(.theme-lernhive) .lh-btn-open,
body:not(.theme-lernhive) .lh-btn--accent {
  background: var(--lh-primary);
  border-color: var(--lh-primary);
  color: #fff;
}
body:not(.theme-lernhive) .lh-plugin-btn--open:hover, body:not(.theme-lernhive) .lh-plugin-btn--open:focus-visible,
body:not(.theme-lernhive) .lh-btn-open:hover,
body:not(.theme-lernhive) .lh-btn-open:focus-visible,
body:not(.theme-lernhive) .lh-btn--accent:hover,
body:not(.theme-lernhive) .lh-btn--accent:focus-visible {
  background: var(--lh-primary-dark);
  border-color: var(--lh-primary-dark);
  color: #fff;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-btn--ghost,
body:not(.theme-lernhive) .lh-btn-ghost,
body:not(.theme-lernhive) .lh-btn-outline,
body:not(.theme-lernhive) .lh-plugin-header__nav-btn {
  background: #fff;
  color: var(--lh-primary);
}
body:not(.theme-lernhive) .lh-plugin-btn--ghost:hover, body:not(.theme-lernhive) .lh-plugin-btn--ghost:focus-visible,
body:not(.theme-lernhive) .lh-btn-ghost:hover,
body:not(.theme-lernhive) .lh-btn-ghost:focus-visible,
body:not(.theme-lernhive) .lh-btn-outline:hover,
body:not(.theme-lernhive) .lh-btn-outline:focus-visible,
body:not(.theme-lernhive) .lh-plugin-header__nav-btn:hover,
body:not(.theme-lernhive) .lh-plugin-header__nav-btn:focus-visible {
  background: var(--lh-primary-light);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-btn--start,
body:not(.theme-lernhive) .lh-btn-start {
  background: var(--lh-accent);
  border-color: var(--lh-accent);
  color: #fff;
}
body:not(.theme-lernhive) .lh-plugin-btn--start:hover, body:not(.theme-lernhive) .lh-plugin-btn--start:focus-visible,
body:not(.theme-lernhive) .lh-btn-start:hover,
body:not(.theme-lernhive) .lh-btn-start:focus-visible {
  background: var(--lh-accent-dark);
  border-color: var(--lh-accent-dark);
  color: #fff;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-btn-danger {
  background: var(--lh-danger);
  border-color: var(--lh-danger);
  color: #fff;
}
body:not(.theme-lernhive) .lh-btn-danger:hover, body:not(.theme-lernhive) .lh-btn-danger:focus-visible {
  background: #8d1764;
  border-color: #8d1764;
  color: #fff;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-plugin-btn--disabled,
body:not(.theme-lernhive) .lh-copy-btn-disabled,
body:not(.theme-lernhive) .lh-btn[disabled],
body:not(.theme-lernhive) .lh-btn-open[disabled],
body:not(.theme-lernhive) .lh-btn-outline[disabled],
body:not(.theme-lernhive) .lh-btn-ghost[disabled],
body:not(.theme-lernhive) .lh-btn-start[disabled],
body:not(.theme-lernhive) .lh-btn-danger[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}
body:not(.theme-lernhive) .lh-btn-sm {
  font-size: 0.8125rem;
  min-height: 1.875rem;
  padding: 0.3rem 0.7rem;
}
body:not(.theme-lernhive) .lh-btn-lg {
  font-size: 1rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
}
body:not(.theme-lernhive) .lh-btn-action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-primary);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.25rem;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
body:not(.theme-lernhive) .lh-btn-action:hover, body:not(.theme-lernhive) .lh-btn-action:focus-visible {
  background: var(--lh-primary-light);
  text-decoration: none;
  transform: scale(1.08);
}
body:not(.theme-lernhive) .lh-btn-action:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-btn-action--lg {
  height: 2.75rem;
  min-width: 2.75rem;
}

body:not(.theme-lernhive) .lh-icon-nav {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: var(--lh-radius-sm);
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  width: 36px;
}
body:not(.theme-lernhive) .lh-icon-nav .fa {
  font-size: 1rem;
  line-height: 1;
}
body:not(.theme-lernhive) .lh-icon-nav:hover, body:not(.theme-lernhive) .lh-icon-nav:focus-visible {
  background: rgba(25, 72, 102, 0.08);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-icon-nav:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-icon-nav--active {
  background: transparent;
  color: var(--lh-accent);
}
body:not(.theme-lernhive) .lh-icon-nav--on-dark {
  color: rgba(255, 255, 255, 0.72);
}
body:not(.theme-lernhive) .lh-icon-nav--on-dark:hover, body:not(.theme-lernhive) .lh-icon-nav--on-dark:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-nav--on-dark.lh-icon-nav--active {
  background: transparent;
  color: var(--lh-accent);
}
body:not(.theme-lernhive) .lh-icon-artifact {
  align-items: center;
  background: #e2edf2;
  border-radius: 9px;
  color: #3d6b80;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.125rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}
body:not(.theme-lernhive) .lh-icon-artifact .fa {
  font-size: 1.1rem;
  line-height: 1;
}
body:not(.theme-lernhive) .lh-icon-artifact--course {
  background: #dbeafe;
  color: #1e4d8c;
}
body:not(.theme-lernhive) .lh-icon-artifact--snack {
  background: var(--lh-accent-light);
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-icon-artifact--community {
  background: #ede9fb;
  color: #5b3fa6;
}
body:not(.theme-lernhive) .lh-icon-artifact--tour {
  background: #dcfce7;
  color: #166534;
}
body:not(.theme-lernhive) .lh-icon-artifact--lock {
  background: var(--lh-bg);
  color: var(--lh-text-secondary);
}
body:not(.theme-lernhive) .lh-icon-artifact--generic {
  background: #e2edf2;
  color: #3d6b80;
}
body:not(.theme-lernhive) .lh-icon-artifact--sm {
  border-radius: 6px;
  font-size: 0.75rem;
  height: 24px;
  width: 24px;
}
body:not(.theme-lernhive) .lh-icon-artifact--sm .fa {
  font-size: 0.75rem;
}
body:not(.theme-lernhive) .lh-icon-artifact--lg {
  border-radius: 11px;
  font-size: 1.375rem;
  height: 48px;
  width: 48px;
}
body:not(.theme-lernhive) .lh-icon-artifact--lg .fa {
  font-size: 1.375rem;
}
body:not(.theme-lernhive) .lh-icon-action {
  align-items: center;
  background: rgba(25, 72, 102, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--lh-text-secondary);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: relative;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.15s ease, color 0.15s ease;
  width: 36px;
}
body:not(.theme-lernhive) .lh-icon-action::after {
  content: "";
  height: 44px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
}
body:not(.theme-lernhive) .lh-icon-action .fa {
  font-size: 0.9375rem;
  line-height: 1;
}
body:not(.theme-lernhive) .lh-icon-action svg {
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}
body:not(.theme-lernhive) .lh-icon-action:hover, body:not(.theme-lernhive) .lh-icon-action:focus-visible {
  background: rgba(25, 72, 102, 0.15);
  box-shadow: 0 2px 8px rgba(25, 72, 102, 0.15);
  color: var(--lh-primary);
  text-decoration: none;
  transform: scale(1.1);
}
body:not(.theme-lernhive) .lh-icon-action:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 3px;
}
body:not(.theme-lernhive) .lh-icon-action--primary {
  background: var(--lh-accent);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--primary:hover, body:not(.theme-lernhive) .lh-icon-action--primary:focus-visible {
  background: var(--lh-accent-dark);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--nav {
  background: var(--lh-primary);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--nav:hover, body:not(.theme-lernhive) .lh-icon-action--nav:focus-visible {
  background: var(--lh-primary-dark);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--danger {
  background: rgba(171, 29, 121, 0.09);
  color: var(--lh-danger);
}
body:not(.theme-lernhive) .lh-icon-action--danger:hover, body:not(.theme-lernhive) .lh-icon-action--danger:focus-visible {
  background: var(--lh-danger-light);
  color: var(--lh-danger);
}
body:not(.theme-lernhive) .lh-icon-action--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}
body:not(.theme-lernhive) .lh-icon-action--on-dark:hover, body:not(.theme-lernhive) .lh-icon-action--on-dark:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--active {
  background: var(--lh-accent);
  color: #fff;
}
body:not(.theme-lernhive) .lh-icon-action--lg {
  height: 44px;
  width: 44px;
}
body:not(.theme-lernhive) .lh-icon-action--lg .fa {
  font-size: 1.05rem;
}
body:not(.theme-lernhive) .lh-icon-info {
  align-items: center;
  background: var(--lh-border-light);
  border: none;
  border-radius: 6px;
  color: var(--lh-text-secondary);
  cursor: help;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
  width: 28px;
}
body:not(.theme-lernhive) .lh-icon-info .fa {
  font-size: 0.8125rem;
  line-height: 1;
}
body:not(.theme-lernhive) .lh-icon-info svg {
  fill: none;
  height: 0.875rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 0.875rem;
}
body:not(.theme-lernhive) .lh-icon-info:hover {
  background: #e4e4e4;
}
body:not(.theme-lernhive) .lh-icon-info:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-icon-info--locked {
  background: var(--lh-bg);
  border: 1px dashed var(--lh-border);
  color: var(--lh-text-light);
}
body:not(.theme-lernhive) .lh-icon-info--complete {
  background: var(--lh-success-light);
  color: #1f5f5d;
}
body:not(.theme-lernhive) .lh-icon-info--new {
  background: var(--lh-accent-light);
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-icon-info--pending {
  background: #dbeafe;
  color: var(--lh-primary-dark);
}
body:not(.theme-lernhive) .lh-icon-info--help {
  background: #dbeafe;
  color: #1e4d8c;
}
body:not(.theme-lernhive) .lh-icon-info--help:hover {
  background: #c5daf7;
}
body:not(.theme-lernhive) .lh-icon-info--warning {
  background: var(--lh-warning-light);
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-icon-info--error {
  background: var(--lh-danger-light);
  color: var(--lh-danger);
}
body:not(.theme-lernhive) .lh-icon-info--success {
  background: var(--lh-success-light);
  color: #1f5f5d;
}
body:not(.theme-lernhive) .lh-icon-info--info {
  background: #dbeafe;
  color: var(--lh-primary-dark);
}
body:not(.theme-lernhive) .lh-icon-info--sm {
  border-radius: 5px;
  border-width: 0;
  height: 20px;
  width: 20px;
}
body:not(.theme-lernhive) .lh-icon-info--sm .fa {
  font-size: 0.6875rem;
}
body:not(.theme-lernhive) .lh-icon-info--lg {
  border-radius: var(--lh-radius-sm);
  height: 36px;
  width: 36px;
}
body:not(.theme-lernhive) .lh-icon-info--lg .fa {
  font-size: 1rem;
}
body:not(.theme-lernhive) .lh-help {
  display: inline-flex;
  flex-shrink: 0;
}
body:not(.theme-lernhive) .lh-help > a {
  align-items: center;
  border-radius: var(--lh-radius-pill);
  color: var(--lh-text-light);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
  width: 24px;
}
body:not(.theme-lernhive) .lh-help > a:hover, body:not(.theme-lernhive) .lh-help > a:focus-visible {
  background: var(--lh-primary-light);
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-help .icon {
  font-size: 0.875rem;
  height: auto;
  margin: 0;
  width: auto;
}

body:not(.theme-lernhive) .lh-cta-strip {
  align-items: center;
  background: var(--lh-bg-soft);
  border-bottom: 1px solid var(--lh-border);
  border-radius: 0;
  border-top: 3px solid var(--lh-primary);
  display: flex;
  flex-wrap: wrap;
  gap: var(--lh-spacing-md);
  padding: var(--lh-spacing-md) var(--lh-spacing-lg);
}
body:not(.theme-lernhive) .lh-cta-strip--trainer {
  border-top-color: var(--lh-primary);
}
body:not(.theme-lernhive) .lh-cta-strip--warning {
  background: var(--lh-warning-light);
  border-top-color: var(--lh-accent);
}
body:not(.theme-lernhive) .lh-cta-strip--success {
  background: var(--lh-success-light);
  border-top-color: var(--lh-success);
}
body:not(.theme-lernhive) .lh-cta-strip__icon {
  align-items: center;
  background: var(--lh-primary-light);
  border-radius: 9px;
  color: var(--lh-primary);
  display: flex;
  flex-shrink: 0;
  font-size: 1.125rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}
body:not(.theme-lernhive) .lh-cta-strip__icon .fa {
  font-size: 1.1rem;
  line-height: 1;
}
.lh-cta-strip--warning body:not(.theme-lernhive) .lh-cta-strip__icon {
  background: var(--lh-accent-light);
  color: var(--lh-accent-dark);
}
.lh-cta-strip--success body:not(.theme-lernhive) .lh-cta-strip__icon {
  background: #dcfce7;
  color: #166534;
}
body:not(.theme-lernhive) .lh-cta-strip__body {
  flex: 1;
  min-width: 0;
}
body:not(.theme-lernhive) .lh-cta-strip__title {
  color: var(--lh-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.125rem;
}
body:not(.theme-lernhive) .lh-cta-strip__intro {
  color: var(--lh-text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}
body:not(.theme-lernhive) .lh-cta-strip__progress {
  align-items: center;
  display: flex;
  gap: var(--lh-spacing-sm);
  margin-top: var(--lh-spacing-sm);
}
body:not(.theme-lernhive) .lh-cta-strip__progress-track {
  background: var(--lh-border);
  border-radius: 0;
  flex: 1;
  height: 6px;
  max-width: 240px;
  overflow: hidden;
}
body:not(.theme-lernhive) .lh-cta-strip__progress-fill {
  background: var(--lh-primary);
  height: 100%;
  transition: width 0.4s ease;
}
body:not(.theme-lernhive) .lh-cta-strip__progress-text {
  color: var(--lh-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-cta-strip__cta {
  align-items: center;
  background: var(--lh-accent);
  border: none;
  border-radius: var(--lh-radius-btn);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 6px;
  padding: 8px var(--lh-spacing-md);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.13s ease;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-cta-strip__cta .fa {
  font-size: 0.875rem;
}
body:not(.theme-lernhive) .lh-cta-strip__cta:hover {
  background: var(--lh-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
body:not(.theme-lernhive) .lh-cta-strip__cta:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
@media (max-width: 767px) {
  body:not(.theme-lernhive) .lh-cta-strip {
    padding: var(--lh-spacing-sm) var(--lh-spacing-md);
  }
  body:not(.theme-lernhive) .lh-cta-strip__icon {
    font-size: 0.9rem;
    height: 32px;
    width: 32px;
  }
  body:not(.theme-lernhive) .lh-cta-strip__cta {
    justify-content: center;
    width: 100%;
  }
}

body:not(.theme-lernhive) .lh-support-header--overview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: var(--lh-shadow-card);
  min-height: 0;
  padding: 1.25rem 1.5rem;
}
body:not(.theme-lernhive) .lh-support-header--overview .lh-plugin-header__row {
  align-items: flex-start;
}
body:not(.theme-lernhive) .lh-support-header--overview .lh-plugin-header__name {
  font-size: 1.45rem;
}
body:not(.theme-lernhive) .lh-support-header--overview .lh-plugin-header__subtitle {
  font-size: 1rem;
  max-width: 44rem;
}
body:not(.theme-lernhive) .lh-support-header--overview + .lh-plugin-infobar {
  background: #f7fafc;
  border-color: var(--lh-border);
  color: var(--lh-text-secondary);
  padding: 0.65rem 0.85rem;
}
body:not(.theme-lernhive) .lh-support-header--overview + .lh-plugin-infobar .lh-plugin-infobar__stat {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-pill);
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
}
body:not(.theme-lernhive) .lh-support-filter {
  margin: 0 0 1.25rem;
}
body:not(.theme-lernhive) .lh-support-filter__input {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  font-size: 1rem;
  max-width: 32rem;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
body:not(.theme-lernhive) .lh-support-filter__input:focus {
  border-color: var(--lh-primary);
  box-shadow: 0 0 0 2px rgba(25, 72, 102, 0.15);
}
body:not(.theme-lernhive) .lh-support-filter__input:focus-visible {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  position: relative;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card:hover,
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card:focus-within {
  border-color: #bfd3df;
  box-shadow: var(--lh-shadow-hover);
  transform: translateY(-1px);
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card .lh-plugin-card__body {
  flex: 1 1 auto;
  line-height: 1.45;
  margin-top: 1rem;
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card .lh-plugin-card__actions {
  margin-top: auto;
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card .lh-plugin-card__title {
  line-height: 1.2;
}
body:not(.theme-lernhive) .lh-support-grid > .lh-plugin-card .lh-plugin-card__icon .fa {
  font-size: 1.25rem;
}
body:not(.theme-lernhive) .lh-support-card--pending {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}
body:not(.theme-lernhive) .lh-support-card__tags {
  margin: 0.5rem 0 0;
}
body:not(.theme-lernhive) .lh-support-doc {
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 56rem;
  padding: 1.75rem 2rem;
}
body:not(.theme-lernhive) .lh-support-doc__resources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 56rem;
}
body:not(.theme-lernhive) .lh-support-doc h1,
body:not(.theme-lernhive) .lh-support-doc h2,
body:not(.theme-lernhive) .lh-support-doc h3,
body:not(.theme-lernhive) .lh-support-doc h4 {
  color: var(--lh-text);
  font-weight: 700;
  line-height: 1.3;
  margin: 1.5em 0 0.5em;
}
body:not(.theme-lernhive) .lh-support-doc > :first-child {
  margin-top: 0;
}
body:not(.theme-lernhive) .lh-support-doc h1 {
  font-size: 1.6rem;
}
body:not(.theme-lernhive) .lh-support-doc h2 {
  border-bottom: 1px solid var(--lh-border);
  font-size: 1.3rem;
  padding-bottom: 0.35em;
}
body:not(.theme-lernhive) .lh-support-doc h3 {
  font-size: 1.1rem;
}
body:not(.theme-lernhive) .lh-support-doc h4 {
  font-size: 1rem;
}
body:not(.theme-lernhive) .lh-support-doc p,
body:not(.theme-lernhive) .lh-support-doc ul,
body:not(.theme-lernhive) .lh-support-doc ol {
  color: var(--lh-text);
  margin: 0 0 0.9em;
}
body:not(.theme-lernhive) .lh-support-doc ul,
body:not(.theme-lernhive) .lh-support-doc ol {
  padding-left: 1.5rem;
}
body:not(.theme-lernhive) .lh-support-doc li + li {
  margin-top: 0.2em;
}
body:not(.theme-lernhive) .lh-support-doc blockquote {
  background: var(--lh-bg-soft);
  border-left: 3px solid var(--lh-accent, #f98012);
  border-radius: 0 var(--lh-radius-sm) var(--lh-radius-sm) 0;
  color: var(--lh-text);
  margin: 1em 0;
  padding: 0.75rem 1rem;
}
body:not(.theme-lernhive) .lh-support-doc blockquote > :last-child {
  margin-bottom: 0;
}
body:not(.theme-lernhive) .lh-support-doc table {
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0 0 1.25em;
  width: 100%;
}
body:not(.theme-lernhive) .lh-support-doc th,
body:not(.theme-lernhive) .lh-support-doc td {
  border: 1px solid var(--lh-border);
  padding: 0.4rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
body:not(.theme-lernhive) .lh-support-doc thead th {
  background: var(--lh-bg-soft);
}
body:not(.theme-lernhive) .lh-support-doc code {
  background: var(--lh-bg-soft);
  border-radius: 3px;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
}
body:not(.theme-lernhive) .lh-support-doc pre {
  background: var(--lh-bg-soft);
  border-radius: var(--lh-radius-sm);
  font-size: 0.875rem;
  margin: 0 0 1rem;
  overflow: auto;
  padding: 0.75rem 1rem;
}
body:not(.theme-lernhive) .lh-support-doc pre code {
  background: transparent;
  padding: 0;
}
body:not(.theme-lernhive) .lh-support-doc__figure {
  background: var(--lh-bg-soft);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  margin: 1.5rem 0;
  overflow: hidden;
  padding: 0;
}
body:not(.theme-lernhive) .lh-support-doc__figure img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
body:not(.theme-lernhive) .lh-support-doc__figcaption {
  background: var(--lh-bg-soft);
  border-top: 1px solid var(--lh-border);
  color: var(--lh-muted);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
}
body:not(.theme-lernhive) .lh-support-doc img {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  max-width: 100%;
}
body:not(.theme-lernhive) .lh-support-doc__figure img {
  border: 0;
  border-radius: 0;
}
body:not(.theme-lernhive) .lh-support-screenshots {
  margin-top: 1.5rem;
}
body:not(.theme-lernhive) .lh-support-screenshots__title {
  color: var(--lh-text);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
body:not(.theme-lernhive) .lh-support-shot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}
body:not(.theme-lernhive) .lh-support-shot {
  margin: 0;
  padding: 0.5rem;
}
body:not(.theme-lernhive) .lh-support-shot img {
  border-radius: var(--lh-radius-sm);
  display: block;
  height: auto;
  width: 100%;
}
body:not(.theme-lernhive) .lh-support-shot__caption {
  color: var(--lh-muted);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
  text-align: center;
}
body:not(.theme-lernhive) .lh-support-empty {
  color: var(--lh-muted);
}

.lh-support-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.lh-support-grid > .lh-plugin-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lh-support-grid > .lh-plugin-card .lh-plugin-card__body {
  flex: 1 1 auto;
}

.lh-support-grid > .lh-plugin-card .lh-plugin-card__actions {
  margin-top: auto;
}

body:not(.theme-lernhive) .lh-person-panel {
  background: var(--lh-bg-white);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-card);
  overflow: hidden;
}
body:not(.theme-lernhive) .lh-person-panel--embedded {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: -0.25rem 0 0;
}
body:not(.theme-lernhive) .lh-person-toolbar {
  align-items: center;
  background: #fbfdfe;
  border-bottom: 1px solid var(--lh-border);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  padding: 0.85rem 1rem;
}
body:not(.theme-lernhive) .lh-person-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  color: var(--lh-muted);
  display: flex;
  flex: 0 1 20rem;
  gap: 0.55rem;
  max-width: 22rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.7rem;
}
body:not(.theme-lernhive) .lh-person-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--lh-text);
  flex: 1 1 auto;
  font-size: 0.95rem;
  min-width: 0;
  outline: 0;
  padding: 0;
}
body:not(.theme-lernhive) .lh-person-search:focus-within {
  outline: 2px solid var(--lh-accent);
  outline-offset: 2px;
}
body:not(.theme-lernhive) .lh-person-count {
  color: var(--lh-muted);
  flex: 0 0 auto;
  font-size: 0.875rem;
  margin-left: auto;
}
body:not(.theme-lernhive) .lh-person-list {
  display: grid;
}
body:not(.theme-lernhive) .lh-person-list-head {
  align-items: center;
  background: #f8fbfd;
  border-bottom: 1px solid var(--lh-border);
  color: var(--lh-muted);
  display: grid;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 1rem;
  grid-template-columns: minmax(16rem, 1.5fr) minmax(10rem, 0.8fr) minmax(10rem, 1fr) auto;
  padding: 0.65rem 1rem;
  text-transform: uppercase;
}
body:not(.theme-lernhive) .lh-person-panel--no-actions .lh-person-list-head {
  grid-template-columns: minmax(12rem, 1.3fr) minmax(8rem, 0.7fr) minmax(10rem, 1fr);
}
body:not(.theme-lernhive) .lh-person-sort {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.4rem;
  text-decoration: none;
  width: max-content;
}
body:not(.theme-lernhive) .lh-person-sort:hover, body:not(.theme-lernhive) .lh-person-sort:focus-visible, body:not(.theme-lernhive) .lh-person-sort--active {
  color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-person-row {
  align-items: center;
  border-bottom: 1px solid var(--lh-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(16rem, 1.5fr) minmax(10rem, 0.8fr) minmax(10rem, 1fr) auto;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
}
body:not(.theme-lernhive) .lh-person-row:last-child {
  border-bottom: 0;
}
body:not(.theme-lernhive) .lh-person-row:hover {
  background: #f8fbfd;
}
body:not(.theme-lernhive) .lh-person-panel--no-actions .lh-person-row {
  grid-template-columns: minmax(12rem, 1.3fr) minmax(8rem, 0.7fr) minmax(10rem, 1fr);
}
body:not(.theme-lernhive) .lh-person-identity {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}
body:not(.theme-lernhive) .lh-person-avatar,
body:not(.theme-lernhive) .lh-person-identity .userpicture {
  align-items: center;
  background: #e8f3f8;
  border-radius: 50%;
  color: var(--lh-primary);
  display: inline-flex;
  flex: 0 0 42px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  text-transform: uppercase;
  width: 42px;
}
body:not(.theme-lernhive) .lh-person-avatar--guest {
  background: var(--lh-accent-light);
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-person-main {
  min-width: 0;
}
body:not(.theme-lernhive) .lh-person-name {
  color: var(--lh-text);
  font-weight: 800;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-person-name:hover, body:not(.theme-lernhive) .lh-person-name:focus-visible {
  color: var(--lh-primary);
  text-decoration: underline;
}
body:not(.theme-lernhive) .lh-person-sub {
  color: var(--lh-muted);
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-person-cell-label {
  color: var(--lh-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
body:not(.theme-lernhive) .lh-person-cell-value {
  color: var(--lh-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}
body:not(.theme-lernhive) .lh-person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
body:not(.theme-lernhive) .lh-person-tag {
  align-items: center;
  background: var(--lh-bg-soft);
  border: 1px solid var(--lh-border-light);
  border-radius: var(--lh-radius-pill);
  color: var(--lh-text-secondary);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  gap: 0.3rem;
  min-height: 1.625rem;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}
body:not(.theme-lernhive) .lh-person-tag--active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #166534;
}
body:not(.theme-lernhive) .lh-person-tag--icononly {
  height: 1.875rem;
  justify-content: center;
  padding: 0;
  width: 1.875rem;
}
body:not(.theme-lernhive) .lh-person-tag--warning {
  background: var(--lh-warning-light);
  border-color: #ffd2a8;
  color: var(--lh-accent-dark);
}
body:not(.theme-lernhive) .lh-person-tag--guest {
  background: #ede9fe;
  border-color: #ddd6fe;
  color: #6d28d9;
}
body:not(.theme-lernhive) .lh-person-tag--danger {
  background: var(--lh-danger-light);
  border-color: #f0c2db;
  color: var(--lh-danger);
}
body:not(.theme-lernhive) .lh-person-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
body:not(.theme-lernhive) .lh-person-empty {
  align-items: center;
  color: var(--lh-muted);
  display: flex;
  font-weight: 650;
  gap: 0.65rem;
  justify-content: center;
  min-height: 5rem;
  padding: 1rem;
}
body:not(.theme-lernhive) .lh-person-pagination {
  align-items: center;
  background: #fbfdfe;
  border-top: 1px solid var(--lh-border);
  color: var(--lh-muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}
body:not(.theme-lernhive) .lh-person-pagination__pages {
  align-items: center;
  display: flex;
  gap: 0.4rem;
}
body:not(.theme-lernhive) .lh-person-page {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-pill);
  color: var(--lh-primary);
  display: inline-flex;
  font-weight: 800;
  height: 2.125rem;
  justify-content: center;
  min-width: 2.125rem;
  padding: 0 0.65rem;
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-person-page:hover,
body:not(.theme-lernhive) .lh-person-page:focus-visible {
  border-color: var(--lh-primary);
  text-decoration: none;
}
body:not(.theme-lernhive) .lh-person-page--current {
  background: var(--lh-primary);
  border-color: var(--lh-primary);
  color: #fff;
}

@media (max-width: 767px) {
  body:not(.theme-lernhive) .lh-person-toolbar,
  body:not(.theme-lernhive) .lh-person-pagination {
    align-items: stretch;
    flex-direction: column;
  }
  body:not(.theme-lernhive) .lh-person-search {
    max-width: none;
    width: 100%;
  }
  body:not(.theme-lernhive) .lh-person-list-head {
    display: none;
  }
  body:not(.theme-lernhive) .lh-person-row {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
  body:not(.theme-lernhive) .lh-person-actions {
    justify-content: flex-start;
  }
}
.lh-cat-page__viewtoggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem;
  background: var(--lh-surface-muted, #eef1f4);
  border-radius: 999px;
  padding: 3px;
}

.lh-cat-page__viewtoggle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--lh-text-secondary, #5f6b77);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.lh-cat-page__viewtoggle-link:hover,
.lh-cat-page__viewtoggle-link:focus-visible {
  color: var(--lh-primary, #194866);
  text-decoration: none;
}

.lh-cat-page__viewtoggle-link--active {
  background: var(--lh-surface, #fff);
  color: var(--lh-primary, #194866);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(31, 41, 55, 0.15);
}

.lh-cat-page__viewtoggle-divider {
  display: none;
}

.lh-plugin-shell.lh-cat-shell {
  max-width: min(100%, 110rem);
}

.lh-cat-page__layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(11rem, 13.5rem) minmax(0, 1fr);
}

.lh-cat-page__layout--solo {
  grid-template-columns: minmax(0, 1fr);
}

.lh-cat-page__rail {
  background: #fff;
  border: 1px solid var(--lh-border, #dbe7ee);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.lh-cat-page__rail {
  padding: 0.85rem;
  position: sticky;
  top: 1rem;
}

.lh-cat-page__rail-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lh-cat-page__rail-head h3 {
  color: var(--lh-text, #1f2937);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.lh-cat-page__clear {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.lh-cat-page__clear:hover,
.lh-cat-page__clear:focus-visible {
  color: var(--lh-primary, #194866);
  text-decoration: none;
}

.lh-cat-page__main {
  min-width: 0;
}

.lh-cat-page__toolbar {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.lh-cat-page__search {
  display: block;
  margin: 0;
  width: 100%;
}

body:not(.theme-lernhive) .lh-filter-toolbar__grid.lh-cat-page__search-grid {
  grid-template-columns: minmax(20rem, 1fr) minmax(8rem, 10rem) minmax(8rem, 10rem) auto;
}

.lh-cat-page__search-control {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.lh-cat-page__search-input {
  min-width: 0;
}

.lh-cat-page__search-btn {
  flex: 0 0 auto;
}

.lh-cat-page__datereset {
  align-self: end;
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  white-space: nowrap;
}

.lh-cat-page__datereset:hover,
.lh-cat-page__datereset:focus-visible {
  color: var(--lh-primary, #194866);
}

.lh-cat-page__search-field {
  grid-column: auto;
}

.lh-cat-page__search-actions {
  align-items: center;
}

.lh-cat-page__filterbutton {
  align-items: center;
  background: var(--lh-primary, #194866);
  border-radius: 6px;
  color: #fff;
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.lh-cat-page__filterbutton:hover,
.lh-cat-page__filterbutton:focus-visible {
  color: #fff;
  text-decoration: none;
}

.lh-cat-page__filterbutton span {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.1rem 0.35rem;
}

.lh-cat-page__filtergroup {
  border-top: 1px solid var(--lh-border, #dbe7ee);
  margin-top: 0.9rem;
  min-width: 0;
  padding-top: 0.9rem;
}

.lh-cat-page__filtergroup:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.lh-cat-page__filterlabel {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.lh-cat-page__filteroptions {
  display: grid;
  gap: 0.35rem;
}

.lh-cat-page__filteroption {
  align-items: center;
  border-radius: 6px;
  color: var(--lh-text-secondary, #5f6b77);
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.28rem 0.4rem;
  text-decoration: none;
}

.lh-cat-page__filteroption i {
  text-align: center;
  width: 1rem;
}

.lh-cat-page__filteroption:hover,
.lh-cat-page__filteroption:focus-visible {
  background: var(--lh-bg-soft, #f3f5f8);
  color: var(--lh-text, #1f2937);
  text-decoration: none;
}

.lh-cat-page__filteroption.is-active {
  background: var(--lh-accent-light, #ffecdb);
  box-shadow: inset 3px 0 0 var(--lh-accent, #f98012);
  color: var(--lh-accent-dark, #c25b00);
}

.lh-cat-page__filteroption-label {
  flex: 1 1 auto;
}

.lh-cat-page__filteroption-x {
  width: auto;
  font-size: 0.75rem;
  opacity: 0.85;
}

.lh-cat-page__quickpicks,
.lh-cat-page__activefilters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lh-cat-page__quickpicks-label,
.lh-cat-page__activefilters-label {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 0.1rem;
}

.lh-cat-page__quickpick,
.lh-cat-page__activefilter {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.35rem;
  line-height: 1.2;
  min-height: 30px;
  padding: 0.28rem 0.58rem;
  text-decoration: none;
}

.lh-cat-page__quickpick {
  background: var(--lh-bg-soft, #f3f5f8);
  border: 1px solid var(--lh-border, #dbe7ee);
  color: var(--lh-text-secondary, #5f6b77);
}

.lh-cat-page__quickpick.is-active {
  background: var(--lh-accent-light, #ffecdb);
  border: 1px solid var(--lh-accent, #f98012);
  color: var(--lh-accent-dark, #c25b00);
}

/* Applied filters use the accent colour so they read as distinct from the
 * (blue) quick-pick chips and clearly signal "tap the × to remove". */
.lh-cat-page__activefilter {
  background: var(--lh-accent-light, #ffecdb);
  border: 1px solid var(--lh-accent, #f98012);
  color: var(--lh-accent-dark, #c25b00);
}

.lh-cat-page__quickpick:hover,
.lh-cat-page__quickpick:focus-visible {
  background: #e2f0f8;
  color: var(--lh-primary, #194866);
  text-decoration: none;
}

/* An active quick-pick stays in the top row (recoloured accent + ×). Hovering
 * it fills solid accent so the × reads clearly as "click to remove". */
.lh-cat-page__quickpick.is-active:hover,
.lh-cat-page__quickpick.is-active:focus-visible {
  background: var(--lh-accent, #f98012);
  border-color: var(--lh-accent, #f98012);
  color: #fff;
}

.lh-cat-page__activefilter:hover,
.lh-cat-page__activefilter:focus-visible {
  background: var(--lh-accent, #f98012);
  color: #fff;
  text-decoration: none;
}

.lh-cat-page__resulthead {
  align-items: baseline;
  border-top: 1px solid var(--lh-border, #dbe7ee);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.lh-cat-page__resulthead h3 {
  color: var(--lh-text, #1f2937);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.lh-cat-page__resulthead p {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
}

@media (max-width: 920px) {
  .lh-cat-page__layout {
    grid-template-columns: 1fr;
  }
  .lh-cat-page__main {
    order: 1;
  }
  .lh-cat-page__rail {
    order: 2;
    position: static;
  }
  .lh-cat-page__filterbutton {
    display: inline-flex;
  }
  .lh-cat-page__search-field {
    grid-column: auto;
  }
  body:not(.theme-lernhive) .lh-filter-toolbar__grid.lh-cat-page__search-grid {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 10rem);
  }
  .lh-cat-page__search-field {
    grid-column: 1/-1;
  }
  .lh-cat-page__datereset {
    align-self: center;
    margin-bottom: 0;
  }
  .lh-cat-page__resulthead {
    align-items: flex-start;
    flex-direction: column;
  }
}
.lh-plugin-shell .lh-cat-page__grid.lh-plugin-grid {
  /* `auto-fill` not `auto-fit` so a single result does not stretch
   * across the full page width — it keeps its natural minmax minimum.
   * Scope below the plugin shell instead of Moodle chrome so this stays
   * inside the UI ownership boundary while still beating the default
   * `.lh-plugin-grid` rule (which uses auto-fit). */
  grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.lh-plugin-shell.lh-cat-shell .lh-cat-page__grid.lh-plugin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .lh-plugin-shell.lh-cat-shell .lh-cat-page__grid.lh-plugin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .lh-plugin-shell.lh-cat-shell .lh-cat-page__grid.lh-plugin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Clickable header-tag link. Visual stays the same as the span variant;
 * hover dim makes the affordance clear. */
.lh-plugin-tag--link {
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.lh-plugin-tag--link:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

/* Icon-only tag (type / format) — the label is in the title + a sr-only span;
 * these dimensions are already conveyed by the filter, so the card just shows
 * a compact icon chip. */
.lh-plugin-tag--iconly {
  gap: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Offering card visual outside the block. The block strips the outer
 * border (its container delivers chrome); on the platform page we keep
 * a clean card with subtle shadow and hover lift. */
.lh-cat-page .lh-plugin-card.lh-offering-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid var(--lh-border-light, #f0f0f0);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lh-cat-page .lh-plugin-card.lh-offering-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.lh-cat-page .lh-sem-catalog-card__hero {
  display: block;
  aspect-ratio: 16/9;
  background: #f3f4f6;
  overflow: hidden;
}

.lh-cat-page .lh-sem-catalog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lh-cat-page .lh-plugin-card.lh-offering-card:hover .lh-sem-catalog-card__image {
  transform: scale(1.03);
}

.lh-cat-page .lh-offering-card__body {
  padding: 1rem 1.1rem 0.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.lh-cat-page .lh-plugin-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.lh-cat-page .lh-plugin-card__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lh-text-secondary, #5f6b77);
}

.lh-cat-page .lh-plugin-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  color: var(--lh-text, #1f2937);
}

.lh-cat-page .lh-plugin-card__title-link {
  color: inherit;
  text-decoration: none;
}

.lh-cat-page .lh-plugin-card__title-link:hover {
  color: var(--lh-primary, #194866);
}

.lh-cat-page .lh-plugin-card__body {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--lh-text-secondary, #5f6b77);
  margin: 0 0 0.75rem;
}

.lh-cat-page .lh-plugin-card__metalist {
  margin-top: auto;
  padding: 0;
}

.lh-cat-page .lh-plugin-card__metaitem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--lh-text-secondary, #5f6b77);
  padding: 0.15rem 0;
}

.lh-cat-page .lh-plugin-card__metaitem .fa {
  color: var(--lh-text-secondary, #5f6b77);
  width: 1rem;
  text-align: center;
}

.lh-cat-page .lh-offering-card__footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem 1rem;
  border-top: 1px solid var(--lh-border-light, #f0f0f0);
  background: #fafbfc;
}

/* Trainer is shown as a small round avatar; the name surfaces on hover via the
 * title tooltip (and stays available to screen readers via the sr-only span).
 * Unscoped so it applies wherever the shared offering card renders — the
 * catalogue page and the dashboard blocks alike. */
.lh-offering-card__trainers {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}

.lh-offering-card__trainer {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: default;
}

.lh-offering-card__trainers .lh-offering-card__trainer + .lh-offering-card__trainer {
  margin-left: -0.7rem;
}

.lh-offering-card__trainer-spacer {
  flex: 1 1 auto;
}

.lh-offering-card__trainer-avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff;
}

.lh-offering-card__trainer-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--lh-primary-light, #f3f5f8);
  color: var(--lh-primary, #194866);
  text-transform: uppercase;
}

/* Image-overlay marking flags (recommended / mandatory / paid / enrolment).
 * Anchored to the BOTTOM of the hero on a dark scrim so the labels stay
 * readable over any image and never clip on the card's rounded top corner.
 * Global so they apply on the catalogue page and the dashboard blocks. */
.lh-sem-catalog-card__hero {
  position: relative;
}

.lh-offering-card__flags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.3rem;
  padding: 1.6rem 1.45rem 1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.28) 55%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
}

.lh-offering-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
}

.lh-offering-card__flag--mandatory {
  background: var(--lh-danger, #ab1d79);
}

.lh-offering-card__flag--recommended {
  background: var(--lh-primary, #194866);
}

.lh-offering-card__flag--paid {
  background: var(--lh-accent-dark, #c25b00);
}

.lh-offering-card__flag--self {
  background: #157347;
}

.lh-offering-card__flag--approval {
  background: #475569;
}

.lh-cat-page .lh-sem-catalog-card__capacity {
  flex: 1 1 auto;
  min-width: 0;
}

/* Align the availability/capacity status row with the card body content
 * (it sits outside the padded body, so without this its icon hugs the edge). */
.lh-sem-catalog-card__capacity {
  padding: 0.4rem 1.1rem;
}

.lh-cat-page .lh-sem-catalog-card__capacity-pill {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 0.35rem;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--lh-radius-pill, 999px);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.lh-cat-page .lh-sem-catalog-card__capacity--active .lh-sem-catalog-card__capacity-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #166534;
}

.lh-cat-page .lh-sem-catalog-card__capacity--warning .lh-sem-catalog-card__capacity-pill {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.lh-cat-page .lh-sem-catalog-card__capacity--danger .lh-sem-catalog-card__capacity-pill {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.lh-cat-page .lh-sem-catalog-card__capacity--neutral .lh-sem-catalog-card__capacity-pill,
.lh-cat-page .lh-sem-catalog-card__capacity--meta .lh-sem-catalog-card__capacity-pill {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  color: #374151;
}

.lh-cat-page .lh-sem-catalog-card__capacity--info .lh-sem-catalog-card__capacity-pill {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.lh-cat-page .lh-sem-catalog-card__capacity-bar {
  margin-top: 0.4rem;
  height: 4px;
  /* Always show the complete 100% track so a partial fill reads as
   * progress rather than as an isolated coloured design element. */
  background: var(--lh-border, #dbe7ee);
  border-radius: 999px;
  overflow: hidden;
}

.lh-cat-page .lh-sem-catalog-card__capacity-bar-fill {
  display: block;
  height: 100%;
  width: var(--lh-capacity-fill, 0%);
  background: var(--lh-success, #3aadaa);
  transition: width 0.2s ease;
}

/* A partially completed course uses the same orange warning language as its
 * status pill; only completed/available cards keep the green success fill. */
.lh-cat-page .lh-sem-catalog-card__capacity--warning .lh-sem-catalog-card__capacity-bar-fill {
  background: var(--lh-warning, #f98012);
}

.lh-cat-page .lh-sem-catalog-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: var(--lh-primary-dark, #0f2b3d);
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lh-cat-page .lh-sem-catalog-card__cta:hover,
.lh-cat-page .lh-sem-catalog-card__cta:focus {
  background: var(--lh-primary, #194866);
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}

/* List view */
.lh-cat-page__list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--lh-border-light, #f0f0f0);
  border-radius: 0.5rem;
  background: #fff;
  margin-bottom: 0.5rem;
}

.lh-cat-page__list-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--lh-text, #1f2937);
  text-decoration: none;
  flex: 1 1 16rem;
  min-width: 0;
}

.lh-cat-page__list-link:hover .lh-cat-page__list-title {
  color: var(--lh-primary, #194866);
}

.lh-cat-page__list-title {
  font-weight: 700;
}

.lh-cat-page__list-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--lh-text-secondary, #5f6b77);
  font-weight: 600;
}

.lh-cat-page__list-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lh-cat-page__list-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--lh-text-secondary, #5f6b77);
}

.lh-cat-page__list-metaitem {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lh-cat-page__list-metaitem .fa {
  color: var(--lh-text-secondary, #5f6b77);
}

/* =============================================================================
 * Detail page (Mockup Section C) — used by seminarmanagement view.php
 * Direct on the page background; no enclosing card. Small thumbnail
 * mirrors the catalogue card hero so users recognise the click-through.
 * ============================================================================= */
.lh-detail-head {
  align-items: flex-start;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.lh-detail-thumb {
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
  border-radius: 0.75rem;
  flex: 0 0 auto;
  height: 96px;
  width: 96px;
}

.lh-detail-titleblock {
  flex: 1 1 16rem;
  min-width: 0;
}

.lh-detail-edit {
  align-self: flex-start;
  flex: 0 0 auto;
  white-space: nowrap;
}

.lh-detail-titleblock .lh-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.lh-detail-title {
  color: var(--lh-primary-dark, #0f2b3d);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

.lh-detail-subtitle {
  color: var(--lh-text-secondary, #5f6b77);
  margin: 0;
}

.lh-detail-cta {
  align-items: center;
  background: var(--lh-primary, #194866);
  border-radius: 0.5rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 600;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
}

.lh-detail-cta:hover,
.lh-detail-cta:focus {
  background: var(--lh-primary-dark, #0f2b3d);
  color: #fff;
  text-decoration: none;
}

.lh-detail-cta--secondary {
  background: #fff;
  border: 1px solid var(--lh-border, #dbe7ee);
  color: var(--lh-text, #1f2937);
}

.lh-detail-cta--secondary:hover,
.lh-detail-cta--secondary:focus {
  background: var(--lh-bg-soft, #f3f5f8);
  color: var(--lh-text, #1f2937);
}

/* Body 2-column grid — main + sidebar facts */
.lh-detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 22rem;
  margin-bottom: 1.5rem;
}

.lh-detail-section-title {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.lh-detail-main p {
  color: var(--lh-text, #1f2937);
  margin: 0 0 0.8rem;
}

.lh-detail-trainers {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
}

.lh-detail-trainer {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
  padding: 0.35rem 0.25rem;
}

.lh-detail-trainer__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lh-detail-trainer__desc {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.82rem;
  line-height: 1.35;
}

.lh-detail-divider {
  border: 0;
  border-top: 1px solid var(--lh-border-light, #f0f0f0);
  margin: 0.9rem 0;
}

.lh-detail-trainer__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  height: 2.2rem;
  object-fit: cover;
  width: 2.2rem;
}

.lh-detail-trainer__avatar--initials {
  align-items: center;
  background: var(--lh-primary-light, #f3f5f8);
  color: var(--lh-primary, #194866);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  justify-content: center;
  text-transform: uppercase;
}

.lh-detail-trainer__name {
  color: var(--lh-text, #1f2937);
  font-size: 0.92rem;
}

.lh-detail-equipment {
  color: var(--lh-text, #1f2937);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lh-detail-facts {
  background: var(--lh-bg-soft, #f3f5f8);
  border-radius: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.75rem;
}

.lh-detail-facts li {
  align-items: center;
  border-bottom: 1px solid var(--lh-border-light, #f0f0f0);
  color: var(--lh-text, #1f2937);
  display: flex;
  font-size: 0.92rem;
  gap: 0.7rem;
  padding: 0.65rem 0.25rem;
}

.lh-detail-facts li:last-child {
  border-bottom: 0;
}

.lh-detail-facts li .fa {
  color: var(--lh-text-secondary, #5f6b77);
  flex: 0 0 auto;
  width: 1.1rem;
  text-align: center;
}

.lh-detail-facts li strong {
  color: var(--lh-text, #1f2937);
  margin-right: 0.3rem;
}

@media (max-width: 900px) {
  .lh-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .lh-detail-cta {
    width: 100%;
    justify-content: center;
  }
}
/* =============================================================================
 * Sub-nav tile grid for booking detail (Mockup Section C / X14)
 * Replaces the inline "Termine verwalten · Dokumente · …" link chain.
 * ============================================================================= */
.lh-subnav-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-bottom: 2rem;
}

.lh-subnav-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.lh-subnav-tile {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border-light, #f0f0f0);
  border-radius: 0.5rem;
  color: var(--lh-text, #1f2937);
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lh-subnav-tile:hover,
.lh-subnav-tile:focus-visible {
  border-color: var(--lh-primary, #194866);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: var(--lh-text, #1f2937);
  text-decoration: none;
  transform: translateY(-1px);
}

.lh-subnav-tile--active {
  border-color: var(--lh-primary, #194866);
  background: #eaf3fa;
}

.lh-subnav-tile__icon {
  align-items: center;
  background: var(--lh-bg-soft, #f3f5f8);
  border-radius: 0.5rem;
  color: var(--lh-primary, #194866);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.85rem;
  height: 1.85rem;
  justify-content: center;
  position: relative;
  width: 1.85rem;
}

.lh-subnav-tile__badge {
  align-items: center;
  background: var(--lh-primary, #194866);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  height: 1.05rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.05rem;
  padding: 0 0.25rem;
  position: absolute;
  right: -0.4rem;
  top: -0.35rem;
}

.lh-subnav-tile__label {
  color: var(--lh-text, #1f2937);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

/* LernHive course progress bar (top of an opted-in course page). */
.lh-course-progress {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lh-border, #dbe7ee);
  border-radius: 12px;
  display: flex;
  gap: 1.25rem;
  margin: 0 0 1rem;
  padding: 1.1rem 1.4rem;
}

.lh-course-progress__ring {
  background: conic-gradient(var(--lh-primary, #194866) var(--lh-progress, 0%), var(--lh-bg-soft, #f3f5f8) 0);
  border-radius: 50%;
  display: grid;
  flex: 0 0 auto;
  height: 4.5rem;
  place-items: center;
  position: relative;
  width: 4.5rem;
}

.lh-course-progress__ring::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  inset: 0.55rem;
  position: absolute;
}

.lh-course-progress__ring-value {
  color: var(--lh-primary, #194866);
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
}

.lh-course-progress__body {
  flex: 1 1 auto;
  min-width: 0;
}

.lh-course-progress__head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.lh-course-progress__title {
  color: var(--lh-text, #1f2937);
  font-size: 1.05rem;
  font-weight: 700;
}

.lh-course-progress__count {
  color: var(--lh-primary, #194866);
  font-weight: 700;
  white-space: nowrap;
}

.lh-course-progress__bar {
  background: var(--lh-bg-soft, #f3f5f8);
  border-radius: 999px;
  height: 0.7rem;
  overflow: hidden;
}

.lh-course-progress__bar-fill {
  background: linear-gradient(90deg, #1f2a5a, #5b6bbf);
  border-radius: 999px;
  display: block;
  height: 100%;
  width: var(--lh-progress, 0%);
}

.lh-course-progress__hint {
  color: var(--lh-text-secondary, #5f6b77);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

/* ============================================================================
 * Catalogue offering month grid (/local/lernhive/catalog.php?view=month)
 * feat44c — LernHive-owned month view of bookable seminar sessions. Scales
 * from sparse (5/month) to dense (100+/month) via the per-day session cap +
 * server-side "+N more" expansion; collapses to a date list on small screens.
 * Theme-agnostic like the rest of the catalogue rules.
 * ========================================================================== */
.lh-cat-month__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lh-cat-month__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lh-cat-month__navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--lh-border, #dbe7ee);
  color: var(--lh-text, #1f2937);
  background: var(--lh-surface, #fff);
  text-decoration: none;
}

.lh-cat-month__navbtn:hover,
.lh-cat-month__navbtn:focus {
  border-color: var(--lh-primary, #194866);
  color: var(--lh-primary, #194866);
  text-decoration: none;
}

.lh-cat-month__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0 0.35rem;
}

.lh-cat-month__grid {
  border: 1px solid var(--lh-border, #dbe7ee);
  border-radius: 10px;
  overflow: hidden;
  background: var(--lh-surface, #fff);
}

.lh-cat-month__weekdays,
.lh-cat-month__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.lh-cat-month__weekdays {
  background: var(--lh-surface-muted, #f4f6f8);
  border-bottom: 1px solid var(--lh-border, #dbe7ee);
}

.lh-cat-month__weekday {
  padding: 0.4rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lh-text-secondary, #5f6b77);
}

.lh-cat-month__day {
  min-height: 6.5rem;
  padding: 0.35rem 0.4rem 0.5rem;
  border-right: 1px solid var(--lh-border, #dbe7ee);
  border-bottom: 1px solid var(--lh-border, #dbe7ee);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.lh-cat-month__week .lh-cat-month__day:last-child {
  border-right: 0;
}

.lh-cat-month__week:last-child .lh-cat-month__day {
  border-bottom: 0;
}

.lh-cat-month__day--blank {
  background: var(--lh-surface-muted, #f4f6f8);
}

.lh-cat-month__daynum {
  align-self: flex-end;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lh-text-secondary, #5f6b77);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.lh-cat-month__day--today .lh-cat-month__daynum {
  background: var(--lh-primary, #194866);
  color: #fff;
}

.lh-cat-month__sessions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}

.lh-cat-month__session {
  display: block;
  padding: 0.2rem 0.4rem 0.25rem;
  border-left: 3px solid var(--lh-primary, #194866);
  border-radius: 4px;
  background: var(--lh-surface-muted, #f4f6f8);
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--lh-text, #1f2937);
  text-decoration: none;
  min-width: 0;
}

.lh-cat-month__session:hover,
.lh-cat-month__session:focus {
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(31, 41, 55, 0.18);
  color: var(--lh-text, #1f2937);
}

.lh-cat-month__stitle {
  display: inline;
  overflow-wrap: anywhere;
}

.lh-cat-month__session--online {
  border-left-color: var(--lh-info, #2563eb);
}

.lh-cat-month__session--in_person {
  border-left-color: var(--lh-success, #3aadaa);
}

.lh-cat-month__session--hybrid {
  border-left-color: var(--lh-warning, #f98012);
}

.lh-cat-month__more {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lh-primary, #194866);
  text-decoration: none;
  align-self: flex-start;
}

.lh-cat-month__more:hover,
.lh-cat-month__more:focus {
  text-decoration: underline;
}

.lh-cat-month__empty {
  margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
  /* Collapse the grid into a date list: hide chrome + empty days. */
  .lh-cat-month__weekdays {
    display: none;
  }
  .lh-cat-month__week {
    display: block;
  }
  .lh-cat-month__day {
    border-right: 0;
    min-height: 0;
  }
  .lh-cat-month__day--blank,
  .lh-cat-month__day:not(.lh-cat-month__day--has):not(.lh-cat-month__day--today) {
    display: none;
  }
  .lh-cat-month__daynum {
    align-self: flex-start;
  }
}
.lh-session {
  max-width: 720px;
}

.lh-session__meta {
  margin: 0 0 1rem;
  color: var(--lh-muted, #5f6b77);
  font-size: 0.875rem;
}

.lh-session-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--lh-border, #dbe7ee);
  border-radius: var(--lh-radius, 12px);
  background: var(--lh-bg-white, #ffffff);
  overflow: hidden;
}

.lh-session-step {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--lh-border, #dbe7ee);
}

.lh-session-step:last-child {
  border-bottom: 0;
}

.lh-session-step__number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--lh-bg-soft, #f3f5f8);
  color: var(--lh-primary, #194866);
  font-weight: 700;
}

.lh-session-step--done .lh-session-step__number {
  background: var(--lh-success, #3aadaa);
  color: #fff;
}

.lh-session-step--done .lh-session-step__body strong {
  text-decoration: line-through;
  color: var(--lh-muted, #5f6b77);
}

.lh-session-step__body {
  min-width: 0;
}

.lh-session-step__body strong {
  display: block;
  color: var(--lh-primary, #194866);
}

.lh-session-step__body span {
  color: var(--lh-muted, #5f6b77);
  font-size: 0.875rem;
}

.lh-session-step__meta {
  color: var(--lh-muted, #5f6b77);
  font-size: 0.75rem;
  white-space: nowrap;
}

.lh-session-step__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lh-session-step__open,
.lh-session-step__done {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.lh-session-step__open {
  background: var(--lh-primary, #194866);
  color: #fff;
}

.lh-session-step__open:hover,
.lh-session-step__open:focus-visible {
  background: var(--lh-accent, #f98012);
  color: #fff;
  text-decoration: none;
}

.lh-session-step__done {
  border: 1px solid var(--lh-border, #dbe7ee);
  color: var(--lh-primary, #194866);
  background: var(--lh-bg-soft, #f3f5f8);
}

.lh-session-step__done:hover,
.lh-session-step__done:focus-visible {
  border-color: var(--lh-primary, #194866);
  text-decoration: none;
}

.lh-session-done {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px dashed var(--lh-border, #dbe7ee);
  border-radius: var(--lh-radius, 12px);
  background: var(--lh-bg-soft, #f3f5f8);
}

.lh-session-done__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 9999px;
  background: var(--lh-success, #3aadaa);
  color: #fff;
  font-size: 1.25rem;
}

.lh-session-done strong {
  display: block;
  color: var(--lh-primary, #194866);
}

.lh-session-done span {
  color: var(--lh-muted, #5f6b77);
  font-size: 0.875rem;
}

.lh-session__back {
  margin-top: 1rem;
}

/* The org-chart approval-request surface ships its own card chrome so it can
 * stand alone (dashboard). Embedded in the course detail card it reads as a
 * card-in-card — flatten the inner card to a plain section on the detail page. */
.lh-detail-approval .lh-plugin-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.lh-detail-approval {
  border-top: 1px solid var(--lh-border-light, #f0f0f0);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

/* --- Feedback matrix presentation (P4 Feedback-Auswertung) ------------------
   Consecutive radio questions sharing one scale are regrouped client-side by
   local_lernhive/feedback_matrix into a matrix table on the completion form.
   Presentation only: the native mform items stay in the DOM (hidden) and keep
   owning the submitted inputs. */
.path-mod-feedback .lh-feedback-matrix {
  margin: 0 0 1.5rem;
  overflow-x: auto;
}

.path-mod-feedback .lh-feedback-matrix__table {
  border-collapse: collapse;
  width: 100%;
}

.path-mod-feedback .lh-feedback-matrix__table th,
.path-mod-feedback .lh-feedback-matrix__table td {
  border-bottom: 1px solid var(--lh-border-light, #f0f0f0);
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.path-mod-feedback .lh-feedback-matrix__table thead th {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.path-mod-feedback .lh-feedback-matrix__table tbody th[scope=row] {
  font-weight: 500;
  text-align: left;
}

.path-mod-feedback .lh-feedback-matrix__table tbody td {
  cursor: pointer;
  text-align: center;
}

.path-mod-feedback .lh-feedback-matrix__table tbody tr:hover {
  background: var(--lh-bg-soft, #f3f5f8);
}

.path-mod-feedback .lh-feedback-matrix__hidden {
  display: none !important;
}

html[data-lh-ui] body.pagelayout-mydashboard .lernhive-page-content {
  gap: var(--lh-spacing-xs);
  padding-top: var(--lh-spacing-xs);
}
html[data-lh-ui] body.pagelayout-mydashboard .lh-cta-strip {
  margin-inline: 0;
  max-width: none;
  width: 100%;
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-main {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-block: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-main-section,
html[data-lh-ui] body.pagelayout-mydashboard #region-main,
html[data-lh-ui] body.pagelayout-mydashboard #page-content {
  margin-top: 0;
  padding-top: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lernhive-section-header,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > [data-block] {
  margin-top: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip {
  margin-bottom: var(--lh-spacing-xs);
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip + .lernhive-section-header,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip + .block,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip + [data-block] {
  margin-top: var(--lh-spacing-xs);
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lernhive-section-header {
  padding-top: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content {
  align-items: start;
  display: grid;
  gap: var(--lh-spacing-lg);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(18rem, 24rem);
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .lh-cta-strip,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .local-lh-onboarding-banner {
  grid-column: 1/-1;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > [data-block] {
  margin: 0;
  min-width: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mycourses {
  grid-column: 1/3;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_myseminars {
  grid-column: 1;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mybookmarks {
  grid-column: 2;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_my,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_timeline,
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_calendar_month {
  grid-column: 3;
}
html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_my {
  position: sticky;
  top: var(--lh-spacing-md);
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-course-overview {
  background: transparent;
  border: 0;
  box-shadow: none;
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-course-section-header {
  margin-top: var(--lh-spacing-sm);
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-dashboard-search {
  align-items: center;
  display: flex;
}
html[data-lh-ui] body.pagelayout-mydashboard .lernhive-dashboard-search input {
  border-end-end-radius: 0;
  border-start-end-radius: 0;
}
html[data-lh-ui] body.pagelayout-mydashboard .lh-search-btn {
  border-end-start-radius: 0;
  border-start-start-radius: 0;
  margin-inline-start: -1px;
}

@media (max-width: 87.49875rem) {
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  }
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mycourses,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_myseminars,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mybookmarks {
    grid-column: 1;
  }
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_my,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_timeline,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_calendar_month {
    grid-column: 2;
  }
}
@media (max-width: 61.99875rem) {
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mycourses,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_myseminars,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_mybookmarks,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_my,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_timeline,
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_calendar_month {
    grid-column: 1;
  }
  html[data-lh-ui] body.pagelayout-mydashboard #block-region-content > .block_lernhive_my {
    position: static;
  }
}
html[data-lh-ui=explorer] body#page-course-edit #fitem_id_shortname,
html[data-lh-ui=explorer] body#page-course-edit #fitem_id_category,
html[data-lh-ui=explorer] body#page-course-edit #fitem_id_visible,
html[data-lh-ui=explorer] body#page-course-edit #fitem_id_idnumber,
html[data-lh-ui=explorer] body#page-course-edit #id_courseformathdr,
html[data-lh-ui=explorer] body#page-course-edit #id_appearancehdr,
html[data-lh-ui=explorer] body#page-course-edit #id_filehdr,
html[data-lh-ui=explorer] body#page-course-edit #id_groups,
html[data-lh-ui=explorer] body#page-course-edit #id_tagshdr,
html[data-lh-ui=explorer] body#page-course-edit #id_completionhdr,
html[data-lh-ui=explorer] body#page-course-edit #id_startdate_hour,
html[data-lh-ui=explorer] body#page-course-edit #id_startdate_minute,
html[data-lh-ui=explorer] body#page-course-edit #id_enddate_hour,
html[data-lh-ui=explorer] body#page-course-edit #id_enddate_minute {
  display: none;
}

html[data-lh-ui] body#page-course-edit .lh-target-audience-picker,
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__input {
  max-width: 32.5rem;
  width: 100%;
}
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lh-spacing-xs);
  margin-bottom: var(--lh-spacing-xs);
}
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__chip {
  align-items: center;
  background: var(--lh-primary-light);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  color: var(--lh-text);
  display: inline-flex;
  font-weight: 600;
  gap: var(--lh-spacing-xs);
  line-height: 1.25;
  max-width: 100%;
  padding: var(--lh-spacing-xs) var(--lh-spacing-sm);
}
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__remove {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--lh-radius-pill);
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  height: 1.5rem;
  justify-content: center;
  padding: 0;
  width: 1.5rem;
}
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__remove:hover,
html[data-lh-ui] body#page-course-edit .lh-target-audience-picker__remove:focus-visible {
  background: var(--lh-border);
}

html[data-lh-ui=explorer] body#page-course-view-participants #action_bar,
html[data-lh-ui=explorer] body#page-course-view-participants .initialbar,
html[data-lh-ui=explorer] body#page-course-view-participants [data-region=participant-count],
html[data-lh-ui=explorer] body#page-course-view-participants .filter-group,
html[data-lh-ui=explorer] body#page-course-view-participants div[id^=core-filter-],
html[data-lh-ui=explorer] body#page-course-view-participants label[for=formactionid],
html[data-lh-ui=explorer] body#page-course-view-participants #formactionid,
html[data-lh-ui=explorer] body#page-course-view-participants .d-flex:has(#formactionid) {
  display: none;
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-status-active,
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-status-suspended {
  border-radius: var(--lh-radius-sm);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--lh-spacing-xs) var(--lh-spacing-sm);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-status-active {
  background: var(--lh-success-light);
  color: var(--lh-success);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-status-suspended {
  background: var(--lh-warning-light);
  color: var(--lh-warning);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions {
  align-items: center;
  display: flex;
  gap: var(--lh-spacing-xs);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions a {
  align-items: center;
  border-radius: var(--lh-radius-sm);
  color: var(--lh-muted);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  text-decoration: none;
  width: 2.75rem;
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions a:hover,
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions a:focus-visible {
  background: var(--lh-bg-soft);
  color: var(--lh-text);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions .lh-act-info:hover,
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions .lh-act-info:focus-visible {
  color: var(--lh-primary);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions .lh-act-delete:hover,
html[data-lh-ui=explorer] body#page-course-view-participants .lernhive-participant-actions .lh-act-delete:focus-visible {
  background: var(--lh-danger-light);
  color: var(--lh-danger);
}
html[data-lh-ui=explorer] body#page-course-view-participants .lh-actions-cell {
  white-space: nowrap;
}

html[data-lh-ui=explorer] body.path-course-view.editing .course-section .divider .divider-content, html[data-lh-ui=explorer] body.path-course-view.editing .course-section .divider .divider-content .btn.add-content {
  opacity: 1;
  visibility: visible;
}
html[data-lh-ui=explorer] body.path-course-view .course-section .add-content .dropdown-menu [data-action=addSection],
html[data-lh-ui=explorer] body.path-course-view .course-section .add-content .dropdown-menu [data-value=subsection],
html[data-lh-ui=explorer] body.path-course-view .course-content .add-content .dropdown-menu [data-action=addSection],
html[data-lh-ui=explorer] body.path-course-view .course-content .add-content .dropdown-menu [data-value=subsection],
html[data-lh-ui=explorer] body.path-course-view .divider .dropdown-menu [data-action=addSection],
html[data-lh-ui=explorer] body.path-course-view .divider .dropdown-menu [data-value=subsection] {
  display: none;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .modal-dialog {
  max-width: 28.75rem;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .modal-body {
  max-height: none;
  overflow: visible;
  padding: var(--lh-spacing-sm) var(--lh-spacing-md);
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer[role=menubar] {
  display: flex;
  flex-direction: column;
  gap: var(--lh-spacing-xs);
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer [role=menuitem] {
  align-items: center;
  border-radius: var(--lh-radius-sm);
  display: flex;
  gap: var(--lh-spacing-sm);
  padding: var(--lh-spacing-sm);
  width: 100%;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer [role=menuitem]:hover {
  background: var(--lh-primary-light);
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer [role=menuitem] .optionname {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 0;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer .activityiconcontainer {
  flex-shrink: 0;
  height: 2rem;
  width: 2rem;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .optionscontainer .optionactions {
  margin-inline-start: auto;
}
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .modal-content,
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .modal-header,
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .modal-footer,
html[data-lh-ui=explorer] body.path-course-view .modal:has(.modchoosercontainer) .carousel-item {
  background: var(--lh-bg-white);
}

html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_optionssection,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_modstandardelshdr,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_availabilityconditionsheader,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_activitycompletionheader,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_completionexpected,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_tagshdr,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_competenciessection,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] #id_coursecontentnotification,
html[data-lh-ui=explorer] body.path-mod[id$=-mod] .fitem:has(#id_coursecontentnotification) {
  display: none;
}

html[data-lh-ui=explorer] body#page-user-editadvanced #fitem_id_username,
html[data-lh-ui=explorer] body#page-user-editadvanced .fitem[data-groupname=username],
html[data-lh-ui=explorer] body#page-user-editadvanced #id_username,
html[data-lh-ui=explorer] body#page-user-editadvanced #fitem_id_auth,
html[data-lh-ui=explorer] body#page-user-editadvanced .fitem[data-groupname=auth],
html[data-lh-ui=explorer] body#page-user-editadvanced #fitem_id_preference_auth_forcepasswordchange,
html[data-lh-ui=explorer] body#page-user-editadvanced .fitem[data-groupname=preference_auth_forcepasswordchange],
html[data-lh-ui=explorer] body#page-user-editadvanced #fitem_id_signoutofotherservices,
html[data-lh-ui=explorer] body#page-user-editadvanced .fitem[data-groupname=signoutofotherservices],
html[data-lh-ui=explorer] body#page-user-editadvanced #id_additionalnames,
html[data-lh-ui=explorer] body#page-user-editadvanced #id_interests,
html[data-lh-ui=explorer] body#page-user-editadvanced #id_optional,
html[data-lh-ui=explorer] body#page-user-editadvanced #fitem_id_description_editor,
html[data-lh-ui=explorer] body#page-user-editadvanced .fitem[data-groupname=description_editor],
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #fitem_id_username,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] .fitem[data-groupname=username],
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_username,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #fitem_id_auth,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] .fitem[data-groupname=auth],
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #fitem_id_preference_auth_forcepasswordchange,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] .fitem[data-groupname=preference_auth_forcepasswordchange],
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #fitem_id_signoutofotherservices,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] .fitem[data-groupname=signoutofotherservices],
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_additionalnames,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_interests,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_optional,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #fitem_id_description_editor,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] .fitem[data-groupname=description_editor] {
  display: none;
}
html[data-lh-ui=explorer] body#page-user-editadvanced #id_moodle_picture .fp-repo-area .fp-repo:not(:first-child),
html[data-lh-ui=explorer] body#page-user-editadvanced #id_moodle_picture .fp-viewbar,
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_moodle_picture .fp-repo-area .fp-repo:not(:first-child),
html[data-lh-ui=explorer] body[id^=page-admin-user-editadvanced] #id_moodle_picture .fp-viewbar {
  display: none;
}

body#page-local-lernhive-enrol .lh-enrol-back {
  align-items: center;
  color: var(--lh-muted);
  display: inline-flex;
  font-size: 0.85rem;
  gap: var(--lh-spacing-xs);
  margin-bottom: var(--lh-spacing-lg);
  text-decoration: none;
  transition: color 0.2s;
}
body#page-local-lernhive-enrol .lh-enrol-back:hover,
body#page-local-lernhive-enrol .lh-enrol-back:focus-visible {
  color: var(--lh-primary);
  text-decoration: none;
}
body#page-local-lernhive-enrol .lh-enrol-back svg,
body#page-local-lernhive-enrol .lh-enrol-action-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
body#page-local-lernhive-enrol .lh-enrol-back svg {
  height: 1rem;
  width: 1rem;
}
body#page-local-lernhive-enrol .lh-enrol-section {
  margin-bottom: var(--lh-spacing-xl);
}
body#page-local-lernhive-enrol .lh-enrol-section-title {
  border-bottom: 2px solid var(--lh-border);
  color: var(--lh-text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--lh-spacing-md);
  padding-bottom: var(--lh-spacing-sm);
  text-transform: uppercase;
}
body#page-local-lernhive-enrol .lh-enrol-search {
  align-items: center;
  display: flex;
  gap: var(--lh-spacing-sm);
  margin-bottom: var(--lh-spacing-md);
}
body#page-local-lernhive-enrol .lh-enrol-search input[type=text] {
  background: var(--lh-bg-soft);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-pill);
  flex: 1;
  font-size: 0.9rem;
  max-width: 25rem;
  padding: var(--lh-spacing-sm) var(--lh-spacing-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
body#page-local-lernhive-enrol .lh-enrol-search input[type=text]:focus {
  background: var(--lh-bg-white);
  border-color: var(--lh-primary);
  box-shadow: 0 0 0 3px rgba(25, 72, 102, 0.12);
  outline: none;
}
body#page-local-lernhive-enrol .lh-enrol-search button {
  border-radius: var(--lh-radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--lh-spacing-sm) var(--lh-spacing-lg);
}
body#page-local-lernhive-enrol .lh-enrol-count {
  color: var(--lh-muted);
  font-size: 0.85rem;
  margin-bottom: var(--lh-spacing-sm);
}
body#page-local-lernhive-enrol .lh-enrol-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
body#page-local-lernhive-enrol .lh-enrol-table thead th {
  background: var(--lh-bg-soft);
  border-bottom: 2px solid var(--lh-border);
  color: var(--lh-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--lh-spacing-sm) var(--lh-spacing-md);
  text-transform: uppercase;
  white-space: nowrap;
}
body#page-local-lernhive-enrol .lh-enrol-table tbody tr {
  transition: background 0.15s;
}
body#page-local-lernhive-enrol .lh-enrol-table tbody tr:hover {
  background: var(--lh-primary-light);
}
body#page-local-lernhive-enrol .lh-enrol-table tbody td {
  border-bottom: 1px solid var(--lh-border);
  font-size: 0.9rem;
  padding: var(--lh-spacing-sm) var(--lh-spacing-md);
  vertical-align: middle;
}
body#page-local-lernhive-enrol .lh-enrol-table .user-name-cell {
  align-items: center;
  display: flex;
  gap: var(--lh-spacing-sm);
}
body#page-local-lernhive-enrol .lh-enrol-table .user-name-cell img {
  border-radius: var(--lh-radius-pill);
  height: 2rem;
  object-fit: cover;
  width: 2rem;
}
body#page-local-lernhive-enrol .lh-enrol-table .user-name-cell .name {
  color: var(--lh-text);
  font-weight: 600;
}
body#page-local-lernhive-enrol .lh-enrol-action-btn {
  align-items: center;
  border: 0;
  border-radius: var(--lh-radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: var(--lh-spacing-xs);
  padding: var(--lh-spacing-xs) var(--lh-spacing-sm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
body#page-local-lernhive-enrol .lh-enrol-action-btn.enrol {
  background: var(--lh-success-light);
  color: var(--lh-success);
}
body#page-local-lernhive-enrol .lh-enrol-action-btn.enrol:hover,
body#page-local-lernhive-enrol .lh-enrol-action-btn.enrol:focus-visible {
  background: var(--lh-success);
  color: var(--lh-bg-white);
  text-decoration: none;
}
body#page-local-lernhive-enrol .lh-enrol-action-btn.unenrol {
  background: var(--lh-warning-light);
  color: var(--lh-warning);
}
body#page-local-lernhive-enrol .lh-enrol-action-btn.unenrol:hover,
body#page-local-lernhive-enrol .lh-enrol-action-btn.unenrol:focus-visible {
  background: var(--lh-warning);
  color: var(--lh-bg-white);
  text-decoration: none;
}
body#page-local-lernhive-enrol .lh-enrol-action-btn svg {
  height: 0.875rem;
  width: 0.875rem;
}
body#page-local-lernhive-enrol .lh-enrol-empty {
  color: var(--lh-muted);
  font-size: 0.9rem;
  padding: var(--lh-spacing-xl);
  text-align: center;
}
body#page-local-lernhive-enrol .lh-enrol-role-badge {
  background: var(--lh-primary-light);
  border-radius: var(--lh-radius-pill);
  color: var(--lh-primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.125rem var(--lh-spacing-sm);
}

/* Level bar shown to teachers on course pages */
.lernhive-level-bar {
  align-items: center;
  border-bottom: 2px solid;
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 8px 16px;
}

.lernhive-level-1 {
  background: #e8f5e9;
  border-color: #66bb6a;
  color: #2e7d32;
}

.lernhive-level-2 {
  background: #e3f2fd;
  border-color: #42a5f5;
  color: #1565c0;
}

.lernhive-level-3 {
  background: #fff3e0;
  border-color: #ffa726;
  color: #e65100;
}

.lernhive-level-4 {
  background: #f3e5f5;
  border-color: #ab47bc;
  color: #6a1b9a;
}

.lernhive-level-5 {
  background: #fff8e1;
  border-color: #ffd54f;
  color: #f57f17;
}

.lernhive-level-info {
  font-weight: 500;
}

.lernhive-next {
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.8;
}

/* Admin dashboard stats grid */
.lernhive-stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 20px;
}

.lernhive-stat-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.lernhive-stat-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lernhive-stat-total {
  border-left: 4px solid #495057;
}

.lernhive-stat-level-1 {
  border-left: 4px solid #66bb6a;
}

.lernhive-stat-level-2 {
  border-left: 4px solid #42a5f5;
}

.lernhive-stat-level-3 {
  border-left: 4px solid #ffa726;
}

.lernhive-stat-level-4 {
  border-left: 4px solid #ab47bc;
}

.lernhive-stat-level-5 {
  border-left: 4px solid #ffd54f;
}

.lernhive-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.lernhive-stat-label {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Level badges */
.lernhive-badge-level-1 {
  background: #e8f5e9;
  color: #2e7d32;
}

.lernhive-badge-level-2 {
  background: #e3f2fd;
  color: #1565c0;
}

.lernhive-badge-level-3 {
  background: #fff3e0;
  color: #e65100;
}

.lernhive-badge-level-4 {
  background: #f3e5f5;
  color: #6a1b9a;
}

.lernhive-badge-level-5 {
  background: #fff8e1;
  color: #f57f17;
}

[class^=lernhive-badge-level-] {
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Dashboard table */
.lernhive-dashboard-table td {
  vertical-align: middle;
}

.lernhive-level-form {
  align-items: center;
  display: flex;
  gap: 4px;
}

.lernhive-level-form .custom-select-sm {
  min-width: 180px;
}

/* Search form */
.lernhive-search-form .input-group {
  max-width: 500px;
}

/* ── Dashboard welcome section (0.2.x) ───────────────────────── */
.lernhive-welcome-section {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-end;
  padding: 1.5rem 0 1rem;
}

.lernhive-welcome-left {
  flex: 1 1 auto;
  min-width: 0;
}

.lernhive-welcome-heading {
  color: #1a2e3b;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.lernhive-welcome-right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
}

/* Level badge */
.lernhive-level-badge {
  align-items: center;
  display: flex;
  gap: 0.625rem;
}

.lernhive-level-badge-circle {
  align-items: center;
  background: rgba(25, 72, 102, 0.08);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.lernhive-level-badge-circle svg {
  height: 1.25rem;
  width: 1.25rem;
}

.lernhive-level-badge-text strong {
  color: #194866;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* Progress ring — constrain the SVG! */
.lernhive-progress-ring {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.lernhive-progress-circle {
  flex-shrink: 0;
  height: 64px;
  position: relative;
  width: 64px;
}

.lernhive-progress-circle svg {
  display: block;
  height: 64px;
  width: 64px;
}

.lernhive-progress-circle-text {
  align-items: center;
  color: #194866;
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.lernhive-progress-ring-label {
  color: #5c7a8a;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
