/**
 * Mein TEN® — Portal design language
 * Visual system only (no business logic).
 */

:root {
  /* Area colors — support: „grüner Bereich Personen“ */
  --myten-overview: #cc0607;
  --myten-overview-tint: rgba(204, 6, 7, 0.06);
  --myten-bookings: #2f6fed;
  --myten-bookings-tint: rgba(47, 111, 237, 0.07);
  --myten-people: #1f8a5b;
  --myten-people-tint: rgba(31, 138, 91, 0.08);
  --myten-certificates: #6b4db8;
  --myten-certificates-tint: rgba(107, 77, 184, 0.08);
  --myten-files: #0f8f8a;
  --myten-files-tint: rgba(15, 143, 138, 0.08);
  --myten-company: #1e3a5f;
  --myten-company-tint: rgba(30, 58, 95, 0.07);
  --myten-training: #c45c1a;
  --myten-training-tint: rgba(196, 92, 26, 0.08);
  --myten-security: #4a4f55;
  --myten-security-tint: rgba(74, 79, 85, 0.08);

  /* Atmosphere */
  --myten-surface: #f3f2ef;
  --myten-ink: #1c1c1c;
  --myten-muted: #6a6a6a;
  /* Dense micro-dot: readable as material, not as wallpaper */
  --myten-dot: rgba(52, 46, 40, 0.125);
  --myten-dot-soft: rgba(52, 46, 40, 0.06);
}

/* —— Atmosphere: warm off-white + porous micro-dot + soft TEN forms —— */
body.pid113,
body.pid97,
body.pid105,
#uid113,
#uid97,
#uid105,
body.pid113 .site,
body.pid97 .site,
body.pid105 .site,
#uid113 .site,
#uid97 .site,
#uid105 .site {
  background-color: var(--myten-surface) !important;
}

#uid113 .allcont,
#uid97 .allcont,
#uid105 .allcont,
body.pid113 .allcont,
body.pid97 .allcont,
body.pid105 .allcont,
.allcont--myten {
  /* Keep clearance for sticky/fixed site header — never 0 or portal covers logo/nav */
  padding-top: 72px !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--myten-surface) !important;
  background-image: none !important;
  padding-bottom: 120px !important;
  min-height: 70vh;
  z-index: 0;
}

#uid113 .allcont section.cont,
#uid97 .allcont section.cont,
#uid105 .allcont section.cont,
body.pid113 .allcont section.cont,
body.pid97 .allcont section.cont,
body.pid105 .allcont section.cont,
.allcont--myten section.cont {
  background: transparent !important;
}

/* Layer 1: dense micro-dot / display raster (technical porosity) */
#uid113 .allcont::before,
#uid97 .allcont::before,
#uid105 .allcont::before,
body.pid113 .allcont::before,
body.pid97 .allcont::before,
body.pid105 .allcont::before,
.allcont--myten::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: 0 -4% -8%;
  /* Two slightly offset grids → porous field, not a hard lattice */
  background-image:
    radial-gradient(circle, var(--myten-dot) 0.55px, transparent 0.85px),
    radial-gradient(circle, var(--myten-dot-soft) 0.4px, transparent 0.7px);
  background-size: 6px 6px, 6px 6px;
  background-position: 0 0, 3px 3px;
  background-repeat: repeat;
  opacity: 1;
  transform: none;
  /*
    Single layered mask (no aggressive intersect kill):
    stronger in welcome/header, softer mid-page, fade bottom + sides.
  */
  -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.88) 12%,
      rgba(0, 0, 0, 0.58) 32%,
      rgba(0, 0, 0, 0.38) 55%,
      rgba(0, 0, 0, 0.2) 78%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    radial-gradient(ellipse 120% 90% at 50% 20%, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.88) 12%,
      rgba(0, 0, 0, 0.58) 32%,
      rgba(0, 0, 0, 0.38) 55%,
      rgba(0, 0, 0, 0.2) 78%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    radial-gradient(ellipse 120% 90% at 50% 20%, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Layer 2: organic arcs / soft red + graphite washes */
#uid113 .allcont::after,
#uid97 .allcont::after,
#uid105 .allcont::after,
body.pid113 .allcont::after,
body.pid97 .allcont::after,
body.pid105 .allcont::after,
.allcont--myten::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: 0 -4% 0;
  background:
    radial-gradient(ellipse 58% 42% at 94% -4%, rgba(204, 6, 7, 0.055) 0%, transparent 72%),
    radial-gradient(ellipse 50% 46% at -6% 22%, rgba(30, 42, 58, 0.045) 0%, transparent 70%),
    radial-gradient(circle 32rem at 110% 58%, rgba(30, 42, 58, 0.035) 0%, transparent 72%),
    radial-gradient(ellipse 42% 30% at 12% 88%, rgba(204, 6, 7, 0.032) 0%, transparent 74%);
  opacity: 1;
}

#uid113 .allcont > *,
#uid97 .allcont > *,
#uid105 .allcont > *,
body.pid113 .allcont > *,
body.pid97 .allcont > *,
body.pid105 .allcont > *,
.allcont--myten > * {
  position: relative;
  z-index: 1;
}

/* Alte Account-Unterseiten-Navigation (Meine Daten | Meine Dateien | Meine Kurse)
   Auf 97/105/113: Frames ohne Plugin/Portal-Inhalt ausblenden. */
#uid97 section.cont > .frame:not(:has(.tx-courses)):not(:has(.myten-portal)),
#uid105 section.cont > .frame:not(:has(.tx-courses)):not(:has(.tx-femanager)),
#uid113 section.cont > .frame:not(:has(.tx-femanager)):not(:has(.tx-courses)),
body.pid97 section.cont > .frame:not(:has(.tx-courses)):not(:has(.myten-portal)),
body.pid105 section.cont > .frame:not(:has(.tx-courses)):not(:has(.tx-femanager)),
body.pid113 section.cont > .frame:not(:has(.tx-femanager)):not(:has(.tx-courses)),
.allcont--myten section.cont > .frame:not(:has(.tx-courses)):not(:has(.myten-portal)):not(:has(.tx-femanager)) {
  display: none !important;
}
#uid97 .frame-type-menu_subpages,
#uid97 .frame-type-menu_pages,
#uid105 .frame-type-menu_subpages,
#uid113 .frame-type-menu_subpages,
body.pid97 .frame-type-menu_subpages,
body.pid105 .frame-type-menu_subpages,
body.pid113 .frame-type-menu_subpages {
  display: none !important;
}

#uid113 .myten-account-shell,
#uid97 .myten-account-shell,
body.pid113 .myten-account-shell,
body.pid97 .myten-account-shell {
  display: block;
  width: min(1240px, 94%);
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 0 0;
  box-sizing: border-box;
  background: transparent;
}
#uid97 .myten-account-shell--bookings,
body.pid97 .myten-account-shell--bookings {
  display: none;
}
#uid113 .myten-account-shell .tx-courses,
#uid113 .myten-account-shell .tx-courses .myten-portal,
#uid97 .tx-courses,
#uid97 .tx-courses .myten-portal,
body.pid97 .tx-courses,
body.pid97 .tx-courses .myten-portal {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

.tx-courses .myten-portal--dashboard.userCourseOverview,
.tx-courses .myten-portal--bookings.userCourseOverview {
  max-width: 1240px !important;
  width: min(1240px, 94%) !important;
  margin: 0 auto !important;
  padding: 4px 0 140px !important;
  background: transparent !important;
  color: var(--myten-ink);
  box-sizing: border-box;
}

.tx-courses .myten-card,
.tx-courses a.myten-action,
.tx-courses .myten-ph,
.tx-courses .myten-welcome {
  position: relative;
  z-index: 1;
}

/* —— Portal header + navigation —— */
.tx-courses .myten-ph {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0 8px;
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  background: transparent;
}
.tx-courses .myten-ph__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 48px;
}
.tx-courses .myten-ph__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--myten-ink);
}
.tx-courses .myten-ph__brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--myten-overview);
  box-shadow: 0 0 0 3px var(--myten-overview-tint);
  flex: 0 0 auto;
}
.tx-courses .myten-ph__brand-text {
  font-family: Calibri, Carlito, "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tx-courses .myten-ph__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px 22px;
  width: 100%;
  padding: 4px 0 10px;
}
.tx-courses .myten-ph__nav a,
.tx-courses .myten-ph__nav a.myten-nav,
.tx-courses .myten-ph__soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 2px;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--myten-muted);
  text-decoration: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tx-courses .myten-ph__nav a:hover,
.tx-courses .myten-ph__nav a.myten-nav:hover {
  color: var(--myten-ink);
  background: transparent;
}
.tx-courses .myten-ph__nav a.is-active,
.tx-courses .myten-ph__nav a.myten-nav.is-active {
  color: var(--myten-ink);
  font-weight: 600;
  background: transparent;
  box-shadow: none;
  border-bottom-color: currentColor;
}
.tx-courses .myten-ph__soon {
  color: #b0b0b0;
  cursor: default;
}
.tx-courses .myten-ph__account {
  margin-left: auto;
  position: relative;
}
.tx-courses .myten-account {
  position: relative;
}
.tx-courses .myten-account__toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--myten-ink);
  border-radius: 6px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: rgba(255, 255, 255, 0.82);
}
.tx-courses .myten-account__toggle::-webkit-details-marker {
  display: none;
}
.tx-courses .myten-account__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #777;
}
.tx-courses .myten-account[open] .myten-account__toggle {
  border-color: rgba(26, 26, 26, 0.22);
  background: #fff;
}
.tx-courses .myten-account__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 12.5rem;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(30, 30, 30, 0.1);
}
.tx-courses .myten-account__link,
.tx-courses .myten-account__logout-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--myten-ink);
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto !important;
  box-sizing: border-box;
}
.tx-courses .myten-account__link:hover,
.tx-courses .myten-account__logout-btn:hover {
  background: #f5f5f3;
  color: var(--myten-overview);
}
.tx-courses .myten-account__logout {
  margin: 0;
  padding: 0;
  border: 0;
}

/* —— Branding / Welcome zone —— */
.tx-courses .myten-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  min-height: 120px;
  padding: 28px 0 40px;
  margin: 0 0 40px;
}
.tx-courses .myten-welcome__copy {
  flex: 1 1 18rem;
  max-width: 40rem;
}
.tx-courses .myten-welcome__brand {
  display: none;
}
.tx-courses .myten-welcome__title {
  margin: 0 0 12px;
  font-family: Calibri, Carlito, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--myten-ink);
}
.tx-courses .myten-welcome__lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: #5c5c5c;
}
.tx-courses .myten-welcome__signet {
  flex: 0 0 auto;
  margin: 0 0 6px auto;
  padding: 0;
  opacity: 0.72;
  font-family: Calibri, Carlito, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5a5a5a;
  line-height: 1.2;
}
.tx-courses .myten-welcome__by {
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-right: 0.25em;
}
.tx-courses .myten-welcome__signet img {
  display: none;
}

/* —— Main grid —— */
.tx-courses .myten-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 56px;
}
.tx-courses .myten-main--with-team {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

/* —— Cards —— */
.tx-courses .myten-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  background-color: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 28px rgba(30, 30, 30, 0.05);
  padding: 32px;
  box-sizing: border-box;
}
.tx-courses .myten-card--next,
.tx-courses .myten-card--team {
  min-height: 268px;
  display: flex;
  flex-direction: column;
}
.tx-courses .myten-card--featured {
  padding: 36px 36px 34px 40px;
  min-height: 290px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 14px 40px rgba(30, 30, 30, 0.07);
}
.tx-courses .myten-card__accent {
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #cc0607;
}
.tx-courses .myten-card__dot {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cc0607;
  opacity: 0.75;
}
.tx-courses .myten-card--team {
  background: #fcfcfb;
  background-color: #fcfcfb;
  padding: 32px 30px;
}
.tx-courses .myten-card__kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8a8a8a;
}
.tx-courses .myten-card__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.tx-courses .myten-card--featured .myten-card__title {
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
}
.tx-courses .myten-card__when {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.4;
  color: #2a2a2a;
}
.tx-courses .myten-card__meta {
  margin: 0 0 auto;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  font-size: 1rem;
  color: #555;
}
.tx-courses .myten-card__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 5px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fafafa;
  color: #1a1a1a;
}
.tx-courses .myten-card__body {
  margin: 0 0 28px;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #5a5a5a;
}
.tx-courses .myten-card__cta {
  margin-top: auto;
  padding-top: 8px;
}
.tx-courses .myten-card__empty {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tx-courses .myten-team__figure {
  margin: 0 0 22px;
}
.tx-courses .myten-team__figure strong {
  display: block;
  margin-bottom: 10px;
  font-size: 3.15rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1a1a1a;
}
.tx-courses .myten-team__figure span {
  font-size: 1.1rem;
  color: #5a5a5a;
}
.tx-courses .myten-team__compact {
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 1rem;
  color: #4a4a4a;
}
.tx-courses .myten-link {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}
.tx-courses .myten-link:hover {
  color: #cc0607;
  border-bottom-color: #cc0607;
}
.tx-courses .myten-link--muted {
  color: #8a8a8a;
  border-bottom-color: #ddd;
  font-weight: 500;
  cursor: default;
}

/* —— Action cards —— */
.tx-courses .myten-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 64px;
}
.tx-courses a.myten-action {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 220px;
  padding: 32px 30px;
  background: #fff;
  background-color: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(30, 30, 30, 0.045);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tx-courses a.myten-action:hover {
  border-color: rgba(26, 26, 26, 0.14);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(30, 30, 30, 0.08);
  transform: translateY(-2px);
}
.tx-courses .myten-action__rail {
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: #cc0607;
  opacity: 0.85;
  border-radius: 0 0 2px 2px;
}
.tx-courses .myten-action__title {
  display: block;
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1a1a1a;
}
.tx-courses .myten-action__text {
  display: block;
  margin: 0 0 auto;
  padding-bottom: 32px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #5a5a5a;
}
.tx-courses .myten-action__cta {
  display: inline-block;
  margin-top: auto;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 1px solid #ccc;
  align-self: flex-start;
}
.tx-courses a.myten-action:hover .myten-action__cta {
  color: #cc0607;
  border-bottom-color: #cc0607;
}

/* —— Recent —— */
.tx-courses .myten-recent {
  margin: 0 0 32px;
  padding-top: 8px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
.tx-courses .myten-recent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 4px;
  padding-top: 48px;
}
.tx-courses .myten-recent__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tx-courses .myten-recent__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tx-courses .myten-recent__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 6px 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.tx-courses .myten-recent__kind {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8a8a8a;
}
.tx-courses .myten-recent__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
}
.tx-courses .myten-recent__meta {
  font-size: 0.95rem;
  color: #777;
}
.tx-courses .myten-recent__empty {
  padding: 40px 0 16px;
  max-width: 30rem;
}
.tx-courses .myten-recent__empty-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
}
.tx-courses .myten-recent__empty-text {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #5a5a5a;
}

.tx-courses .myten-portal__dock {
  display: none;
}

@media screen and (max-width: 1020px) {
  .tx-courses .myten-main--with-team {
    grid-template-columns: 1fr;
  }
  .tx-courses .myten-actions {
    grid-template-columns: 1fr;
  }
  .tx-courses a.myten-action {
    min-height: 190px;
  }
  .tx-courses .myten-welcome__signet {
    opacity: 0.7;
  }
  .tx-courses .myten-welcome__signet img {
    max-width: 112px;
    max-height: 72px;
  }
}
@media screen and (max-width: 720px) {
  #uid113 .myten-account-shell,
  body.pid113 .myten-account-shell {
    width: 94%;
  }
  .tx-courses .myten-portal--dashboard.userCourseOverview {
    padding-bottom: 110px !important;
  }
  .tx-courses .myten-ph {
    flex-direction: column;
    align-items: stretch;
  }
  .tx-courses .myten-ph__account {
    margin-left: 0;
    align-self: flex-start;
  }
  .tx-courses .myten-ph__nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tx-courses .myten-welcome {
    min-height: 120px;
    padding: 28px 0 32px;
    margin-bottom: 36px;
  }
  .tx-courses .myten-welcome__signet {
    display: none;
  }
  .tx-courses .myten-card,
  .tx-courses .myten-card--featured {
    padding: 28px 22px 28px 26px;
  }
  .tx-courses .myten-card--next,
  .tx-courses .myten-card--team,
  .tx-courses .myten-card--featured {
    min-height: 0;
  }
  .tx-courses .myten-main,
  .tx-courses .myten-actions {
    margin-bottom: 40px;
  }
  .tx-courses .myten-recent__head {
    padding-top: 32px;
  }
  .tx-courses .myten-recent__item {
    grid-template-columns: 1fr;
  }
  .tx-courses .myten-recent__kind {
    grid-row: auto;
  }
  .tx-courses .myten-portal__dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e6e6e6;
    justify-content: space-around;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }
  .tx-courses .myten-portal__dock a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #5a5a5a;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    padding: 8px 2px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tx-courses .myten-portal__dock a:hover,
  .tx-courses .myten-portal__dock a:focus,
  .tx-courses .myten-portal__dock a.is-active {
    color: #cc0607;
  }
}

/* Phase 2 — Company activation & users */
.tx-courses .myten-upgrade {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, rgba(204, 6, 7, 0.06), rgba(247, 247, 245, 0.9));
  border: 1px solid #e8e4e0;
  border-radius: 18px;
}
.tx-courses .myten-upgrade__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}
.tx-courses .myten-upgrade__text {
  margin: 0 0 0.9rem;
  color: #5a5a5a;
  font-size: 0.9rem;
}
.tx-courses .myten-b2b-chip {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: #5a5a5a;
}
.tx-courses .myten-company {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
}
.tx-courses .myten-subnav {
  display: flex;
  gap: 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}
.tx-courses .myten-subnav a,
.tx-courses .myten-subnav span {
  text-decoration: none;
  color: #5a5a5a;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}
.tx-courses .myten-subnav .is-active,
.tx-courses .myten-subnav span.is-active {
  color: #cc0607;
  border-bottom-color: #cc0607;
  font-weight: 600;
}
.tx-courses .myten-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.tx-courses .myten-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #5a5a5a;
}
.tx-courses .myten-form__field input,
.tx-courses .myten-form__field select,
.tx-courses .myten-form--inline select {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.tx-courses .myten-form__field--sm {
  max-width: 8rem;
}
.tx-courses .myten-form__check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.88rem;
  color: #333;
}
.tx-courses .myten-form__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.tx-courses .myten-form--inline {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
}
.tx-courses .myten-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tx-courses .myten-member {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid #ececec;
}
.tx-courses .myten-member > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tx-courses .myten-member__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tx-courses .myten-company__note {
  margin-top: 1.25rem;
  color: #888;
  font-size: 0.85rem;
}
.tx-courses .myten-card--company {
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .tx-courses .myten-form__grid {
    grid-template-columns: 1fr;
  }
}

/* Phase 3 — People / Locations / Groups */
.tx-courses .myten-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.tx-courses .myten-section-head__cta {
  margin: 0;
}
.tx-courses .myten-people {
  margin-top: 0.5rem;
}
.tx-courses .myten-people-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 1rem 0 1.25rem;
}
.tx-courses .myten-people-filters__search {
  flex: 1 1 14rem;
  min-width: 12rem;
}
.tx-courses .myten-people-filters input,
.tx-courses .myten-people-filters select,
.tx-courses .myten-select,
.tx-courses .myten-input,
.tx-courses .myten-people-bulk__bar select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
.tx-courses .myten-people-bulk {
  margin-bottom: 0.75rem;
}
.tx-courses .myten-people-bulk__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  background: #f7f7f7;
  border-radius: 8px;
}
.tx-courses .myten-people-bulk__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  margin-right: 0.25rem;
}
.tx-courses .myten-people-bulk__bar select {
  width: auto;
  min-width: 10rem;
}
.tx-courses .myten-people-table {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tx-courses .myten-people-table__head {
  display: none;
}
.tx-courses .myten-people-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  align-items: start;
}
.tx-courses .myten-people-row.is-inactive {
  opacity: 0.72;
}
.tx-courses .myten-people-table__check {
  grid-row: 1 / span 4;
}
.tx-courses .myten-people-row__name {
  display: block;
  font-size: 1.05rem;
}
.tx-courses .myten-people-row__meta,
.tx-courses .myten-people-row__email,
.tx-courses .myten-people-row__loc,
.tx-courses .myten-people-row__groups {
  font-size: 0.88rem;
  color: #666;
}
.tx-courses .myten-people-row__groups .myten-pill {
  margin: 0.15rem 0.25rem 0 0;
}
.tx-courses .myten-people-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  grid-column: 2;
}
.tx-courses .myten-form__block {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
.tx-courses .myten-form__block legend {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.tx-courses .myten-form__field--full {
  grid-column: 1 / -1;
}
.tx-courses .myten-form__hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: #777;
}
.tx-courses .myten-check-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.35rem 0.75rem;
}
.tx-courses .myten-check-list label {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.92rem;
}
.tx-courses .myten-entity-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tx-courses .myten-entity {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}
.tx-courses .myten-entity.is-inactive {
  opacity: 0.72;
}
.tx-courses .myten-entity > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tx-courses .myten-entity__meta {
  font-size: 0.82rem;
  color: #777;
}
.tx-courses .myten-entity__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.tx-courses .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (min-width: 900px) {
  .tx-courses .myten-people-table__head {
    display: grid;
    grid-template-columns: 2rem minmax(10rem, 1.4fr) minmax(10rem, 1.2fr) minmax(7rem, 0.9fr) minmax(8rem, 1fr) 5.5rem minmax(8rem, 1fr);
    gap: 0.75rem;
    padding: 0 1rem 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    font-weight: 600;
  }
  .tx-courses .myten-people-row {
    grid-template-columns: 2rem minmax(10rem, 1.4fr) minmax(10rem, 1.2fr) minmax(7rem, 0.9fr) minmax(8rem, 1fr) 5.5rem minmax(8rem, 1fr);
    align-items: center;
  }
  .tx-courses .myten-people-table__check {
    grid-row: auto;
  }
  .tx-courses .myten-people-row__actions {
    grid-column: auto;
  }
  .tx-courses .myten-people-row__meta {
    display: block;
  }
}

/* —— Phase 3.1: area tokens, nav dots, setup, referral —— */
.tx-courses .myten-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tx-courses .myten-nav__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
  opacity: 0.85;
}
.tx-courses .myten-nav--overview { color: inherit; }
.tx-courses .myten-nav--overview.is-active { color: var(--myten-overview); border-bottom-color: var(--myten-overview); }
.tx-courses .myten-nav--bookings.is-active { color: var(--myten-bookings); border-bottom-color: var(--myten-bookings); }
.tx-courses .myten-nav--people.is-active { color: var(--myten-people); border-bottom-color: var(--myten-people); }
.tx-courses .myten-nav--certificates { color: inherit; }
.tx-courses .myten-nav--certificates .myten-nav__dot { background: var(--myten-certificates); }
.tx-courses .myten-nav--files .myten-nav__dot { background: var(--myten-files); }
.tx-courses .myten-nav--company.is-active { color: var(--myten-company); border-bottom-color: var(--myten-company); }
.tx-courses .myten-nav--training .myten-nav__dot { background: var(--myten-training); }
.tx-courses .myten-nav--overview .myten-nav__dot { background: var(--myten-overview); }
.tx-courses .myten-nav--bookings .myten-nav__dot { background: var(--myten-bookings); }
.tx-courses .myten-nav--people .myten-nav__dot { background: var(--myten-people); }
.tx-courses .myten-nav--company .myten-nav__dot { background: var(--myten-company); }

.tx-courses .myten-area {
  --myten-area: var(--myten-overview);
  --myten-area-tint: var(--myten-overview-tint);
}
.tx-courses .myten-area--overview { --myten-area: var(--myten-overview); --myten-area-tint: var(--myten-overview-tint); }
.tx-courses .myten-area--bookings { --myten-area: var(--myten-bookings); --myten-area-tint: var(--myten-bookings-tint); }
.tx-courses .myten-area--people { --myten-area: var(--myten-people); --myten-area-tint: var(--myten-people-tint); }
.tx-courses .myten-area--company { --myten-area: var(--myten-company); --myten-area-tint: var(--myten-company-tint); }
.tx-courses .myten-area--security { --myten-area: var(--myten-security); --myten-area-tint: var(--myten-security-tint); }

.tx-courses .myten-area::before {
  content: "";
  display: block;
  height: 3px;
  width: 3.5rem;
  border-radius: 2px;
  background: var(--myten-area);
  margin: 0 0 0.75rem;
}
.tx-courses .myten-area__marker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--myten-area);
}
.tx-courses .myten-area__icon {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--myten-area);
}
.tx-courses .myten-area--people .myten-card,
.tx-courses .myten-area--company .myten-card,
.tx-courses .myten-area--security .myten-setup-card {
  box-shadow: inset 0 3px 0 0 var(--myten-area);
}
.tx-courses .myten-area--people .myten-people,
.tx-courses .myten-area--company .myten-company,
.tx-courses .myten-area--security .myten-setup {
  background: linear-gradient(180deg, var(--myten-area-tint) 0%, transparent 7rem);
  border-radius: 12px;
  padding: 0.25rem 0.15rem 0.5rem;
}

.tx-courses .myten-status-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--myten-muted);
  line-height: 1.35;
}

.tx-courses .myten-setup-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  margin: 0.75rem 0 1.25rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}
.tx-courses .myten-setup-card.is-incomplete {
  border-color: rgba(74, 79, 85, 0.25);
  background: linear-gradient(135deg, var(--myten-security-tint), #fff 55%);
}
.tx-courses .myten-setup-card.is-ready {
  border-color: rgba(31, 138, 91, 0.28);
  background: linear-gradient(135deg, var(--myten-people-tint), #fff 55%);
}
.tx-courses .myten-setup-card__status {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.tx-courses .myten-setup-card__hint {
  margin: 0;
  color: var(--myten-muted);
  font-size: 0.9rem;
}
.tx-courses .myten-lock {
  display: inline-block;
  width: 1.6rem;
  height: 1.85rem;
  position: relative;
}
.tx-courses .myten-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.05rem;
  width: 0.85rem;
  height: 0.7rem;
  margin-left: -0.42rem;
  border: 2px solid var(--myten-security);
  border-bottom: 0;
  border-radius: 0.55rem 0.55rem 0 0;
}
.tx-courses .myten-lock--open::before {
  transform: rotate(-25deg);
  transform-origin: left bottom;
  left: 58%;
}
.tx-courses .myten-lock::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1.35rem;
  height: 1rem;
  margin-left: -0.67rem;
  background: var(--myten-security);
  border-radius: 0.2rem;
}
.tx-courses .myten-setup-card.is-ready .myten-lock::before,
.tx-courses .myten-setup-card.is-ready .myten-lock::after {
  border-color: var(--myten-people);
  background: var(--myten-people);
}
.tx-courses .myten-setup-card.is-ready .myten-lock::before {
  background: transparent;
}
.tx-courses .myten-setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tx-courses .myten-setup-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}
.tx-courses .myten-setup-item.is-done {
  border-color: rgba(31, 138, 91, 0.35);
}
.tx-courses .myten-setup-item__ver {
  display: block;
  font-size: 0.78rem;
  color: var(--myten-muted);
}
.tx-courses .myten-setup-item p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: #444;
}
.tx-courses .myten-setup-item__duties {
  font-size: 0.82rem !important;
  color: var(--myten-muted) !important;
}
.tx-courses .myten-setup-item__actions {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.tx-courses .myten-referral {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}
.tx-courses .myten-referral__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--myten-muted);
}
.tx-courses .myten-referral__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.tx-courses .myten-referral__text {
  margin: 0 0 0.65rem;
  color: var(--myten-muted);
  font-size: 0.9rem;
}
.tx-courses .myten-referral__url code {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  background: #f3f3f1;
  border-radius: 6px;
  font-size: 0.85rem;
}
.tx-courses .myten-referral__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.tx-courses .myten-referral__feedback {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--myten-people);
}
.tx-courses .myten-referral__qr img {
  display: block;
  border-radius: 8px;
  border: 1px solid #eee;
}
@media (max-width: 640px) {
  .tx-courses .myten-referral {
    grid-template-columns: 1fr;
  }
}

/* —— People import wizard —— */
.tx-courses .myten-import-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8rem;
  color: #6b6b6b;
}
.tx-courses .myten-import-steps li {
  position: relative;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f3f3f3;
}
.tx-courses .myten-import-steps li.is-active {
  background: var(--myten-people-tint, #e8f5ec);
  color: var(--myten-people, #2d6a4f);
  font-weight: 600;
}
.tx-courses .myten-import-note {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border-left: 3px solid #c9a227;
  background: #fffbeb;
  font-size: 0.9rem;
}
.tx-courses .myten-import-card .myten-form__field input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0;
}
.tx-courses .myten-import-map {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tx-courses .myten-import-map__row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) auto 1fr;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
}
.tx-courses .myten-import-map__src {
  font-size: 0.92rem;
}
.tx-courses .myten-import-map__arrow {
  color: #999;
}
.tx-courses .myten-import-resolve {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e8e0c8;
  border-radius: 8px;
  background: #fffdf5;
}
.tx-courses .myten-import-resolve__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.tx-courses .myten-import-resolve__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tx-courses .myten-import-resolve__list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tx-courses .myten-import-resolve__list label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.tx-courses .myten-import-preview {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.tx-courses .myten-import-row {
  padding: 0.85rem 1rem;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #fff;
  border-top: 3px solid var(--myten-people, #2d6a4f);
}
.tx-courses .myten-import-row.has-error {
  border-top-color: #b42318;
  background: #fff8f7;
}
.tx-courses .myten-import-row.has-warn:not(.has-error) {
  border-top-color: #b54708;
  background: #fffaf3;
}
.tx-courses .myten-import-row__remove {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: #555;
}
.tx-courses .myten-import-msg {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  font-size: 0.85rem;
}
.tx-courses .myten-import-msg--error {
  color: #b42318;
}
.tx-courses .myten-import-msg--warn {
  color: #b54708;
}
.tx-courses .myten-import-add {
  margin: 0 0 1rem;
}
.tx-courses .myten-import-actions {
  flex-wrap: wrap;
  gap: 0.55rem;
}
.tx-courses .myten-section-head__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.tx-courses .myten-nav--certificates.is-active { color: var(--myten-certificates); border-bottom-color: var(--myten-certificates); }
.tx-courses .myten-nav--files.is-active { color: var(--myten-files); border-bottom-color: var(--myten-files); }
.tx-courses .myten-nav--security .myten-nav__dot { background: var(--myten-security); }
.tx-courses .myten-nav--security.is-active { color: var(--myten-security); border-bottom-color: var(--myten-security); }
.tx-courses .myten-area--files { --myten-area: var(--myten-files); --myten-area-tint: var(--myten-files-tint); }
.tx-courses .myten-area--certificates { --myten-area: var(--myten-certificates); --myten-area-tint: var(--myten-certificates-tint); }
.tx-courses .myten-area--training { --myten-area: var(--myten-training); --myten-area-tint: var(--myten-training-tint); }

/* —— Phase 5 files / audit / security —— */
.tx-courses .myten-file-list,
.tx-courses .myten-audit-list,
.tx-courses .myten-session-list,
.tx-courses .myten-attention-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tx-courses .myten-file-card,
.tx-courses .myten-audit-row,
.tx-courses .myten-session-row,
.tx-courses .myten-attention-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  border-top: 3px solid var(--myten-area, var(--myten-files));
}
.tx-courses .myten-file-card__title { display: block; font-size: 1rem; }
.tx-courses .myten-file-card__meta { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--myten-muted); }
.tx-courses .myten-file-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.tx-courses .myten-input--compact { max-width: 10rem; }
.tx-courses .myten-audit-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
  align-items: end;
}
.tx-courses .myten-audit-row__when,
.tx-courses .myten-audit-row__user,
.tx-courses .myten-audit-row__object {
  font-size: 0.85rem;
  color: var(--myten-muted);
}
.tx-courses .myten-audit-row__action { flex: 1 1 12rem; }
.tx-courses .myten-attention {
  margin: 1.25rem 0;
}
.tx-courses .myten-attention-item {
  border-top-color: var(--myten-training);
  flex-direction: column;
}
@media (max-width: 720px) {
  .tx-courses .myten-ph__nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .tx-courses .myten-file-card__actions {
    width: 100%;
  }
  .tx-courses .myten-file-card__actions .myten-form--inline {
    width: 100%;
  }
}



/* ========== UI redesign 2026-08 — portal polish ========== */

/* Area rail: only on section heads, not whole portal */
.tx-courses .myten-area::before {
  display: none;
}
.tx-courses .myten-section-head {
  margin: 0 0 28px;
  max-width: 44rem;
}
.tx-courses .myten-section-title {
  margin: 0 0 10px;
  font-family: Calibri, Carlito, "Segoe UI", sans-serif;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--myten-ink);
}
.tx-courses .myten-section-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--myten-muted);
}
.tx-courses .myten-area__marker {
  margin: 0 0 10px;
  font-size: 0.78rem;
}

/* Bookings width + tabs */
.tx-courses .myten-portal__bookings {
  width: 100%;
  max-width: none;
}
.tx-courses .myten-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(47, 111, 237, 0.12);
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
}
.tx-courses .myten-filter__btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5a5a5a;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.tx-courses .myten-filter__btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 2px 7px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.06);
  color: #555;
}
.tx-courses .myten-filter__btn.is-active {
  background: #fff;
  color: var(--myten-bookings);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(47, 111, 237, 0.12);
}
.tx-courses .myten-filter__btn.is-active span {
  background: var(--myten-bookings-tint);
  color: var(--myten-bookings);
}
.tx-courses .myten-item {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  padding: 24px 26px;
  margin: 0 0 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.tx-courses .myten-item__title {
  margin: 8px 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tx-courses .myten-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Empty states */
.tx-courses .myten-empty,
.tx-courses .myten-empty--bookings {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  max-width: 36rem;
}
.tx-courses .myten-empty__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--myten-ink);
}
.tx-courses .myten-empty__text {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--myten-muted);
}
.tx-courses .myten-empty__cta {
  margin: 0;
}

/* Company / content width — use portal width */
.tx-courses .myten-company,
.tx-courses .myten-people,
.tx-courses .myten-setup {
  max-width: none;
  margin: 0 0 2rem;
  padding: 0;
}

/* Nav dots — quiet markers */
.tx-courses .myten-nav__dot {
  width: 7px;
  height: 7px;
  opacity: 0.9;
}
.tx-courses .myten-ph__nav a.myten-nav.is-active .myten-nav__dot {
  box-shadow: 0 0 0 3px var(--myten-area-tint, rgba(0, 0, 0, 0.04));
}
.tx-courses .myten-nav--overview.is-active { color: var(--myten-overview) !important; }
.tx-courses .myten-nav--bookings.is-active { color: var(--myten-bookings) !important; }
.tx-courses .myten-nav--people.is-active { color: var(--myten-people) !important; }
.tx-courses .myten-nav--certificates.is-active { color: var(--myten-certificates) !important; }
.tx-courses .myten-nav--files.is-active { color: var(--myten-files) !important; }
.tx-courses .myten-nav--company.is-active { color: var(--myten-company) !important; }
.tx-courses .myten-nav--security.is-active { color: var(--myten-security) !important; }

/* Soften action card lift */
.tx-courses a.myten-action:hover {
  transform: none;
  border-color: rgba(26, 26, 26, 0.16);
}
.tx-courses a.myten-action--primary {
  border-color: rgba(204, 6, 7, 0.18);
}
.tx-courses .myten-card--team .myten-card__dot {
  background: var(--myten-people);
}
.tx-courses .myten-area--overview .myten-card__accent {
  background: var(--myten-overview);
}
.tx-courses .myten-area--bookings .myten-item {
  border-left: 3px solid var(--myten-bookings);
}

/* Mobile dock */
.tx-courses .myten-portal__dock {
  display: none;
}
@media screen and (max-width: 720px) {
  .tx-courses .myten-ph__top {
    width: 100%;
  }
  .tx-courses .myten-ph__nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tx-courses .myten-ph__nav::-webkit-scrollbar {
    display: none;
  }
  .tx-courses .myten-ph__nav a.myten-nav {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .tx-courses .myten-welcome__signet {
    display: none;
  }
  .tx-courses .myten-portal--dashboard.userCourseOverview,
  .tx-courses .myten-portal--bookings.userCourseOverview {
    padding-bottom: 120px !important;
  }
  .tx-courses .myten-portal__dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e6e6e6;
    justify-content: space-around;
    gap: 2px;
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  }
  .tx-courses .myten-portal__dock a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #5a5a5a;
    font-size: 0.65rem;
    letter-spacing: 0.01em;
    padding: 6px 2px;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .tx-courses .myten-portal__dock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8c8c8;
  }
  .tx-courses .myten-portal__dock-dot--overview { background: var(--myten-overview); }
  .tx-courses .myten-portal__dock-dot--bookings { background: var(--myten-bookings); }
  .tx-courses .myten-portal__dock-dot--people { background: var(--myten-people); }
  .tx-courses .myten-portal__dock-dot--certificates { background: var(--myten-certificates); }
  .tx-courses .myten-portal__dock-dot--files { background: var(--myten-files); }
  .tx-courses .myten-portal__dock-dot--security { background: var(--myten-security); }
  .tx-courses .myten-portal__dock a.is-active {
    color: var(--myten-ink);
    font-weight: 600;
  }
  .tx-courses .myten-filter {
    width: 100%;
  }
  .tx-courses .myten-filter__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Override legacy courses/main.css portal shell on account pages */
#uid113 .myten-account-shell,
#uid97 .tx-courses .myten-portal.userCourseOverview,
body.pid113 .myten-account-shell,
body.pid97 .tx-courses .myten-portal.userCourseOverview {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* ========== Portal app shell 2026-08 — separation + IA ========== */

/* Stronger micro-dot so open surfaces read as material in screenshots */
:root {
  --myten-surface: #f2f1ed;
  --myten-dot: rgba(48, 42, 36, 0.16);
  --myten-dot-soft: rgba(48, 42, 36, 0.08);
}
#uid113 .allcont::before,
#uid97 .allcont::before,
body.pid113 .allcont::before,
body.pid97 .allcont::before,
.allcont--myten::before {
  background-size: 5.5px 5.5px, 5.5px 5.5px;
  background-position: 0 0, 2.75px 2.75px;
}

/* Visible cut between website header and My TEN application */
body.pid113 .head,
body.pid97 .head,
#uid113 .head,
#uid97 .head,
body.pid113.logged-in .head,
body.pid97.logged-in .head {
  z-index: 50 !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.pid113 .head.stickyhead,
body.pid97 .head.stickyhead,
#uid113 .head.stickyhead,
#uid97 .head.stickyhead {
  background: #fff !important;
}
/* Sticky styles on marketing pages use light text — force readable ink in portal */
body.pid113 .head .nav > li > a,
body.pid97 .head .nav > li > a,
#uid113 .head .nav > li > a,
#uid97 .head .nav > li > a,
body.pid113 .head.stickyhead .nav > li > a,
body.pid97 .head.stickyhead .nav > li > a {
  color: #1a1a1a !important;
  font-size: 0.82rem !important;
  opacity: 0.78;
}
body.pid113 .head .nav > li > a:hover,
body.pid97 .head .nav > li > a:hover,
body.pid113 .head .nav > li.act > a,
body.pid97 .head .nav > li.act > a,
body.pid113 .head .nav > li.active > a,
body.pid97 .head .nav > li.active > a {
  color: #cc0607 !important;
  opacity: 1;
}
body.pid113 .head .head2,
body.pid97 .head .head2,
#uid113 .head .head2,
#uid97 .head .head2 {
  min-height: 0;
  background: #fff !important;
}
body.pid113 .head .head2 > .inner,
body.pid97 .head .head2 > .inner,
#uid113 .head .head2 > .inner,
#uid97 .head .head2 > .inner {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  align-items: center;
}
/* Square crop of logo.png — claim strip stays out of the compact account header */
body.pid113 .head .head2 > .inner .logo,
body.pid97 .head .head2 > .inner .logo,
#uid113 .head .head2 > .inner .logo,
#uid97 .head .head2 > .inner .logo,
body.pid113 .head.stickyhead .head2 > .inner .logo,
body.pid97 .head.stickyhead .head2 > .inner .logo {
  width: 44px !important;
  max-width: 44px !important;
  height: 40px !important;
  margin: 8px 0 !important;
  background-size: auto 40px !important;
  background-position: 0 center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
}
body.pid113 .loginnav,
body.pid97 .loginnav {
  transform: none;
}
body.pid113 .loginnav .btn-myten,
body.pid97 .loginnav .btn-myten {
  position: relative;
  z-index: 51;
}

/* Portal nav: no accidental list bullets; keep clicks above atmosphere */
.tx-courses .myten-ph,
.tx-courses .myten-ph__nav,
.tx-courses .myten-ph__nav-primary,
.tx-courses .myten-portal__dock {
  list-style: none !important;
  position: relative;
  z-index: 2;
}
.tx-courses .myten-ph__nav a,
.tx-courses .myten-ph__nav .myten-nav,
.tx-courses .myten-ph__brand,
.tx-courses .myten-account__toggle,
.tx-courses .myten-account__link,
.tx-courses .myten-account__logout-btn {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}
.tx-courses .myten-ph__nav li,
.tx-courses .myten-ph__nav-primary li {
  list-style: none !important;
}

/* Hide public marketing footer wave remnants if still present */
body.pid113 .foot:not(.myten-foot),
body.pid97 .foot:not(.myten-foot),
#uid113 .foot:not(.myten-foot),
#uid97 .foot:not(.myten-foot) {
  display: none !important;
}

.myten-foot {
  background: #1a1a1a;
  color: #cfcfcf;
  padding: 28px 0 36px;
  margin-top: 0;
}
.myten-foot__inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}
.myten-foot__brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.myten-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.myten-foot__nav a,
.myten-foot__support a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
}
.myten-foot__nav a:hover,
.myten-foot__support a:hover {
  color: #fff;
}
.myten-foot__support {
  margin: 0;
  width: 100%;
  font-size: 0.88rem;
  color: #9a9a9a;
}

/* Portal header: company + identity */
.tx-courses .myten-ph {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 14px;
  padding: 16px 18px 8px;
  margin: 12px 0 28px;
  backdrop-filter: blur(6px);
}
.tx-courses .myten-ph__brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tx-courses .myten-ph__company {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3a3a3a;
}
.tx-courses .myten-ph__company-x {
  color: #9a9a9a;
  font-weight: 400;
}
.tx-courses .myten-account__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}
.tx-courses .myten-account__role {
  font-size: 0.72rem;
  font-weight: 500;
  color: #7a7a7a;
}
.tx-courses .myten-account__toggle {
  border-radius: 10px;
  padding: 8px 12px;
}

/* Primary / Mehr nav */
.tx-courses .myten-ph__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  justify-content: space-between;
}
.tx-courses .myten-ph__nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: stretch;
}
.tx-courses .myten-nav__icon {
  flex: 0 0 auto;
  opacity: 0.85;
}
.tx-courses .myten-ph__nav a.myten-nav {
  gap: 7px;
}
.tx-courses .myten-ph__more {
  position: relative;
  margin-left: auto;
}
.tx-courses .myten-ph__more > summary {
  list-style: none;
  cursor: pointer;
}
.tx-courses .myten-ph__more > summary::-webkit-details-marker { display: none; }
.tx-courses .myten-ph__more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 25;
  min-width: 12rem;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tx-courses .myten-ph__more-panel .myten-nav {
  min-height: 40px;
  padding: 8px 10px;
  border-bottom: 0 !important;
  border-radius: 6px;
}
.tx-courses .myten-ph__more-panel .myten-nav:hover {
  background: #f5f5f3;
}

/* Area accompanies whole section */
.tx-courses .myten-area {
  --myten-area-rail: 3px solid var(--myten-area);
}
.tx-courses .myten-area .myten-section-head {
  padding-left: 14px;
  border-left: var(--myten-area-rail);
}
.tx-courses .myten-area--bookings .myten-portal__bookings,
.tx-courses .myten-area--people .myten-people,
.tx-courses .myten-area--files,
.tx-courses .myten-area--certificates,
.tx-courses .myten-area--company .myten-company,
.tx-courses .myten-area--security {
  background: linear-gradient(180deg, var(--myten-area-tint) 0%, transparent 9rem);
  border-radius: 14px;
  padding: 4px 2px 8px;
}
.tx-courses .myten-area--bookings .myten-item,
.tx-courses .myten-area--people .myten-card,
.tx-courses .myten-area--files .myten-card,
.tx-courses .myten-area--certificates .myten-card {
  box-shadow: inset 0 3px 0 0 var(--myten-area);
}

/* Welcome coop mark */
.tx-courses .myten-welcome__aside {
  margin-left: auto;
  align-self: flex-end;
}
.tx-courses .myten-welcome__coop {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a2a2a;
}
.tx-courses .myten-welcome__coop-x {
  color: #999;
  font-weight: 400;
}

/* Quiet action cards */
.tx-courses a.myten-action--quiet {
  min-height: 180px;
  background: rgba(255, 255, 255, 0.72);
}
.tx-courses a.myten-action--primary {
  grid-column: span 1;
}

/* Attention */
.tx-courses .myten-attention {
  margin: 0 0 48px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(196, 92, 26, 0.18);
  border-radius: 12px;
  box-shadow: inset 3px 0 0 var(--myten-training);
}
.tx-courses .myten-attention__title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 600;
}
.tx-courses .myten-attention__lead {
  margin: 0 0 14px;
  color: var(--myten-muted);
  font-size: 0.92rem;
}
.tx-courses .myten-attention-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

/* Support */
.tx-courses .myten-support-card {
  margin: 40px 0 8px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  max-width: 36rem;
}
.tx-courses .myten-support-card__kicker {
  margin: 0 0 6px;
  font-weight: 600;
}
.tx-courses .myten-support-card__text {
  margin: 0 0 10px;
  color: var(--myten-muted);
}

/* Flash / forms polish */
.tx-courses .typo3-messages,
.tx-courses .alert,
.tx-courses ul.typo3-messages {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.tx-courses .typo3-messages .alert,
.tx-courses .alert {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: #fff;
  margin: 0 0 8px;
}
.tx-courses .alert-success { border-left: 3px solid var(--myten-people); }
.tx-courses .alert-danger,
.tx-courses .alert-error { border-left: 3px solid var(--myten-overview); }
.tx-courses .alert-warning { border-left: 3px solid var(--myten-training); }
.tx-courses .alert-info { border-left: 3px solid var(--myten-bookings); }

.tx-courses .myten-form__field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
}
.tx-courses .myten-form__field input,
.tx-courses .myten-form__field select,
.tx-courses .myten-form__field textarea,
.tx-courses .myten-form--inline select,
.tx-courses .myten-form--inline input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8d8d4;
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  color: var(--myten-ink);
  box-sizing: border-box;
}
.tx-courses .myten-form__field input:focus,
.tx-courses .myten-form__field select:focus,
.tx-courses .myten-form__field textarea:focus {
  outline: 2px solid rgba(204, 6, 7, 0.25);
  border-color: #cc0607;
}
.tx-courses .myten-form__field input:disabled,
.tx-courses .myten-form__field select:disabled,
.tx-courses button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Mobile dock + Mehr sheet */
@media screen and (max-width: 720px) {
  .tx-courses .myten-ph__more { display: none; }
  .tx-courses .myten-ph__nav-primary {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .tx-courses .myten-portal__dock-more {
    flex: 1;
    position: relative;
  }
  .tx-courses .myten-portal__dock-more > summary {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    font-size: 0.65rem;
    color: #5a5a5a;
    cursor: pointer;
  }
  .tx-courses .myten-portal__dock-more > summary::-webkit-details-marker { display: none; }
  .tx-courses .myten-portal__dock-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    margin: 0 -4px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
  }
  .tx-courses .myten-portal__dock-sheet-link {
    padding: 12px 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
  }
  .tx-courses .myten-welcome__coop { font-size: 0.82rem; }
  .tx-courses .myten-actions { grid-template-columns: 1fr; }
}

@media screen and (min-width: 1024px) {
  .tx-courses .myten-main--with-team {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  }
  .tx-courses a.myten-action--primary {
    min-height: 240px;
  }
}

/* Final mobile safety layer: all portal areas remain usable at 320–720 px. */
@media screen and (max-width: 720px) {
  .allcont--myten,
  .tx-courses .myten-portal,
  .tx-courses .myten-portal * {
    box-sizing: border-box;
  }
  .tx-courses .myten-portal {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .tx-courses .myten-ph__top {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .tx-courses .myten-ph__brand-block,
  .tx-courses .myten-ph__account,
  .tx-courses .myten-account,
  .tx-courses .myten-account__toggle {
    width: 100%;
    min-width: 0;
  }
  .tx-courses .myten-account__toggle {
    justify-content: space-between;
    min-height: 48px;
  }
  .tx-courses .myten-account__name,
  .tx-courses .myten-account__role,
  .tx-courses .myten-ph__company-name {
    overflow-wrap: anywhere;
  }
  .tx-courses .myten-account__panel {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
  }
  .tx-courses .myten-ph__nav {
    display: none;
  }
  .tx-courses .myten-welcome__title,
  .tx-courses .myten-section-title {
    overflow-wrap: anywhere;
  }
  .tx-courses .myten-subnav,
  .tx-courses .myten-filter {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tx-courses .myten-subnav > *,
  .tx-courses .myten-filter > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .tx-courses .myten-form__field,
  .tx-courses .myten-form__field input,
  .tx-courses .myten-form__field select,
  .tx-courses .myten-form__field textarea {
    width: 100%;
    min-width: 0;
  }
  .tx-courses .myten-form__actions,
  .tx-courses .myten-item__actions,
  .tx-courses .myten-member__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tx-courses .myten-form__actions .btn-ten,
  .tx-courses .myten-item__actions .btn-ten,
  .tx-courses .myten-member__actions .btn-ten {
    width: 100%;
    min-height: 44px;
  }
  .tx-courses .myten-people-table,
  .tx-courses .myten-member-list,
  .tx-courses .myten-audit-list {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Femanager profile page (UID 113) belongs visually to Mein TEN as well. */
.myten-profile-head {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}
.myten-profile-head__eyebrow {
  margin: 0 0 8px;
  color: var(--myten-overview);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.myten-profile-head__title {
  margin: 0 0 8px;
  color: var(--myten-ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}
.myten-profile-head__lead {
  margin: 0 0 12px;
  color: var(--myten-muted);
  line-height: 1.5;
}
@media screen and (max-width: 720px) {
  .myten-profile-head {
    padding-left: 14px;
    padding-right: 14px;
  }
}