/* Wolfram Academy community app.
   Part 0: theme reset. Part 1: ported from the Academy design (khanhsdesktop.com academy app), scale fixed at 1,
   embedded as a panel in the shop page. Part 2: shop embedding and app states.
   Every rule is scoped to .wa so nothing leaks into the shop theme. */

/* Theme reset inside the app (kept before the design rules so equal-specificity class rules win): the shop's Bootstrap/theme rules must not
   reach the app's own elements. :where keeps specificity at the .wa level
   so the design's class rules still win. */
.wa :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend) {
  margin: 0;
}
.wa :where(h1, h2, h3, h4) {
  font-family: inherit;
  line-height: 1.2;
  letter-spacing: normal;
  color: inherit;
  text-transform: none;
}
.wa :where(img, svg, video) {
  max-width: 100%;
  vertical-align: middle;
}
.wa :where(button) {
  margin: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
  line-height: inherit;
  box-shadow: none;
}
.wa :where(input, textarea, select) {
  margin: 0;
  font: inherit;
  color: inherit;
  box-shadow: none;
}
.wa :where(textarea) {
  resize: none;
}
.wa :where(label) {
  margin: 0;
}
.wa :where(table) {
  margin: 0;
}
.wa a:hover,
.wa a:focus {
  text-decoration: none;
}
.wa :focus {
  outline: none;
}
.wa :focus-visible {
  outline: 2px solid var(--wa-green);
  outline-offset: 2px;
}
.wa-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.wa [hidden] {
  display: none !important;
}

.appnav {
  --appnav-face: #ffffff;
  --appnav-ink: #2b2418;
  --appnav-line: rgba(43, 36, 24, 0.16);
  --appnav-accent: #2b2418;
  --appnav-accent-ink: #ffffff;
  --appnav-radius: 10px;
  --appnav-s: 1;
  display: none;
  position: relative;
  z-index: 20;
}
.appnav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: calc(11px * var(--appnav-s));
  padding: calc(10px * var(--appnav-s)) calc(13px * var(--appnav-s));
  background: var(--appnav-face);
  border: 1px solid var(--appnav-line);
  border-radius: var(--appnav-radius);
  color: var(--appnav-ink);
  font: inherit;
  font-size: calc(13.5px * var(--appnav-s));
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.appnav__bars {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(3px * var(--appnav-s));
  width: calc(17px * var(--appnav-s));
}
.appnav__bars span {
  display: block;
  height: calc(2px * var(--appnav-s));
  background: currentColor;
}
.appnav__current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.appnav__menu {
  position: absolute;
  top: calc(100% + calc(5px * var(--appnav-s)));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--appnav-face);
  border: 1px solid var(--appnav-line);
  border-radius: var(--appnav-radius);
  overflow: hidden;
}
.appnav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(10px * var(--appnav-s));
  padding: calc(12px * var(--appnav-s)) calc(13px * var(--appnav-s));
  background: none;
  border: 0;
  border-bottom: 1px solid var(--appnav-line);
  color: var(--appnav-ink);
  font: inherit;
  font-size: calc(13.5px * var(--appnav-s));
  text-align: left;
  cursor: pointer;
}
.appnav__item:last-child {
  border-bottom: 0;
}
.appnav__item.is-active {
  background: var(--appnav-accent);
  color: var(--appnav-accent-ink);
  font-weight: 700;
}
.appnav__item-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.appnav__badge {
  flex: none;
  min-width: calc(19px * var(--appnav-s));
  padding: 0 calc(6px * var(--appnav-s));
  background: var(--appnav-accent);
  border-radius: 999px;
  color: var(--appnav-accent-ink);
  font-size: calc(11px * var(--appnav-s));
  font-weight: 700;
  line-height: calc(19px * var(--appnav-s));
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.appnav__item.is-active .appnav__badge {
  background: var(--appnav-accent-ink);
  color: var(--appnav-accent);
}
.wa {
  position: relative;
  height: clamp(640px, calc(100vh - 160px), 980px);
  display: flex;
  overflow: hidden;
  container-type: inline-size;
  container-name: wa;
  --wa-s: 1;
  --wa-max: min(1240px, 1560px);
  --wa-green: #00847e;
  --wa-green-80: #009895;
  --wa-green-60: #5eb1ae;
  --wa-green-40: #9ccbc9;
  --wa-green-20: #d0e5e4;
  --wa-green-dark: #006d68;
  --wa-green-darker: #00534f;
  --wa-gray: #b3bebd;
  --wa-gray-60: #d2d7d7;
  --wa-gray-40: #e2e4e4;
  --wa-gray-20: #f0f2f2;
  --wa-gray-darker: #7e8686;
  --wa-ink-soft: #414b4a;
  --wa-ink: #000;
  --wa-line: var(--wa-gray-40);
  --wa-surface: #fff;
  --wa-canvas: #eef6f5;
  --wa-unread: #f4f8f7;
  --wa-danger: #c0392b;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--wa-ink);
  background: var(--wa-canvas);
}
.wa * {
  box-sizing: border-box;
}
:where(.wa button) {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
.wa input,
.wa select {
  font: inherit;
}
.wa :where(a) {
  color: var(--wa-green);
  text-decoration: none;
}
.wa :where(a:hover) {
  color: var(--wa-green-dark);
}
.wa-login {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      180deg,
      #002c2a4d 0,
      #002c2a12 140px,
      #002c2a00 34%
    ),
    url(img/login-welding.webp) center / cover no-repeat,
    var(--wa-green-dark);
}
.wa-login__top {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 18px 26px;
}
.wa-login__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px
    26px;
  overflow-y: auto;
}
.wa-login__card {
  position: relative;
  width: min(940px, 100%);
  margin: auto;
  overflow: hidden;
  background:
    linear-gradient(157deg, #fbfdfc80 0, #d5e9e580 68%, #c4dfda8c),
    linear-gradient(#f7fcf9ad, #f7fcf9ad),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    var(--wa-canvas);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px #ffffff8c,
    0 26px 70px #001e1c57;
  --wa-tagcut: 34px;
  --wa-formw: 374px;
}
.wa-login__card:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: var(--wa-formw);
  top: calc(var(--wa-tagcut) - 1px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--wa-green) 0,
    var(--wa-green-60) 46%,
    var(--wa-green-40) 76%,
    var(--wa-green-20) 100%
  );
  pointer-events: none;
}
@supports (
  (backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))
) {
.wa-login__card {
    background:
      linear-gradient(157deg, #fbfdfc4d 0, #d5e9e54d 68%, #c4dfda57),
      linear-gradient(#f7fcf96b, #f7fcf96b),
      url(img/academy-canvas-connected.webp) center / cover no-repeat,
      #eef6f59e;
    -webkit-backdrop-filter: blur(26px) saturate(125%);
    backdrop-filter: blur(26px) saturate(125%);
  }
}
.wa-login__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: var(--wa-tagcut);
  display: inline-flex;
  align-items: center;
  padding: 0 calc(var(--wa-tagcut) + 16px) 0
    30px;
  background: var(--wa-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - var(--wa-tagcut)) 0,
    100% var(--wa-tagcut),
    100% 100%,
    0 100%
  );
}
.wa-login__inner {
  display: grid;
  grid-template-columns: 1fr var(--wa-formw);
}
.wa-login__brand {
  padding: 64px 38px
    42px 38px;
  color: var(--wa-ink);
}
.wa-login__lockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.wa-login__words {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wa-login__mark {
  height: 66px;
  width: auto;
  display: block;
}
.wa-login__title {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-wrap: balance;
  color: var(--wa-green-darker);
}
.wa-login__claim {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--wa-ink);
}
.wa-login__points {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(0, 83, 79, 0.14);
}
.wa-login__points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--wa-ink-soft);
}
.wa-login__points b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wa-ink);
}
.wa-login__ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--wa-surface);
  border: 1px solid rgba(0, 83, 79, 0.12);
  border-radius: 4px;
  color: var(--wa-green);
}
.wa-login__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  padding: 64px 34px
    42px;
  background: linear-gradient(165deg, #00847e1a 0, #006d6833 62%, #00534f42);
  border-left: 1px solid rgba(0, 83, 79, 0.14);
  text-align: left;
}
.wa-login__intro {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wa-login__head {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.wa-login__sub {
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wa-ink-soft);
}
.wa-login__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wa-login__field > span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wa-green-darker);
}
.wa-login__sso {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: var(--wa-surface);
  border: 1px solid rgba(0, 83, 79, 0.16);
  border-radius: 4px;
  color: var(--wa-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.wa-login__sso img {
  flex: 0 0 auto;
  height: 26px;
  width: auto;
  align-self: center;
}
.wa-login__or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wa-ink-soft);
  font-size: 11px;
}
.wa-login__or:before,
.wa-login__or:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #00534f29;
}
.wa-login__form .wa-input {
  width: 100%;
  background: var(--wa-surface);
  border-color: #00534f29;
  color: var(--wa-ink);
}
.wa-login__form .wa-input::placeholder {
  color: var(--wa-gray-darker);
}
.wa-login__go {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 15px;
}
.wa-login .wa-foot {
  flex: 0 0 auto;
  background: var(--wa-surface);
}
@container wa (max-width: 1080px) {
.wa-login__mark {
    height: 54px;
  }
.wa-login__title {
    font-size: 20px;
  }
.wa-login__brand {
    padding: 60px 28px
      34px;
  }
.wa-login__form {
    padding: 60px 26px
      34px;
  }
.wa-login__card {
    --wa-formw: 330px;
  }
}
@container wa (max-width: 860px) {
.wa-login__inner {
    grid-template-columns: 1fr;
  }
.wa-login__card {
    width: min(440px, 100%);
    --wa-formw: 0px;
  }
.wa-login__brand {
    padding: 52px 24px
      22px;
  }
.wa-login__points {
    display: none;
  }
.wa-login__claim {
    padding-bottom: 0;
  }
.wa-login__title {
    font-size: 23px;
  }
.wa-login__form {
    padding: 24px;
    border-left: 0;
    border-top: 1px solid rgba(0, 83, 79, 0.12);
  }
}
@container wa (max-width: 640px) {
.wa-login__top {
    padding: 12px 16px;
  }
.wa-login__stage {
    padding: 6px 14px
      16px;
  }
.wa-login__brand {
    padding: 48px 18px
      18px;
  }
.wa-login__form {
    padding: 20px 18px;
    gap: 12px;
  }
.wa-login__lockup {
    column-gap: 13px;
    margin-bottom: 16px;
  }
.wa-login__words {
    gap: 6px;
  }
.wa-login__mark {
    height: 42px;
  }
.wa-login__title {
    font-size: 18px;
    line-height: 1.2;
  }
.wa-login__head {
    font-size: 20px;
  }
}
.wa-side {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      #00847eed 0,
      #00847ee0 340px,
      #006d6880 450px,
      #00534f1f 555px,
      #00534f00 640px
    ),
    url(img/sidebar-welding.webp) center bottom / cover no-repeat,
    var(--wa-green);
  transition:
    flex-basis 0.2s ease,
    width 0.2s ease;
  display: flex;
  flex-direction: column;
}
.wa.is-collapsed .wa-side {
  flex-basis: 72px;
  width: 72px;
}
@media (prefers-reduced-motion: reduce) {
.wa-side {
    transition: none;
  }
}
.wa-nav {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}
.wa-nav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 36px
    15px 26px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  transition: background 0.14s ease;
}
.wa-nav__item:hover {
  background: #009895cc;
}
.wa-nav__item.is-active {
  background: #00534fe0;
  font-weight: 700;
}
.wa-nav__icon {
  display: flex;
  flex: 0 0 26px;
  width: 26px;
  align-items: center;
  justify-content: center;
}
.wa-nav__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa.is-collapsed .wa-nav__item {
  padding-left: 0;
  padding-right: 0;
  justify-content: center;
}
.wa.is-collapsed .wa-nav__label {
  display: none;
}
.wa-side__tab {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wa-surface);
  color: var(--wa-green-dark);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 10px #00282659;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition:
    background 0.14s ease,
    color 0.14s ease;
}
.wa-side__tab:hover {
  background: var(--wa-green-20);
  color: var(--wa-green-darker);
}
.wa-side__chevron {
  display: inline-block;
  transition: transform 0.2s ease;
}
.wa.is-collapsed .wa-side__chevron {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
.wa-side__chevron {
    transition: none;
  }
}
.wa-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wa-head {
  flex: 0 0 82px;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  background: var(--wa-surface);
  border-bottom: 1px solid var(--wa-gray-60);
  position: relative;
  z-index: 20;
}
.wa-head__logo {
  height: 54px;
  width: auto;
  display: block;
}
.wa-head__spacer {
  flex: 1;
}
.wa-head__welcome {
  font-size: 15px;
  font-weight: 600;
  color: var(--wa-green);
}
.wa-ticker {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
}
.wa-ticker__track {
  display: flex;
  width: max-content;
  animation: wa-ticker 85s linear infinite;
  will-change: transform;
}
.wa-ticker:hover .wa-ticker__track {
  animation-play-state: paused;
}
.wa-ticker__run {
  display: flex;
  align-items: center;
}
.wa-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-right: 54px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--wa-gray-darker);
  white-space: nowrap;
}
.wa-ticker__dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wa-green);
}
@keyframes wa-ticker {
to {
    transform: translate(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
.wa-ticker__track {
    animation: none;
  }
}
.wa-bell {
  position: relative;
  display: flex;
  margin: 0 4px;
}
.wa-bell__btn {
  position: relative;
  display: flex;
  padding: 4px;
  color: var(--wa-green);
}
.wa-bell__badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wa-danger);
  color: #fff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.wa-notif {
  position: absolute;
  top: 44px;
  right: -8px;
  width: 440px;
  max-height: min(
    500px,
    calc(100cqh - 106px)
  );
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
  box-shadow: 0 8px 28px #003c3824;
}
.wa-notif__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px
    9px 18px;
}
.wa-notif__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--wa-ink);
}
.wa-notif__close {
  display: flex;
  color: var(--wa-gray-darker);
}
.wa-notif__more {
  position: relative;
  display: flex;
}
.wa-notif__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 2;
  min-width: 212px;
  padding: 4px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
  box-shadow: 0 6px 18px #003c3829;
}
.wa-notif__menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.wa-notif__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 18px 12px;
}
.wa-notif__chip {
  padding: 6px 13px;
  background: var(--wa-gray-20);
  border-radius: 4px;
  color: var(--wa-gray-darker);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.14s ease,
    color 0.14s ease;
}
.wa-notif__chip.is-on {
  background: var(--wa-green-20);
  color: var(--wa-green-dark);
}
.wa-notif__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 4px;
}
.wa-notif__grouptitle {
  margin: 0;
  padding: 9px 18px
    5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wa-ink);
}
.wa-notif__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px;
  background: var(--wa-unread);
  text-align: left;
  transition: background 0.12s ease;
}
.wa-notif__row.is-read {
  background: var(--wa-surface);
}
.wa-notif__ava {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.wa-notif__ava img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.wa-notif__glyph {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wa-green);
  color: #fff;
  border: 2px solid var(--wa-surface);
  border-radius: 50%;
}
.wa-notif__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-notif__text {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  text-wrap: pretty;
}
.wa-notif__actor {
  font-weight: 700;
}
.wa-notif__meta {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.wa-notif__time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-notif__sep,
.wa-notif__count {
  font-size: 11.5px;
  color: var(--wa-gray-darker);
}
.wa-notif__count {
  font-weight: 600;
}
.wa-notif__row.is-read .wa-notif__text {
  color: var(--wa-gray-darker);
}
.wa-notif__row.is-read .wa-notif__time {
  font-weight: 400;
  color: var(--wa-gray-darker);
}
.wa-notif__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wa-green);
}
.wa-notif__older {
  display: block;
  width: calc(100% - 36px);
  margin: 10px auto 12px;
  padding: 9px;
  background: var(--wa-gray-20);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.wa-notif__empty {
  margin: 0;
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 300;
  color: var(--wa-gray-darker);
}
.wa-icon-btn {
  display: flex;
  flex: 0 0 auto;
  color: var(--wa-gray-darker);
}
.wa-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  --wa-pad: 40px;
  background:
    linear-gradient(#f7fcf9ad, #f7fcf9ad),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    var(--wa-canvas);
}
.wa-page {
  flex: 1;
  width: 100%;
  max-width: var(--wa-max);
  margin: 0 auto;
  padding: 26px var(--wa-pad) 28px;
}
.wa-posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wa-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 12px;
  padding-bottom: 14px;
}
.wa-chat .wa-panel {
  min-height: 440px;
}
.wa-pagehead {
  flex: 0 0 auto;
  overflow: hidden;
  padding-bottom: 16px;
  --wa-cut: 46px;
}
.wa-pagehead__inner {
  width: 100%;
  max-width: var(--wa-max);
  margin: 0 auto;
  padding: 0 var(--wa-pad);
  display: flex;
  align-items: flex-end;
}
.wa-crumbs {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: var(--wa-cut);
  gap: 9px;
  margin-left: -2000px;
  padding: 0 calc(var(--wa-cut) + 20px) 0 2000px;
  background: var(--wa-green-20);
  color: var(--wa-green-darker);
  border-bottom: 2px solid var(--wa-green-20);
  clip-path: polygon(
    0 0,
    calc(100% - var(--wa-cut)) 0,
    100% var(--wa-cut),
    100% 100%,
    0 100%
  );
}
.wa-crumbs__root {
  color: var(--wa-green-dark);
  opacity: 0.78;
}
.wa-crumbs__sep {
  color: var(--wa-green-40);
}
.wa-crumbs__here {
  color: var(--wa-green-darker);
}
.wa-lead {
  flex: 1;
  min-width: 0;
  margin: 0;
  margin-left: -2px;
  padding: 0 0 10px 20px;
  background-image: linear-gradient(
    90deg,
    var(--wa-green-20) 0,
    var(--wa-green-40) 20%,
    var(--wa-green-60) 45%,
    var(--wa-green) 74%,
    var(--wa-green-darker) 100%
  );
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-crumbs__root {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wa-crumbs__sep {
  font-size: 12px;
  line-height: 1;
}
.wa-crumbs__here {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.wa-photo {
  display: block;
  object-fit: cover;
  background: var(--wa-gray-40);
}
.wa-photo--hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}
.wa-photo--wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--wa-line);
  border-radius: 4px;
}
.wa-photo--square {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.wa-photo--bubble {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
}
.wa-welcome {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wa-welcome__body {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wa-welcome .wa-photo--hero {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 160px;
  max-height: 620px;
}
.wa-welcome__cta {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 34px;
  background: var(--wa-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.14s ease;
}
.wa-btn:hover {
  background: var(--wa-green-dark);
  color: #fff;
}
.wa-btn--sm {
  flex: 0 0 auto;
  gap: 10px;
  padding: 13px 26px;
  font-size: 13px;
  border-radius: 4px;
}
.wa-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
}
.wa-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
  overflow: hidden;
}
.wa-chat__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wa-chat__divider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wa-chat__divider:before,
.wa-chat__divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--wa-line);
}
.wa-chat__divider span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wa-gray-darker);
}
.wa-tone--green {
  --wa-who: #2f857f;
  --wa-who-soft: #e6f1f0;
}
.wa-tone--blue {
  --wa-who: #5d68a8;
  --wa-who-soft: #ebedf7;
}
.wa-tone--rose {
  --wa-who: #a85f7a;
  --wa-who-soft: #f7ebef;
}
.wa-tone--sand {
  --wa-who: #96774a;
  --wa-who-soft: #f4efe7;
}
.wa-avatar {
  flex: 0 0 38px;
  height: 38px;
  display: block;
  object-fit: cover;
  background: var(--wa-who, var(--wa-green));
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
.wa-avatar--mono {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 0.02em;
}
.wa-msg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.wa-msg__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wa-msg__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.wa-msg__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--wa-who, var(--wa-green));
}
.wa-msg__row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.wa-msg__more {
  flex: 0 0 auto;
  display: flex;
  padding: 4px;
  border-radius: 4px;
  color: var(--wa-gray);
  transition:
    color 0.14s ease,
    background 0.14s ease;
}
.wa-msg__more:hover {
  color: var(--wa-green);
  background: var(--wa-gray-20);
}
.wa-bubble {
  max-width: min(820px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px;
  background: var(--wa-who-soft, var(--wa-gray-40));
  border: 1px solid var(--wa-line);
  border-radius: 4px;
}
.wa-bubble__text {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  white-space: pre-line;
  text-wrap: pretty;
}
.wa-msg__foot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-msg__time {
  font-size: 11px;
  color: var(--wa-gray-darker);
}
.wa-like {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
  color: var(--wa-gray-darker);
  transition:
    background 0.14s ease,
    color 0.14s ease;
}
.wa-like.is-on {
  background: var(--wa-green-20);
  border-color: var(--wa-green-40);
  color: var(--wa-green-darker);
}
.wa-like svg {
  display: block;
}
.wa-react {
  position: relative;
  display: inline-flex;
}
.wa-react__bar {
  position: absolute;
  bottom: calc(100% + 8px);
  left: -6px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray-60);
  border-radius: 999px;
  box-shadow: 0 4px 16px #0028262e;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s;
}
.wa-react__bar:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 9px;
}
.wa-react:hover .wa-react__bar {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-react:has(:focus-visible) .wa-react__bar {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-react__btn {
  display: flex;
  padding: 3px;
  border-radius: 50%;
  transform-origin: center bottom;
  transition: transform 0.14s ease;
}
.wa-react__btn:hover {
  transform: translateY(-3px) scale(1.18);
}
.wa-react__btn[aria-pressed="true"] {
  background: var(--wa-gray-20);
}
.wa-react__btn svg {
  display: block;
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: reduce) {
.wa-react__bar,
.wa-react__btn {
    transition: none;
  }
.wa-react__btn:hover {
    transform: none;
    background: var(--wa-gray-20);
  }
}
.wa-composer {
  flex: 0 0 auto;
  padding: 12px 16px;
  background: var(--wa-surface);
  border-top: 1px solid var(--wa-line);
}
.wa-composer__box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-composer__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 5px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
  transition: border-color 0.14s ease;
}
.wa-composer__field:focus-within {
  border-color: var(--wa-green);
}
.wa-composer__input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--wa-ink);
  background: none;
  border: 0;
  outline: none;
}
.wa-composer__input::placeholder {
  color: var(--wa-gray-darker);
}
.wa-composer__btn {
  flex: 0 0 auto;
  display: flex;
  padding: 7px;
  border-radius: 3px;
  color: var(--wa-gray-darker);
  transition: color 0.14s ease;
}
.wa-composer__btn:hover {
  color: var(--wa-green);
}
.wa-composer__send {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--wa-green);
  color: #fff;
  border-radius: 4px;
  transition: background 0.14s ease;
}
.wa-composer__send:hover {
  background: var(--wa-green-dark);
}
.wa-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-size: 13px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
  outline: none;
}
.wa-input:focus-visible {
  border-color: var(--wa-green);
}
.wa-postbox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.wa-postbox__open {
  text-align: left;
  color: var(--wa-gray-darker);
  font-weight: 300;
  cursor: text;
}
.wa-post__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
}
.wa-post__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wa-post__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-post__meta {
  font-size: 12px;
  color: var(--wa-gray-darker);
}
.wa-post__text {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  text-wrap: pretty;
}
.wa-gal {
  display: grid;
  gap: 2px;
  background: var(--wa-line);
  overflow: hidden;
}
.wa-gal__cell {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--wa-gray-40);
}
.wa-gal__cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.wa-gal--1 {
  grid-template-columns: 1fr;
}
.wa-gal--1 .wa-gal__cell,
.wa-gal--1 .wa-gal__cell img {
  max-height: 540px;
}
.wa-gal--1 .wa-gal__cell img {
  height: auto;
}
.wa-gal--2 {
  aspect-ratio: 2 / 1;
  grid-template-columns: 1fr 1fr;
}
.wa-gal--3 {
  aspect-ratio: 3 / 2;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.wa-gal--3 .wa-gal__cell:first-child {
  grid-row: 1 / 3;
}
.wa-gal--4 {
  aspect-ratio: 4 / 3;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.wa-gal--5 {
  aspect-ratio: 3 / 2;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1.25fr 1fr;
}
.wa-gal--5 .wa-gal__cell:nth-child(-n + 2) {
  grid-column: span 3;
}
.wa-gal--5 .wa-gal__cell:nth-child(n + 3) {
  grid-column: span 2;
}
.wa-gal__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #002d2b8c;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wa-post__counts {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 20px;
  border-top: 1px solid var(--wa-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--wa-gray-darker);
}
.wa-post__count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-restack {
  display: inline-flex;
  align-items: center;
}
.wa-restack__one {
  display: flex;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--wa-surface);
}
.wa-restack__one + .wa-restack__one {
  margin-left: -6px;
}
.wa-restack svg {
  display: block;
}
.wa-post__count.is-static {
  font-weight: 600;
  color: var(--wa-gray-darker);
  cursor: default;
}
.wa-post__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--wa-line);
}
.wa-post__act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa-gray-darker);
  background: var(--wa-surface);
  transition: color 0.14s ease;
}
.wa-post__act + .wa-post__act {
  border-left: 1px solid var(--wa-line);
}
.wa-post__act:hover {
  color: var(--wa-green);
}
.wa-post__act.is-on {
  color: var(--wa-green);
  font-weight: 700;
}
.wa-detail {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: #001e1c80;
}
.wa-detail__card {
  display: flex;
  width: min(1160px, 100%);
  height: min(700px, 100%);
  background: var(--wa-surface);
  border-radius: 4px;
  box-shadow: 0 16px 48px #001e1c57;
  overflow: hidden;
}
.wa-detail__stage {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #041615;
  overflow: hidden;
}
.wa-detail__shot {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}
.wa-detail__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wa-green);
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 2px 10px #00141359;
}
.wa-detail__nav--prev {
  left: 16px;
}
.wa-detail__nav--next {
  right: 16px;
}
.wa-detail__counter {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 10px;
  background: #00000073;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wa-detail__rail {
  flex: 0 0 400px;
  width: 400px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--wa-line);
  background:
    linear-gradient(#fafdfcbd, #fafdfcbd),
    url(img/academy-canvas-connected.webp) left center / cover no-repeat,
    var(--wa-canvas);
}
.wa-detail__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px
    12px;
  border-bottom: 1px solid var(--wa-line);
}
.wa-detail__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-x: clip;
}
.wa-detail__scroll .wa-post__text {
  padding: 16px 18px;
}
.wa-detail__scroll .wa-post__counts {
  padding-left: 18px;
  padding-right: 18px;
}
.wa-detail__thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 18px;
}
.wa-detail__box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--wa-line);
}
.wa-detail__box > .wa-cbox {
  flex: 1;
  min-width: 0;
}
.wa-cmt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.wa-cmt__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.wa-cmt__bubble {
  max-width: 100%;
  padding: 8px 12px;
  background: var(--wa-gray-40);
  border-radius: 4px;
}
.wa-cmt__author {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-cmt__text {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.wa-cmt__acts {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 2px;
}
.wa-cmt__time {
  font-size: 11px;
  color: var(--wa-gray-darker);
}
.wa-cmt__act {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wa-gray-darker);
}
.wa-cmt__act.is-on {
  color: var(--wa-green);
  font-weight: 700;
}
.wa-cmt__likes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-cmt__likes .wa-restack__one {
  box-shadow: 0 0 0 1.5px var(--wa-surface);
}
.wa-cmt__likes .wa-restack__one + .wa-restack__one {
  margin-left: -5px;
}
.wa-cmt__fold {
  padding-left: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-cmt__replies {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--wa-line);
}
.wa-cmt__replies .wa-avatar {
  flex-basis: 30px;
  height: 30px;
  font-size: 11px;
}
.wa-cmt__replies.is-flat {
  padding-left: 0;
  border-left: 0;
}
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #001e1c73;
}
.wa-modal__card {
  width: min(420px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--wa-surface);
  border-radius: 4px;
  box-shadow: 0 12px 40px #0028264d;
  overflow: hidden;
}
.wa-modal__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 14px
    12px 18px;
  border-bottom: 1px solid var(--wa-line);
}
.wa-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.wa-modal__total {
  padding: 0 8px;
  background: var(--wa-green-20);
  border-radius: 4px;
  color: var(--wa-green-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 21px;
  font-variant-numeric: tabular-nums;
}
.wa-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 10px;
  border-bottom: 1px solid var(--wa-line);
  overflow-x: auto;
}
.wa-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px
    8px;
  border-bottom: 3px solid transparent;
  color: var(--wa-gray-darker);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wa-tabs__tab.is-on {
  border-bottom-color: var(--wa-green);
  color: var(--wa-green);
}
.wa-tabs__tab svg {
  display: block;
}
.wa-modal__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 0;
}
.wa-liker {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px;
}
.wa-detail__card--text {
  width: min(560px, 100%);
}
.wa-detail__card--text .wa-detail__rail {
  flex: 1;
  width: auto;
  border-left: 0;
}
.wa-liker__ava {
  position: relative;
  flex: 0 0 auto;
  display: flex;
}
.wa-liker__badge {
  position: absolute;
  right: -5px;
  bottom: -4px;
  display: flex;
  padding: 2px;
  background: var(--wa-surface);
  border-radius: 50%;
}
.wa-liker__badge svg {
  display: block;
}
.wa-liker__who {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
}
.wa-own {
  display: inline-block;
  margin-left: 7px;
  padding: 0 6px;
  background: var(--wa-green-20);
  border-radius: 3px;
  color: var(--wa-green-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 16px;
  vertical-align: 1px;
}
.wa-modal__rest {
  margin: 0;
  padding: 10px 18px
    6px;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--wa-gray-darker);
}
.wa-share {
  position: relative;
  display: flex;
}
.wa-share .wa-post__act {
  width: 100%;
}
.wa-share__sheet {
  position: fixed;
  z-index: 2147483210;
  min-width: 238px;
  padding: 6px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray-60);
  border-radius: 4px;
  box-shadow: 0 10px 32px #0028263d;
}
.wa-share__title {
  display: block;
  padding: 7px 9px
    9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wa-gray-darker);
}
.wa-share__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.wa-share__ico {
  flex: 0 0 auto;
  display: flex;
}
.wa-share__ico svg {
  display: block;
  width: 24px;
  height: 24px;
}
.wa-react--act {
  display: flex;
}
.wa-react--act .wa-post__act {
  width: 100%;
}
.wa-react--act .wa-react__bar {
  left: 50%;
  transform: translate(-50%) translateY(4px);
}
.wa-react--act:hover .wa-react__bar,
.wa-react--act:has(:focus-visible) .wa-react__bar {
  transform: translate(-50%);
}
.wa-post__act .wa-reaction,
.wa-post__act svg {
  flex: 0 0 auto;
}
.wa-detail__scroll .wa-react__bar {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  transform: translateY(-4px);
}
.wa-detail__scroll .wa-react__bar:before {
  top: auto;
  bottom: 100%;
}
.wa-detail__scroll .wa-react--act:hover .wa-react__bar,
.wa-detail__scroll .wa-react--act:has(:focus-visible) .wa-react__bar {
  transform: none;
}
.wa-react--cmt .wa-react__bar {
  top: auto;
  bottom: calc(100% + 6px);
  left: -8px;
  gap: 0;
  padding: 3px 6px;
  transform: translateY(4px);
}
.wa-react--cmt.is-deep .wa-react__bar {
  left: auto;
  right: -8px;
}
.wa-react--cmt .wa-react__bar:before {
  top: 100%;
  bottom: auto;
  height: 7px;
}
.wa-react--cmt:hover .wa-react__bar,
.wa-react--cmt:has(:focus-visible) .wa-react__bar {
  transform: none;
}
.wa-react--cmt .wa-react__btn {
  padding: 2px;
}
.wa-react--cmt .wa-react__btn svg {
  width: 19px;
  height: 19px;
}
.wa-compose {
  width: min(680px, 100%);
  padding: 18px;
  gap: 14px;
}
.wa-compose__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-compose__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wa-compose__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-compose__where {
  font-size: 12.5px;
  color: var(--wa-gray-darker);
}
.wa-compose__editor {
  min-height: 190px;
  margin-top: -15px;
  padding: 14px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  max-height: 320px;
  overflow-y: auto;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.55;
  outline: 0;
}
.wa-compose__editor:empty:before {
  content: attr(data-placeholder);
  color: var(--wa-gray-darker);
}
.wa-compose__editor:focus-visible {
  outline: 2px solid var(--wa-green-40);
  outline-offset: 4px;
}
.wa-compose__editor ul,
.wa-compose__editor ol {
  margin: 6px 0;
  padding-left: 22px;
}
.wa-compose__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: var(--wa-gray-20);
  border: 1px solid var(--wa-line);
  border-radius: 4px 4px 0 0;
}
.wa-compose__sep {
  width: 1px;
  height: 18px;
  margin: 0 5px;
  background: var(--wa-gray);
}
.wa-compose__attach {
  position: relative;
  display: flex;
}
.wa-compose__menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 5;
  min-width: 178px;
  padding: 5px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
  box-shadow: 0 8px 26px #00282633;
}
.wa-compose__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}
.wa-compose__menu button svg {
  color: var(--wa-green);
}
.wa-compose__limit {
  margin: 4px 0 2px;
  padding: 0 10px;
  font-size: 11px;
  color: var(--wa-gray-darker);
}
.wa-compose__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  border-radius: 3px;
  color: var(--wa-ink);
  font-size: 15px;
  line-height: 1;
}
.wa-compose__tool.is-bold {
  font-weight: 800;
}
.wa-compose__tool.is-italic {
  font-style: italic;
  font-family:
    Georgia,
    Times New Roman,
    serif;
}
.wa-compose__tool.is-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-compose__tool.is-strikeThrough {
  text-decoration: line-through;
}
.wa-compose__files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.wa-compose__submit {
  width: 100%;
  justify-content: center;
}
.wa-compose__submit:disabled {
  background: var(--wa-gray-40);
  color: var(--wa-gray-darker);
  cursor: not-allowed;
}
.wa-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.wa-cbox {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wa-cbox__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-cbox__field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.wa-cbox__field .wa-input {
  width: 100%;
  padding-right: 38px;
}
.wa-cbox__clip {
  position: absolute;
  right: 8px;
  display: flex;
  padding: 3px;
  color: var(--wa-gray-darker);
}
.wa-cbox__file {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  background: var(--wa-green-20);
  border-radius: 4px;
  color: var(--wa-green-darker);
  font-size: 12px;
}
.wa-cbox__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.wa-cbox__size {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}
.wa-cbox__file button {
  display: flex;
  color: var(--wa-green-dark);
}
.wa-cbox__error {
  margin: 0;
  padding: 5px 9px;
  background: #fdeceb;
  border-radius: 4px;
  color: var(--wa-danger);
  font-size: 12px;
  font-weight: 600;
}
.wa-links,
.wa-invite,
.wa-profile {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 1000px;
}
.wa-block__head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--wa-line);
}
.wa-block__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--wa-green);
}
.wa-block__lead {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--wa-ink-soft);
  max-width: calc(70ch * var(--wa-s));
  text-wrap: pretty;
}
.wa-block__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 22px;
}
.wa-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 15px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
  color: var(--wa-green);
  font-size: 13px;
  font-weight: 700;
}
.wa-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wa-gray-darker);
}
.wa-note--ok {
  color: var(--wa-green);
  font-weight: 600;
}
.wa-note--bad {
  color: var(--wa-danger);
  font-weight: 600;
}
.wa-note svg {
  flex: 0 0 auto;
}
.wa-copyrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-copyrow__url {
  color: var(--wa-green-dark);
  font-weight: 600;
}
.wa-btn:disabled {
  background: var(--wa-gray-40);
  color: var(--wa-gray-darker);
  cursor: not-allowed;
}
.wa-table__scroll {
  overflow-x: auto;
}
.wa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.wa-table th,
.wa-table td {
  padding: 12px 22px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--wa-line);
}
.wa-table thead th {
  padding-top: 13px;
  padding-bottom: 13px;
  background: var(--wa-gray-20);
  font-size: 12px;
  font-weight: 700;
  color: var(--wa-ink-soft);
  white-space: nowrap;
}
.wa-table tbody tr:last-child th,
.wa-table tbody tr:last-child td {
  border-bottom: 0;
}
.wa-table th:first-child {
  width: 100%;
}
.wa-table__name {
  font-weight: 700;
  color: var(--wa-ink);
}
.wa-table__kind {
  color: var(--wa-gray-darker);
  white-space: nowrap;
}
.wa-table__end {
  text-align: right;
  white-space: nowrap;
}
.wa-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--wa-gray);
  border-radius: 4px;
  color: var(--wa-green);
  font-size: 13px;
  font-weight: 700;
}
.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wa-chips__one {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px
    6px 11px;
  background: var(--wa-green-20);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa-green-darker);
}
.wa-chips__one svg {
  flex: 0 0 auto;
}
.wa-chips__one button {
  display: flex;
  color: var(--wa-green-dark);
}
.wa-pic {
  display: flex;
  align-items: center;
  gap: 18px;
}
.wa-pic__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.wa-avatar--lg {
  flex-basis: 84px;
  height: 84px;
  font-size: 26px;
}
.wa-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.wa-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wa-field--wide {
  grid-column: 1 / -1;
}
.wa-field__label {
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--wa-ink-soft);
}
.wa-radios {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}
.wa-pick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}
.wa-pick input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--wa-green);
  cursor: pointer;
}
.wa-pick--block {
  align-items: flex-start;
}
.wa-pick--block > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-pick--block input {
  margin-top: 2px;
}
.wa-setrow {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.wa-setrow__text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wa-setrow__name {
  font-size: 14px;
  font-weight: 700;
}
.wa-checks {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 2px 0 2px
    16px;
  border-left: 1px solid var(--wa-line);
  list-style: none;
}
.wa-profile__save {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wa-foot {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 48px;
  background: var(--wa-surface);
  border-top: 1px solid var(--wa-gray-60);
  position: relative;
  z-index: 5;
}
.wa-foot__logo {
  height: 46px;
  width: auto;
  display: block;
}
.wa-foot__copy {
  text-align: center;
  font-size: 13px;
}
.wa-foot__meta {
  text-align: right;
  font-size: 12px;
  line-height: 1.5;
}
.wa-foot__version {
  font-weight: 700;
}
.wa-foot__meta a {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wa .appnav {
  --appnav-s: var(--wa-s);
}
@container wa (max-width: 1080px) {
.wa-head {
    padding: 0 22px;
    gap: 14px;
  }
.wa-main {
    --wa-pad: 24px;
  }
.wa-foot {
    padding: 18px 24px;
    gap: 16px;
  }
.wa-notif {
    width: min(440px, 88cqw);
  }
}
@container wa (max-width: 860px) {
.wa-side {
    display: none;
  }
.wa .appnav {
    display: block;
    flex: 1 1 150px;
    min-width: 0;
    --appnav-face: #fff;
    --appnav-ink: var(--wa-ink);
    --appnav-line: var(--wa-gray);
    --appnav-accent: var(--wa-green);
    --appnav-accent-ink: #fff;
    --appnav-radius: 4px;
  }
.wa-head__welcome,
.wa-ticker {
    display: none;
  }
.wa-detail__card {
    flex-direction: column;
  }
.wa-detail__stage {
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    max-height: 45%;
  }
.wa-detail__rail {
    flex: 1 1 auto;
    width: auto;
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--wa-line);
  }
}
@container wa (max-width: 640px) {
.wa-head {
    height: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 14px;
  }
.wa-head__logo {
    height: 34px;
  }
.wa-head > .wa-bell {
    display: contents;
  }
.wa-head > .wa-bell > .wa-bell__btn {
    display: none;
  }
.wa-ticker {
    display: block;
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%
    );
  }
.wa-ticker__item {
    font-size: 12.5px;
    padding-right: 34px;
  }
.wa-ticker__track {
    animation-duration: 58s;
  }
.wa .appnav {
    order: 2;
    flex: 0 0 auto;
    --appnav-s: 1;
  }
.wa .appnav__current {
    display: none;
  }
.wa .appnav__menu {
    left: auto;
    right: 0;
    width: calc(100cqw - 28px);
  }
.wa .appnav__item {
    padding: calc(13px * var(--appnav-s)) calc(14px * var(--appnav-s));
    font-size: calc(14px * var(--appnav-s));
  }
.wa .appnav__item-label {
    white-space: normal;
    overflow: visible;
  }
.wa-pagehead__inner {
    display: block;
    padding-top: 0;
    padding-bottom: 11px;
  }
.wa-crumbs__root,
.wa-crumbs__sep {
    display: none;
  }
.wa-lead {
    display: block;
    margin-left: 0;
    padding: 9px 0 8px;
    font-size: 12px;
    white-space: normal;
  }
.wa-main {
    --wa-pad: 14px;
  }
.wa-page {
    padding-top: 22px;
    padding-bottom: 20px;
  }
.wa-chat__scroll {
    padding: 16px 14px;
    gap: 20px;
    min-height: 320px;
  }
.wa-composer {
    padding: 12px 14px;
  }
.wa-composer__btn {
    padding: 7px;
  }
.wa-post__act span {
    display: none;
  }
.wa-form {
    grid-template-columns: minmax(0, 1fr);
  }
.wa-block__head,
.wa-block__body,
.wa-table th,
.wa-table td {
    padding-left: 16px;
    padding-right: 16px;
  }
.wa-table th:nth-child(2),
.wa-table td:nth-child(2) {
    display: none;
  }
.wa-copyrow {
    flex-wrap: wrap;
  }
.wa-copyrow .wa-input {
    flex: 1 1 100%;
  }
.wa-copyrow .wa-btn {
    flex: 1 0 auto;
    justify-content: center;
  }
.wa-pic {
    flex-wrap: wrap;
  }
.wa-foot {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 4px 10px;
    padding: 9px 14px;
  }
.wa-foot__logo {
    grid-area: 1 / 1;
    height: 26px;
  }
.wa-foot__meta {
    grid-area: 1 / 2;
    justify-self: end;
    text-align: right;
    font-size: 12px;
  }
.wa-foot__version {
    display: none;
  }
.wa-foot__copy {
    grid-area: 2 / 1 / 3 / 3;
    justify-self: stretch;
    text-align: center;
    font-size: 11px;
    color: var(--wa-gray-darker);
  }
.wa-notif {
    position: absolute;
    top: calc(100% + 6px);
    right: 8px;
    left: 8px;
    bottom: auto;
    width: auto;
    max-height: 70cqh;
  }
.wa-notif__head,
.wa-notif__filters,
.wa-notif__grouptitle,
.wa-notif__row {
    padding-left: 14px;
    padding-right: 14px;
  }
.wa-notif__title {
    font-size: 17px;
  }
.wa-notif__chip {
    padding: 5px 11px;
    font-size: 12px;
  }
.wa-notif__ava {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
.wa-btn {
    padding: 12px 20px;
    font-size: 13px;
    gap: 10px;
  }
.wa-welcome__body {
    gap: 16px;
  }
.wa-welcome .wa-photo--hero {
    min-height: 130px;
    border-radius: 8px;
  }
.wa-avatar {
    flex-basis: 30px;
    height: 30px;
    font-size: 11px;
  }
.wa-avatar--lg {
    flex-basis: 64px;
    height: 64px;
    font-size: 20px;
  }
.wa-msg,
.wa-post__head,
.wa-postbox {
    gap: 10px;
  }
.wa-bubble {
    padding: 11px 13px;
  }
.wa-react__bar {
    left: -4px;
    padding: 4px 6px;
  }
.wa-react__btn svg {
    width: 19px;
    height: 19px;
  }
.wa-post__counts {
    gap: 14px;
  }
}
/* ==========================================================================
   Shop embedding and states the static design did not need.
   Everything stays under .wa so nothing leaks into the shop theme.
   ========================================================================== */

.wc-wrap {
  margin: 0 0 48px;
}
.wa {
  border: 1px solid var(--wa-gray-60);
  border-radius: 4px;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Sidebar nav: shop link is an <a>, unread badges */
a.wa-nav__item,
a.wa-nav__item:hover {
  color: #fff;
}
.wa-nav__item {
  padding-right: 16px;
}
.wa-nav__badge {
  min-width: 20px;
  margin-left: auto;
  padding: 0 6px;
  background: #fff;
  border-radius: 999px;
  color: var(--wa-green-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.wa.is-collapsed .wa-nav__badge {
  position: absolute;
  margin: 0 0 18px 26px;
  min-width: 16px;
  line-height: 16px;
  font-size: 10px;
}
.wa-nav__item {
  position: relative;
}
.wa-side__spacer {
  flex: 1;
}

/* Mobile app menu (design's appnav, built for this app) */
.wa .appnav__menu {
  z-index: 30;
  box-shadow: 0 8px 26px #00282633;
}
a.appnav__item,
a.appnav__item:hover {
  color: var(--appnav-ink);
  text-decoration: none;
}
.appnav__item-ico {
  display: flex;
  color: var(--wa-green);
}
.appnav__item.is-active .appnav__item-ico {
  color: inherit;
}
.appnav__item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Avatars without a picture and the official account */
.wa-avatar {
  width: 38px;
  min-width: 38px;
}
.wa-avatar--lg {
  width: 84px;
  min-width: 84px;
}
.wa-avatar--logo {
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--wa-line);
}
.wa-cmt__replies .wa-avatar {
  width: 30px;
  min-width: 30px;
}
.wa-role {
  display: inline-block;
  margin-left: 7px;
  padding: 0 6px;
  background: var(--wa-green);
  border-radius: 3px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 16px;
  vertical-align: 1px;
}
.wa-role--expert {
  background: var(--wa-ink-soft);
}
.wa-headline {
  font-size: 12px;
  font-weight: 400;
  color: var(--wa-gray-darker);
}

/* Head: welcome text and bell stay usable on narrow screens */
.wa-head__welcome {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.wa-head__logo {
  flex: 0 0 auto;
}

/* Loading / empty / error states */
.wa-boot,
.wa-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--wa-gray-darker);
}
.wa-boot {
  flex: 1;
  width: 100%;
}
.wa-state--card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
}
.wa-spin {
  width: 22px;
  height: 22px;
  border: 2px solid var(--wa-green-20);
  border-top-color: var(--wa-green);
  border-radius: 50%;
  animation: wa-spin 0.8s linear infinite;
}
@keyframes wa-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-spin {
    animation-duration: 2.4s;
  }
}
.wa-more {
  align-self: center;
  padding: 10px 22px;
}

/* Post extras */
.wa-post__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 12px;
}
.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--wa-gray-20);
  color: var(--wa-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wa-badge--pin {
  background: var(--wa-green-20);
  color: var(--wa-green-dark);
}
.wa-badge--pending {
  background: #fdf3dc;
  color: #8a5a00;
}
.wa-post__html {
  overflow-wrap: anywhere;
}
/* The design's body text is weight 300, where "bolder" only reaches 400. */
.wa-post__html :where(b, strong),
.wa-compose__editor :where(b, strong) {
  font-weight: 700;
}
.wa-post__html p + p {
  margin-top: 8px;
}
.wa-post__html ul,
.wa-post__html ol {
  margin: 6px 0;
  padding-left: 22px;
}
.wa-post__html a,
.wa-bubble__text a,
.wa-cmt__text a {
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.wa-post__head .wa-icon-btn,
.wa-msg__more {
  padding: 4px;
  border-radius: 4px;
}
.wa-post__head .wa-icon-btn:hover {
  background: var(--wa-gray-20);
  color: var(--wa-green);
}
.wa-attachments {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px 16px;
}
.wa-bubble .wa-attachments,
.wa-cmt__body .wa-attachments {
  padding: 0;
}
.wa-attach {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  padding: 8px 12px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray-60);
  border-radius: 4px;
  color: var(--wa-ink);
  font-size: 13px;
}
.wa-attach:hover {
  border-color: var(--wa-green-40);
  color: var(--wa-ink);
}
.wa-attach svg {
  flex: 0 0 auto;
  color: var(--wa-green);
}
.wa-attach__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.wa-attach__size {
  flex: 0 0 auto;
  color: var(--wa-gray-darker);
  font-size: 12px;
}
.wa-video {
  display: block;
  width: 100%;
  max-height: 480px;
  background: #041615;
}
.wa-bubble .wa-video,
.wa-bubble .wa-photo--bubble {
  width: 420px;
  max-width: 100%;
}
.wa-bubble .wa-photo--bubble {
  height: auto;
  aspect-ratio: auto;
  max-height: 360px;
  object-fit: cover;
  cursor: zoom-in;
}
.wa-bubble__photo {
  display: block;
  padding: 0;
  max-width: 100%;
}
.wa-gal--1 .wa-gal__cell img {
  max-height: 540px;
}

/* Chat extras */
.wa-chat .wa-panel {
  position: relative;
}
.wa-msg.is-mine .wa-msg__author {
  color: var(--wa-green);
}
.wa-msg__headline {
  font-size: 12px;
  color: var(--wa-gray-darker);
}
.wa-bubble__text {
  overflow-wrap: anywhere;
}
.wa-pill {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--wa-green);
  border-radius: 999px;
  box-shadow: 0 6px 18px #0028263d;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.wa-pill:hover {
  background: var(--wa-green-dark);
}
.wa-chat__older {
  align-self: center;
}
.wa-composer__input {
  display: block;
  max-height: 140px;
  line-height: 1.45;
  overflow-y: auto;
}
.wa-composer__send:disabled {
  background: var(--wa-gray-40);
  color: var(--wa-gray-darker);
  cursor: not-allowed;
}
.wa-composer .wa-cbox__file,
.wa-composer .wa-cbox__error {
  margin-bottom: 8px;
}
.wa-cbox__file.is-busy {
  opacity: 0.7;
}
.wa-cbox__reply {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wa-gray-darker);
}
.wa-cbox__reply b {
  color: var(--wa-green-dark);
}
.wa-cbox__reply button {
  display: flex;
  color: var(--wa-gray-darker);
}
.wa-cbox .wa-avatar {
  align-self: center;
}

/* Emoji picker */
.wa-emoji {
  position: fixed;
  z-index: 2147483210;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 2px;
  padding: 8px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray-60);
  border-radius: 4px;
  box-shadow: 0 10px 32px #0028263d;
}
.wa-emoji button {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  font-size: 20px;
  line-height: 1;
}
.wa-emoji button:hover,
.wa-emoji button:focus-visible {
  background: var(--wa-gray-20);
}

/* Option menus (⋮) */
.wa-menu {
  position: fixed;
  z-index: 2147483210;
  min-width: 190px;
  padding: 5px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-gray-60);
  border-radius: 4px;
  box-shadow: 0 10px 32px #0028263d;
}
.wa-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.wa-menu button:hover,
.wa-menu button:focus-visible,
.wa-share__item:hover,
.wa-share__item:focus-visible,
.wa-notif__menu button:hover {
  background: var(--wa-gray-20);
}
.wa-menu button svg {
  color: var(--wa-green);
}
.wa-menu button.is-danger,
.wa-menu button.is-danger svg {
  color: var(--wa-danger);
}

/* Reactions: long press on touch opens the bar too */
.wa-react.is-open .wa-react__bar {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-react--act.is-open .wa-react__bar {
  transform: translate(-50%);
}
@media (hover: none) {
  .wa-react:hover .wa-react__bar {
    opacity: 0;
    visibility: hidden;
  }
  .wa-react.is-open .wa-react__bar {
    opacity: 1;
    visibility: visible;
  }
}

/* Comments */
.wa-cmt__act:hover,
.wa-cmt__fold:hover {
  color: var(--wa-green);
}
.wa-cmt__act.is-danger:hover {
  color: var(--wa-danger);
}
.wa-cmt__bubble .wa-headline {
  display: block;
  margin-top: -2px;
}
.wa-cmt.is-new .wa-cmt__bubble {
  box-shadow: 0 0 0 2px var(--wa-green-40);
}
.wa-detail__empty {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--wa-gray-darker);
}
.wa-detail__head .wa-notif__close {
  padding: 4px;
}
.wa-detail__scroll .wa-post__badges {
  padding: 12px 18px 0;
}
.wa-detail__scroll .wa-attachments {
  padding: 0 18px 14px;
}
.wa-detail__card--media {
  width: min(1160px, 100%);
}
.wa-detail__card--media .wa-detail__stage {
  flex: 1;
}
.wa-detail__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00000073;
  border-radius: 50%;
  color: #fff;
}
.wa-detail__stage video {
  max-width: 100%;
  max-height: 100%;
}

/* Generic dialogs (confirm, report, edit) */
.wa-modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-y: auto;
}
.wa-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px 16px;
}
.wa-btn.is-danger {
  background: var(--wa-danger);
}
.wa-btn.is-danger:hover {
  background: #a33023;
}
.wa-textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.wa-modal__card.wa-compose {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.wa-compose__tool:hover,
.wa-compose__tool:focus-visible {
  background: var(--wa-surface);
  color: var(--wa-green);
}
.wa-compose__note {
  margin: -4px 0 0;
}

/* Reaction list */
.wa-liker .wa-avatar {
  flex-basis: 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
}

/* Notifications */
.wa-notif__row:hover {
  background: var(--wa-gray-20);
}
.wa-notif__ava .wa-avatar {
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 50%;
}
.wa-notif__excerpt {
  color: var(--wa-ink-soft);
}

/* Toast */
.wa-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2147483220;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  background: var(--wa-green-darker);
  border-radius: 4px;
  box-shadow: 0 10px 32px #0028264d;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.wa-toast.is-bad {
  background: var(--wa-danger);
}

/* Links table: open-type buttons and empty state */
.wa-dl:hover {
  border-color: var(--wa-green);
  color: var(--wa-green-dark);
}
.wa-table__desc {
  display: block;
  margin-top: 2px;
  font-weight: 300;
  color: var(--wa-ink-soft);
}

/* Profile */
.wa-field__hint {
  font-size: 11.5px;
  color: var(--wa-gray-darker);
}
.wa-pic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wa-ghost:hover {
  border-color: var(--wa-green);
  color: var(--wa-green-dark);
}
.wa-ghost.is-danger {
  color: var(--wa-danger);
}
.wa-leave {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Login / join screen inside the shop page */
a.wa-login__sso,
a.wa-login__sso:hover {
  color: var(--wa-ink);
}
a.wa-login__sso:hover {
  border-color: var(--wa-green);
}
.wa-login__go {
  text-align: center;
}
.wa-login__rules {
  max-height: 140px;
  overflow-y: auto;
  padding: 10px 12px;
  background: #ffffffb3;
  border: 1px solid #e1e5e5;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--wa-ink-soft);
  white-space: pre-line;
}
.wa-login__form .wa-pick {
  font-size: 12.5px;
  line-height: 1.45;
}
.wa-login__form .wa-pick a {
  text-decoration: underline;
}
.wa-login__form .wa-note--bad {
  padding: 6px 10px;
  background: #fdeceb;
  border-radius: 4px;
}
.wa-login__top {
  min-height: 20px;
}

/* The shop injects ".content-main h2 { font-size: clamp(...) !important }" for
   phones; the app's one h2 (the breadcrumb title) keeps the design size. */
.wa .wa-crumbs__here {
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.wa-composer__input {
  height: 42px;
}
.wa-composer__input::placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-modal__card.wa-reactlist {
  height: auto;
  min-height: 260px;
  max-height: min(520px, 100%);
}

/* Narrow layouts */
@container wa (max-width: 640px) {
  .wa-head > .wa-bell {
    display: flex;
    order: 3;
    position: static; /* the panel spans the header, as in the design */
  }
  .wa-head > .wa-bell > .wa-bell__btn {
    display: flex;
  }
  .wa-pill {
    bottom: 76px;
  }
  .wa-attachments {
    padding-left: 14px;
    padding-right: 14px;
  }
  .wa-post__badges {
    padding-left: 14px;
    padding-right: 14px;
  }
  .wa-detail {
    padding: 0;
  }
  .wa .appnav {
    position: static;
  }
  .wa .appnav__menu {
    top: 100%;
    left: 8px;
    right: 8px;
    width: auto;
  }
  .wa-detail__card {
    height: 100%;
    border-radius: 0;
  }
  .wa-modal {
    padding: 12px;
  }
  .wa-emoji {
    grid-template-columns: repeat(7, 34px);
  }
}

/* Below the desktop breakpoint the app flows with the page instead of
   being a fixed-height panel; only the chat keeps its own scroll area. */
@media (max-width: 991.98px) {
  .wa {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .wa-col {
    min-height: 0;
  }
  .wa-main {
    overflow: visible;
    min-height: 420px;
  }
  .wa-chat .wa-panel {
    flex: none;
    height: min(72vh, 640px);
    min-height: 420px;
  }
  .wa-welcome .wa-photo--hero {
    aspect-ratio: 16 / 9;
    flex: none;
  }
  .wa-login {
    position: relative;
    inset: auto;
    min-height: 640px;
  }
  .wa .appnav__menu {
    max-height: 70vh;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa *,
  .wa *:before,
  .wa *:after {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Integrated layout (1.1): the shop header and footer frame the app.
   No second logo, header row or footer inside; the page scrolls as one,
   the sidebar nav sticks, only the chat keeps its own scroll area.
   ========================================================================== */
.wa {
  height: auto;
  min-height: 560px;
  overflow: visible;
}
.wa {
  background: var(--wa-canvas);
}
/* The sidebar is one block (nav over the welding photo) that stays in view
   while long feeds scroll past; below it the canvas continues. */
.wa-side {
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: min(100vh, 720px);
  background: none;
}
.wa-side__inner {
  height: 100%;
  background:
    linear-gradient(180deg, #00847eed 0, #00847ee0 340px, #006d6880 450px, #00534f1f 555px, #00534f00 640px),
    url(img/sidebar-welding.webp) center bottom / cover no-repeat,
    var(--wa-green);
  border-radius: 3px 0 0 0;
}
.wa-side__tab {
  display: none;
}
.wa-col {
  min-height: 0;
}
.wa-head {
  display: none;
}
.wa-main {
  overflow: visible;
  min-height: 0;
  border-radius: 0 3px 3px 0;
}
.wa-chat .wa-panel {
  flex: none;
  height: clamp(460px, calc(100vh - 300px), 760px);
}
.wa-ticker--overview {
  display: block;
  flex: none;
  margin: 0 0 18px;
  padding: 11px 0;
  background: var(--wa-surface);
  border: 1px solid var(--wa-line);
  border-radius: 4px;
  font-size: 14px;
}
@container wa (max-width: 860px) {
  .wa-head {
    display: block;
    height: auto;
    flex: none;
    padding: 10px 14px;
  }
  .wa-ticker--overview {
    display: block;
  }
}

/* ==========================================================================
   Full width, fitted to the screen (1.2). The app spans the page edge to
   edge; on desktop it fills the viewport below the shop header exactly
   (--wa-top is measured by community.js), so the sidebar, the overview
   picture and the chat use the whole screen and only the content column
   scrolls. Smaller screens keep the flowing layout from above.
   ========================================================================== */
.wc-wrap,
.wc-wrap.container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.wa {
  border: 0;
  border-top: 1px solid var(--wa-gray-40);
  border-radius: 0;
}
@media (min-width: 992px) {
  .wa {
    height: calc(100vh - var(--wa-top, 65px));
    min-height: 520px;
    overflow: hidden;
  }
  .wa-side {
    position: relative;
    top: auto;
    align-self: stretch;
    height: auto;
  }
  .wa-side__inner {
    border-radius: 0;
  }
  .wa-main {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0;
  }
  .wa-chat .wa-panel {
    flex: 1 1 auto;
    height: auto;
    min-height: 300px;
  }
  /* The overview picture and the chat take the height that is left, so
     they end at the bottom of the screen; other views scroll. */
  .wa-main > .wa-view {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }
  .wa-main > .wa-view:has(> .wa-welcome, > .wa-chat) {
    flex: 1 1 0;
    min-height: 0;
  }
  .wa-view > .wa-welcome,
  .wa-view > .wa-chat {
    flex: 1 1 0;
    min-height: 0;
  }
  .wa-welcome .wa-photo--hero {
    flex: 1 1 0;
    min-height: 180px;
    max-height: none;
  }
}
/* The shop chatbot button is fixed at the bottom right (88px from the edge,
   56px wide). The chat input ends at the screen bottom, so keep its send
   button clear of it; on wide screens the centred column already is. */
@media (min-width: 992px) {
  body:has(#wolfram-chatbot[data-position="bottom-right"]) .wa[data-wc-mode="page"] .wa-chat .wa-composer {
    margin-right: max(0px, calc(112px - max(0px, (100cqw - 1540px) / 2)));
  }
}
/* No white strip between the shop menu and the app (a CMS injection sets
   .flashbags { margin-top: 12px !important }, hence the flag). */
.content-main:has(#wolfram-community) > .flashbags {
  margin-top: 0 !important;
}
.container-main:has(> .wc-wrap) {
  padding-top: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   Academy page header (1.2): one slim row that stays in place,
   [logo] [menu] [bell avatar cart DE|EN], no search, no footer (base.html.twig).
   Other pages keep the full shop header. --wa-hdr-l / --wa-hdr-r (measured by
   community.js) keep the menu between the logo and the icons.
   ========================================================================== */
body.is-wolfram-academy #sticky-mini-header,
body.is-wolfram-academy footer.footer-main {
  display: none !important;
}
@media (min-width: 992px) {
  body.is-wolfram-academy header.header-main {
    position: relative;
    z-index: 40;
    border-bottom: 1px solid #e2e4e4;
  }
  body.is-wolfram-academy header.header-main .top-bar {
    display: none !important;
  }
  body.is-wolfram-academy header.header-main .header-row {
    min-height: 60px !important;
    height: 60px;
    padding: 0 24px !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }
  body.is-wolfram-academy header.header-main .header-logo-main-img,
  body.is-wolfram-academy header.header-main .header-logo-picture img {
    height: 48px !important;
  }
  body.is-wolfram-academy header.header-main .header-search-col {
    display: none !important;
  }
  body.is-wolfram-academy header.header-main .header-actions-col {
    gap: 18px !important;
  }
  body.is-wolfram-academy header.header-main .header-actions {
    gap: 14px !important;
  }
  body.is-wolfram-academy header.header-main .account-menu-btn,
  body.is-wolfram-academy header.header-main .header-cart-btn,
  body.is-wolfram-academy header.header-main .wch-bell {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 9px 6px 0 !important;
  }
  body.is-wolfram-academy header.header-main .wch-badge {
    top: -5px;
  }
  /* 30px bell and avatar centred on the 26px cart icon */
  body.is-wolfram-academy header.header-main .wch-bell,
  body.is-wolfram-academy header.header-main .account-menu-btn.wch-account {
    padding-top: 7px !important;
  }
  body.is-wolfram-academy header.header-main .header-cart-total {
    display: none !important;
  }
  body.is-wolfram-academy header.header-main .language-selector-custom {
    top: 0 !important;
    font-size: 15px !important;
  }
  body.is-wolfram-academy header.header-main .language-selector-custom .lang-de,
  body.is-wolfram-academy header.header-main .language-selector-custom .lang-en {
    font-size: 15px !important;
  }
  /* The menu sits on the header row, between logo and icons. */
  body.is-wolfram-academy .nav-main {
    position: absolute;
    top: calc(var(--wa-hdr-top, 0px) + 4px);
    left: 0;
    right: 0;
    z-index: 41;
    height: 60px;
    padding: 0 var(--wa-hdr-r, 280px) 0 var(--wa-hdr-l, 280px);
    background: none;
    pointer-events: none;
  }
  body.is-wolfram-academy .nav-main .main-navigation-menu {
    min-height: 60px !important;
    padding: 0 !important;
    gap: 2px !important;
    /* Lets the theme fold the products into "Unsere Angebote" when the
       row gets too narrow (main-header.js checks for a wrapped row). */
    flex-wrap: wrap !important;
    pointer-events: auto;
  }
  body.is-wolfram-academy .nav-main .main-navigation-menu .main-navigation-link,
  body.is-wolfram-academy .nav-main .main-navigation-menu .main-nav-dropdown-toggle {
    padding: 9px 12px !important;
    font-size: 15px !important;
  }
}
@media (max-width: 991.98px) {
  body.is-wolfram-academy header.header-main {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
}

/* ==========================================================================
   Mini window (1.2): the app inside the Academy tab on other pages
   (community-dock.css styles the window around it).
   ========================================================================== */
.wcd-body > .wc-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.wa[data-wc-mode="mini"] {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}
.wa[data-wc-mode="mini"] .wa-col {
  height: 100%;
  min-height: 0;
}
.wa[data-wc-mode="mini"] .wa-main {
  --wa-pad: 14px;
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 0;
}
.wa[data-wc-mode="mini"] .wa-main > .wa-view {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.wa[data-wc-mode="mini"] .wa-main > .wa-view:has(> .wa-chat, > .wa-welcome) {
  flex: 1 1 0;
  min-height: 0;
}
.wa[data-wc-mode="mini"] .wa-view > .wa-chat,
.wa[data-wc-mode="mini"] .wa-view > .wa-welcome {
  flex: 1 1 0;
  min-height: 0;
}
.wa[data-wc-mode="mini"] .wa-page {
  padding: 12px var(--wa-pad) 14px;
}
.wa[data-wc-mode="mini"] .wa-chat .wa-panel {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
.wa[data-wc-mode="mini"] .wa-chat__scroll {
  min-height: 0;
}
.wa[data-wc-mode="mini"] .wa-welcome .wa-photo--hero {
  flex: 1 1 0;
  min-height: 120px;
  aspect-ratio: auto;
}
/* Dialogs stay inside the window. */
.wa[data-wc-mode="mini"] .wa-modal,
.wa[data-wc-mode="mini"] .wa-detail {
  position: absolute;
  z-index: 60;
}
.wa[data-wc-mode="mini"] .wa-login {
  position: relative;
  inset: auto;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}

/* ==========================================================================
   Site design norms (1.3), both the Academy page and the mini window:
   the shop's type (Source Sans 3), text colour, sharp corners and its
   parallelogram buttons. Badges, spinners and reaction circles stay round.
   ========================================================================== */
.wa {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2b3136;
  overflow-wrap: break-word;
}
.wa *,
.wa *::before,
.wa *::after {
  border-radius: 0 !important;
}
.wa .wa-spin,
.wa [class*="__dot"],
.wa .wa-react__btn,
.wa .wa-restack__one,
.wa .wa-liker__badge,
.wa .wa-notif__ava img {
  border-radius: 50% !important;
}
/* Unread counters are pills, like the cart count in the shop header. */
.wa .wa-nav__badge,
.wa .appnav__badge {
  border-radius: 999px !important;
}
.wa img,
.wa video,
.wa iframe {
  max-width: 100%;
}
.wa .wa-btn {
  padding: 12px 30px;
  background: #008c8c;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.wa .wa-btn:hover {
  background: #00736f;
}
.wa .wa-btn--sm {
  padding: 9px 22px;
  font-size: 13px;
}

/* No flash on the Academy page: the menu shows once the theme has folded
   it into "Unsere Angebote" (community.js adds .wa-hdr-ready; the
   animation is the fallback if scripts are slow), and while the app loads
   the sidebar is already painted where it will be. */
@media (min-width: 992px) {
  body.is-wolfram-academy .nav-main .main-navigation-menu {
    visibility: hidden;
    animation: wa-reveal 0s linear 2.5s forwards;
  }
  body.is-wolfram-academy.wa-hdr-ready .nav-main .main-navigation-menu {
    visibility: visible;
    animation: none;
  }
  .wa[data-wc-mode="page"]:has(> .wa-boot)::before {
    content: "";
    flex: 0 0 300px;
    background:
      linear-gradient(180deg, #00847eed 0, #00847ee0 340px, #006d6880 450px, #00534f1f 555px, #00534f00 640px),
      url(img/sidebar-welding.webp) center bottom / cover no-repeat,
      var(--wa-green);
  }
}
@keyframes wa-reveal {
  to {
    visibility: visible;
  }
}

/* ==========================================================================
   Mini window content (1.3): the window looks like the shop's sections
   (FAQ cards): light grey card ground, white items with hairlines, the
   menu like the main navigation with the teal parallelogram.
   ========================================================================== */
.wa[data-wc-mode="mini"] .wa-card,
.wa[data-wc-mode="mini"] .wa-panel,
.wa[data-wc-mode="mini"] .wa-post {
  border-color: #e0e4e7;
  box-shadow: none;
}
.wa-mininav {
  flex: none;
  display: flex;
  gap: 0;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #e0e4e7;
}
.wa-mininav__item {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 6px;
  border: 0;
  background: none;
  color: #1f2937;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}
.wa-mininav__item:hover {
  color: #00847e;
}
.wa-mininav__item.is-active,
.wa-mininav__item.is-active:hover {
  color: #fff;
}
.wa-mininav__item.is-active::before {
  content: "";
  position: absolute;
  inset: 5px 7px;
  z-index: -1;
  background: #008c8c;
  transform: skew(-20deg);
}
.wa-mininav__item:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: -2px;
}
.wa-mininav .wa-nav__badge {
  position: absolute;
  top: 2px;
  right: 0;
  margin: 0;
}

/* ==========================================================================
   Chat input like Messenger (1.4): attach left of the field, the emoji at
   the end of the field, readable sizes; emoji-only messages shown large.
   ========================================================================== */
.wa .wa-composer__box {
  gap: 6px;
}
.wa .wa-composer__field {
  padding-right: 4px;
  border-color: #c4cbca;
}
.wa .wa-composer__input {
  padding: 11px 12px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
}
.wa .wa-composer__btn {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #758ca3;
}
.wa .wa-composer__btn:hover,
.wa .wa-composer__btn[aria-expanded="true"] {
  color: #00847e;
}
.wa .wa-composer__btn--emoji {
  width: 36px;
  height: 36px;
}
.wa .wa-composer__send {
  width: 44px;
  height: 44px;
  background: #008c8c;
}
.wa .wa-emoji button {
  font-size: 22px;
}
.wa .wa-bubble__text {
  font-size: 14px;
  font-weight: 400;
}
.wa .wa-bubble--emoji {
  padding: 0;
  background: none;
  border: 0;
}
.wa .wa-bubble--emoji .wa-bubble__text {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 2px;
}

/* ==========================================================================
   Chat like as a small badge on the bubble's bottom-right corner (1.4.1):
   no colour while nobody likes the message, the count once someone does.
   ========================================================================== */
.wa .wa-msg__bubblewrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.wa .wa-msg__bubblewrap .wa-bubble {
  max-width: 100%;
}
.wa .wa-like {
  position: absolute;
  right: -8px;
  bottom: -11px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  min-width: 22px;
  padding: 0 5px;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: #9aa3a3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.wa .wa-msg:hover .wa-like,
.wa .wa-like:focus-visible {
  opacity: 1;
}
.wa .wa-like:hover {
  color: #00847e;
}
.wa .wa-like.has-likes {
  background: #fff;
  border-color: #e0e4e7;
  color: #00847e;
  opacity: 1;
}
.wa .wa-like.is-on {
  background: #d0e5e4;
  border-color: #9ccbc9;
  color: #00534f;
}
.wa .wa-msg__foot {
  padding-top: 6px;
}
.wa .wa-bubble--emoji + .wa-like {
  bottom: -6px;
}

/* ==========================================================================
   1.5: status badges in the user's design (solid pill, icon in a round
   knob), the Wolfram logo avatar on white, the reaction choice.
   ========================================================================== */
.wa .wa-sbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  margin-left: 7px;
  padding: 0 8px 0 2px;
  border-radius: 999px !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.wa .wa-sbadge__knob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50% !important;
  background: #141414;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.wa .wa-sbadge__knob svg {
  display: block;
}
.wa .wa-sbadge--team {
  background: #00847e;
  color: #fff;
}
.wa .wa-sbadge--expert {
  background: #ffb020;
  color: #141414;
}
.wa .wa-sbadge--you {
  background: #fff;
  color: #141414;
  box-shadow: inset 0 0 0 1px #141414;
}
.wa .wa-sbadge--pin {
  margin-left: 0;
  background: #141414;
  color: #fff;
}
.wa .wa-sbadge--pin .wa-sbadge__knob {
  background: #fff;
  color: #141414;
}
.wa .wa-sbadge--pending {
  margin-left: 0;
  background: #1e88e5;
  color: #fff;
}
.wa .wa-post__badges {
  display: flex;
  gap: 6px;
}

/* The Wolfram account: the logo in its real colours on white. */
.wa .wa-avatar--logo {
  padding: 3px;
  object-fit: contain;
  background: #fff !important;
  border: 1px solid #e0e4e7;
}

/* Reaction choice: big, readable icons with their names on hover. */
.wa .wa-react__bar {
  gap: 2px;
  padding: 6px 8px;
  border-radius: 999px !important;
  border-color: #e0e4e7;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.wa .wa-react__btn {
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50% !important;
}
.wa .wa-react__btn svg {
  width: 32px;
  height: 32px;
  transition: transform 0.15s ease;
}
.wa .wa-react__btn:hover,
.wa .wa-react__btn:focus-visible {
  transform: none;
  background: none;
}
.wa .wa-react__btn:hover svg,
.wa .wa-react__btn:focus-visible svg {
  transform: translateY(-6px) scale(1.3);
}
.wa .wa-react__btn[aria-pressed="true"] {
  background: #d0e5e4;
}
.wa .wa-react__name {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 3px 8px;
  border-radius: 999px !important;
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.wa .wa-react__btn:hover .wa-react__name,
.wa .wa-react__btn:focus-visible .wa-react__name {
  opacity: 1;
}
/* As a popover (chat): placed by openPopover, always visible. */
.wa .wa-react__bar--pop {
  position: fixed;
  bottom: auto;
  z-index: 2147483210;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa .wa-react__bar--pop:before {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .wa .wa-react__btn svg {
    transition: none;
  }
  .wa .wa-react__btn:hover svg {
    transform: none;
  }
}

/* Chat reaction badge with the top reactions */
.wa .wa-like__stack {
  display: inline-flex;
}
.wa .wa-like__stack svg {
  display: block;
  margin-left: -4px;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1.5px #fff;
}
.wa .wa-like__stack svg:first-child {
  margin-left: 0;
}
.wa .wa-like.has-likes {
  color: #2b3136;
}
/* Post reaction choice opens from the left of "Gefällt mir" and is never
   cut by the card. */
.wa .wa-card:has(.wa-react--act) {
  overflow: visible;
}
.wa .wa-react--act .wa-react__bar {
  left: 4px;
  transform: translateY(4px);
}
.wa .wa-react--act:hover .wa-react__bar,
.wa .wa-react--act:has(:focus-visible) .wa-react__bar,
.wa .wa-react--act.is-open .wa-react__bar {
  transform: none;
}
.wa[data-wc-mode="mini"] .wa-react__btn {
  width: 40px;
  height: 40px;
}
.wa[data-wc-mode="mini"] .wa-react__btn svg {
  width: 28px;
  height: 28px;
}
.wa[data-wc-mode="mini"] .wa-react__bar {
  padding: 4px 6px;
}
/* Badge gradients: a green badge runs into the burnt orange, every other
   colour runs into the brand green. */
.wa .wa-sbadge--team {
  background: linear-gradient(90deg, #00847e 0%, #2f9a6a 45%, #ff8a00 115%);
}
.wa .wa-sbadge--expert {
  background: linear-gradient(90deg, #ffb020 0%, #d6ae2a 45%, #00847e 125%);
}
.wa .wa-sbadge--you {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #9ccbc9 100%);
}
.wa .wa-sbadge--pin {
  background: linear-gradient(90deg, #141414 0%, #0e3b38 55%, #00847e 110%);
}
.wa .wa-sbadge--pending {
  background: linear-gradient(90deg, #1e88e5 0%, #128c9e 55%, #00847e 110%);
}

/* ==========================================================================
   Media (1.5): the YouTube channel, organised like a channel page.
   ========================================================================== */
.wa-media {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wa-chan {
  background: #fff;
  border: 1px solid #e0e4e7;
}
.wa-chan__banner {
  height: clamp(90px, 16cqw, 170px);
  background:
    linear-gradient(90deg, rgba(0, 83, 79, 0.92) 0%, rgba(0, 132, 126, 0.55) 45%, rgba(255, 138, 0, 0.35) 100%),
    url(img/login-welding.webp) center 40% / cover no-repeat,
    #00534f;
}
.wa-chan__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  margin-top: -28px;
}
.wa-chan__ava {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e4e7;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.wa-chan__ava img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wa-chan__id {
  flex: 1;
  min-width: 0;
  padding-top: 30px;
}
.wa-chan__name {
  margin: 0;
  color: #1f2937;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.2;
}
.wa-chan__meta {
  margin: 3px 0 0;
  color: #7e8686;
  font-size: 14px;
}
.wa-chan__sub {
  flex: 0 0 auto;
  margin-top: 30px;
}
.wa-chan__tabs {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  padding: 0 14px;
  border-top: 1px solid #e0e4e7;
}
.wa-chan__tab {
  position: relative;
  padding: 12px 14px 11px;
  border: 0;
  background: none;
  color: #4b5563;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.wa-chan__tab:hover {
  color: #1f2937;
}
.wa-chan__tab.is-on {
  color: #1f2937;
}
.wa-chan__tab.is-on::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #00534f, #00847e 50%, #9ccbc9);
}
.wa-media__content {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 22px;
}

/* Player: thumbnail facade until the visitor clicks (then the iframe). */
.wa-player__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1514;
  overflow: hidden;
}
.wa-player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wa-player__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0b1514;
  cursor: pointer;
}
.wa-player__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.wa-player__facade:hover img {
  opacity: 1;
}
.wa-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 50px;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ff8a00, #00847e);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.wa-player__play::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 15px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.wa-player__facade:hover .wa-player__play {
  transform: translate(-50%, -50%) scale(1.08);
}
.wa-player__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 12px;
  text-align: left;
}

/* Featured video on the home tab */
.wa-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.wa-watch__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.wa-watch__title {
  margin: 0;
  color: #1f2937;
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.3;
}
.wa-watch__meta {
  margin: 0;
  color: #7e8686;
  font-size: 13.5px;
}
.wa-watch__desc {
  margin: 4px 0 0;
  color: #2b3136;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wa-watch__desc.is-open {
  display: block;
}
.wa-watch__more {
  padding: 0;
  font-size: 13px;
}
.wa-watch__yt {
  margin-top: 6px;
}

/* Shelves (one row per playlist), scroll sideways */
.wa-shelf__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.wa-shelf__title {
  margin: 0;
  color: #1f2937;
  font-size: 17px !important;
  font-weight: 700;
}
.wa-shelf__all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: #00847e;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.wa-shelf__all:hover {
  text-decoration: underline;
}
.wa-shelf__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.wa-shelf__row > * {
  scroll-snap-align: start;
}

/* Video cards */
.wa-vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px 16px;
}
.wa-vcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.wa-vcard__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d0e5e4;
}
.wa-vcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.wa-vcard:hover .wa-vcard__thumb img,
.wa-vcard:focus-visible .wa-vcard__thumb img {
  transform: scale(1.04);
}
.wa-vcard__play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 22px;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #ff8a00, #00847e);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.wa-vcard__play::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}
.wa-vcard:hover .wa-vcard__play,
.wa-vcard:focus-visible .wa-vcard__play {
  opacity: 1;
}
.wa-vcard__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.wa-vcard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1f2937;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.wa-vcard__meta {
  color: #7e8686;
  font-size: 12.5px;
}
.wa-vcard:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 3px;
}
.wa-vcard__count {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38%;
  background: rgba(0, 40, 38, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.wa-vcard--row {
  flex-direction: row;
  gap: 10px;
}
.wa-vcard--row .wa-vcard__thumb {
  flex: 0 0 150px;
  width: 150px;
}
.wa-vcard--row .wa-vcard__title {
  font-size: 13.5px;
}
.wa-vcard.is-current {
  background: #d0e5e4;
  outline: 6px solid #d0e5e4;
}

/* Watch page: player and info, the list beside it (below when narrow). */
.wa-watch__back {
  align-self: flex-start;
  padding-left: 0;
}
.wa-watch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
}
.wa-watch__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.wa-watch__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.wa-watch__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-media__sort .wa-chip {
  padding: 6px 14px;
  border: 1px solid #d2d7d7;
  border-radius: 999px !important;
  background: #fff;
  color: #1f2937;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.wa-media__sort .wa-chip.is-on {
  border-color: transparent;
  background: linear-gradient(90deg, #141414 0%, #0e3b38 55%, #00847e 110%);
  color: #fff;
}
.wa-media__sort {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@container wa (max-width: 860px) {
  .wa-feature,
  .wa-watch {
    grid-template-columns: minmax(0, 1fr);
  }
  .wa-chan__row {
    flex-wrap: wrap;
    padding: 0 14px;
  }
  .wa-chan__ava {
    width: 64px;
    height: 64px;
    padding: 7px;
  }
  .wa-chan__id {
    padding-top: 26px;
  }
  .wa-chan__name {
    font-size: 18px !important;
  }
  .wa-chan__sub {
    margin-top: 0;
  }
  .wa-chan__tabs {
    padding: 0 6px;
    overflow-x: auto;
  }
  .wa-chan__tab {
    padding: 11px 10px 10px;
    font-size: 14px;
  }
  .wa-vgrid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .wa-shelf__row {
    grid-auto-columns: minmax(170px, 200px);
  }
  .wa-vcard--row .wa-vcard__thumb {
    flex-basis: 128px;
    width: 128px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-vcard__thumb img,
  .wa-player__play,
  .wa-player__facade img {
    transition: none;
  }
}

/* Media: back and "show more" are plain text links, not outlined boxes. */
.wa .wa-ghost.wa-watch__back,
.wa .wa-ghost.wa-watch__more {
  gap: 6px;
  padding: 2px 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #00847e;
  font-size: 14px;
  font-weight: 700;
}
.wa .wa-ghost.wa-watch__back:hover,
.wa .wa-ghost.wa-watch__more:hover {
  color: #00534f;
  text-decoration: underline;
  background: none;
}
.wa .wa-ghost.wa-watch__back:focus-visible,
.wa .wa-ghost.wa-watch__more:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}

/* Narrow (mini window, phones): name and meta take the full row next to
   the logo; the subscribe button moves below them. */
@container wa (max-width: 640px) {
  .wa-chan__row {
    align-items: flex-start;
    row-gap: 10px;
  }
  .wa-chan__id {
    flex: 1 1 calc(100% - 80px);
  }
  .wa-chan__name {
    font-size: 17px !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }
  .wa-chan__meta {
    font-size: 13px;
  }
  .wa-chan__sub {
    margin: 0 0 14px 80px;
  }
}

/* Badges without black (user: "those look a bit sad"): white knob with the
   icon in the badge colour, deep brand tones for text. */
.wa .wa-sbadge__knob {
  background: #fff;
  color: #00847e;
  box-shadow: 0 1px 2px rgba(0, 60, 56, 0.25);
}
.wa .wa-sbadge--team {
  color: #fff;
}
.wa .wa-sbadge--team .wa-sbadge__knob {
  color: #00847e;
}
.wa .wa-sbadge--expert {
  color: #3d2600;
}
.wa .wa-sbadge--expert .wa-sbadge__knob {
  color: #d98a00;
}
.wa .wa-sbadge--you {
  color: #00534f;
  box-shadow: inset 0 0 0 1px #5eb1ae;
}
.wa .wa-sbadge--you .wa-sbadge__knob {
  background: #00847e;
  color: #fff;
  box-shadow: none;
}
.wa .wa-sbadge--pin {
  background: linear-gradient(90deg, #00847e 0%, #2f9a6a 50%, #ff8a00 125%);
  color: #fff;
}
.wa .wa-sbadge--pin .wa-sbadge__knob {
  background: #fff;
  color: #00847e;
}
.wa .wa-sbadge--pending .wa-sbadge__knob {
  color: #1e88e5;
}

/* Media: room between the banner and the channel name. */
.wa .wa-chan__id {
  padding-top: 42px;
}
@container wa (max-width: 860px) {
  .wa .wa-chan__id {
    padding-top: 36px;
  }
}

/* Mini window: one step smaller type everywhere, so more fits in 420px. */
.wa[data-wc-mode="mini"] .wa-block__title,
.wa[data-wc-mode="mini"] .wa-notif__title,
.wa[data-wc-mode="mini"] .wa-modal__title,
.wa[data-wc-mode="mini"] .wa-shelf__title,
.wa[data-wc-mode="mini"] .wa-watch__title {
  font-size: 14.5px !important;
}
.wa[data-wc-mode="mini"] .wa-chan__name {
  font-size: 15px !important;
}
.wa[data-wc-mode="mini"] .wa-chan__meta,
.wa[data-wc-mode="mini"] .wa-watch__meta,
.wa[data-wc-mode="mini"] .wa-vcard__meta,
.wa[data-wc-mode="mini"] .wa-post__meta,
.wa[data-wc-mode="mini"] .wa-post__counts,
.wa[data-wc-mode="mini"] .wa-msg__headline,
.wa[data-wc-mode="mini"] .wa-note,
.wa[data-wc-mode="mini"] .wa-field__label,
.wa[data-wc-mode="mini"] .wa-player__note {
  font-size: 11.5px;
}
.wa[data-wc-mode="mini"] .wa-field__hint,
.wa[data-wc-mode="mini"] .wa-msg__time,
.wa[data-wc-mode="mini"] .wa-react__name {
  font-size: 10.5px;
}
.wa[data-wc-mode="mini"] .wa-chan__tab,
.wa[data-wc-mode="mini"] .wa-msg__author,
.wa[data-wc-mode="mini"] .wa-post__author,
.wa[data-wc-mode="mini"] .wa-setrow__name,
.wa[data-wc-mode="mini"] .wa-notif__grouptitle {
  font-size: 13px;
}
.wa[data-wc-mode="mini"] .wa-bubble__text,
.wa[data-wc-mode="mini"] .wa-composer__input,
.wa[data-wc-mode="mini"] .wa-post__text,
.wa[data-wc-mode="mini"] .wa-cmt__text,
.wa[data-wc-mode="mini"] .wa-watch__desc,
.wa[data-wc-mode="mini"] .wa-vcard__title,
.wa[data-wc-mode="mini"] .wa-input,
.wa[data-wc-mode="mini"] .wa-pick,
.wa[data-wc-mode="mini"] .wa-notif__text,
.wa[data-wc-mode="mini"] .wa-lead,
.wa[data-wc-mode="mini"] .wa-block__lead,
.wa[data-wc-mode="mini"] .wa-modal__body {
  font-size: 12.5px;
}
.wa[data-wc-mode="mini"] .wa-vcard--row .wa-vcard__title,
.wa[data-wc-mode="mini"] .wa-btn,
.wa[data-wc-mode="mini"] .wa-btn--sm,
.wa[data-wc-mode="mini"] .wa-post__act,
.wa[data-wc-mode="mini"] .wa-ghost {
  font-size: 12px;
}
.wa[data-wc-mode="mini"] .wa-bubble--emoji .wa-bubble__text {
  font-size: 34px;
}

/* Profile: notification matrix (topic | in the app | by email). */
.wa .wa-matrix {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  border: 1px solid #e0e4e7;
  background: #fff;
}
.wa .wa-matrix__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #e0e4e7;
}
.wa .wa-matrix--app .wa-matrix__row {
  grid-template-columns: minmax(0, 1fr) 112px;
}
.wa .wa-matrix__row--head {
  border-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f1f3f5;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wa .wa-matrix__row:not(.wa-matrix__row--head):hover {
  background: #f7faf9;
}
.wa .wa-matrix__topic {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wa .wa-matrix__name {
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.wa .wa-matrix__hint {
  color: #7e8686;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.wa .wa-matrix__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wa .wa-matrix__row--head .wa-matrix__cell {
  flex-direction: column;
  gap: 6px;
}
.wa .wa-matrix__col {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.wa .wa-matrix__col svg {
  color: #00847e;
}
.wa .wa-matrix__none {
  color: #b7bfc4;
}

/* Switch: the shop's teal, sharp track. */
.wa input.wa-switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 20px;
  margin: 0;
  border: 1px solid #c3cbd0;
  background: #e0e4e7;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wa input.wa-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.wa input.wa-switch:checked {
  border-color: #00847e;
  background: linear-gradient(90deg, #00847e, #2f9a6a);
}
.wa input.wa-switch:checked::after {
  transform: translateX(18px);
}
.wa input.wa-switch:indeterminate {
  border-color: #5eb1ae;
  background: #9ccbc9;
}
.wa input.wa-switch:indeterminate::after {
  transform: translateX(9px);
}
.wa input.wa-switch:disabled {
  opacity: 0.55;
  cursor: default;
}
.wa input.wa-switch:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}

/* Email frequency: segmented choice. */
.wa .wa-mailfoot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.wa .wa-seg {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #e0e4e7;
  background: #fff;
  width: fit-content;
  max-width: 100%;
}
.wa .wa-seg__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 120px;
  padding: 8px 14px;
  border: 0;
  border-left: 1px solid #e0e4e7;
  background: none;
  color: #1f2937;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wa .wa-seg__btn:first-child {
  border-left: 0;
}
.wa .wa-seg__btn:hover {
  background: #f7faf9;
}
.wa .wa-seg__btn.is-on {
  background: linear-gradient(90deg, #00847e, #2f9a6a);
  color: #fff;
}
.wa .wa-seg__name {
  font-size: 14px;
  font-weight: 700;
}
.wa .wa-seg__hint {
  font-size: 11.5px;
  opacity: 0.8;
}
.wa .wa-seg__btn:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: -2px;
}

@container wa (max-width: 640px) {
  .wa .wa-matrix__row {
    grid-template-columns: minmax(0, 1fr) 64px 64px;
    gap: 8px;
    padding: 10px 12px;
  }
  .wa .wa-matrix--app .wa-matrix__row {
    grid-template-columns: minmax(0, 1fr) 64px;
  }
  .wa .wa-matrix__row--head {
    font-size: 10.5px;
    letter-spacing: 0.02em;
  }
  .wa .wa-matrix__col {
    flex-direction: column;
    gap: 2px;
    white-space: normal;
    text-align: center;
  }
  .wa .wa-seg {
    width: 100%;
  }
  .wa .wa-seg__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 10px;
  }
}
.wa[data-wc-mode="mini"] .wa-matrix__name,
.wa[data-wc-mode="mini"] .wa-seg__name {
  font-size: 12.5px;
}
.wa[data-wc-mode="mini"] .wa-matrix__hint,
.wa[data-wc-mode="mini"] .wa-seg__hint {
  font-size: 10.5px;
}
.wa[data-wc-mode="mini"] .wa-mininav__item {
  font-size: 13.5px;
}

/* ==========================================================================
   1.7: visitors (Wolfram Industrie posts only), the join page, the two
   video slots of Wolfram Industrie posts.
   ========================================================================== */
.wa .wa-avatar--xs {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.wa .wa-guestcta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 55%, #eef6f5 100%);
}
.wa .wa-guestcta__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00847e, #2f9a6a 70%, #ff8a00 140%);
  color: #fff;
}
.wa .wa-guestcta__text {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: #2b3136;
  font-size: 13.5px;
}
.wa .wa-guestcta__text b {
  color: #1f2937;
  font-size: 15px;
}
.wa .wa-guestcta__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wa .wa-guestcta__actions .wa-ghost {
  text-decoration: none;
}

/* Join page */
.wa .wa-join__card {
  position: relative;
  max-width: 760px;
  padding: 0;
  overflow: visible;
}
.wa .wa-join__tag {
  display: inline-block;
  padding: 8px 40px 8px 18px;
  background: #00847e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.wa .wa-join__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 26px 26px;
}
.wa .wa-join__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wa .wa-join__mark {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.wa .wa-join__title {
  margin: 0;
  color: #1f2937;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.2;
}
.wa .wa-join__claim {
  margin: 4px 0 0;
  color: #5b6670;
  font-size: 14px;
}
.wa .wa-join__points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wa .wa-join__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: #2b3136;
}
.wa .wa-join__points li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa .wa-join__points b {
  color: #1f2937;
  font-size: 14.5px;
}
.wa .wa-join__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #eef6f5;
  color: #00847e;
}

/* Wolfram Industrie post video: trailer for visitors, full video for
   signed-in customers. */
.wa .wa-slot {
  margin: 4px 0 2px;
}
.wa .wa-slot__frame {
  position: relative;
  background: #0f1a19;
}
.wa .wa-slot__video {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  background: #0f1a19;
}
.wa .wa-slot__tag {
  position: absolute;
  top: 10px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 22px 5px 10px;
  background: linear-gradient(90deg, #ff8a00, #f99a0c 60%, #c9a21c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  pointer-events: none;
}
.wa .wa-slot__tag.is-full {
  background: linear-gradient(90deg, #00847e, #2f9a6a 60%, #ff8a00 140%);
}
.wa .wa-slot__lock {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: #1f2937;
  color: #e0e4e7;
  font-size: 13px;
}
.wa .wa-slot__lockico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #ff8a00;
  color: #fff;
}
.wa .wa-slot__locktext {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wa .wa-slot__locktext b {
  color: #fff;
  font-size: 14px;
}
.wa .wa-guestcta__actions--slot .wa-ghost {
  background: transparent;
  border-color: #758ca3;
  color: #fff;
}
.wa .wa-detail__guest {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

/* Composer: "post as" and the two video slots */
.wa .wa-asseg {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 18px 0;
}
.wa .wa-asseg__label {
  color: #5b6670;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wa .wa-asseg .wa-seg__btn {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 14px 7px 8px;
}
.wa .wa-asseg .wa-seg__btn.is-on .wa-avatar--mono {
  box-shadow: 0 0 0 1.5px #fff;
}
.wa .wa-compose__ava {
  display: inline-flex;
}
.wa .wa-vslots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 18px 12px;
}
.wa .wa-vslots[hidden] {
  display: none;
}
.wa .wa-vslots__lead {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #5b6670;
  font-size: 12.5px;
}
.wa .wa-vslot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e0e4e7;
  background: #fff;
}
.wa .wa-vslot__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e4e7;
  background: #f1f3f5;
}
.wa .wa-vslot__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #00847e, #2f9a6a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.wa .wa-vslot:first-of-type .wa-vslot__num {
  background: linear-gradient(135deg, #ff8a00, #c9a21c);
}
.wa .wa-vslot__titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 12px;
  color: #5b6670;
}
.wa .wa-vslot__titles b {
  color: #1f2937;
  font-size: 13.5px;
}
.wa .wa-vslot__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}
.wa .wa-vslot__pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 12px;
  border: 1.5px dashed #9ccbc9;
  background: #f7faf9;
  color: #00847e;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.wa .wa-vslot__pick:hover {
  border-color: #00847e;
  background: #eef6f5;
}
.wa .wa-vslot__pick:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}
.wa .wa-vslot__limit {
  color: #7e8686;
  font-size: 11.5px;
  font-weight: 400;
}
.wa .wa-vslot__status {
  color: #2b3136;
  font-size: 12.5px;
}
.wa .wa-vslot__bar {
  display: block;
  height: 6px;
  background: #e0e4e7;
}
.wa .wa-vslot__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00847e, #2f9a6a 60%, #ff8a00);
  transition: width 0.2s ease;
}
.wa .wa-vslot__preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1a19;
}
.wa .wa-vslot__file {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #2b3136;
  font-size: 12.5px;
}
.wa .wa-vslot__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-vslot__size {
  color: #7e8686;
}
.wa .wa-vslot__remove {
  align-self: flex-start;
  padding: 5px 10px;
  font-size: 12.5px;
}
@container wa (max-width: 640px) {
  .wa .wa-vslots {
    grid-template-columns: 1fr;
    margin: 0 12px 10px;
  }
  .wa .wa-asseg {
    padding: 8px 12px 0;
  }
  .wa .wa-join__body {
    padding: 16px;
  }
  .wa .wa-join__title {
    font-size: 18px !important;
  }
  .wa .wa-join__mark {
    width: 48px;
    height: 48px;
  }
}
.wa[data-wc-mode="mini"] .wa-guestcta__text,
.wa[data-wc-mode="mini"] .wa-slot__lock,
.wa[data-wc-mode="mini"] .wa-join__points li {
  font-size: 12px;
}
.wa[data-wc-mode="mini"] .wa-guestcta__text b,
.wa[data-wc-mode="mini"] .wa-slot__locktext b {
  font-size: 13px;
}
.wa[data-wc-mode="mini"] .wa-join__title {
  font-size: 16px !important;
}
.wa .wa-asseg__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}
.wa .wa-asseg .wa-seg__hint {
  font-size: 11px;
}
.wa .wa-avatar.wa-avatar--xs {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
}

/* ==========================================================================
   One button shape (user: "why are they in different shapes"). Everything
   that is a button is the shop's parallelogram:
   - main action: solid teal (.wa-btn)
   - secondary: light teal fill (.wa-ghost, .wa-dl, .wa-login__sso)
   - danger: light red fill (.wa-ghost.is-danger)
   - choices (chips, sort, segments, filters): grey, teal gradient when on
   Text actions (Gefällt mir, Mehr anzeigen, Zurück) and icon buttons stay
   plain.
   ========================================================================== */
.wa .wa-btn,
.wa .wa-ghost:not(.wa-watch__back):not(.wa-watch__more),
.wa .wa-dl,
.wa .wa-login__sso {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background 0.15s ease, color 0.15s ease;
}
.wa .wa-ghost:not(.wa-watch__back):not(.wa-watch__more),
.wa .wa-dl,
.wa .wa-login__sso {
  padding: 9px 24px;
  background: #e3f0ef;
  color: #00706b;
  font-size: 13px;
}
.wa .wa-ghost:not(.wa-watch__back):not(.wa-watch__more):hover,
.wa .wa-dl:hover,
.wa .wa-login__sso:hover {
  background: #cfe5e3;
  color: #00534f;
}
.wa .wa-ghost.is-danger:not(.wa-watch__back) {
  background: #fbe9e7;
  color: #b42318;
}
.wa .wa-ghost.is-danger:not(.wa-watch__back):hover {
  background: #f6d4cf;
  color: #8f1c13;
}
.wa .wa-ghost:disabled,
.wa .wa-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
/* On the dark bar under a trailer. */
.wa .wa-slot__lock .wa-ghost:not(.wa-watch__back) {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.wa .wa-slot__lock .wa-ghost:not(.wa-watch__back):hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.wa .wa-btn:focus-visible,
.wa .wa-ghost:focus-visible,
.wa .wa-dl:focus-visible,
.wa .wa-chip:focus-visible,
.wa .wa-seg__btn:focus-visible {
  outline: 2px solid #ff8a00;
  outline-offset: 2px;
}

/* Choices: chips, sort, segments, the bell's filters. */
.wa .wa-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
  border: 0 !important;
  background: none;
}
.wa .wa-chip,
.wa .wa-seg__btn,
.wch-panel .wch-chip {
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #eef1f3;
  color: #1f2937;
  font-weight: 600;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.15s ease, color 0.15s ease;
}
.wa .wa-chip,
.wch-panel .wch-chip {
  padding: 6px 20px;
  font-size: 13px;
}
.wa .wa-seg__btn {
  padding: 8px 26px;
}
.wa .wa-chip:hover,
.wa .wa-seg__btn:hover,
.wch-panel .wch-chip:hover {
  background: #dfe5e8;
}
.wa .wa-chip.is-on,
.wa .wa-seg__btn.is-on,
.wch-panel .wch-chip.is-on {
  background: linear-gradient(90deg, #00847e, #2f9a6a);
  color: #fff;
}
.wa .wa-seg__btn.is-on .wa-seg__hint {
  opacity: 0.85;
}
@container wa (max-width: 640px) {
  .wa .wa-seg__btn {
    flex: 1 1 0;
    padding: 7px 16px;
  }
}

/* Send in the chat: the same parallelogram, icon only. */
.wa .wa-composer__send {
  border-radius: 0 !important;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  width: 52px;
}

/* Notification list (also outside .wa): square hover on close, footer
   link as a secondary button. */
.wch-panel .wch-close {
  border-radius: 0;
}
.wch-panel .wch-panel__foot {
  display: block;
  width: fit-content;
  margin: 10px auto 12px;
  padding: 9px 24px;
  border: 0;
  background: #e3f0ef;
  color: #00706b;
  font-size: 13px;
  font-weight: 700;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.wch-panel .wch-panel__foot:hover {
  background: #cfe5e3;
  color: #00534f;
}
.wch-panel .wch-list {
  border-bottom: 1px solid #e2e4e4;
}

/* ==========================================================================
   Post editor: never taller than the screen (scrolls inside, the head and
   the publish button stay put). In the mini window it is a full-window
   sheet, laid out for 420px.
   ========================================================================== */
.wa .wa-modal__card.wa-compose {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.wa .wa-compose__head {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -18px -18px 0;
  padding: 14px 18px;
  background: var(--wa-surface, #fff);
  border-bottom: 1px solid #e0e4e7;
}
.wa .wa-compose__submit {
  position: sticky;
  bottom: 0;
  z-index: 3;
  flex: none;
  box-shadow: 0 -10px 14px -8px rgba(255, 255, 255, 0.9) !important;
}

/* Mini window */
.wa[data-wc-mode="mini"] .wa-modal {
  padding: 10px;
}
.wa[data-wc-mode="mini"] .wa-modal:has(.wa-compose) {
  padding: 0;
  align-items: stretch;
  background: #eef6f5;
}
.wa[data-wc-mode="mini"] .wa-modal__card.wa-compose {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 0 12px;
  gap: 10px;
  box-shadow: none;
}
.wa[data-wc-mode="mini"] .wa-compose__head {
  top: 0;
  margin: 0;
  padding: 10px 12px;
  gap: 10px;
}
.wa[data-wc-mode="mini"] .wa-compose__head .wa-avatar {
  width: 34px;
  height: 34px;
}
.wa[data-wc-mode="mini"] .wa-compose__name {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-compose__where {
  font-size: 11.5px;
}
.wa[data-wc-mode="mini"] .wa-asseg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0 12px;
}
.wa[data-wc-mode="mini"] .wa-asseg__label {
  font-size: 10.5px;
}
.wa[data-wc-mode="mini"] .wa-asseg .wa-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.wa[data-wc-mode="mini"] .wa-asseg .wa-seg__btn {
  min-width: 0;
  padding: 6px 16px 6px 12px;
  gap: 6px;
}
.wa[data-wc-mode="mini"] .wa-asseg .wa-seg__name {
  overflow: hidden;
  max-width: 100%;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa[data-wc-mode="mini"] .wa-asseg .wa-seg__hint {
  font-size: 10.5px;
  white-space: nowrap;
}
.wa[data-wc-mode="mini"] .wa-asseg__text {
  min-width: 0;
}
.wa[data-wc-mode="mini"] .wa-compose__tools {
  margin: 0 12px;
  padding: 2px 4px;
}
.wa[data-wc-mode="mini"] .wa-compose__tool {
  width: 28px;
  height: 28px;
}
.wa[data-wc-mode="mini"] .wa-compose__editor {
  margin: -10px 12px 0;
  min-height: 96px;
  max-height: 180px;
  padding: 10px 12px;
  font-size: 13px;
}
.wa[data-wc-mode="mini"] .wa-vslots {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px;
}
.wa[data-wc-mode="mini"] .wa-vslots__lead {
  margin: 0;
  font-size: 11.5px;
}
.wa[data-wc-mode="mini"] .wa-vslot__head {
  gap: 7px;
  padding: 7px 8px;
}
.wa[data-wc-mode="mini"] .wa-vslot__num {
  width: 18px;
  height: 18px;
  font-size: 10.5px;
}
.wa[data-wc-mode="mini"] .wa-vslot__titles {
  font-size: 10.5px;
  line-height: 1.3;
}
.wa[data-wc-mode="mini"] .wa-vslot__titles b {
  font-size: 12.5px;
}
.wa[data-wc-mode="mini"] .wa-vslot__body {
  gap: 6px;
  padding: 8px;
}
.wa[data-wc-mode="mini"] .wa-vslot__pick {
  min-height: 64px;
  padding: 8px 6px;
  gap: 2px;
  font-size: 12px;
}
.wa[data-wc-mode="mini"] .wa-vslot__pick svg {
  width: 18px;
  height: 18px;
}
.wa[data-wc-mode="mini"] .wa-vslot__limit {
  font-size: 10.5px;
  text-align: center;
}
.wa[data-wc-mode="mini"] .wa-vslot__file {
  font-size: 11px;
}
.wa[data-wc-mode="mini"] .wa-vslot__remove {
  min-height: 30px;
  padding: 5px 16px;
  font-size: 11.5px;
}
.wa[data-wc-mode="mini"] .wa-compose__files,
.wa[data-wc-mode="mini"] .wa-compose .wa-cbox__error,
.wa[data-wc-mode="mini"] .wa-compose__note {
  margin-left: 12px;
  margin-right: 12px;
}
.wa[data-wc-mode="mini"] .wa-compose__submit {
  width: auto;
  align-self: stretch;
  margin: auto 12px 0;
  min-height: 40px;
  padding: 10px 24px;
  font-size: 13.5px;
}

/* Trailer end screen (no tags on the videos). */
.wa .wa-slot__frame {
  position: relative;
}
.wa .wa-slot__end {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(0, 83, 79, 0.96) 0%, rgba(0, 132, 126, 0.94) 65%, rgba(255, 138, 0, 0.9) 140%);
  color: #fff;
  text-align: center;
}
.wa .wa-slot__end[hidden] {
  display: none;
}
.wa .wa-slot__endmark {
  width: 54px;
  height: 54px;
  padding: 6px;
  background: #fff;
  object-fit: contain;
}
.wa .wa-slot__endtitle {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.wa .wa-slot__endtext {
  margin: 0 0 6px;
  font-size: 13.5px;
  opacity: 0.85;
}
.wa .wa-guestcta__actions--end {
  justify-content: center;
}
.wa .wa-guestcta__actions--end .wa-btn {
  background: #fff;
  color: #00534f;
}
.wa .wa-guestcta__actions--end .wa-btn:hover {
  background: #e3f0ef;
}
.wa .wa-guestcta__actions--end .wa-ghost:not(.wa-watch__back) {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.wa .wa-guestcta__actions--end .wa-ghost:not(.wa-watch__back):hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.wa .wa-slot__replay {
  margin-top: 4px;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  opacity: 0.85;
  cursor: pointer;
}
.wa .wa-slot__replay:hover {
  opacity: 1;
  text-decoration: underline;
}
.wa[data-wc-mode="mini"] .wa-slot__end {
  gap: 5px;
  padding: 12px;
}
.wa[data-wc-mode="mini"] .wa-slot__endmark {
  width: 36px;
  height: 36px;
  padding: 4px;
}
.wa[data-wc-mode="mini"] .wa-slot__endtitle {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-slot__endtext {
  margin-bottom: 2px;
  font-size: 11.5px;
}
.wa[data-wc-mode="mini"] .wa-guestcta__actions--end .wa-btn,
.wa[data-wc-mode="mini"] .wa-guestcta__actions--end .wa-ghost {
  min-height: 32px;
  padding: 6px 16px;
  font-size: 12px;
}

/* ==========================================================================
   Academy dashboard (2.0). The Academy's own look, apart from the shop's
   teal slabs: light surfaces on a flat canvas, the content in the middle,
   a right column (profile box, section menu, Wolfram Industrie news), small
   uppercase teal labels and a Messenger-style chat dock. Brand rules: sharp corners, no shadows,
   borders only in neutral grey, teal as fill or text.
   Academy page only; the mini window keeps its look.
   ========================================================================== */
.wa {
  --ad-ink: #1c2524;
  --ad-muted: #55605f;
  --ad-soft: #7e8686;
  --ad-line: #e2e4e4;
  --ad-line-2: #d2d7d7;
  --ad-canvas: #f0f2f2;
  --ad-hover: #f6f8f8;
  --ad-teal: #00847e;
  --ad-teal-d: #006d68;
  --ad-teal-dd: #00534f;
  --ad-teal-20: #d0e5e4;
  --ad-teal-10: #e8f3f2;
}
.wa .wa-eyebrow {
  color: var(--ad-teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
}
.wa[data-wc-mode="page"] .wa-main {
  background: var(--ad-canvas);
}

/* ---------------------------------------------------------------- layout */
/* Three columns of boxes inside the scrolling area: navigation and news
   left, the section in the middle, profile and settings right. The side
   columns stay in view while the middle scrolls. */
.wa[data-wc-mode="page"] .wa-side {
  display: none !important;
}
.wa[data-wc-mode="page"]:has(> .wa-boot)::before {
  display: none;
}
.wa .wa-frame {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}
.wa .wa-frame > .wa-view {
  min-width: 0;
}
.wa .wa-frame > .wa-view > .wa-page {
  max-width: none;
  margin: 0;
  padding: 0;
}
.wa .wa-frame > .wa-view > .wa-page.wa-feed {
  max-width: 760px;
  margin: 0 auto;
}
.wa .wa-frame__left,
.wa .wa-frame__right {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.wa .wa-frame__left {
  max-height: calc(100vh - var(--wa-top, 65px) - 48px);
}
/* Ends above the chat bar, which sits under this column. */
.wa .wa-frame__right {
  max-height: calc(100vh - var(--wa-top, 65px) - 140px);
}
@container wa (max-width: 1199.98px) {
  .wa .wa-frame {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px 32px;
  }
  .wa .wa-frame__left,
  .wa .wa-frame__right {
    display: none;
  }
  .wa[data-wc-mode="page"] .wa-head {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    flex: none;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid var(--ad-line);
  }
  .wa[data-wc-mode="page"] .appnav {
    display: block;
    flex: 1 1 150px;
    min-width: 0;
    --appnav-face: #fff;
    --appnav-ink: var(--wa-ink);
    --appnav-line: var(--wa-gray);
    --appnav-accent: var(--wa-green);
    --appnav-accent-ink: #fff;
    --appnav-radius: 0;
  }
}
@container wa (max-width: 600px) {
  .wa .wa-frame {
    padding: 14px 12px 90px;
  }
}

/* ---------------------------------------------------------------- boxes */
.wa .wa-box {
  flex: none;
  background: #fff;
  border: 1px solid var(--ad-line);
}
.wa .wa-box__title {
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-box__body {
  padding: 14px 16px 16px;
}

/* Profile box */
.wa .wa-pbox__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-pbox__ava {
  flex: none;
  width: 52px;
  height: 52px;
  font-size: 17px;
}
.wa .wa-pbox__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-pbox__name {
  overflow: hidden;
  color: var(--ad-ink);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-pbox__sub {
  color: var(--ad-muted);
  font-size: 12.5px;
}
.wa .wa-pbox__settings {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-pbox__settings > .wa-eyebrow {
  margin-bottom: 4px;
}
.wa .wa-qswitch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 7px 0;
  background: none;
  border: 0;
  color: var(--ad-ink);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.wa .wa-qswitch__track {
  position: relative;
  flex: none;
  width: 34px;
  height: 18px;
  background: #c4cbca;
  transition: background 0.15s ease;
}
.wa .wa-qswitch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  transition: transform 0.15s ease;
}
.wa .wa-qswitch[aria-checked="true"] .wa-qswitch__track {
  background: var(--ad-teal);
}
.wa .wa-qswitch[aria-checked="true"] .wa-qswitch__thumb {
  transform: translateX(16px);
}
.wa .wa-qswitch:hover .wa-qswitch__label {
  color: var(--ad-teal-dd);
}
.wa .wa-pbox__label {
  margin-top: 10px;
  color: var(--ad-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.wa .wa-qseg {
  display: flex;
  margin-top: 6px;
  border: 1px solid var(--ad-line-2);
}
.wa .wa-qseg__btn {
  flex: 1 1 0;
  height: 32px;
  padding: 0 6px;
  background: #fff;
  border: 0;
  color: var(--ad-muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.wa .wa-qseg__btn + .wa-qseg__btn {
  border-left: 1px solid var(--ad-line-2);
}
.wa .wa-qseg__btn:hover {
  background: var(--ad-canvas);
}
.wa .wa-qseg__btn[aria-pressed="true"] {
  background: var(--ad-teal);
  color: #fff;
}
.wa .wa-pbox__links {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
}
.wa .wa-pbox__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  color: var(--ad-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.wa .wa-pbox__link svg {
  flex: none;
  color: var(--ad-muted);
}
.wa .wa-pbox__link:hover {
  background: var(--ad-hover);
  color: var(--ad-ink);
  text-decoration: none;
}
.wa .wa-pbox__link.is-active {
  background: var(--ad-teal-10);
  color: var(--ad-teal-dd);
}
.wa .wa-pbox__link.is-active svg {
  color: var(--ad-teal);
}
.wa .wa-pbox__guesttitle {
  display: block;
  margin-bottom: 6px;
  color: var(--ad-ink);
  font-size: 17px;
  line-height: 1.25;
}
.wa .wa-pbox__text {
  margin: 0 0 8px;
  color: var(--ad-muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.wa .wa-pbox__note {
  margin: 0;
  color: var(--ad-soft);
  font-size: 12.5px;
}
.wa .wa-pbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* Menu box (the former left sidebar) */
.wa .wa-menubox .wa-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
}
.wa .wa-menubox .wa-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 10px;
  background: none;
  border: 0;
  color: #2b3136;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.wa .wa-menubox .wa-nav__item:hover {
  background: var(--ad-hover);
  color: var(--ad-ink);
}
.wa .wa-menubox .wa-nav__item.is-active {
  background: var(--ad-teal-10);
  color: var(--ad-teal-dd);
  font-weight: 700;
}
.wa .wa-menubox .wa-nav__item.is-active::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 3px;
  background: var(--ad-teal);
}
.wa .wa-menubox .wa-nav__icon {
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  color: var(--ad-muted);
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon {
  color: var(--ad-teal);
}
.wa .wa-menubox .wa-nav__badge {
  margin-left: auto;
  background: var(--ad-teal);
  color: #fff;
}

/* Activity box: news of Wolfram Industrie */
.wa .wa-activity__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 6px 8px 8px;
  list-style: none;
}
.wa .wa-activity__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  color: inherit;
  text-decoration: none;
}
.wa .wa-activity__item:hover {
  background: var(--ad-hover);
  color: inherit;
  text-decoration: none;
}
.wa .wa-activity__mark {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--ad-line);
}
.wa .wa-activity__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wa .wa-activity__title,
.wa .wa-activity__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wa .wa-activity__title {
  color: var(--ad-ink);
  font-size: 13.5px;
  line-height: 1.3;
}
.wa .wa-activity__excerpt {
  color: var(--ad-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.wa .wa-activity__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--ad-soft);
  font-size: 12px;
}
.wa .wa-activity__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ad-teal-d);
  font-weight: 600;
}

/* Buttons of the dashboard */
.wa .wa-dbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 18px;
  background: var(--ad-teal);
  border: 1px solid transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.wa .wa-dbtn:hover {
  background: var(--ad-teal-d);
  color: #fff;
  text-decoration: none;
}
.wa .wa-dbtn:active {
  background: var(--ad-teal-dd);
}
.wa .wa-dbtn--line {
  background: #fff;
  border-color: var(--ad-line-2);
  color: var(--ad-ink);
}
.wa .wa-dbtn--line:hover {
  background: var(--ad-canvas);
  color: var(--ad-ink);
}

/* Lists (chat files, rows) */
.wa .wa-rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@container wa (max-width: 1099.98px) {
  .wa .wa-feed > .wa-rail {
    display: none;
  }
}
.wa .wa-rail__card {
  background: #fff;
  border: 1px solid var(--ad-line);
}
.wa .wa-rail__title {
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}
.wa .wa-rail__link:hover {
  color: var(--ad-teal-dd);
  text-decoration: none;
}
.wa .wa-rail__link svg {
  flex: none;
}
.wa .wa-rail__body {
  padding: 12px 16px 14px;
}
.wa .wa-rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 6px 8px;
  list-style: none;
}
.wa .wa-rail__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
}
.wa .wa-rail__row:hover {
  background: var(--ad-hover);
  color: inherit;
  text-decoration: none;
}
.wa .wa-rail__rowtext {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  color: #414b4a;
  font-size: 13px;
  line-height: 1.35;
}
.wa .wa-rail__rowtext b {
  color: var(--ad-ink);
  font-size: 13.5px;
}
.wa .wa-rail__clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wa .wa-rail__meta {
  color: var(--ad-soft);
  font-size: 12px;
}
.wa .wa-rail__thumb {
  flex: 0 0 104px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ad-line);
}
.wa .wa-rail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa .wa-rail__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ad-teal-10);
  color: var(--ad-teal-dd);
}
.wa .wa-rail__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.wa .wa-rail__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #414b4a;
  font-size: 13px;
  line-height: 1.35;
}
.wa .wa-rail__points li > span:last-child {
  display: flex;
  flex-direction: column;
}
.wa .wa-rail__points b {
  color: var(--ad-ink);
}
.wa .wa-rail__note {
  margin: 0;
  color: var(--ad-soft);
  font-size: 12.5px;
}

/* People (rail and chat) */
.wa .wa-people {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  list-style: none;
}
.wa .wa-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
}
.wa .wa-person__ava {
  position: relative;
  flex: none;
  display: inline-flex;
}
.wa .wa-person__ava .wa-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.wa .wa-person__dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 11px;
  height: 11px;
  background: #b3bebd;
  border: 2px solid #fff;
}
.wa .wa-person.is-online .wa-person__dot {
  background: var(--ad-teal);
}
.wa .wa-person__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-person__text b {
  overflow: hidden;
  color: var(--ad-ink);
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-person__sub {
  overflow: hidden;
  color: var(--ad-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- chat dock */
html.wa-dock-full,
html.wa-dock-full body {
  overflow: hidden !important;
}
.wa .wa-dock {
  position: fixed;
  right: 24px;
  bottom: 0;
  z-index: 2147483100;
  color: var(--ad-ink);
  font-size: 14px;
}
.wa .wa-dock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  height: 56px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--ad-line-2);
  border-bottom: 0;
  color: var(--ad-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wa .wa-dock__bar:hover {
  background: var(--ad-hover);
}
.wa .wa-dock__barico,
.wa .wa-dock__headico {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ad-teal);
  color: #fff;
}
.wa .wa-dock__badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--ad-ink);
  border-radius: 999px !important;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.wa .wa-dock__bartext {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.wa .wa-dock__bartext b {
  font-size: 14px;
}
.wa .wa-dock__baronline,
.wa .wa-dock__sub {
  color: var(--ad-teal-d);
  font-size: 12px;
  font-weight: 600;
}
.wa .wa-dock__baronline::before,
.wa .wa-dock__sub:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  vertical-align: 1px;
  background: var(--ad-teal);
  border-radius: 50% !important;
}
.wa .wa-dock__chev {
  display: inline-flex;
  color: var(--ad-soft);
}
.wa .wa-dock__win {
  display: none;
}
.wa .wa-dock:not([data-state="min"]) .wa-dock__bar {
  display: none;
}
.wa .wa-dock[data-state="open"] .wa-dock__win {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: min(620px, calc(100vh - 80px));
  background: #fff;
  border: 1px solid var(--ad-line-2);
  border-bottom: 0;
}
.wa .wa-dock[data-state="full"] .wa-dock__win {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--ad-canvas);
}
.wa .wa-dock__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 58px;
  padding: 0 10px 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-dock__titles {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 8px;
  line-height: 1.25;
}
.wa .wa-dock__title {
  font-size: 15px;
}
.wa .wa-dock__hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ad-muted);
  cursor: pointer;
}
.wa .wa-dock__hbtn:hover {
  background: var(--ad-canvas);
  color: var(--ad-ink);
}
.wa .wa-dock__hbtn[aria-pressed="true"] {
  background: var(--ad-teal-10);
  color: var(--ad-teal-dd);
}
.wa .wa-dock__grid {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.wa .wa-dock__pane {
  display: none;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}
/* Members / files over the chat (small window, phones, medium screens) */
.wa .wa-dock.is-people .wa-dock__people,
.wa .wa-dock.is-files .wa-dock__files {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
}
/* Full screen on wide screens: three columns */
@media (min-width: 1200px) {
  .wa .wa-dock[data-state="full"] .wa-dock__grid {
    grid-template-columns: 300px minmax(0, 1fr) 320px;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__pane {
    position: static;
    display: flex;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__people {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid var(--ad-line);
  }
  .wa .wa-dock[data-state="full"] .wa-dock__chat {
    grid-column: 2;
    grid-row: 1;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__files {
    grid-column: 3;
    grid-row: 1;
    border-left: 1px solid var(--ad-line);
  }
  .wa .wa-dock[data-state="full"] .wa-dock__hbtn--pane {
    display: none;
  }
}
.wa .wa-dock__chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
}
.wa .wa-dock .wa-page.wa-chat {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.wa .wa-dock .wa-chat .wa-panel {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border: 0;
}
.wa .wa-dock .wa-chat__scroll {
  min-height: 0;
  padding: 14px 14px 10px;
}
.wa .wa-dock[data-state="full"] .wa-chat__scroll {
  padding: 22px 32px 12px;
}
.wa .wa-dock[data-state="full"] .wa-chat .wa-composer {
  padding-left: 24px;
  padding-right: 24px;
}
/* Panes */
.wa .wa-dock__panehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 16px 10px;
}
.wa .wa-dock__count {
  padding: 1px 8px;
  background: var(--ad-canvas);
  color: var(--ad-muted);
  font-size: 12px;
  font-weight: 700;
}
.wa .wa-dock__searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0 16px 8px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--ad-line-2);
  color: var(--ad-soft);
}
.wa .wa-dock__searchbox:focus-within {
  outline: 2px solid #c4cbca;
  outline-offset: -1px;
}
.wa .wa-dock__search {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--ad-ink);
  font: inherit;
  font-size: 13.5px;
}
.wa .wa-dock__plist {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px 12px;
}
.wa .wa-dock__tabs {
  display: flex;
  margin: 0 16px 12px;
  border: 1px solid var(--ad-line-2);
}
.wa .wa-dock__tab {
  flex: 1 1 0;
  height: 34px;
  padding: 0 8px;
  background: #fff;
  border: 0;
  color: var(--ad-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.wa .wa-dock__tab[aria-pressed="true"] {
  background: var(--ad-teal);
  color: #fff;
}
.wa .wa-dock__filesbody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
}
.wa .wa-dock__filesbody .wa-state {
  padding: 18px 4px;
  color: var(--ad-soft);
  font-size: 13px;
}
.wa .wa-dock__grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.wa .wa-dock__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: var(--ad-line);
  border: 0;
  color: var(--ad-muted);
  cursor: pointer;
}
.wa .wa-dock__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa .wa-dock__docs {
  padding: 0;
}
/* Phones: a square button; open = the whole screen */
@media (max-width: 991.98px) {
  .wa .wa-dock {
    right: 12px;
    bottom: 12px;
  }
  .wa .wa-dock__bar {
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid var(--ad-line-2);
  }
  .wa .wa-dock__bartext,
  .wa .wa-dock__chev {
    display: none;
  }
  .wa .wa-dock[data-state="open"] .wa-dock__win,
  .wa .wa-dock[data-state="full"] .wa-dock__win {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
  }
  .wa .wa-dock__hbtn--size {
    display: none;
  }
  .wa .wa-dock .wa-chat__scroll,
  .wa .wa-dock[data-state="full"] .wa-chat__scroll {
    padding: 14px 12px 10px;
  }
}
/* Visitors on narrow screens: the join note above the feed (wide screens
   have the join box in the right column). */
.wa .wa-guestcta--narrow {
  border: 1px solid var(--ad-line);
  background: #fff;
}
@container wa (min-width: 1200px) {
  .wa .wa-guestcta--narrow {
    display: none;
  }
}

/* ==========================================================================
   Containers and chat placement (2.0, layout with left/right boxes)
   ========================================================================== */
/* Box heading: icon square + label */
.wa .wa-box__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-box__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ad-teal-10);
  color: var(--ad-teal-dd);
}
.wa .wa-pbox__head {
  background: var(--ad-hover);
}

/* Posts in the new look (Academy page only; the mini window keeps its own) */
.wa[data-wc-mode="page"] .wa-frame .wa-card {
  border-color: var(--ad-line);
}
.wa[data-wc-mode="page"] .wa-frame .wa-post__author {
  color: var(--ad-ink);
}
.wa[data-wc-mode="page"] .wa-sbadge {
  height: 20px;
  padding: 0 7px 0 2px;
  background: var(--ad-teal-10);
  border-radius: 0 !important;
  box-shadow: none;
  color: var(--ad-teal-dd);
}
.wa[data-wc-mode="page"] .wa-sbadge .wa-sbadge__knob {
  width: 16px;
  height: 16px;
  background: var(--ad-teal);
  border-radius: 0 !important;
  box-shadow: none;
  color: #fff;
}
.wa[data-wc-mode="page"] .wa-sbadge--expert {
  background: #fdf1dc;
  color: #6b4400;
}
.wa[data-wc-mode="page"] .wa-sbadge--expert .wa-sbadge__knob {
  background: #b87400;
}
.wa[data-wc-mode="page"] .wa-sbadge--you,
.wa[data-wc-mode="page"] .wa-sbadge--pending {
  background: var(--ad-canvas);
  color: var(--ad-muted);
}
.wa[data-wc-mode="page"] .wa-sbadge--you .wa-sbadge__knob,
.wa[data-wc-mode="page"] .wa-sbadge--pending .wa-sbadge__knob {
  background: var(--ad-muted);
}
.wa[data-wc-mode="page"] .wa-sbadge--pin {
  background: var(--ad-teal);
  color: #fff;
}
.wa[data-wc-mode="page"] .wa-sbadge--pin .wa-sbadge__knob {
  background: #fff;
  color: var(--ad-teal);
}

/* Chat dock: floats under the right column, as wide as it, with room
   around it; the closed bar shows the newest message. */
.wa .wa-dock {
  right: var(--wa-dock-right, 24px);
  bottom: 16px;
}
.wa .wa-dock__bar {
  width: var(--wa-dock-w, 320px);
  height: auto;
  min-height: 66px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ad-line-2);
}
.wa .wa-dock__bartop {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.wa .wa-dock__lasttime {
  margin-left: auto;
  color: var(--ad-soft);
  font-size: 11.5px;
  white-space: nowrap;
}
.wa .wa-dock__last {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ad-muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-dock__lastwho {
  color: var(--ad-ink);
  font-weight: 700;
}
/* The small window, bigger */
.wa .wa-dock[data-state="open"] .wa-dock__win {
  width: max(var(--wa-dock-w, 320px), 480px);
  height: min(780px, calc(100vh - 110px));
  border-bottom: 1px solid var(--ad-line-2);
}
@media (max-width: 991.98px) {
  .wa .wa-dock {
    right: 12px;
    bottom: 12px;
  }
  .wa .wa-dock__bar {
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
  }
  .wa .wa-dock[data-state="open"] .wa-dock__win {
    width: auto;
    height: auto;
    border: 0;
  }
}
.wa .wa-dock__bartop b,
.wa .wa-dock__baronline {
  white-space: nowrap;
}
.wa .wa-dock__lastrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin-top: 3px;
}
.wa .wa-dock__lastrow .wa-dock__last {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}
.wa .wa-dock__lastrow .wa-dock__lasttime {
  flex: none;
  margin-left: 0;
}

/* ==========================================================================
   Shop look for selections (2.0). Selected = the shop's teal parallelogram
   (#008c8c, hover #006b66) with white text, as in the main navigation and
   the shop buttons. No icon boxes, no accent lines, no uppercase labels.
   ========================================================================== */
.wa .wa-eyebrow {
  color: var(--ad-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.wa .wa-box__title {
  display: block;
  padding: 14px 18px 12px;
  color: var(--ad-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.wa .wa-box__ico {
  display: none;
}

/* Menu items and the profile link */
.wa .wa-menubox .wa-nav__item,
.wa .wa-pbox__link {
  padding: 10px 20px;
  background: none;
  font-weight: 600;
}
.wa .wa-menubox .wa-nav__item.is-active::before {
  content: none;
}
.wa .wa-menubox .wa-nav__item:hover,
.wa .wa-pbox__link:hover {
  background: none;
  color: #008c8c;
}
.wa .wa-menubox .wa-nav__item:hover .wa-nav__icon,
.wa .wa-pbox__link:hover svg {
  color: #008c8c;
}
.wa .wa-menubox .wa-nav__item.is-active,
.wa .wa-pbox__link.is-active {
  background: #008c8c;
  color: #fff;
  font-weight: 600;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.wa .wa-menubox .wa-nav__item.is-active:hover,
.wa .wa-pbox__link.is-active:hover {
  background: #006b66;
  color: #fff;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon,
.wa .wa-pbox__link.is-active svg {
  color: #fff;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__badge {
  background: #fff;
  color: #008c8c;
}

/* Choices (email rhythm, media/files) */
.wa .wa-qseg,
.wa .wa-dock__tabs {
  gap: 4px;
  border: 0;
}
.wa .wa-qseg__btn + .wa-qseg__btn {
  border-left: 0;
}
.wa .wa-qseg__btn,
.wa .wa-dock__tab {
  background: none;
  color: var(--ad-muted);
}
.wa .wa-qseg__btn:hover,
.wa .wa-dock__tab:hover {
  background: none;
  color: #008c8c;
}
.wa .wa-qseg__btn[aria-pressed="true"],
.wa .wa-dock__tab[aria-pressed="true"] {
  background: #008c8c;
  color: #fff;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.wa .wa-qseg__btn[aria-pressed="true"]:hover,
.wa .wa-dock__tab[aria-pressed="true"]:hover {
  background: #006b66;
  color: #fff;
}
.wa .wa-dock__hbtn[aria-pressed="true"] {
  background: none;
  color: #008c8c;
}

/* No icons in boxes */
.wa .wa-dock__barico,
.wa .wa-dock__headico {
  width: auto;
  height: auto;
  background: none;
  color: #008c8c;
}
.wa .wa-rail__ico {
  width: auto;
  height: auto;
  padding-top: 1px;
  background: none;
  color: var(--ad-muted);
}
.wa .wa-activity__mark {
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 0;
}
.wa .wa-dock__count {
  padding: 0;
  background: none;
}
.wa .wa-pbox__head {
  background: #fff;
}
/* Role labels in posts and chat: plain coloured text */
.wa[data-wc-mode="page"] .wa-sbadge {
  height: auto;
  padding: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: #008c8c;
}
.wa[data-wc-mode="page"] .wa-sbadge .wa-sbadge__knob {
  display: none;
}
.wa[data-wc-mode="page"] .wa-sbadge--expert {
  background: none;
  color: #9a6200;
}
.wa[data-wc-mode="page"] .wa-sbadge--you,
.wa[data-wc-mode="page"] .wa-sbadge--pending {
  background: none;
  color: var(--ad-muted);
}
.wa[data-wc-mode="page"] .wa-sbadge--pin {
  background: none;
  color: #008c8c;
}

/* Chat: closed bar in the bottom right corner of the screen */
.wa .wa-dock {
  right: 0;
  bottom: 0;
}
.wa .wa-dock__bar {
  width: 340px;
  border-right: 0;
  border-bottom: 0;
}
.wa .wa-dock[data-state="open"] .wa-dock__win {
  width: 480px;
  border-right: 0;
  border-bottom: 0;
}
@media (max-width: 991.98px) {
  .wa .wa-dock {
    right: 12px;
    bottom: 12px;
  }
  .wa .wa-dock__bar {
    width: 56px;
    border: 1px solid var(--ad-line-2);
  }
  .wa .wa-dock[data-state="open"] .wa-dock__win {
    width: auto;
    border: 0;
  }
}

/* ==========================================================================
   Colour (2.0). The old Academy canvas (sage rhombuses) behind the boxes and
   three palettes taken from it: Wolfram green, burnt orange, leaf green.
   Colour goes on icons, text and small fills; borders stay neutral grey and
   selected items keep the shop teal parallelogram.
   ========================================================================== */
.wa {
  /* Wolfram green */
  --pal-green: #00847e;
  --pal-green-d: #006d68;
  --pal-green-soft: #d0e5e4;
  /* Burnt orange */
  --pal-orange: #b9531a;
  --pal-orange-d: #9a4312;
  --pal-orange-soft: #f8e1d1;
  /* Leaf green */
  --pal-leaf: #47812f;
  --pal-leaf-d: #386825;
  --pal-leaf-soft: #dde9d3;
  /* Sand (the warm patches of the canvas) */
  --pal-sand: #f6eee2;
}

/* The old greenish canvas behind the page; it stays put while the middle
   scrolls. A light wash keeps text on it readable. */
.wa[data-wc-mode="page"] .wa-main {
  background:
    linear-gradient(#f7fcf98c, #f7fcf98c),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    var(--wa-canvas, #f0f2f2);
}

/* Menu icons: one colour per section, a soft fill of the same colour */
.wa .wa-nav__item[data-nav],
.wa .appnav__item[data-nav] {
  --ic: var(--pal-green);
  --ic-soft: var(--pal-green-soft);
}
.wa .wa-nav__item[data-nav="chat"],
.wa .appnav__item[data-nav="chat"],
.wa .wa-nav__item[data-nav="media"],
.wa .appnav__item[data-nav="media"] {
  --ic: var(--pal-orange);
  --ic-soft: var(--pal-orange-soft);
}
.wa .wa-nav__item[data-nav="links"],
.wa .appnav__item[data-nav="links"],
.wa .wa-nav__item[data-nav="invite"],
.wa .appnav__item[data-nav="invite"],
.wa .wa-nav__item[data-nav="overview"],
.wa .appnav__item[data-nav="overview"] {
  --ic: var(--pal-leaf);
  --ic-soft: var(--pal-leaf-soft);
}
.wa .wa-menubox .wa-nav__item .wa-nav__icon,
.wa .wa-menubox .wa-nav__item:hover .wa-nav__icon,
.wa .appnav__item[data-nav] .appnav__item-ico {
  color: var(--ic);
}
.wa .wa-menubox .wa-nav__item .wa-nav__icon svg,
.wa .appnav__item[data-nav] .appnav__item-ico svg {
  fill: var(--ic-soft);
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon,
.wa .appnav__item[data-nav].is-active .appnav__item-ico {
  color: #fff;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon svg,
.wa .appnav__item[data-nav].is-active .appnav__item-ico svg {
  fill: none;
}

/* Box headings: a small burnt-orange Raute before the title */
.wa .wa-box__title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 9px;
  margin-right: 9px;
  background: var(--pal-orange);
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  vertical-align: 1px;
}
.wa .wa-activity .wa-box__title::before {
  background: var(--pal-leaf);
}

/* Profile box: warm sand header, coloured link icons */
.wa .wa-pbox__head {
  background: var(--pal-sand);
}
.wa .wa-pbox__link:not(.is-active) svg {
  color: var(--pal-orange);
}
.wa .wa-pbox__link + .wa-pbox__link:not(.is-active) svg {
  color: var(--pal-leaf);
}

/* Posts: coloured actions and counts */
.wa .wa-post__bar > :nth-child(1) svg {
  color: var(--pal-orange);
}
.wa .wa-post__bar > :nth-child(2) svg {
  color: var(--pal-green);
}
.wa .wa-post__bar > :nth-child(3) svg {
  color: var(--pal-leaf);
}
.wa .wa-post__act.is-on,
.wa .wa-post__act.is-on svg {
  color: var(--pal-orange);
}
.wa .wa-post__counts > .wa-post__count:first-child {
  color: var(--pal-orange);
}
.wa[data-wc-mode="page"] .wa-sbadge--expert {
  color: var(--pal-orange);
}

/* News of Wolfram Industrie */
.wa .wa-activity__flag,
.wa .wa-activity__flag svg {
  color: var(--pal-orange);
}

/* Visitors: register in burnt orange next to the green sign-in */
.wa .wa-pbox__actions .wa-dbtn--line {
  border-color: var(--pal-orange);
  background: var(--pal-orange);
  color: #fff;
}
.wa .wa-pbox__actions .wa-dbtn--line:hover {
  border-color: var(--pal-orange-d);
  background: var(--pal-orange-d);
  color: #fff;
}

/* Avatars without a photo: the palettes plus sand */
.wa[data-wc-mode="page"] .wa-tone--blue {
  --wa-who: var(--pal-leaf);
  --wa-who-soft: var(--pal-leaf-soft);
}
.wa[data-wc-mode="page"] .wa-tone--rose {
  --wa-who: var(--pal-orange);
  --wa-who-soft: var(--pal-orange-soft);
}
.wa[data-wc-mode="page"] .wa-tone--sand {
  --wa-who: #8a6a2c;
  --wa-who-soft: var(--pal-sand);
}

/* Chat dock: burnt-orange chat icon and unread count, leaf-green online */
.wa .wa-dock__barico,
.wa .wa-dock__headico {
  color: var(--pal-orange);
}
.wa .wa-dock__barico svg,
.wa .wa-dock__headico svg {
  fill: var(--pal-orange-soft);
}
.wa .wa-dock__badge,
.wa .wa-nav__badge,
.wa .appnav__badge {
  background: var(--pal-orange);
  color: #fff;
}
.wa .wa-dock__baronline {
  color: var(--pal-leaf);
}
.wa .wa-dock__baronline::before {
  background: var(--pal-leaf);
}
.wa .wa-dock__hbtn--pane svg {
  color: var(--pal-leaf);
}
/* Same two-tone look for the post actions and the profile links */
.wa .wa-post__bar > :nth-child(1) svg {
  fill: var(--pal-orange-soft);
}
.wa .wa-post__bar > :nth-child(2) svg {
  fill: var(--pal-green-soft);
}
.wa .wa-post__bar > :nth-child(3) svg {
  fill: var(--pal-leaf-soft);
}
.wa .wa-pbox__link:not(.is-active) svg {
  fill: var(--pal-orange-soft);
}
.wa .wa-pbox__link + .wa-pbox__link:not(.is-active) svg {
  fill: var(--pal-leaf-soft);
}

/* Chat dock a bit wider (desktop): closed bar and small window */
@media (min-width: 992px) {
  .wa .wa-dock__bar {
    width: var(--wa-dock-bar-w, 340px);
  }
  .wa .wa-dock[data-state="open"] .wa-dock__win {
    width: 540px;
  }
}

/* ==========================================================================
   Round 3 (2.0): larger type, plain left boxes, Quick Access, PDF preview,
   one dock look for the chat and the small Academy window
   (community-dock.css uses the same values).
   ========================================================================== */

/* ---- Left boxes: titles without markers, larger text */
.wa .wa-box__title {
  padding: 16px 20px 13px;
  font-size: 19px;
}
.wa .wa-box__title::before {
  content: none;
}
.wa .wa-menubox .wa-nav__item {
  padding: 11px 22px;
  font-size: 16.5px;
}
.wa .wa-menubox .wa-nav__icon svg {
  width: 22px;
  height: 22px;
}
.wa .wa-menubox .wa-nav__label {
  font-size: inherit;
}
.wa .wa-activity__mark {
  width: 30px;
  height: 30px;
}
.wa .wa-activity__title {
  font-size: 16px;
  line-height: 1.35;
}
.wa .wa-activity__excerpt {
  font-size: 14.5px;
  line-height: 1.45;
}
.wa .wa-activity__meta {
  font-size: 13.5px;
}

/* ---- Profile box */
.wa .wa-pbox__name {
  font-size: 18.5px;
}
.wa .wa-pbox__sub {
  font-size: 14px;
}
.wa .wa-pbox__label {
  font-size: 14.5px;
}
.wa .wa-qswitch,
.wa .wa-qswitch__label {
  font-size: 15px;
}
.wa .wa-qseg__btn {
  font-size: 14.5px;
}
.wa .wa-pbox__link {
  font-size: 15.5px;
}

/* ---- Posts */
.wa .wa-post__author {
  font-size: 16px;
}
.wa .wa-post__meta {
  font-size: 13.5px;
}
.wa .wa-post__text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
}
.wa .wa-post__count {
  font-size: 14px;
}
.wa .wa-post__act {
  font-size: 15px;
}
.wa .wa-sbadge {
  font-size: 13px;
}
.wa .wa-composer__input,
.wa .wa-postbox {
  font-size: 16px;
}
.wa .wa-bubble {
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---- One dock look: closed bar, small window, header */
.wa .wa-dock__bar {
  min-height: 66px;
  padding: 11px 16px;
}
.wa .wa-dock__bartop b,
.wa .wa-dock__bartext b {
  font-size: 16px;
}
.wa .wa-dock__last {
  font-size: 14px;
}
.wa .wa-dock__lasttime {
  font-size: 12.5px;
}
.wa .wa-dock__baronline,
.wa .wa-dock__sub {
  font-size: 13px;
}
.wa .wa-dock__barico svg,
.wa .wa-dock__headico svg {
  width: 26px;
  height: 26px;
}
.wa .wa-dock__head {
  height: 62px;
  padding: 0 10px 0 16px;
}
.wa .wa-dock__title {
  font-size: 17px;
}
.wa .wa-dock__hbtn {
  width: 38px;
  height: 38px;
}
.wa .wa-dock__hbtn svg {
  width: 20px;
  height: 20px;
}
@media (min-width: 992px) {
  .wa .wa-dock[data-state="open"] .wa-dock__win {
    height: min(780px, calc(100vh - 110px));
  }
}

/* ---- Quick Access */
.wa .wa-qa {
  --qa: var(--pal-green);
  --qa-soft: var(--pal-green-soft);
}
.wa .wa-qa__head {
  margin-bottom: 18px;
}
.wa .wa-qa__title {
  margin: 0;
  color: var(--ad-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.wa .wa-qa__lead {
  margin: 6px 0 0;
  color: var(--ad-muted);
  font-size: 16px;
}
.wa .wa-qa__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.wa .wa-qa__filter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--ad-line-2);
  color: var(--ad-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.wa .wa-qa__filter:hover {
  color: #008c8c;
}
.wa .wa-qa__n {
  color: var(--ad-soft);
  font-size: 13px;
  font-weight: 600;
}
.wa .wa-qa__filter[aria-pressed="true"] {
  padding-left: 24px;
  padding-right: 24px;
  background: #008c8c;
  border-color: #008c8c;
  color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.wa .wa-qa__filter[aria-pressed="true"]:hover {
  background: #006b66;
}
.wa .wa-qa__filter[aria-pressed="true"] .wa-qa__n {
  color: #fff;
  opacity: 0.8;
}
.wa .wa-qa__group {
  margin-top: 26px;
}
.wa .wa-qa__group--orange {
  --qa: var(--pal-orange);
  --qa-soft: var(--pal-orange-soft);
}
.wa .wa-qa__group--leaf {
  --qa: var(--pal-leaf);
  --qa-soft: var(--pal-leaf-soft);
}
.wa .wa-qa__group--sand {
  --qa: #8a6a2c;
  --qa-soft: var(--pal-sand);
}
.wa .wa-qa__cat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ad-ink);
  font-size: 20px;
  font-weight: 700;
}
.wa .wa-qa__catn {
  color: var(--ad-soft);
  font-size: 14px;
  font-weight: 600;
}
.wa .wa-qa__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}
.wa .wa-qa__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ad-line-2);
}
.wa .wa-qa__file {
  position: relative;
  display: block;
  width: 46px;
  height: 58px;
  background: var(--qa-soft);
  clip-path: polygon(0 0, 68% 0, 100% 24%, 100% 100%, 0 100%);
}
.wa .wa-qa__file::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 24%;
  background: var(--qa);
  opacity: 0.45;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.wa .wa-qa__fileext {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  color: var(--qa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.wa .wa-qa__linkmark {
  display: inline-flex;
  width: 46px;
  justify-content: center;
  padding-top: 2px;
  color: var(--qa);
}
.wa .wa-qa__text {
  min-width: 0;
}
.wa .wa-qa__name {
  margin: 0;
  color: var(--ad-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.wa .wa-qa__desc {
  margin: 4px 0 0;
  color: var(--ad-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.wa .wa-qa__meta {
  display: block;
  margin-top: 6px;
  color: var(--qa);
  font-size: 13px;
  font-weight: 700;
}
.wa .wa-qa__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wa .wa-qa__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--ad-line-2);
  color: var(--ad-ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.wa .wa-qa__btn:hover {
  background: var(--ad-hover);
  color: #008c8c;
  text-decoration: none;
}
.wa .wa-qa__btn--main {
  padding-left: 22px;
  padding-right: 22px;
  background: #008c8c;
  border-color: #008c8c;
  color: #fff;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.wa .wa-qa__btn--main:hover {
  background: #006b66;
  border-color: #006b66;
  color: #fff;
}

/* ---- PDF preview */
.wa .wa-pdfview {
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 48px));
  height: calc(100vh - 48px);
  max-height: none;
  background: #fff;
  border: 1px solid var(--ad-line-2);
}
.wa .wa-pdfview__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 20px;
  border-bottom: 1px solid var(--ad-line);
}
.wa .wa-pdfview__titles {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-pdfview__title {
  overflow: hidden;
  color: var(--ad-ink);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-pdfview__meta {
  color: var(--ad-soft);
  font-size: 13px;
}
.wa .wa-pdfview__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ad-muted);
  cursor: pointer;
}
.wa .wa-pdfview__icon:hover {
  background: var(--ad-canvas);
  color: var(--ad-ink);
}
.wa .wa-pdfview__frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #525659;
}
@media (max-width: 767.98px) {
  .wa .wa-pdfview {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }
  .wa .wa-pdfview__head .wa-qa__btn span {
    display: none;
  }
}

/* ---- Profile box: own background picture behind the head */
.wa .wa-pbox__head {
  position: relative;
}
.wa .wa-pbox__head.has-cover {
  align-items: flex-end;
  min-height: 140px;
  background:
    linear-gradient(180deg, #001e1c00 30%, #001e1cb3 100%),
    var(--wa-cover) center / cover no-repeat,
    var(--pal-sand);
}
.wa .wa-pbox__head.has-cover .wa-pbox__name,
.wa .wa-pbox__head.has-cover .wa-pbox__sub {
  color: #fff;
}
.wa .wa-pbox__coveractions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
}
.wa .wa-pbox__coverbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #ffffffe6;
  border: 1px solid var(--ad-line-2);
  color: var(--ad-muted);
  cursor: pointer;
}
.wa .wa-pbox__coverbtn:hover {
  background: #fff;
  color: #008c8c;
}
.wa .wa-pbox__coverbtn svg {
  fill: none;
}
@media (hover: hover) {
  .wa .wa-pbox__head:not(:hover):not(:focus-within) .wa-pbox__coveractions {
    opacity: 0.55;
  }
}

/* ---- Inside the small Academy window: the same look as the page */
.wa[data-wc-mode="mini"] .wa-sbadge {
  height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  color: #008c8c;
  font-size: 13px;
  font-weight: 700;
}
.wa[data-wc-mode="mini"] .wa-sbadge .wa-sbadge__knob {
  display: none;
}
.wa[data-wc-mode="mini"] .wa-sbadge--expert {
  background: none;
  color: var(--pal-orange);
}
.wa[data-wc-mode="mini"] .wa-sbadge--you,
.wa[data-wc-mode="mini"] .wa-sbadge--pending {
  background: none;
  color: var(--ad-muted);
}
.wa[data-wc-mode="mini"] .wa-sbadge--pin {
  background: none;
  color: #008c8c;
}
.wa[data-wc-mode="mini"] .wa-post__author {
  color: var(--ad-ink);
  font-size: 16px;
}
.wa[data-wc-mode="mini"] .wa-post__meta {
  font-size: 13.5px;
}
.wa[data-wc-mode="mini"] .wa-post__text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
}
.wa[data-wc-mode="mini"] .wa-post__count {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-post__act {
  font-size: 15px;
}
.wa[data-wc-mode="mini"] .wa-bubble {
  font-size: 15.5px;
  line-height: 1.55;
}
.wa[data-wc-mode="mini"] .wa-composer__input,
.wa[data-wc-mode="mini"] .wa-postbox {
  font-size: 16px;
}
.wa[data-wc-mode="mini"] .wa-mininav button,
.wa[data-wc-mode="mini"] .wa-mininav a {
  font-size: 15px;
}
.wa[data-wc-mode="mini"] .wa-card {
  border-color: var(--ad-line-2);
}

/* ==========================================================================
   Round 3c (2.0): plain rectangles everywhere in the Academy (only the
   small window's header keeps its slanted label), warmer post cards, the
   small window's content in the same look as the page, full-screen chat
   below the shop header.
   ========================================================================== */

/* ---- No slanted shapes: selected items and buttons are rectangles */
.wa .wa-menubox .wa-nav__item.is-active,
.wa .wa-pbox__link.is-active,
.wa .wa-qseg__btn[aria-pressed="true"],
.wa .wa-dock__tab[aria-pressed="true"],
.wa .wa-qa__filter[aria-pressed="true"],
.wa .wa-qa__btn--main,
.wa .wa-btn,
.wa .wa-composer__send,
.wa .wa-login__sso,
.wa .wa-join__tag,
.wa .wa-slot__tag,
.wa-login__tag,
.wa-crumbs,
.wch-panel .wch-chip,
.wch-panel .wch-panel__foot {
  clip-path: none;
}
.wa .wa-menubox .wa-nav__item {
  margin: 0 12px;
  padding-left: 12px;
  padding-right: 12px;
}
.wa .wa-qa__filter[aria-pressed="true"],
.wa .wa-qa__btn--main {
  padding-left: 18px;
  padding-right: 18px;
}

/* ---- Post cards: not plain white. The canvas shows through a little,
   the reaction row and the action bar sit on warm sand. */
.wa .wa-feed .wa-card,
.wa .wa-posts .wa-card,
.wa .wa-frame .wa-card {
  background: #ffffffd9;
}
.wa .wa-post__counts {
  background: #eef5f4cc;
}
.wa .wa-post__bar {
  background: #f6eee2d9;
}
.wa .wa-post__act:hover {
  background: #ffffff99;
}

/* ---- Small Academy window: same background, menu and cards as the page */
.wa[data-wc-mode="mini"] .wa-main {
  background:
    linear-gradient(#f7fcf98c, #f7fcf98c),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    var(--wa-canvas, #f0f2f2);
}
.wa[data-wc-mode="mini"] .wa-mininav {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid var(--ad-line);
}
.wa[data-wc-mode="mini"] .wa-mininav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 7px;
  color: var(--ad-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.wa .wa-mininav__item.is-active::before {
  content: none;
}
.wa .wa-mininav__item[data-nav] {
  --ic: var(--pal-green);
  --ic-soft: var(--pal-green-soft);
}
.wa .wa-mininav__item[data-nav="chat"],
.wa .wa-mininav__item[data-nav="media"] {
  --ic: var(--pal-orange);
  --ic-soft: var(--pal-orange-soft);
}
.wa .wa-mininav__item[data-nav="links"],
.wa .wa-mininav__item[data-nav="invite"],
.wa .wa-mininav__item[data-nav="overview"] {
  --ic: var(--pal-leaf);
  --ic-soft: var(--pal-leaf-soft);
}
.wa .wa-mininav__icon {
  display: inline-flex;
  color: var(--ic);
}
.wa .wa-mininav__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--ic-soft);
}
.wa[data-wc-mode="mini"] .wa-mininav__item:hover {
  color: #008c8c;
}
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active,
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active:hover {
  background: #008c8c;
  color: #fff;
}
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active:hover {
  background: #006b66;
}
.wa .wa-mininav__item.is-active .wa-mininav__icon {
  color: #fff;
}
.wa .wa-mininav__item.is-active .wa-mininav__icon svg {
  fill: none;
}

/* ---- Full-screen chat: below the shop header */
.wa .wa-dock[data-state="full"] .wa-dock__win {
  top: var(--wa-dock-top, var(--wa-top, 0px));
  border-top: 1px solid var(--ad-line-2);
}

/* Round 3c fixes: menu items inside the box, action bar tint visible */
.wa .wa-menubox .wa-nav__item {
  width: calc(100% - 24px);
}
.wa .wa-post__bar .wa-post__act {
  background: transparent;
}
.wa .wa-post__bar .wa-post__act:hover {
  background: #ffffff99;
}

/* ==========================================================================
   Round 5 (2.0): darker canvas, no scroll arrows in the message field,
   role badges.
   ========================================================================== */

/* ---- Canvas: a dark gradient over the picture instead of the white wash */
.wa[data-wc-mode="page"] .wa-main,
.wa[data-wc-mode="mini"] .wa-main {
  background:
    linear-gradient(180deg, #082422b8 0%, #0b2f2c80 45%, #082422c7 100%),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    #1d4441;
}
/* Text that sits right on the canvas */
.wa .wa-qa__title,
.wa .wa-qa__cat {
  color: #fff;
}
.wa .wa-qa__lead,
.wa .wa-qa__catn {
  color: #ffffffcc;
}

/* ---- Message and post fields: no scroll bar (and its arrows) */
.wa .wa-composer__input {
  scrollbar-width: none;
}
.wa .wa-composer__input::-webkit-scrollbar {
  display: none;
}

/* ---- Role badges (Team, Expert, You, pinned): small solid rectangles
   with a white Raute in front */
.wa[data-wc-mode] .wa-sbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px 0 7px;
  background: #00847e;
  border: 0;
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
}
.wa[data-wc-mode] .wa-sbadge::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}
.wa[data-wc-mode] .wa-sbadge .wa-sbadge__knob {
  display: none;
}
.wa[data-wc-mode] .wa-sbadge--expert {
  background: var(--pal-orange);
  color: #fff;
}
.wa[data-wc-mode] .wa-sbadge--you,
.wa[data-wc-mode] .wa-sbadge--pending {
  background: var(--ad-line);
  color: var(--ad-muted);
}
.wa[data-wc-mode] .wa-sbadge--pin {
  background: var(--pal-sand);
  color: #8a6a2c;
}

/* Cards on the darker canvas: solid warm white again */
.wa .wa-feed .wa-card,
.wa .wa-posts .wa-card,
.wa .wa-frame .wa-card {
  background: #fcfcfa;
}

/* Secondary buttons: rectangles too */
.wa .wa-btn,
.wa .wa-ghost:not(.wa-watch__back):not(.wa-watch__more),
.wa .wa-dl,
.wa .wa-login__sso {
  clip-path: none;
  padding-left: 18px;
  padding-right: 18px;
}

/* Media: text that sits right on the darker canvas */
.wa .wa-watch__title,
.wa .wa-shelf__title,
.wa .wa-vcard__title {
  color: #fff;
}
.wa .wa-watch__desc,
.wa .wa-watch__meta,
.wa .wa-vcard__meta {
  color: #ffffffcc;
}
.wa .wa-shelf__all,
.wa .wa-ghost.wa-watch__more,
.wa .wa-ghost.wa-watch__back {
  color: #9fe0d9;
}
.wa .wa-shelf__all:hover,
.wa .wa-ghost.wa-watch__more:hover,
.wa .wa-ghost.wa-watch__back:hover {
  color: #fff;
}

/* ==========================================================================
   Round 6 (2.0): one scrollbar for the whole Academy, darker canvas and
   brighter text on it.
   ========================================================================== */

/* ---- Scrollbars: slim, straight teal bar on a faint track, no arrow
   buttons, no rounded ends. The same in every scrolling area (page, video
   rows, chat, side panes, small window). Chrome/Edge/Safari use the
   ::-webkit-scrollbar parts (only while scrollbar-width/-color stay auto);
   Firefox gets the standard properties. */
.wa,
.wa * {
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.wa::-webkit-scrollbar,
.wa ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
.wa::-webkit-scrollbar-track,
.wa ::-webkit-scrollbar-track {
  background: #1c25240f;
}
.wa::-webkit-scrollbar-thumb,
.wa ::-webkit-scrollbar-thumb {
  min-height: 40px;
  background: #00847e;
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 0;
}
.wa::-webkit-scrollbar-thumb:hover,
.wa ::-webkit-scrollbar-thumb:hover {
  background: #006b66;
  background-clip: padding-box;
}
.wa::-webkit-scrollbar-thumb:active,
.wa ::-webkit-scrollbar-thumb:active {
  background: #00534f;
  background-clip: padding-box;
}
.wa::-webkit-scrollbar-button,
.wa ::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.wa::-webkit-scrollbar-corner,
.wa ::-webkit-scrollbar-corner {
  background: transparent;
}
/* On the dark canvas: a light track, a lighter thumb */
.wa .wa-main::-webkit-scrollbar-track,
.wa .wa-shelf__row::-webkit-scrollbar-track {
  background: #ffffff1f;
}
.wa .wa-main::-webkit-scrollbar-thumb,
.wa .wa-shelf__row::-webkit-scrollbar-thumb {
  background: #3fa8a2;
  background-clip: padding-box;
}
.wa .wa-main::-webkit-scrollbar-thumb:hover,
.wa .wa-shelf__row::-webkit-scrollbar-thumb:hover {
  background: #6cc3be;
  background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
  .wa,
  .wa * {
    scrollbar-width: thin;
    scrollbar-color: #00847e #1c25240f;
  }
  .wa .wa-main,
  .wa .wa-shelf__row {
    scrollbar-color: #3fa8a2 #ffffff1f;
  }
}
/* Message and post fields keep no scrollbar */
.wa .wa-composer__input {
  scrollbar-width: none;
}

/* ---- Canvas a step darker, so text on it reads well everywhere */
.wa[data-wc-mode="page"] .wa-main,
.wa[data-wc-mode="mini"] .wa-main {
  background:
    linear-gradient(180deg, #061d1bd9 0%, #0a2a27b8 45%, #061d1be0 100%),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    #123331;
}

/* ---- Media: text on the canvas */
.wa .wa-shelf__title,
.wa .wa-watch__title,
.wa .wa-vcard__title {
  color: #fff;
}
.wa .wa-vcard__meta,
.wa .wa-watch__meta,
.wa .wa-watch__desc,
.wa .wa-qa__lead,
.wa .wa-qa__catn {
  color: #e3ecea;
}
.wa .wa-shelf__all,
.wa .wa-ghost.wa-watch__more,
.wa .wa-ghost.wa-watch__back {
  color: #8fe3da;
}
.wa .wa-vcard:hover .wa-vcard__title,
.wa .wa-vcard:focus-visible .wa-vcard__title {
  color: #8fe3da;
}

/* Rectangles (2.0): sort and choice buttons */
.wa .wa-chip,
.wa .wa-seg__btn {
  clip-path: none;
}

/* ==========================================================================
   Round 7 (2.0): the full-screen chat sits on the Academy canvas, with
   members, chat and files as boxes on it (like the Academy page).
   ========================================================================== */
.wa .wa-dock[data-state="full"] .wa-dock__win {
  background:
    linear-gradient(180deg, #061d1bd9 0%, #0a2a27b8 45%, #061d1be0 100%),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    #123331;
  border-top: 0;
}
.wa .wa-dock[data-state="full"] .wa-dock__head {
  background: transparent;
  border-bottom: 0;
  padding: 0 16px 0 20px;
}
.wa .wa-dock[data-state="full"] .wa-dock__title {
  color: #fff;
}
.wa .wa-dock[data-state="full"] .wa-dock__sub {
  color: #8fe3da;
}
.wa .wa-dock[data-state="full"] .wa-dock__sub:not(:empty)::before {
  background: #8fe3da;
}
.wa .wa-dock[data-state="full"] .wa-dock__headico {
  color: #f0a26a;
}
.wa .wa-dock[data-state="full"] .wa-dock__headico svg {
  fill: #f0a26a33;
}
.wa .wa-dock[data-state="full"] .wa-dock__hbtn {
  color: #e3ecea;
}
.wa .wa-dock[data-state="full"] .wa-dock__hbtn:hover {
  background: #ffffff1f;
  color: #fff;
}
.wa .wa-dock[data-state="full"] .wa-dock__hbtn[aria-pressed="true"] {
  background: #008c8c;
  color: #fff;
}
.wa .wa-dock[data-state="full"] .wa-dock__grid {
  gap: 16px;
  padding: 0 16px 16px;
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-dock__pane {
  background: #fcfcfa;
  border: 1px solid var(--ad-line-2);
}
.wa .wa-dock[data-state="full"].is-people .wa-dock__people,
.wa .wa-dock[data-state="full"].is-files .wa-dock__files {
  inset: 0 16px 16px;
}
@media (min-width: 1200px) {
  .wa .wa-dock[data-state="full"] .wa-dock__people,
  .wa .wa-dock[data-state="full"] .wa-dock__files {
    border: 1px solid var(--ad-line-2);
  }
}
@media (max-width: 991.98px) {
  .wa .wa-dock[data-state="full"] .wa-dock__grid {
    gap: 0;
    padding: 0;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__chat,
  .wa .wa-dock[data-state="full"] .wa-dock__pane {
    border: 0;
  }
  .wa .wa-dock[data-state="full"].is-people .wa-dock__people,
  .wa .wa-dock[data-state="full"].is-files .wa-dock__files {
    inset: 0;
  }
}
.wa .wa-dock[data-state="full"] .wa-dock__hbtn--pane svg {
  color: #b7dfa4;
}
.wa .wa-dock[data-state="full"] .wa-dock__hbtn[aria-pressed="true"] svg {
  color: #fff;
}
/* Role badges: sharp in the small window too */
.wa[data-wc-mode] .wa-sbadge {
  border-radius: 0 !important;
}

/* ==========================================================================
   Round 9 (local): brand-green chat bar and head, team logo after names,
   Media watch page in one column.
   ========================================================================== */
/* Closed chat bar */
.wa .wa-dock[data-state] .wa-dock__bar {
  background: #00847e;
  border-color: #00847e;
  color: #fff;
}
.wa .wa-dock[data-state] .wa-dock__bar:hover {
  background: #006d68;
}
.wa .wa-dock[data-state] .wa-dock__bar b,
.wa .wa-dock[data-state] .wa-dock__lastwho,
.wa .wa-dock[data-state] .wa-dock__barico,
.wa .wa-dock[data-state] .wa-dock__chev {
  color: #fff;
}
.wa .wa-dock[data-state] .wa-dock__barico svg,
.wa .wa-dock[data-state] .wa-dock__headico svg {
  fill: #ffffff2e;
}
.wa .wa-dock[data-state] .wa-dock__last,
.wa .wa-dock[data-state] .wa-dock__lasttext,
.wa .wa-dock[data-state] .wa-dock__lasttime,
.wa .wa-dock[data-state] .wa-dock__baronline {
  color: #d0e5e4;
}
.wa .wa-dock[data-state] .wa-dock__baronline::before,
.wa .wa-dock[data-state] .wa-dock__sub:not(:empty)::before {
  background: #fff;
}
/* Window and full-screen head */
.wa .wa-dock[data-state] .wa-dock__head {
  background: #00847e;
  border-bottom: 0;
}
.wa .wa-dock[data-state] .wa-dock__title {
  color: #fff;
}
.wa .wa-dock[data-state] .wa-dock__sub {
  color: #d0e5e4;
}
.wa .wa-dock[data-state] .wa-dock__headico,
.wa .wa-dock[data-state] .wa-dock__hbtn,
.wa .wa-dock[data-state] .wa-dock__hbtn--pane svg {
  color: #fff;
}
.wa .wa-dock[data-state] .wa-dock__hbtn:hover {
  background: #006d68;
  color: #fff;
}
.wa .wa-dock[data-state] .wa-dock__hbtn[aria-pressed="true"] {
  background: #00534f;
  color: #fff;
}
@media (min-width: 992px) {
  .wa .wa-dock[data-state="full"] .wa-dock__grid {
    padding-top: 16px;
  }
}

/* Tiny Wolfram logo after the name of team members (replaces "Team") */
.wa .wa-namelogo {
  display: inline-block;
  flex: none;
  width: auto;
  height: 14px;
  margin: 0 0 0 5px;
  vertical-align: -1px;
  border: 0;
  border-radius: 0;
  background: none;
}

/* Media: watching a video is one column, the other videos below */
.wa .wa-watch.wa-watch--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.wa .wa-watch--stack .wa-watch__side {
  gap: 14px;
}

/* ---- Round 9b: Media banner gradient softer; the white of the channel
   box continues behind the videos (one white box, dark text again). */
.wa .wa-chan__banner {
  background:
    linear-gradient(90deg, rgba(0, 83, 79, 0.62) 0%, rgba(0, 132, 126, 0.3) 45%, rgba(255, 138, 0, 0.14) 100%),
    url(img/login-welding.webp) center 40% / cover no-repeat,
    #00534f;
}
.wa .wa-media__content {
  padding: 22px 20px 26px;
  background: #fff;
  border: 1px solid #e0e4e7;
  border-top: 0;
}
.wa .wa-media__content .wa-shelf__title,
.wa .wa-media__content .wa-watch__title,
.wa .wa-media__content .wa-vcard__title {
  color: #1c2524;
}
.wa .wa-media__content .wa-vcard__meta,
.wa .wa-media__content .wa-watch__meta,
.wa .wa-media__content .wa-watch__desc {
  color: #5f6b6a;
}
.wa .wa-media__content .wa-shelf__all,
.wa .wa-media__content .wa-ghost.wa-watch__more,
.wa .wa-media__content .wa-ghost.wa-watch__back,
.wa .wa-media__content .wa-vcard:hover .wa-vcard__title,
.wa .wa-media__content .wa-vcard:focus-visible .wa-vcard__title {
  color: #00847e;
}
.wa .wa-media__content .wa-shelf__all:hover,
.wa .wa-media__content .wa-ghost.wa-watch__more:hover,
.wa .wa-media__content .wa-ghost.wa-watch__back:hover {
  color: #006d68;
}
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-track {
  background: #1c25240f;
}
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-thumb {
  background: #00847e;
  background-clip: padding-box;
}
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-thumb:hover {
  background: #006b66;
  background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
  .wa .wa-media__content .wa-shelf__row {
    scrollbar-color: #00847e #1c25240f;
  }
}

/* ---- Round 9c: the dark gradient over the Academy canvas a step lighter
   (page, small shop window and full-screen chat). */
.wa[data-wc-mode="page"] .wa-main,
.wa[data-wc-mode="mini"] .wa-main,
.wa .wa-dock[data-state="full"] .wa-dock__win {
  background:
    linear-gradient(180deg, #061d1b66 0%, #0a2a2740 45%, #061d1b73 100%),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    #1a3f3c;
}

/* ---- Round 9d: Quick Access as one white box (like Media), dark text in
   it; buttons in brand green / soft green. */
.wa .wa-qa,
.wa .wa-frame > .wa-view > .wa-page.wa-qa {
  padding: 24px 24px 28px;
  background: #fff;
  border: 1px solid #e0e4e7;
}
.wa .wa-qa .wa-qa__title,
.wa .wa-qa .wa-qa__cat {
  color: #1c2524;
}
.wa .wa-qa .wa-qa__lead,
.wa .wa-qa .wa-qa__catn {
  color: #5f6b6a;
}
.wa .wa-qa .wa-qa__card {
  border-color: #e0e4e7;
}
.wa .wa-qa .wa-qa__filter[aria-pressed="true"] {
  background: #00847e;
  border-color: #00847e;
}
.wa .wa-qa .wa-qa__filter[aria-pressed="true"]:hover {
  background: #006d68;
  border-color: #006d68;
}
.wa .wa-qa__btn {
  background: #e6f2f1;
  border-color: #e6f2f1;
  color: #00534f;
}
.wa .wa-qa__btn:hover {
  background: #d0e5e4;
  border-color: #d0e5e4;
  color: #00534f;
}
.wa .wa-qa__btn:active {
  background: #9ccbc9;
  border-color: #9ccbc9;
}
.wa .wa-qa__btn--main {
  background: #00847e;
  border-color: #00847e;
  color: #fff;
}
.wa .wa-qa__btn--main:hover {
  background: #006d68;
  border-color: #006d68;
  color: #fff;
}
.wa .wa-qa__btn--main:active {
  background: #00534f;
  border-color: #00534f;
}
@media (max-width: 575.98px) {
  .wa .wa-qa,
  .wa .wa-frame > .wa-view > .wa-page.wa-qa {
    padding: 18px 14px 22px;
  }
}

/* ---- Round 9e: Quick Access cards stand out from the white box: light
   grey surface, stronger neutral border; soft button a step stronger. */
.wa .wa-qa .wa-qa__card {
  background: #f2f4f4;
  border-color: #d2d7d7;
}
.wa .wa-qa .wa-qa__btn:not(.wa-qa__btn--main) {
  background: #d9ebe9;
  border-color: #d9ebe9;
}
.wa .wa-qa .wa-qa__btn:not(.wa-qa__btn--main):hover {
  background: #c6e1de;
  border-color: #c6e1de;
}
.wa .wa-qa .wa-qa__btn:not(.wa-qa__btn--main):active {
  background: #9ccbc9;
  border-color: #9ccbc9;
}

/* ==========================================================================
   Round 10 (local): softer, calmer look. Light canvas, white cards with
   rounded corners and a quiet shadow, rounded controls, a soft mint
   selected state. Wide screens: the side columns move out to the edges and
   the posts get more room. The global sharp reset (.wa * radius 0) stays;
   only the elements below are rounded, so nothing gets a radius by chance.
   ========================================================================== */
.wa {
  --el-r-card: 16px;
  --el-r-ctl: 10px;
  --el-r-sm: 7px;
  --el-line: #e4e9e8;
  --el-line-2: #d9e0df;
  --el-shadow: 0 1px 2px rgba(17, 45, 42, 0.05), 0 10px 28px -14px rgba(17, 45, 42, 0.16);
  --el-shadow-float: 0 2px 6px rgba(10, 35, 33, 0.08), 0 18px 48px -16px rgba(10, 35, 33, 0.32);
  --el-mint: #e2f1ee;
  --el-mint-2: #cfe7e3;
  --el-soft: #f4f7f6;
}

/* ---- Canvas: the Academy picture under a light wash */
.wa[data-wc-mode="page"] .wa-main,
.wa[data-wc-mode="mini"] .wa-main,
.wa .wa-dock[data-state="full"] .wa-dock__win {
  background:
    linear-gradient(180deg, rgba(246, 249, 248, 0.84) 0%, rgba(238, 244, 242, 0.74) 55%, rgba(233, 240, 238, 0.8) 100%),
    url(img/academy-canvas-connected.webp) center / cover no-repeat,
    #eef3f1;
}
.wa::-webkit-scrollbar-track,
.wa ::-webkit-scrollbar-track,
.wa .wa-main::-webkit-scrollbar-track,
.wa .wa-shelf__row::-webkit-scrollbar-track,
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-track {
  background: transparent;
}
.wa::-webkit-scrollbar-thumb,
.wa ::-webkit-scrollbar-thumb,
.wa .wa-main::-webkit-scrollbar-thumb,
.wa .wa-shelf__row::-webkit-scrollbar-thumb,
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-thumb {
  background: #b5c6c3;
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px !important;
}
.wa::-webkit-scrollbar-thumb:hover,
.wa ::-webkit-scrollbar-thumb:hover,
.wa .wa-main::-webkit-scrollbar-thumb:hover,
.wa .wa-shelf__row::-webkit-scrollbar-thumb:hover,
.wa .wa-media__content .wa-shelf__row::-webkit-scrollbar-thumb:hover {
  background: #00847e;
  background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
  .wa,
  .wa *,
  .wa .wa-main,
  .wa .wa-shelf__row,
  .wa .wa-media__content .wa-shelf__row {
    scrollbar-color: #b5c6c3 transparent;
  }
}

/* ---- Layout (three columns, 1200px and up): side columns at the edges,
   a wider middle. Narrower screens keep their one column. */
.wa .wa-frame > .wa-view > .wa-page.wa-feed {
  max-width: 820px;
}
@container wa (min-width: 1200px) {
  .wa .wa-frame {
    grid-template-columns: 248px minmax(0, 1fr) 304px;
    gap: 24px;
    max-width: none;
    padding: 26px 24px 44px;
  }
  /* Room for the card shadows inside the sticky, scrolling side columns */
  .wa .wa-frame__left,
  .wa .wa-frame__right {
    top: 26px;
    gap: 18px;
    margin: -6px -10px 0;
    padding: 6px 10px 24px;
  }
}
@container wa (min-width: 1600px) {
  .wa .wa-frame {
    grid-template-columns: 280px minmax(0, 1fr) 340px;
    gap: 32px;
    padding: 30px 32px 48px;
  }
  .wa .wa-frame > .wa-view > .wa-page.wa-feed {
    max-width: 900px;
  }
}
@container wa (min-width: 2200px) {
  .wa .wa-frame > .wa-view > .wa-page.wa-feed {
    max-width: 980px;
  }
}

/* ---- Cards and boxes */
.wa .wa-box,
.wa .wa-card,
.wa .wa-feed .wa-card,
.wa .wa-posts .wa-card,
.wa .wa-frame .wa-card,
.wa .wa-qa,
.wa .wa-frame > .wa-view > .wa-page.wa-qa,
.wa .wa-state--card {
  background: #fff;
  border: 1px solid var(--el-line);
  border-radius: var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
.wa .wa-box {
  overflow: hidden;
}
.wa .wa-box__title {
  padding: 18px 20px 8px;
  border-bottom: 0;
  font-size: 17px;
}

/* Menu box */
.wa .wa-menubox .wa-nav {
  padding: 4px 10px 12px;
}
.wa .wa-menubox .wa-nav__item,
.wa .wa-menubox .wa-nav__item.is-active {
  width: 100%;
  margin: 1px 0;
  padding: 10px 12px;
  border-radius: var(--el-r-ctl) !important;
  clip-path: none;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.wa .wa-menubox .wa-nav__item:hover {
  background: var(--el-soft);
  color: #00534f;
}
.wa .wa-menubox .wa-nav__item.is-active,
.wa .wa-menubox .wa-nav__item.is-active:hover {
  background: var(--el-mint);
  color: #00534f;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon {
  color: var(--ic);
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon svg {
  fill: var(--ic-soft);
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__badge {
  background: #00847e;
  color: #fff;
}
.wa .wa-nav__badge,
.wa .wa-dock__badge,
.wa .appnav__badge {
  border-radius: 999px !important;
}

/* News box */
.wa .wa-activity__list {
  padding: 0 10px 10px;
}
.wa .wa-activity__item {
  padding: 12px 10px;
  border-radius: var(--el-r-ctl) !important;
  transition: background 0.15s ease;
}
.wa .wa-activity__item:hover {
  background: var(--el-soft);
}

/* Profile box */
.wa .wa-pbox__head {
  border-bottom-color: var(--el-line);
}
.wa .wa-pbox__coverbtn {
  border-radius: 8px !important;
}
.wa .wa-pbox__links {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--el-line);
}
.wa .wa-pbox__link {
  padding: 10px;
  border-radius: var(--el-r-ctl) !important;
  clip-path: none;
}
.wa .wa-pbox__link:hover {
  background: var(--el-soft);
  color: #00534f;
}
.wa .wa-pbox__link.is-active,
.wa .wa-pbox__link.is-active:hover {
  background: var(--el-mint);
  color: #00534f;
  clip-path: none;
}
.wa .wa-pbox__link.is-active svg {
  color: #00847e;
}

/* Switches: pills */
.wa .wa-qswitch__track {
  width: 36px;
  height: 20px;
  background: #cdd6d4;
  border-radius: 999px !important;
}
.wa .wa-qswitch__thumb {
  width: 16px;
  height: 16px;
  border-radius: 50% !important;
  box-shadow: 0 1px 2px rgba(10, 35, 33, 0.25) !important;
}
.wa .wa-qswitch[aria-checked="true"] .wa-qswitch__track {
  background: #00847e;
}
.wa .wa-qswitch[aria-checked="true"] .wa-qswitch__thumb {
  transform: translateX(16px);
}

/* Segments (email rhythm, sort, media/files): a soft tray, the chosen one
   lifts out in white */
.wa .wa-qseg,
.wa .wa-seg,
.wa .wa-asseg {
  gap: 2px;
  padding: 3px;
  background: #eef2f1;
  border: 0;
  border-radius: 11px !important;
}
.wa .wa-qseg__btn,
.wa .wa-qseg__btn + .wa-qseg__btn,
.wa .wa-seg__btn,
.wa .wa-asseg__btn {
  background: transparent;
  border: 0 !important;
  border-radius: 8px !important;
  clip-path: none;
  color: #55605f;
}
.wa .wa-qseg__btn:hover,
.wa .wa-seg__btn:hover,
.wa .wa-asseg__btn:hover {
  background: #ffffff99;
  color: #00534f;
}
.wa .wa-qseg__btn[aria-pressed="true"],
.wa .wa-qseg__btn[aria-pressed="true"]:hover,
.wa .wa-seg__btn[aria-pressed="true"],
.wa .wa-seg__btn.is-on,
.wa .wa-asseg__btn[aria-pressed="true"],
.wa .wa-asseg__btn.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 45, 42, 0.12), 0 1px 6px -2px rgba(17, 45, 42, 0.12) !important;
  color: #00534f;
}

/* ---- Buttons */
.wa .wa-btn,
.wa .wa-ghost:not(.wa-watch__back):not(.wa-watch__more),
.wa .wa-dl,
.wa .wa-login__sso,
.wa .wa-qa__btn,
.wa .wa-compose__submit,
.wa .wa-profile__save,
.wa .wa-dbtn {
  border-radius: var(--el-r-ctl) !important;
  clip-path: none;
}
.wa .wa-composer__send {
  width: 44px;
  border-radius: var(--el-r-ctl) !important;
  clip-path: none;
}
.wa .wa-icon-btn,
.wa .wa-dock__hbtn,
.wa .wa-composer__btn,
.wa .wa-compose__tool,
.wa .wa-cbox__clip,
.wa .wa-detail__close,
.wa .wa-notif__close,
.wa .wa-vslot__remove {
  border-radius: 8px !important;
}
.wa .wa-chip,
.wa .wa-qa__filter,
.wa .wa-chan__tab,
.wa .wa-dock__tab,
.wa .wa-tabs__tab,
.wa .wa-pill,
.wa .wa-pick {
  border-radius: 999px !important;
  clip-path: none;
}

/* ---- Fields */
.wa .wa-input,
.wa .wa-textarea,
.wa .wa-field input,
.wa .wa-field select,
.wa .wa-field textarea,
.wa .wa-composer__box,
.wa .wa-cbox__field,
.wa .wa-dock__searchbox,
.wa .wa-copyrow,
.wa .wa-compose__editor {
  border-radius: var(--el-r-ctl) !important;
}
.wa .wa-postbox__open {
  background: var(--el-soft);
  border-color: transparent;
  border-radius: 999px !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wa .wa-postbox__open:hover {
  background: #fff;
  border-color: var(--el-line-2);
}

/* ---- Avatars: people round, logos in a soft square */
.wa .wa-avatar,
.wa .wa-person__ava,
.wa .wa-liker__ava,
.wa .wa-pic__ava,
.wa .wa-compose__ava,
.wa .wa-chan__ava {
  border-radius: 50% !important;
}
.wa .wa-avatar.wa-avatar--logo,
.wa .wa-chan__ava.wa-avatar--logo {
  border-radius: 10px !important;
}

/* ---- Posts: pictures and videos inset with soft corners, quiet action row */
.wa .wa-post > .wa-slot,
.wa .wa-post > .wa-gal,
.wa .wa-post > .wa-video,
.wa .wa-post > .wa-player__frame,
.wa .wa-post > .wa-player__facade,
.wa .wa-post > .wa-photo,
.wa .wa-post > .wa-attachments {
  margin-left: 20px;
  margin-right: 20px;
}
.wa .wa-post > .wa-slot,
.wa .wa-post > .wa-gal,
.wa .wa-post > .wa-video,
.wa .wa-post > .wa-player__frame,
.wa .wa-post > .wa-player__facade,
.wa .wa-post > .wa-photo,
.wa .wa-slot__frame,
.wa .wa-slot__video {
  overflow: hidden;
  border-radius: 12px !important;
}
.wa .wa-post__counts,
.wa .wa-feed .wa-post__counts,
.wa .wa-posts .wa-post__counts {
  margin: 0 20px;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid var(--el-line);
}
.wa .wa-post__bar,
.wa .wa-feed .wa-post__bar,
.wa .wa-posts .wa-post__bar {
  padding: 6px 10px;
  background: transparent;
  border-top: 0;
  border-radius: 0 0 var(--el-r-card) var(--el-r-card) !important;
}
.wa .wa-post__act {
  border-radius: var(--el-r-ctl) !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.wa .wa-post__act:hover {
  background: var(--el-soft);
}
.wa .wa-post__count {
  border-radius: 999px !important;
}
.wa .wa-react__bar {
  border: 1px solid var(--el-line);
  border-radius: 999px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-share__sheet {
  border: 1px solid var(--el-line);
  border-radius: 14px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-share__item {
  border-radius: 8px !important;
}

/* Comments */
.wa .wa-cmt__bubble {
  border-radius: 4px 14px 14px 14px !important;
}
.wa .wa-cbox__reply {
  border-radius: 8px !important;
}

/* Role badges and small labels */
.wa[data-wc-mode] .wa-sbadge {
  padding: 0 9px 0 8px;
  border-radius: 999px !important;
}
.wa .wa-activity__flag,
.wa .wa-vcard__count,
.wa .wa-qa__fileext {
  border-radius: 6px !important;
}

/* ---- Chat */
.wa .wa-bubble {
  border-radius: 16px !important;
}
.wa .wa-bubble__photo,
.wa .wa-bubble__photo img,
.wa .wa-pic {
  border-radius: 12px !important;
}
.wa .wa-attach {
  border-radius: var(--el-r-ctl) !important;
}
.wa .wa-chat__older {
  border-radius: 999px !important;
}

/* Dock: closed bar and window float with soft top corners */
.wa .wa-dock[data-state="min"] .wa-dock__bar {
  border-radius: 16px 16px 0 0 !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-dock[data-state="open"] .wa-dock__win {
  overflow: hidden;
  border: 1px solid var(--el-line);
  border-radius: 18px 18px 0 0 !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-dock__pane {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--el-line);
  border-radius: var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
@media (max-width: 991.98px) {
  .wa .wa-dock[data-state="full"] .wa-dock__chat,
  .wa .wa-dock[data-state="full"] .wa-dock__pane {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* People and file rows */
.wa .wa-person,
.wa .wa-rail__row,
.wa .wa-dock__shot {
  border-radius: var(--el-r-ctl) !important;
}

/* ---- Media: one rounded box (banner + content) */
.wa .wa-chan,
.wa .wa-chan__banner {
  border-radius: var(--el-r-card) var(--el-r-card) 0 0 !important;
}
.wa .wa-media__content {
  background: #fff;
  border-color: var(--el-line);
  border-radius: 0 0 var(--el-r-card) var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
.wa .wa-vcard__thumb,
.wa .wa-watch__yt,
.wa .wa-player__frame,
.wa .wa-player__facade {
  overflow: hidden;
  border-radius: 12px !important;
}
.wa .wa-vcard__play {
  border-radius: 50% !important;
}

/* ---- Quick Access */
.wa .wa-qa .wa-qa__card {
  background: #f6f8f8;
  border: 1px solid var(--el-line-2);
  border-radius: 14px !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wa .wa-qa .wa-qa__card:hover {
  background: #fff;
  border-color: #c4cfcd;
}

/* ---- Overlays */
.wa .wa-modal__card,
.wa .wa-detail__card,
.wa .wa-pdfview__frame,
.wa .wa-panel {
  border-radius: 18px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-menu {
  border-radius: 12px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-toast {
  border-radius: 12px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .wa-vslot,
.wa .wa-join__card,
.wa .wa-welcome,
.wa .wa-guestcta,
.wa .wa-note,
.wa .wa-matrix {
  border-radius: 14px !important;
}

/* ---- Small Academy window in the shop: same cards, soft menu */
.wa[data-wc-mode="mini"] .wa-mininav__item {
  border-radius: var(--el-r-ctl) !important;
}
.wa[data-wc-mode="mini"] .wa-mininav__item:hover {
  background: var(--el-soft);
  color: #00534f;
}
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active,
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active:hover {
  background: var(--el-mint);
  color: #00534f;
}
.wa .wa-mininav__item.is-active .wa-mininav__icon {
  color: var(--ic);
}
.wa .wa-mininav__item.is-active .wa-mininav__icon svg {
  fill: var(--ic-soft);
}

/* ---- Narrow screens: profile button and the section menu drop-down */
.wa .wch-me__ava {
  border-radius: 50% !important;
}
.wa .wch-me,
.wa .wch-bell {
  border-radius: var(--el-r-ctl) !important;
}
.wa[data-wc-mode="page"] .appnav {
  --appnav-radius: 10px;
}
.wa .appnav__toggle {
  border-radius: var(--el-r-ctl) !important;
}
.wa .appnav__menu {
  z-index: 20;
  padding: 6px;
  border-color: var(--el-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--el-shadow-float) !important;
}
.wa .appnav__item {
  border-bottom: 0 !important;
  border-radius: 8px !important;
}
.wa .appnav__item:hover {
  background: var(--el-soft);
}
.wa .appnav__item.is-active,
.wa .appnav__item.is-active:hover {
  background: var(--el-mint);
  color: #00534f;
}
.wa .appnav__item[data-nav].is-active .appnav__item-ico {
  color: var(--ic);
}
.wa .appnav__item[data-nav].is-active .appnav__item-ico svg {
  fill: var(--ic-soft);
}

/* ==========================================================================
   Round 10b (local): tighter and less boxy. The three columns stay together
   in a centred block (max 1520px) instead of spreading to the screen edges;
   cards without a visible frame, smaller corners, a fainter shadow; the
   selected menu item solid green again (rounded).
   ========================================================================== */
.wa {
  --el-r-card: 14px;
  --el-r-ctl: 9px;
  --el-shadow: 0 1px 2px rgba(17, 45, 42, 0.04), 0 4px 16px -8px rgba(17, 45, 42, 0.12);
}
.wa .wa-frame > .wa-view > .wa-page.wa-feed {
  max-width: none;
}
@container wa (min-width: 1200px) {
  .wa .wa-frame {
    grid-template-columns: 248px minmax(0, 1fr) 304px;
    gap: 20px;
    max-width: 1520px;
    padding: 22px 24px 40px;
  }
  .wa .wa-frame__left,
  .wa .wa-frame__right {
    top: 22px;
    gap: 16px;
  }
}
@container wa (min-width: 1600px) {
  .wa .wa-frame {
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 24px;
    padding: 24px 24px 44px;
  }
  .wa .wa-frame > .wa-view > .wa-page.wa-feed {
    max-width: none;
  }
}
@container wa (min-width: 2200px) {
  .wa .wa-frame > .wa-view > .wa-page.wa-feed {
    max-width: none;
  }
}

/* Cards: no visible frame, just the faint shadow */
.wa .wa-box,
.wa .wa-card,
.wa .wa-feed .wa-card,
.wa .wa-posts .wa-card,
.wa .wa-frame .wa-card,
.wa .wa-qa,
.wa .wa-frame > .wa-view > .wa-page.wa-qa,
.wa .wa-state--card,
.wa .wa-media__content,
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-dock__pane {
  border-color: rgba(17, 45, 42, 0.05);
}
.wa .wa-feed .wa-card + .wa-card,
.wa .wa-posts__list > .wa-card + .wa-card {
  margin-top: 16px;
}
.wa .wa-box__title {
  padding: 16px 18px 6px;
}
.wa .wa-menubox .wa-nav {
  padding: 4px 10px 10px;
}
.wa .wa-menubox .wa-nav__item,
.wa .wa-menubox .wa-nav__item.is-active {
  padding: 9px 12px;
}

/* Selected menu item: solid green, white text and icon */
.wa .wa-menubox .wa-nav__item.is-active,
.wa .wa-menubox .wa-nav__item.is-active:hover,
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active,
.wa[data-wc-mode="mini"] .wa-mininav__item.is-active:hover,
.wa .appnav__item.is-active,
.wa .appnav__item.is-active:hover,
.wa .wa-pbox__link.is-active,
.wa .wa-pbox__link.is-active:hover {
  background: #00756f;
  color: #fff;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon,
.wa .wa-mininav__item.is-active .wa-mininav__icon,
.wa .appnav__item[data-nav].is-active .appnav__item-ico,
.wa .wa-pbox__link.is-active svg {
  color: #fff;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__icon svg,
.wa .wa-mininav__item.is-active .wa-mininav__icon svg,
.wa .appnav__item[data-nav].is-active .appnav__item-ico svg {
  fill: none;
}
.wa .wa-menubox .wa-nav__item.is-active .wa-nav__badge {
  background: #fff;
  color: #00756f;
}

/* News: a line under the title */
.wa .wa-activity > .wa-box__title {
  margin: 0 18px;
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--el-line);
}
.wa .wa-activity__list {
  padding-top: 6px;
}

/* Profile links: a line between them */
.wa .wa-pbox__link + .wa-pbox__link {
  position: relative;
}
.wa .wa-pbox__link + .wa-pbox__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  border-top: 1px solid var(--el-line);
}

/* Posts: thin separators between the counts and between the actions */
.wa .wa-post__counts .wa-post__count + .wa-post__count {
  position: relative;
  margin-left: 14px;
  padding-left: 16px;
}
.wa .wa-post__counts .wa-post__count + .wa-post__count::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  border-left: 1px solid var(--el-line-2);
}
.wa .wa-post__bar > * + * {
  position: relative;
}
.wa .wa-post__bar > * + *::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  border-left: 1px solid var(--el-line);
}
/* One even gap between composer and posts */
.wa .wa-posts {
  gap: 16px;
}
.wa .wa-feed .wa-card + .wa-card,
.wa .wa-posts__list > .wa-card + .wa-card {
  margin-top: 0;
}
/* Small window header: round profile picture like everywhere else */
.wcd-panel .wch-me__ava {
  border-radius: 50% !important;
}

/* ---- Round 10c (local): the columns fill the width. Side columns grow
   with the screen (about 18% / 21%) and sit at the edges, the middle takes
   the rest. */
@container wa (min-width: 1200px) {
  .wa .wa-frame {
    grid-template-columns: clamp(248px, 18cqw, 380px) minmax(0, 1fr) clamp(304px, 21cqw, 440px);
    gap: 24px;
    max-width: none;
    padding: 24px 24px 44px;
  }
}
@container wa (min-width: 1600px) {
  .wa .wa-frame {
    grid-template-columns: clamp(248px, 18cqw, 380px) minmax(0, 1fr) clamp(304px, 21cqw, 440px);
    gap: 28px;
    max-width: none;
    padding: 26px 28px 48px;
  }
}
/* The wider posts column: videos may grow with it (no black side bars) */
.wa[data-wc-mode="page"] .wa-post .wa-slot__video {
  max-height: max(520px, 72vh);
}

/* ==========================================================================
   Round 10d (local): post box shortcuts, media strip of Wolfram Industrie,
   full-screen chat as one surface, chat bubbles in a chat shape.
   ========================================================================== */
/* ---- Post box: picture / video shortcuts after the field */
.wa .wa-postbox {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa .wa-postbox__open {
  flex: 1 1 auto;
  min-width: 0;
}
.wa .wa-postbox__tools {
  display: flex;
  flex: none;
  gap: 2px;
}
.wa .wa-postbox__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--el-r-ctl) !important;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wa .wa-postbox__tool.is-image {
  color: var(--pal-leaf, #47812f);
}
.wa .wa-postbox__tool.is-image svg {
  fill: var(--pal-leaf-soft, #e3eedd);
}
.wa .wa-postbox__tool.is-video {
  color: var(--pal-orange, #b9531a);
}
.wa .wa-postbox__tool.is-video svg {
  fill: var(--pal-orange-soft, #f6e3d6);
}
.wa .wa-postbox__tool:hover {
  background: var(--el-soft);
}
.wa .wa-postbox__tool:focus-visible {
  outline: 2px solid #9ccbc9;
  outline-offset: 1px;
}

/* ---- Media strip */
.wa .wa-mstrip {
  padding: 16px 0 18px;
}
.wa .wa-mstrip[hidden] {
  display: none;
}
.wa .wa-mstrip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 12px;
}
.wa .wa-mstrip__title {
  margin: 0;
  color: var(--ad-ink);
  font-size: 16px;
  font-weight: 700;
}
.wa .wa-mstrip__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #00847e;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.wa .wa-mstrip__all:hover {
  color: #006d68;
}
.wa .wa-mstrip__row {
  display: flex;
  gap: 10px;
  padding: 0 20px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding: 0 20px;
}
.wa .wa-mstrip__tile {
  position: relative;
  flex: none;
  width: 196px;
  height: 128px;
  padding: 0;
  overflow: hidden;
  background: #1c2524;
  border: 0;
  border-radius: 10px !important;
  cursor: pointer;
  scroll-snap-align: start;
}
.wa .wa-mstrip__tile img,
.wa .wa-mstrip__tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.25s ease;
}
.wa .wa-mstrip__tile:hover img,
.wa .wa-mstrip__tile:hover video {
  transform: scale(1.04);
}
.wa .wa-mstrip__tile:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}
.wa .wa-mstrip__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 8px;
  background: rgba(16, 24, 23, 0.72);
  border-radius: 999px !important;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.wa .wa-mstrip__badge.is-pic {
  padding: 0 6px;
}
.wa .wa-mstrip__badge svg {
  fill: none;
}
.wa .wa-mstrip__play {
  width: 0;
  height: 0;
  margin-left: 1px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}
.wa .wa-mstrip__badge span:empty:not(.wa-mstrip__play) {
  display: none;
}
@media (max-width: 575.98px) {
  .wa .wa-mstrip__tile {
    width: 160px;
    height: 104px;
  }
}
.wa[data-wc-mode="mini"] .wa-mstrip__tile {
  width: 168px;
  height: 108px;
}

/* ---- Full-screen chat: one white surface below the green head, the
   three parts separated by thin lines (no floating cards) */
.wa .wa-dock[data-state="full"] .wa-dock__win {
  background: #fff;
}
.wa .wa-dock[data-state="full"] .wa-dock__grid,
.wa .wa-dock[data-state] .wa-dock__grid {
  gap: 0;
}
@media (min-width: 992px) {
  .wa .wa-dock[data-state="full"] .wa-dock__grid {
    padding: 0;
  }
}
.wa .wa-dock[data-state="full"] .wa-dock__grid {
  padding: 0;
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-dock__pane,
.wa .wa-dock[data-state="full"] .wa-dock__people,
.wa .wa-dock[data-state="full"] .wa-dock__files {
  background: #fff;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (min-width: 1200px) {
  .wa .wa-dock[data-state="full"] .wa-dock__people {
    border-right: 1px solid var(--el-line);
  }
  .wa .wa-dock[data-state="full"] .wa-dock__files {
    border-left: 1px solid var(--el-line);
  }
}
.wa .wa-dock[data-state="full"].is-people .wa-dock__people,
.wa .wa-dock[data-state="full"].is-files .wa-dock__files {
  inset: 0;
}
/* The message field: a calm bar along the bottom */
.wa .wa-dock[data-state="full"] .wa-composer,
.wa .wa-dock[data-state="open"] .wa-composer {
  border-top: 1px solid var(--el-line);
}

/* ---- Chat bubbles: rounded with one tighter corner next to the avatar */
.wa .wa-msg .wa-bubble {
  border-radius: 4px 16px 16px 16px !important;
}
.wa .wa-msg.is-mine .wa-bubble {
  border-radius: 16px 4px 16px 16px !important;
}

/* ---- Round 10e (local): the big chat on the Academy page sits in the
   middle column (JS sets is-inset and the --wa-in-* box), as a card; the
   side boxes stay visible. */
.wa .wa-dock.is-inset[data-state="full"] .wa-dock__win {
  position: fixed;
  inset: auto;
  top: var(--wa-in-top);
  left: var(--wa-in-left);
  width: var(--wa-in-width);
  height: var(--wa-in-height);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 45, 42, 0.05);
  border-radius: var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
html.wa-dock-full .wa .wa-dock.is-inset .wa-dock__bar {
  visibility: hidden;
}
/* Wide middle column: members | chat | files side by side */
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__grid {
  grid-template-columns: 230px minmax(0, 1fr) 250px;
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__pane {
  position: static;
  display: flex;
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__hbtn--pane {
  display: none;
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__people {
  border-right: 1px solid var(--el-line);
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__files {
  border-left: 1px solid var(--el-line);
}
/* Narrower middle column: the chat alone, members and files open over it */
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__grid {
  grid-template-columns: minmax(0, 1fr);
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__pane {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  border: 0;
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"].is-people .wa-dock__people,
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"].is-files .wa-dock__files {
  display: flex;
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__chat {
  grid-column: 1;
  grid-row: 1;
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__hbtn--pane {
  display: inline-flex;
}
.wa .wa-dock.is-inset[data-state="full"] .wa-chat__scroll {
  padding: 18px 22px 10px;
}

/* While the big chat fills the middle column, the section under it is hidden */
.wa:has(.wa-dock.is-inset[data-state="full"]) .wa-frame > .wa-view {
  visibility: hidden;
}

/* ==========================================================================
   Round 10f (local): media strip as story cards with arrow buttons
   ========================================================================== */
.wa .wa-mstrip__viewport {
  position: relative;
}
.wa .wa-mstrip__row {
  gap: 10px;
  padding: 0 20px 2px;
  scrollbar-width: none;
}
.wa .wa-mstrip__row::-webkit-scrollbar {
  display: none;
}
.wa .wa-mstrip__tile,
.wa[data-wc-mode="mini"] .wa-mstrip__tile {
  width: 150px;
  height: 236px;
  border-radius: 12px !important;
}
.wa .wa-mstrip__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 19, 0.18) 0%, rgba(10, 20, 19, 0) 30%, rgba(10, 20, 19, 0) 52%, rgba(10, 20, 19, 0.72) 100%);
  pointer-events: none;
}
.wa .wa-mstrip__ring {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 3px;
  background: #fff;
  border: 3px solid #00847e;
  border-radius: 50% !important;
}
.wa .wa-mstrip__ring img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.wa .wa-mstrip__label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wa .wa-mstrip__badge {
  top: 14px;
  right: 10px;
  bottom: auto;
}
.wa .wa-mstrip__badge[hidden] {
  display: none;
}
/* Round arrow buttons over the row (no scrollbar) */
.wa .wa-mstrip__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--el-line);
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(10, 35, 33, 0.22) !important;
  color: #1c2524;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wa .wa-mstrip__nav[hidden] {
  display: none;
}
.wa .wa-mstrip__nav:hover {
  background: var(--el-soft);
}
.wa .wa-mstrip__nav:active {
  transform: scale(0.95);
}
.wa .wa-mstrip__nav.is-prev {
  left: 10px;
}
.wa .wa-mstrip__nav.is-next {
  right: 10px;
}
.wa .wa-mstrip__nav.is-next svg {
  transform: rotate(180deg);
}
@media (max-width: 575.98px) {
  .wa .wa-mstrip__tile {
    width: 124px;
    height: 200px;
  }
}

/* ==========================================================================
   Round 10g (local): Academy cards in the shop's card look (the product
   boxes: #f1f3f5 with a soft white sheen, #e0e4e7 border, soft shadow);
   rounded corners stay. No zoom on the story cards.
   ========================================================================== */
.wa {
  --el-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 55%, rgba(31, 41, 55, 0.04) 100%), #f1f3f5;
  --el-card-line: #e0e4e7;
  --el-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  --el-soft: #ffffff;
}
.wa .wa-box,
.wa .wa-card,
.wa .wa-feed .wa-card,
.wa .wa-posts .wa-card,
.wa .wa-frame .wa-card,
.wa .wa-qa,
.wa .wa-frame > .wa-view > .wa-page.wa-qa,
.wa .wa-state--card,
.wa .wa-media__content {
  background: var(--el-card-bg);
  border: 1px solid var(--el-card-line);
  box-shadow: var(--el-shadow) !important;
}
.wa .wa-media__content {
  border-top: 0;
}
/* Fields and trays on the grey card: white */
.wa .wa-postbox__open {
  background: #fff;
  border: 1px solid var(--el-card-line);
}
.wa .wa-postbox__open:hover {
  border-color: #c4cbca;
}
.wa .wa-qseg,
.wa .wa-seg,
.wa .wa-asseg {
  background: #e4e8eb;
}
.wa .wa-qa .wa-qa__card {
  background: #fff;
  border-color: var(--el-card-line);
}
.wa .wa-qa .wa-qa__card:hover {
  border-color: #c4cbca;
}
/* Hover on the grey cards: white */
.wa .wa-menubox .wa-nav__item:hover,
.wa .wa-activity__item:hover,
.wa .wa-pbox__link:hover,
.wa .wa-post__act:hover,
.wa .wa-postbox__tool:hover {
  background: #fff;
}
/* Story cards: no zoom */
.wa .wa-mstrip__tile:hover img,
.wa .wa-mstrip__tile:hover video {
  transform: none;
}
.wa .wa-mstrip__tile img,
.wa .wa-mstrip__tile video {
  transition: none;
}
.wa .wa-mstrip__nav:hover {
  background: #f1f3f5;
}

/* ==========================================================================
   Round 10h (local): news max. 3 with "…", calendar box, add-ins (ideas,
   games), learning material.
   ========================================================================== */
/* ---- News: titles and excerpts end in "…" when too long */
.wa .wa-activity__title,
.wa .wa-activity__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wa .wa-activity__excerpt {
  -webkit-line-clamp: 2;
}

/* ---- Calendar box */
.wa .wa-cal {
  padding-bottom: 12px;
}
.wa .wa-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
}
.wa .wa-cal__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 8px;
  padding: 0;
  background: #00847e;
  border: 0;
  border-radius: 8px !important;
  color: #fff;
  cursor: pointer;
}
.wa .wa-cal__add:hover {
  background: #006d68;
}
.wa .wa-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 6px;
}
.wa .wa-cal__month {
  color: var(--ad-ink);
  font-size: 14px;
  text-transform: capitalize;
}
.wa .wa-cal__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px !important;
  color: #55605f;
  cursor: pointer;
}
.wa .wa-cal__step:hover {
  background: #fff;
  color: #00534f;
}
.wa .wa-cal__step.is-next svg,
.wa .wa-addins__go svg {
  transform: rotate(180deg);
}
.wa .wa-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  padding: 0 12px;
}
.wa .wa-cal__wd {
  padding: 4px 0;
  color: #7e8686;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.wa .wa-cal__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px !important;
  color: var(--ad-ink);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.wa .wa-cal__day:hover {
  background: #fff;
}
.wa .wa-cal__day.is-other {
  color: #b3bebd;
}
.wa .wa-cal__day.is-school {
  background: #e3efe0;
}
.wa .wa-cal__day.is-school:hover {
  background: #d6e8d1;
}
.wa .wa-cal__day.is-holiday {
  color: #b9531a;
  font-weight: 700;
}
.wa .wa-cal__day.is-event::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: #00847e;
  transform: rotate(45deg);
}
.wa .wa-cal__day.is-today {
  background: #00847e;
  color: #fff;
  font-weight: 700;
}
.wa .wa-cal__day.is-today::after {
  background: #fff;
}
.wa .wa-cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 8px 18px 2px;
  color: #7e8686;
  font-size: 11.5px;
}
.wa .wa-cal__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wa .wa-cal__legend span::before {
  content: "";
  width: 8px;
  height: 8px;
}
.wa .wa-cal__legend .is-event::before {
  width: 6px;
  height: 6px;
  background: #00847e;
  transform: rotate(45deg);
}
.wa .wa-cal__legend .is-holiday::before {
  background: #b9531a;
  border-radius: 50% !important;
}
.wa .wa-cal__legend .is-school::before {
  background: #cfe3ca;
  border-radius: 2px !important;
}
.wa .wa-cal__up {
  margin: 10px 18px 0;
  padding-top: 10px;
  border-top: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-cal__uptitle {
  display: block;
  margin-bottom: 4px;
  color: var(--ad-ink);
  font-size: 13px;
}
.wa .wa-cal__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa .wa-cal__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 -8px;
  padding: 6px 8px;
  background: transparent;
  border: 0;
  border-radius: 10px !important;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: content-box;
}
.wa .wa-cal__modal .wa-cal__item {
  margin: 0;
  box-sizing: border-box;
}
.wa .wa-cal__item:hover {
  background: #fff;
}
.wa .wa-cal__chip {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 9px !important;
  line-height: 1.05;
}
.wa .wa-cal__chip b {
  color: var(--ad-ink);
  font-size: 15px;
}
.wa .wa-cal__chip span {
  color: #7e8686;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.wa .wa-cal__item.is-event .wa-cal__chip b {
  color: #00847e;
}
.wa .wa-cal__item.is-holiday .wa-cal__chip b {
  color: #b9531a;
}
.wa .wa-cal__item.is-school .wa-cal__chip b {
  color: #47812f;
}
.wa .wa-cal__itext {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-cal__itext b {
  overflow: hidden;
  color: var(--ad-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-cal__itext span {
  overflow: hidden;
  color: #7e8686;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-cal__none {
  margin: 4px 0 0;
  color: #7e8686;
  font-size: 12.5px;
}
.wa .wa-cal__source {
  margin: 10px 18px 0;
  color: #9aa3a3;
  font-size: 10.5px;
  line-height: 1.35;
}
/* Event window and form */
.wa .wa-cal__modal {
  width: min(480px, calc(100vw - 32px));
}
.wa .wa-cal__detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa .wa-cal__kind {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px !important;
  font-size: 12px;
  font-weight: 700;
}
.wa .wa-cal__kind.is-event {
  background: #d0e5e4;
  color: #00534f;
}
.wa .wa-cal__kind.is-holiday {
  background: #f6e3d6;
  color: #8a3c10;
}
.wa .wa-cal__kind.is-school {
  background: #e3efe0;
  color: #2f5a1e;
}
.wa .wa-cal__line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ad-ink);
  font-size: 14px;
}
.wa .wa-cal__line svg {
  flex: none;
  color: #00847e;
}
.wa .wa-cal__desc {
  margin: 4px 0 0;
  color: #55605f;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
}
.wa .wa-cal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa .wa-cal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wa .wa-cal__row[hidden] {
  display: none;
}
.wa .wa-cal__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.wa .wa-cal__check input {
  width: 16px;
  height: 16px;
  accent-color: #00847e;
}

/* ---- Add-ins box */
.wa .wa-addins__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 10px 12px;
}
.wa .wa-addins__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: var(--el-r-ctl) !important;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wa .wa-addins__item:hover {
  background: #fff;
}
.wa .wa-addins__ico {
  display: inline-flex;
  flex: none;
  color: #00847e;
}
.wa .wa-addins__ico svg {
  fill: #d0e5e4;
}
.wa .wa-addins__item[data-addin="idea"] .wa-addins__ico {
  color: #b9531a;
}
.wa .wa-addins__item[data-addin="idea"] .wa-addins__ico svg {
  fill: #f6e3d6;
}
.wa .wa-addins__item[data-addin="connect"] .wa-addins__ico {
  color: #47812f;
}
.wa .wa-addins__item[data-addin="connect"] .wa-addins__ico svg {
  fill: #e3eedd;
}
.wa .wa-addins__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-addins__text b {
  color: var(--ad-ink);
  font-size: 14px;
}
.wa .wa-addins__text span {
  overflow: hidden;
  color: #7e8686;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-addins__go {
  display: inline-flex;
  flex: none;
  color: #9aa3a3;
}

/* Add-in windows */
.wa .wa-addin__modal {
  width: min(460px, calc(100vw - 32px));
}
.wa .wa-idea {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wa .wa-idea__tabs {
  display: flex;
}
.wa .wa-idea__tabs .wa-qseg__btn {
  height: 34px;
}
.wa .wa-idea__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa .wa-idea__form[hidden],
.wa .wa-idea__inbox[hidden] {
  display: none;
}
.wa .wa-idea__hint {
  margin: 0;
  color: #7e8686;
  font-size: 12.5px;
}
.wa .wa-idea__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
}
.wa .wa-idea__item {
  padding: 12px 14px;
  background: #f1f3f5;
  border: 1px solid #e0e4e7;
  border-radius: 12px !important;
}
.wa .wa-idea__item b {
  display: block;
  color: var(--ad-ink);
}
.wa .wa-idea__meta {
  color: #7e8686;
  font-size: 12px;
}
.wa .wa-idea__item p {
  margin: 6px 0 0;
  color: #2b3136;
  font-size: 14px;
  white-space: pre-line;
}

/* Games (round 15): one frame for both games, a scoreboard, drawn-in pieces,
   a strike line for Tic-Tac-Toe and dropping discs for Connect Four.
   Sharp corners like the rest of the site; only discs and dots are round. */
.wa .wa-addin__modal--game .wa-modal__body {
  padding-top: 18px;
  padding-bottom: 18px;
}
.wa .wa-game {
  --wa-g-you: #00847e;
  --wa-g-you-soft: #e6f2f1;
  --wa-g-cpu: #c9621f;
  --wa-g-cpu-soft: #fbefe6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Scoreboard */
.wa .wa-gs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}
.wa .wa-gs__side {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 12px;
  background: #f5f7f7;
  border: 1px solid #e3e8e8;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.wa .wa-gs__side.is-cpu {
  flex-direction: row-reverse;
}
.wa .wa-gs__side.is-draw {
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 6px 14px;
  background: transparent;
  border-color: transparent;
}
.wa .wa-gs__side.is-you {
  color: var(--wa-g-you);
}
.wa .wa-gs__side.is-cpu {
  color: var(--wa-g-cpu);
}
.wa .wa-gs__side.is-active.is-you {
  background: var(--wa-g-you-soft);
}
.wa .wa-gs__side.is-active.is-cpu {
  background: var(--wa-g-cpu-soft);
}
.wa .wa-gs__ico {
  display: inline-flex;
  flex: none;
}
.wa .wa-gs__who {
  overflow: hidden;
  color: #3a4441;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wa .wa-gs__side.is-cpu .wa-gs__who {
  text-align: right;
}
.wa .wa-gs__num {
  margin-left: auto;
  color: var(--ad-ink, #1c2524);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.wa .wa-gs__side.is-cpu .wa-gs__num {
  margin-left: 0;
  margin-right: auto;
}
.wa .wa-gs__side.is-draw .wa-gs__num {
  margin: 2px 0 0;
  color: #8a9391;
  font-size: 17px;
  text-align: center;
}
.wa .wa-gs__side.is-draw .wa-gs__who {
  color: #8a9391;
  font-size: 11.5px;
  font-weight: 600;
}
.wa .wa-gs__num.is-bump {
  animation: wa-g-bump 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes wa-g-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Status line */
.wa .wa-game__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0;
  padding: 6px 14px;
  color: #3a4441;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}
.wa .wa-game__dots {
  display: none;
  gap: 4px;
}
.wa .wa-game__dots i {
  width: 5px;
  height: 5px;
  background: var(--wa-g-cpu);
  border-radius: 50% !important;
  animation: wa-g-dot 1s ease-in-out infinite;
}
.wa .wa-game__dots i:nth-child(2) { animation-delay: 0.15s; }
.wa .wa-game__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-g-dot {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.wa .wa-game[data-state="cpu"] .wa-game__dots {
  display: inline-flex;
}
.wa .wa-game[data-state="win"] .wa-game__status,
.wa .wa-game[data-state="lose"] .wa-game__status,
.wa .wa-game[data-state="draw"] .wa-game__status {
  animation: wa-g-in 0.35s ease both;
}
.wa .wa-game[data-state="win"] .wa-game__status {
  color: #fff;
  background: var(--wa-g-you);
}
.wa .wa-game[data-state="lose"] .wa-game__status {
  color: #fff;
  background: var(--wa-g-cpu);
}
.wa .wa-game[data-state="draw"] .wa-game__status {
  color: #3a4441;
  background: #eceff0;
}
@keyframes wa-g-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Pieces (Tic-Tac-Toe): strokes draw in, the cross in two strokes */
.wa .wa-piece {
  display: block;
  overflow: visible;
}
.wa .wa-piece--x { color: var(--wa-g-you); }
.wa .wa-piece--o { color: var(--wa-g-cpu); }
.wa .wa-piece path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.wa .wa-piece.is-new path {
  animation: wa-g-draw 0.3s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.wa .wa-piece.is-new path + path {
  animation-delay: 0.13s;
}
.wa .wa-piece--o.is-new path {
  animation-duration: 0.45s;
}
@keyframes wa-g-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* Tic-Tac-Toe board */
.wa .wa-ttt {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 300px;
  height: 300px;
  background: #fff;
  border: 1px solid #e3e8e8;
}
.wa .wa-ttt__lines,
.wa .wa-ttt__strike {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wa .wa-ttt__lines path {
  fill: none;
  stroke: #d5dedd;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: wa-g-draw 0.5s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.wa .wa-ttt__lines path:nth-child(2) { animation-delay: 0.08s; }
.wa .wa-ttt__lines path:nth-child(3) { animation-delay: 0.16s; }
.wa .wa-ttt__lines path:nth-child(4) { animation-delay: 0.24s; }
.wa .wa-ttt__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px;
  padding: 0;
  background: transparent;
  border: 0;
  transition: background 0.18s ease;
}
.wa .wa-ttt__cell:not(:disabled):hover {
  background: #f1f7f6;
}
.wa .wa-ttt__cell:focus-visible {
  outline: 2px solid var(--wa-g-you);
  outline-offset: -2px;
}
.wa .wa-ttt__cell:disabled {
  cursor: default;
}
.wa .wa-piece--ghost {
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.wa .wa-ttt__cell:not(:disabled):hover .wa-piece--ghost,
.wa .wa-ttt__cell:not(:disabled):focus-visible .wa-piece--ghost {
  opacity: 0.2;
  transform: scale(1);
}
.wa .wa-ttt.is-over .wa-ttt__cell:not(.is-win) .wa-piece:not(.wa-piece--ghost) {
  opacity: 0.25;
  transition: opacity 0.35s ease 0.15s;
}
.wa .wa-ttt__strike line {
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.wa .wa-ttt__strike.is-x line { stroke: var(--wa-g-you); }
.wa .wa-ttt__strike.is-o line { stroke: var(--wa-g-cpu); }
.wa .wa-ttt__strike.is-on line {
  animation: wa-g-draw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.32s forwards;
}

/* Connect Four: a dark board, discs drop in from the ghost row above it */
.wa .wa-addin__modal--c4 {
  width: min(540px, calc(100vw - 32px));
}
.wa .wa-c4 {
  --wa-c4-cell: 46px;
  --wa-c4-gap: 6px;
  --wa-c4-step: calc(var(--wa-c4-cell) + var(--wa-c4-gap));
  --wa-c4-lift: 16px;
  padding-top: calc(var(--wa-c4-cell) + 10px);
}
.wa .wa-c4__frame {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 2px;
  padding: 10px;
  background: linear-gradient(165deg, #2a3836 0%, #1a2423 100%);
  box-shadow: 0 14px 30px -16px rgba(10, 20, 19, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}
.wa .wa-c4__col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--wa-c4-gap);
  padding: 3px;
  background: transparent;
  border: 0;
  transition: background 0.18s ease;
}
.wa .wa-c4__col:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.06);
}
.wa .wa-c4__col:focus-visible {
  outline: 2px solid #7fd1cb;
  outline-offset: 0;
}
.wa .wa-c4__col:disabled {
  cursor: default;
}
.wa .wa-c4__slot {
  position: relative;
  display: block;
  width: var(--wa-c4-cell);
  height: var(--wa-c4-cell);
  background: #0e1716;
  border-radius: 50% !important;
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.wa .wa-c4__ghost {
  position: absolute;
  left: 3px;
  top: calc(3px - var(--wa-c4-step) - var(--wa-c4-lift));
  width: var(--wa-c4-cell);
  height: var(--wa-c4-cell);
  background: var(--wa-g-you);
  border-radius: 50% !important;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.wa .wa-c4__col:not(:disabled):hover .wa-c4__ghost,
.wa .wa-c4__col:not(:disabled):focus-visible .wa-c4__ghost {
  opacity: 0.35;
  transform: none;
}
.wa .wa-c4__disc,
.wa .wa-c4__chip {
  display: block;
  border-radius: 50% !important;
}
.wa .wa-c4__disc {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.35s ease 0.15s;
}
.wa .wa-c4__disc::after,
.wa .wa-c4__chip::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50% !important;
}
.wa .wa-c4__chip {
  position: relative;
  width: 18px;
  height: 18px;
}
.wa .wa-c4__chip::after {
  inset: 25%;
  border-width: 1.5px;
}
.wa .wa-c4__disc.is-x,
.wa .wa-c4__chip.is-x {
  background: radial-gradient(circle at 34% 30%, #33b5ac 0%, #00847e 55%, #005f5a 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16) !important;
}
.wa .wa-c4__disc.is-o,
.wa .wa-c4__chip.is-o {
  background: radial-gradient(circle at 34% 30%, #ffb37c 0%, #e2782f 55%, #b3521a 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16) !important;
}
.wa .wa-c4__disc.is-drop {
  animation: wa-c4-drop calc(260ms + var(--wa-drop) * 50ms) both;
}
@keyframes wa-c4-drop {
  0% {
    transform: translateY(calc(-1 * (var(--wa-drop) * var(--wa-c4-step) + var(--wa-c4-lift))));
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  72% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1);
  }
  86% {
    transform: translateY(calc(-0.14 * var(--wa-c4-cell)));
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  100% {
    transform: translateY(0);
  }
}
.wa .wa-c4.is-over .wa-c4__disc:not(.is-win) {
  opacity: 0.3;
}
.wa .wa-c4__disc.is-win {
  animation: wa-c4-win 1.4s ease-in-out 0.1s infinite;
}
@keyframes wa-c4-win {
  0%, 100% { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(255, 255, 255, 0.85); }
  50% { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), 0 0 0 4px rgba(255, 255, 255, 0.85); }
}

@media (max-width: 575.98px) {
  .wa .wa-ttt {
    width: 252px;
    height: 252px;
  }
  .wa .wa-c4 {
    --wa-c4-cell: 34px;
    --wa-c4-gap: 5px;
  }
  .wa .wa-gs__who {
    font-size: 12.5px;
  }
  .wa .wa-gs {
    gap: 6px;
  }
  .wa .wa-gs__side:not(.is-draw) {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 2px 5px;
    padding: 7px 6px 8px;
  }
  .wa .wa-gs__side:not(.is-draw) .wa-gs__num {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 19px;
    text-align: center;
  }
  .wa .wa-gs__side.is-draw {
    padding: 6px 2px;
  }
  .wa .wa-gs__side.is-draw .wa-gs__who {
    font-size: 10.5px;
  }
}
@media (max-width: 400px) {
  .wa .wa-c4 {
    --wa-c4-cell: 30px;
    --wa-c4-gap: 4px;
  }
  .wa .wa-c4__frame {
    padding: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa .wa-piece.is-new path,
  .wa .wa-ttt__lines path,
  .wa .wa-c4__disc.is-drop,
  .wa .wa-c4__disc.is-win,
  .wa .wa-gs__num.is-bump,
  .wa .wa-game__dots i {
    animation: none !important;
  }
  .wa .wa-ttt__strike.is-on line {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ---- Learning material */
.wa .wa-frame > .wa-view > .wa-page.wa-edu,
.wa .wa-edu {
  padding: 24px 24px 28px;
  background: var(--el-card-bg, #f1f3f5);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
.wa .wa-edu__title {
  margin: 0;
  color: var(--ad-ink);
  font-size: 26px;
}
.wa .wa-edu__lead {
  margin: 4px 0 0;
  color: #5f6b6a;
}
.wa .wa-edu__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.wa .wa-edu__filters[hidden] {
  display: none;
}
.wa .wa-edu__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #e0e4e7;
  border-radius: 999px !important;
  color: var(--ad-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.wa .wa-edu__filter:hover {
  border-color: #c4cbca;
}
.wa .wa-edu__filter[aria-pressed="true"] {
  background: #00847e;
  border-color: #00847e;
  color: #fff;
}
.wa .wa-edu__n {
  font-size: 12px;
  opacity: 0.75;
}
.wa .wa-edu__group {
  margin-top: 24px;
}
.wa .wa-edu__gtitle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ad-ink);
  font-size: 18px;
}
.wa .wa-edu__gcount {
  color: #7e8686;
  font-size: 13px;
  font-weight: 600;
}
.wa .wa-edu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.wa .wa-edu__card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e4e7;
  border-radius: 14px !important;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.wa .wa-edu__card:hover {
  border-color: #9ccbc9;
}
.wa .wa-edu__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c2524;
}
.wa .wa-edu__thumb img,
.wa .wa-edu__thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.wa .wa-edu__thumb video[hidden] {
  display: none;
}
.wa .wa-edu__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50% !important;
}
.wa .wa-edu__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #00847e;
}
.wa .wa-edu__dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  background: rgba(16, 24, 23, 0.72);
  border-radius: 999px !important;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.wa .wa-edu__dur[hidden] {
  display: none;
}
.wa .wa-edu__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}
.wa .wa-edu__name {
  color: var(--ad-ink);
  font-size: 15px;
  line-height: 1.3;
}
.wa .wa-edu__desc {
  display: -webkit-box;
  overflow: hidden;
  color: #5f6b6a;
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wa .wa-edu__body > .wa-state {
  margin-top: 20px;
}
/* Player window */
.wa .wa-edu__modal {
  width: min(960px, calc(100vw - 32px));
}
.wa .wa-edu__player {
  display: block;
  width: 100%;
  max-height: 64vh;
  background: #000;
  border-radius: 12px !important;
}
.wa .wa-edu__wdesc {
  margin: 12px 0 0;
  color: #55605f;
  line-height: 1.5;
  white-space: pre-line;
}
.wa .wa-edu__next {
  margin-top: 16px;
}
.wa .wa-edu__nexttitle {
  display: block;
  margin-bottom: 8px;
  color: var(--ad-ink);
}
.wa .wa-edu__nextlist {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.wa .wa-edu__nextitem {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 6px;
  width: 180px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wa .wa-edu__nextitem .wa-edu__thumb {
  border-radius: 10px !important;
}
.wa .wa-edu__nextitem .wa-edu__play {
  transform: scale(0.75);
}
.wa .wa-edu__nextname {
  color: var(--ad-ink);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 575.98px) {
  .wa .wa-frame > .wa-view > .wa-page.wa-edu,
  .wa .wa-edu {
    padding: 18px 14px 22px;
  }
}

/* ==== Round 11 (2026-11-11): one look for every page ===================
   Profile settings follow Quick Access and Lernmaterial: one grey card,
   big dark title with a lead, dark section titles, pill switches, a soft
   white table. The section cards of "Einladen" use the same titles. */

/* Section cards (profile, invite): dark titles, no grey band */
.wa .wa-block__head {
  padding: 20px 24px 0;
  background: none;
  border-bottom: 0;
}
.wa .wa-block__title {
  margin: 0;
  color: #1c2524;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.wa .wa-block__lead {
  margin: 6px 0 0;
  color: #5f6b6a;
  font-size: 14px;
  font-weight: 400;
}
.wa .wa-block__body {
  padding: 14px 24px 24px;
}

/* Profile settings: one card */
.wa .wa-frame > .wa-view > .wa-page.wa-profile {
  display: block;
  max-width: none;
  padding: 24px 24px 28px;
  background: var(--el-card-bg, #f1f3f5);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card) !important;
  box-shadow: var(--el-shadow) !important;
}
.wa .wa-profile__head {
  margin: 0 0 18px;
}
.wa .wa-profile__title {
  margin: 0;
  color: #1c2524;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.wa .wa-profile__lead {
  margin: 6px 0 0;
  color: #5f6b6a;
  font-size: 16px;
  line-height: 1.5;
}
.wa[data-wc-mode="mini"] .wa-profile__head {
  display: none;
}
.wa .wa-frame .wa-profile .wa-block,
.wa .wa-frame .wa-profile .wa-card.wa-block {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wa .wa-frame .wa-profile .wa-block + .wa-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-frame .wa-profile .wa-block__head {
  padding: 0;
}
.wa .wa-frame .wa-profile .wa-block__body {
  padding: 12px 0 0;
}
.wa .wa-frame .wa-profile .wa-block--first .wa-block__body {
  padding-top: 0;
}
.wa .wa-frame .wa-profile .wa-profile__save {
  margin-top: 24px;
}

/* Field labels: the same small dark label as in the profile box */
.wa .wa-profile .wa-field__label,
.wa .wa-invite .wa-field__label {
  color: #1c2524;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* Notification table: white, rounded, no shouting header */
.wa .wa-matrix {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 12px !important;
}
.wa .wa-matrix__row {
  border-top-color: #edf0f1;
}
.wa .wa-matrix__row--head {
  background: #f6f8f8;
  color: #1c2524;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.wa .wa-matrix__row:not(.wa-matrix__row--head):hover {
  background: #f8faf9;
}
.wa .wa-matrix__name {
  font-size: 15px;
  font-weight: 600;
  color: #1c2524;
}
.wa .wa-matrix__hint {
  font-size: 13px;
  color: #5f6b6a;
}

/* Checkbox switches: the same pill as in the profile box */
.wa input.wa-switch {
  width: 36px;
  height: 20px;
  background: #cdd6d4;
  border: 0;
  border-radius: 999px !important;
}
.wa input.wa-switch::after {
  width: 16px;
  height: 16px;
  border-radius: 50% !important;
  box-shadow: 0 1px 2px rgba(10, 35, 33, 0.25) !important;
}
.wa input.wa-switch:checked {
  background: #00847e;
  border: 0;
}
.wa input.wa-switch:checked::after {
  transform: translateX(16px);
}
.wa input.wa-switch:indeterminate {
  background: #9ccbc9;
  border: 0;
}
.wa input.wa-switch:indeterminate::after {
  transform: translateX(8px);
}

/* Profile box: both small headings alike */
.wa .wa-pbox__label {
  margin-top: 12px;
  color: #1c2524;
  font-size: 13px;
  font-weight: 700;
}

/* ---- Round 11b: posts closer together */
.wa .wa-posts,
.wa .wa-posts__list {
  gap: 10px;
}

/* ---- Round 11b: compact calendar (right column, fits at first sight) */
.wa .wa-cal {
  padding-bottom: 10px;
}
.wa .wa-cal .wa-box__title {
  padding-top: 12px;
  padding-bottom: 2px;
}
.wa .wa-cal__add {
  width: 28px;
  height: 28px;
  margin-top: 6px;
}
.wa .wa-cal__nav {
  padding: 0 12px 2px;
}
.wa .wa-cal__month {
  font-size: 13.5px;
}
.wa .wa-cal__step {
  width: 24px;
  height: 24px;
}
.wa .wa-cal__grid {
  gap: 1px 2px;
  padding: 0 10px;
}
.wa .wa-cal__wd {
  padding: 2px 0;
  font-size: 10.5px;
}
.wa .wa-cal__day {
  aspect-ratio: auto;
  height: 25px;
  min-height: 0;
  border-radius: 7px !important;
  font-size: 12px;
}
.wa .wa-cal__day.is-event::after {
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
}
.wa .wa-cal__legend {
  padding: 6px 16px 0;
  font-size: 11px;
}
.wa .wa-cal__up {
  margin: 8px 16px 0;
  padding-top: 6px;
}
.wa .wa-cal__uptitle {
  margin-bottom: 2px;
  font-size: 12.5px;
}
.wa .wa-cal__list {
  gap: 0;
}
.wa .wa-cal__item {
  gap: 8px;
  padding: 3px 8px;
}
.wa .wa-cal__chip {
  width: 34px;
  height: 32px;
  border-radius: 8px !important;
}
.wa .wa-cal__chip b {
  font-size: 13px;
}
.wa .wa-cal__chip span {
  font-size: 9.5px;
}
.wa .wa-cal__itext b {
  font-size: 12.5px;
}
.wa .wa-cal__itext span {
  font-size: 11.5px;
}
.wa .wa-cal__source {
  margin: 6px 16px 0;
  font-size: 10px;
}
.wa .wa-cal__modal .wa-cal__item {
  padding: 6px 8px;
}
.wa .wa-cal__modal .wa-cal__chip {
  width: 40px;
  height: 42px;
}

/* ---- Round 11b: add-ins as tiles in a grid (icon + name) */
.wa .wa-addins__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  padding: 6px 14px 14px;
}
.wa .wa-addins__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 12px 8px 10px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 12px !important;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wa .wa-addins__tile:hover {
  border-color: #c4cbca;
  background: #fbfcfc;
}
.wa .wa-addins__tile:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}
.wa .wa-addins__name {
  color: var(--ad-ink, #1c2524);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.wa .wa-addins__tile[data-addin="idea"] .wa-addins__ico {
  color: #b9531a;
}
.wa .wa-addins__tile[data-addin="idea"] .wa-addins__ico svg {
  fill: #f6e3d6;
}
.wa .wa-addins__tile[data-addin="connect"] .wa-addins__ico {
  color: #47812f;
}
.wa .wa-addins__tile[data-addin="connect"] .wa-addins__ico svg {
  fill: #e3eedd;
}

/* ---- Round 11c: right column fits at first sight (profile box tighter) */
.wa .wa-frame__right {
  gap: 12px;
}
.wa .wa-pbox__head.has-cover {
  min-height: 104px;
}
.wa .wa-pbox__head {
  padding-top: 12px;
  padding-bottom: 12px;
}
.wa .wa-pbox__settings {
  padding: 10px 16px 12px;
}
.wa .wa-pbox .wa-qswitch {
  padding: 4px 0;
}
.wa .wa-pbox__label {
  margin-top: 8px;
}
.wa .wa-pbox__links {
  padding: 6px 10px 8px;
}
.wa .wa-pbox__link {
  padding: 7px 10px;
}
/* Coming up: smaller date chips, the source in one line */
.wa .wa-cal__item {
  padding: 2px 8px;
}
.wa .wa-cal__chip {
  width: 32px;
  height: 30px;
}
.wa .wa-cal__chip b {
  font-size: 12.5px;
}
.wa .wa-cal__chip span {
  font-size: 9px;
}
.wa .wa-cal__source {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-cal__day {
  height: 24px;
}
/* Add-ins: three tiles in a row */
.wa .wa-addins__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 12px 12px;
}
.wa .wa-addins__tile {
  min-height: 78px;
  padding: 10px 4px 8px;
  gap: 6px;
}
.wa .wa-addins__name {
  font-size: 12px;
}

/* ---- Round 11d: profile box settings fold open */
.wa .wa-pbox__settoggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% + 12px);
  margin: -4px -6px 0;
  padding: 4px 6px;
  background: transparent;
  border: 0;
  border-radius: 8px !important;
  font: inherit;
  cursor: pointer;
}
.wa .wa-pbox__settoggle:hover {
  background: #fff;
}
.wa .wa-pbox__settoggle .wa-eyebrow {
  margin: 0;
}
.wa .wa-pbox__settoggle svg {
  color: #55605f;
  transform: rotate(90deg);
  transition: transform 0.15s ease;
}
.wa .wa-pbox__settoggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
.wa .wa-pbox__setbody {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}
.wa .wa-pbox__setbody[hidden] {
  display: none;
}
.wa .wa-pbox__settings.is-folded {
  padding-bottom: 10px;
}

/* ---- Round 11e: left column fits too (tighter news rows, smaller tiles) */
.wa .wa-activity__item {
  padding: 7px 10px;
}
.wa .wa-addins__tile {
  min-height: 70px;
}
.wa .wa-menubox .wa-nav__item {
  padding-top: 9px;
  padding-bottom: 9px;
}
.wa .wa-frame__left,
.wa .wa-frame__right {
  gap: 12px;
  padding-bottom: 8px;
}

/* ---- Round 11f: chat bottom edge
   Small shop window: the chat card sits on the bottom of the browser (round
   top, square bottom, like the chat bar); the message field has the same
   rounded corners as the send button everywhere. */
.wa[data-wc-mode="mini"] .wa-page.wa-chat {
  padding-bottom: 0;
}
.wa[data-wc-mode="mini"] .wa-chat .wa-panel {
  border-bottom: 0;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.wa .wa-composer__field {
  border-radius: var(--el-r-ctl, 9px) !important;
}

/* ---- Round 11g: colour icons (menus, add-ins, profile links)
   Selected items are solid green: the icon turns white, details green. */
.wa .wa-cico {
  flex: none;
  overflow: visible;
}
.wa .wa-nav__icon,
.wa .wa-mininav__icon,
.wa .appnav__item-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wa .is-active .wa-cico .m,
.wa [aria-current="page"] .wa-cico .m,
.wa .is-active .wa-cico .a,
.wa [aria-current="page"] .wa-cico .a {
  fill: #fff;
}
.wa .is-active .wa-cico [stroke].m,
.wa [aria-current="page"] .wa-cico [stroke].m,
.wa .is-active .wa-cico [stroke].a,
.wa [aria-current="page"] .wa-cico [stroke].a {
  stroke: #fff;
}
.wa .is-active .wa-cico .s,
.wa [aria-current="page"] .wa-cico .s {
  fill: #fff;
  fill-opacity: 0.55;
}
.wa .is-active .wa-cico .d,
.wa [aria-current="page"] .wa-cico .d {
  fill: #00756f;
  fill-opacity: 1;
}
.wa .is-active .wa-cico [stroke].d,
.wa [aria-current="page"] .wa-cico [stroke].d {
  stroke: #00756f;
  stroke-opacity: 1;
}
.wa .is-active .wa-cico [fill="none"],
.wa [aria-current="page"] .wa-cico [fill="none"] {
  fill: none;
}
.wa .wa-nav__icon .wa-cico {
  width: 24px !important;
  height: 24px !important;
}
.wa .wa-mininav__icon .wa-cico,
.wa .appnav__item-ico .wa-cico {
  width: 22px !important;
  height: 22px !important;
}
.wa .wa-pbox__link .wa-cico {
  width: 20px !important;
  height: 20px !important;
}
.wa .wa-addins__ico .wa-cico {
  width: 32px !important;
  height: 32px !important;
}
.wa .wa-menubox .wa-nav__item {
  padding-top: 7px;
  padding-bottom: 7px;
}

/* ---- Round 12: chat bottoms
   The chat window is the only frame: the chat card inside it has no corners,
   border or shadow of its own (they showed as a second set of round corners
   at the bottom of the small window and around the middle column of the big
   chat). The window clips its panes to its own corners. */
.wa .wa-dock .wa-chat .wa-panel,
.wa[data-wc-mode="mini"] .wa-chat .wa-panel {
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wa .wa-dock .wa-dock__win {
  overflow: hidden;
}
/* Small shop window: the chat fills the window edge to edge */
.wa[data-wc-mode="mini"] .wa-page.wa-chat {
  padding: 0;
}
.wa[data-wc-mode="mini"] .wa-chat .wa-chat__scroll {
  padding-left: 16px;
  padding-right: 16px;
}

/* ---- Round 12b: big chat (in the middle column) less white
   Side columns in the grey card look of the Academy boxes, the message
   area a very light grey; bubbles of others white, the field stays white. */
.wa .wa-dock[data-state="full"] .wa-dock__people,
.wa .wa-dock[data-state="full"] .wa-dock__files {
  background: var(--el-card-bg, #f1f3f5);
  border-color: var(--el-card-line, #e0e4e7);
}
.wa .wa-dock[data-state="full"] .wa-dock__searchbox {
  background: #fff;
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-chat .wa-panel,
.wa .wa-dock[data-state="full"] .wa-chat__scroll {
  background: #f5f7f7;
}
.wa .wa-dock[data-state="full"] .wa-msg:not(.is-mine) .wa-bubble:not(.wa-bubble--emoji) {
  background: #fff;
  border: 1px solid #e3e8ea;
}
.wa .wa-dock[data-state="full"] .wa-composer {
  background: #fff;
  border-top-color: var(--el-card-line, #e0e4e7);
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-chat .wa-panel,
.wa .wa-dock[data-state="full"] .wa-chat__scroll {
  background: #ebf0ee;
}
.wa .wa-dock[data-state="full"] .wa-dock__people,
.wa .wa-dock[data-state="full"] .wa-dock__files {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 55%, rgba(31, 41, 55, 0.04) 100%), #f3f5f6;
}

/* ---- Round 12c: lighter cards (user: "a bit too grey")
   Same sheen, base #f6f7f9 instead of #f1f3f5; the big chat follows. */
.wa {
  --el-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0) 60%, rgba(31, 41, 55, 0.025) 100%), #f6f7f9;
}
.wa .wa-dock[data-state="full"] .wa-dock__chat,
.wa .wa-dock[data-state="full"] .wa-chat .wa-panel,
.wa .wa-dock[data-state="full"] .wa-chat__scroll {
  background: #f1f5f3;
}
.wa .wa-dock[data-state="full"] .wa-dock__people,
.wa .wa-dock[data-state="full"] .wa-dock__files {
  background: var(--el-card-bg);
}

/* ---- Round 13: news text one line (the box keeps the Add-ins on screen) */
.wa .wa-activity__excerpt {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.wa .wa-activity__item {
  padding: 5px 10px;
}
.wa .wa-addins__tile {
  padding: 8px 4px 6px;
}

/* ---- Round 13: Archiv card icons (colour set, no tinted box) */
.wa .wa-qa__ico {
  display: inline-flex;
  flex: none;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.wa .wa-qa__ico .wa-cico {
  width: 44px !important;
  height: 44px !important;
}

/* ---- Round 13: Industry Network window */
.wa .wa-net__modal {
  width: min(760px, calc(100vw - 32px));
}
.wa .wa-net {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa .wa-net__hint {
  margin: 0;
  padding: 10px 12px;
  background: #f1f7f6;
  border: 1px solid #d6e9e6;
  border-radius: 10px !important;
  color: #2b3136;
  font-size: 13.5px;
}
.wa .wa-net__hint a {
  color: #00706b;
  font-weight: 700;
}
.wa .wa-net__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.wa .wa-net__search {
  flex: 1 1 240px;
  min-width: 0;
}
.wa .wa-net__seg {
  flex: none;
  margin: 0;
}
.wa .wa-net__seg .wa-qseg__btn {
  padding: 0 14px;
}
.wa .wa-net__count {
  color: #5f6b6a;
  font-size: 13px;
  font-weight: 600;
}
.wa .wa-net__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: min(56vh, 520px);
  margin: 0;
  padding: 2px;
  overflow-y: auto;
  list-style: none;
}
.wa .wa-net__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 12px !important;
}
.wa .wa-net__ava {
  position: relative;
  flex: none;
}
.wa .wa-net__ava .wa-avatar {
  width: 44px;
  height: 44px;
}
.wa .wa-net__dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  background: #2fb36b;
  border: 2px solid #fff;
  border-radius: 50% !important;
}
.wa .wa-net__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-net__name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #1c2524;
  font-size: 14.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-net__sub {
  overflow: hidden;
  color: #55605f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wa .wa-net__sub.is-empty {
  color: #9aa3a3;
  font-style: italic;
}
/* Add-ins: two rows of compact tiles (round 13: four and more add-ins) */
.wa .wa-addins__grid {
  gap: 6px;
  padding: 2px 12px 12px;
}
.wa .wa-addins__tile {
  min-height: 62px;
  padding: 7px 4px 6px;
  gap: 4px;
}
.wa .wa-addins__ico .wa-cico {
  width: 26px !important;
  height: 26px !important;
}
.wa .wa-addins__name {
  font-size: 11.5px;
}
.wa .wa-addins .wa-box__title {
  padding-top: 12px;
}
.wa .wa-net__seg .wa-qseg__btn {
  white-space: nowrap;
}

/* ---- Round 13: Product Explorer (3D) */
.wa .wa-px__modal {
  width: min(1100px, calc(100vw - 32px));
}
.wa .wa-px {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
}
.wa .wa-px__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wa .wa-px__line {
  margin: 10px 0 4px;
  color: #1c2524;
  font-size: 13px;
  font-weight: 700;
}
.wa .wa-px__line:first-child {
  margin-top: 0;
}
.wa .wa-px__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 9px !important;
  color: #2b3136;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.wa .wa-px__item:hover {
  background: #f1f5f4;
}
.wa .wa-px__item[aria-selected="true"] {
  background: #00756f;
  color: #fff;
  font-weight: 600;
}
.wa .wa-px__swatch {
  flex: none;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 55%), var(--px, #888);
  border: 2px solid #fff;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15) !important;
}
.wa .wa-px__main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.wa .wa-px__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.wa .wa-px__names {
  display: flex;
  flex-direction: column;
}
.wa .wa-px__title {
  color: #1c2524;
  font-size: 20px;
}
.wa .wa-px__sub {
  color: #5f6b6a;
  font-size: 13.5px;
}
.wa .wa-px__shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00706b;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.wa .wa-px__shop:hover {
  text-decoration: underline;
}
.wa .wa-px__view {
  position: relative;
}
.wa .wa-px__stage {
  position: relative;
  height: min(60vh, 540px);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #ffffff 0, #f2f5f5 55%, #e3e9ea 100%);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 14px !important;
}
.wa .wa-px__stage:fullscreen {
  height: 100%;
  border-radius: 0 !important;
}
.wa .wa-px__stage > .wa-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wa .wa-px__mv {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: #00847e;
}
.wa .wa-px__tools {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
}
.wa .wa-px__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 9px !important;
  color: #2b3136;
  cursor: pointer;
}
.wa .wa-px__tool:hover {
  background: #eef3f2;
  color: #00534f;
}
.wa .wa-px__tool[aria-pressed="true"] {
  background: #00756f;
  color: #fff;
}
.wa .wa-px__help {
  margin: 0;
  color: #5f6b6a;
  font-size: 12.5px;
}
@media (max-width: 760px) {
  .wa .wa-px {
    grid-template-columns: minmax(0, 1fr);
  }
  .wa .wa-px__list {
    flex-flow: row wrap;
    gap: 6px;
  }
  .wa .wa-px__line {
    width: 100%;
    margin: 4px 0 0;
  }
  .wa .wa-px__item {
    width: auto;
    background: #f1f5f4;
  }
  .wa .wa-px__stage {
    height: 46vh;
  }
}

/* ---- Round 13d: Product Explorer tour (points on the model, card) */
.wa .wa-px__headacts {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.wa .wa-px__tour {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: #00847e;
  border: 0;
  border-radius: 999px !important;
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.wa .wa-px__tour:hover {
  background: #006d68;
}
/* Points on the model */
.wa .wa-px__hs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wa .wa-px__hs.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.wa .wa-px__hsdot {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff;
  border: 2px solid #00847e;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18) !important;
  color: #00534f;
  font-size: 12.5px;
  font-weight: 800;
}
.wa .wa-px__hs.is-active .wa-px__hsdot {
  background: #00847e;
  color: #fff;
}
.wa .wa-px__hs.is-active .wa-px__hsdot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(0, 132, 126, 0.45);
  border-radius: 50% !important;
  animation: wa-px-pulse 1.6s ease-out infinite;
}
@keyframes wa-px-pulse {
  from { transform: scale(0.7); opacity: 1; }
  to { transform: scale(1.5); opacity: 0; }
}
.wa .wa-px__hslabel {
  max-width: 220px;
  padding: 5px 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 999px !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1) !important;
  color: #1c2524;
  font-size: 12.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wa .wa-px__hs.is-active .wa-px__hslabel,
.wa .wa-px__hs:hover .wa-px__hslabel,
.wa .wa-px__hs:focus-visible .wa-px__hslabel {
  opacity: 1;
}
/* Tour card */
.wa .wa-px__card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(380px, calc(100% - 28px));
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-left: 0;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14) !important;
  animation: wa-px-card 0.35s ease;
}
.wa .wa-px__card[hidden] {
  display: none;
}
@keyframes wa-px-card {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wa .wa-px__step {
  color: #00847e;
  font-size: 12px;
  font-weight: 700;
}
.wa .wa-px__ctitle {
  color: #1c2524;
  font-size: 16.5px;
  line-height: 1.25;
}
.wa .wa-px__ctext {
  margin: 2px 0 6px;
  color: #3d4746;
  font-size: 13.5px;
  line-height: 1.5;
}
.wa .wa-px__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa .wa-px__dots {
  display: inline-flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
}
.wa .wa-px__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #cdd6d4;
  border: 0;
  border-radius: 999px !important;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.wa .wa-px__dot[aria-current="true"] {
  width: 20px;
  background: #00847e;
}
.wa .wa-px__navbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: #eef3f2;
  border: 0;
  border-radius: 8px !important;
  color: #00534f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.wa .wa-px__navbtn:disabled {
  opacity: 0.4;
  cursor: default;
}
.wa .wa-px__navbtn--next {
  background: #00847e;
  color: #fff;
}
@media (max-width: 760px) {
  .wa .wa-px__card {
    position: static;
    width: auto;
    margin-top: 10px;
    box-shadow: none !important;
  }
  .wa .wa-px__hslabel {
    display: none;
  }
}

/* Points: the element is just the number (the viewer centres it on the 3D
   point); the label floats beside it. */
.wa .wa-px__hs {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}
.wa .wa-px__hslabel {
  position: absolute;
  top: 50%;
  left: 34px;
  transform: translateY(-50%);
  pointer-events: none;
}
.wa .wa-px__hs.is-active {
  z-index: 2;
}

/* ---- Round 13e: explorer scenes (no auto-rotate; card table + drawn line) */
/* Anchor points on the model are invisible; the line ends there. */
.wa .wa-px__hs {
  position: relative;
  display: block;
  width: 2px;
  height: 2px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.wa .wa-px__view {
  position: relative;
}
.wa .wa-px__view:fullscreen {
  background: #fff;
}
.wa .wa-px__view:fullscreen .wa-px__stage {
  height: 100%;
  border-radius: 0 !important;
}
.wa .wa-px__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wa .wa-px__lines.is-on {
  opacity: 1;
}
.wa .wa-px__path {
  filter: drop-shadow(0 1px 1.5px rgba(160, 80, 0, 0.25));
}
.wa .wa-px__start {
  fill: #f0861d;
}
.wa .wa-px__end {
  fill: #ffc23d;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wa .wa-px__end-ring {
  fill: none;
  stroke: rgba(255, 176, 40, 0.75);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.wa .wa-px__lines.is-drawn .wa-px__end {
  opacity: 1;
}
.wa .wa-px__lines.is-drawn .wa-px__end-ring {
  animation: wa-px-ring 1.6s ease-out infinite;
}
@keyframes wa-px-ring {
  from { opacity: 1; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.6); }
}
/* Scene card: title and a small table */
.wa .wa-px__card {
  z-index: 2;
  width: min(400px, calc(100% - 28px));
  padding: 12px 16px 12px;
  animation: none;
}
.wa .wa-px__card.is-in {
  animation: wa-px-card 0.35s ease;
}
.wa .wa-px__cardhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wa .wa-px__cardx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 7px !important;
  color: #5f6b6a;
  cursor: pointer;
}
.wa .wa-px__cardx:hover {
  background: #eef3f2;
}
.wa .wa-px__table {
  width: 100%;
  margin: 6px 0 8px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
}
.wa .wa-px__table th,
.wa .wa-px__table td {
  padding: 6px 0;
  border-top: 1px solid #edf0f1;
  text-align: left;
  vertical-align: top;
}
.wa .wa-px__table tr:first-child th,
.wa .wa-px__table tr:first-child td {
  border-top: 0;
}
.wa .wa-px__table th {
  width: 34%;
  padding-right: 12px;
  color: #b9531a;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}
.wa .wa-px__table td {
  color: #1c2524;
}
.wa .wa-px__tour.is-on {
  background: #f0861d;
}
.wa .wa-px__tour.is-on:hover {
  background: #d9741a;
}
@media (max-width: 760px) {
  .wa .wa-px__lines {
    display: none;
  }
}
/* Scene card top left; the line leaves from its right edge */
.wa .wa-px__card {
  top: 14px;
  bottom: auto;
  width: min(360px, calc(100% - 28px));
}

/* ---- Round 13f: scene card in the Academy card look */
.wa .wa-px__lines {
  z-index: 2;
}
/* Card: same surface, line, corners and shadow as the Academy boxes */
.wa .wa-px__card {
  z-index: 3;
  padding: 14px 16px 12px;
  background: var(--el-card-bg, #f6f7f9);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card, 14px) !important;
  box-shadow: var(--el-shadow, 0 6px 18px rgba(15, 23, 42, 0.08)) !important;
}
.wa .wa-px__step {
  color: #5f6b6a;
  font-size: 12px;
  font-weight: 600;
}
.wa .wa-px__ctitle {
  margin-top: 2px;
  color: #1c2524;
  font-size: 17px;
  font-weight: 700;
}
.wa .wa-px__table {
  margin: 8px 0 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px !important;
}
.wa .wa-px__table th,
.wa .wa-px__table td {
  padding: 7px 10px;
  border-top: 1px solid #edf0f1;
}
.wa .wa-px__table th {
  color: #5f6b6a;
  font-size: 12.5px;
  font-weight: 600;
}
.wa .wa-px__table td {
  color: #1c2524;
  font-size: 13px;
}
.wa .wa-px__navbtn {
  height: 32px;
  border-radius: var(--el-r-ctl, 9px) !important;
}
.wa .wa-px__navbtn--next {
  padding: 0 14px;
  background: #00847e;
  color: #fff;
}
.wa .wa-px__navbtn--next:hover {
  background: #006d68;
}
.wa .wa-px__navbtn:not(.wa-px__navbtn--next) {
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  color: #2b3136;
}
.wa .wa-px__cardx {
  border-radius: var(--el-r-ctl, 9px) !important;
}
.wa .wa-px__cardx:hover {
  background: #fff;
}
/* "Tour starten" in the Academy button style; orange only while it plays */
.wa .wa-px__tour {
  border-radius: var(--el-r-ctl, 9px) !important;
}

/* ---- Round 13g: card cross-fade, warm spotlight */
.wa .wa-px__card,
.wa .wa-px__card.is-in {
  animation: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.wa .wa-px__card.is-out {
  opacity: 0;
  transform: translateY(-6px);
}

/* ---- Round 13i: Industry Network – a mind map to look at (big modal,
   Academy cards, neutral connectors, everything visible at once) */
.wa .wa-mm__modal {
  width: min(1480px, calc(100vw - 32px));
  height: min(940px, calc(100vh - 32px));
}
.wa .wa-mm__modal .wa-modal__body {
  flex: 1;
  padding: 0;
}
.wa .wa-mm__modal .wa-net {
  padding: 16px 18px;
}
.wa .wa-mm__wrap[hidden],
.wa .wa-net[hidden] {
  display: none;
}
.wa .wa-mm__wrap {
  min-height: 100%;
  padding: 16px 18px;
  background: #f2f6f5;
}
.wa .wa-mm {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 52px;
}
.wa .wa-mm__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}
.wa .wa-mm__col.is-mid {
  gap: 34px;
}
.wa .wa-mm__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
/* Branch cards: the Academy card (surface, line, corners, soft shadow) */
.wa .wa-mm__branch {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card, 14px) !important;
  box-shadow: var(--el-shadow, 0 6px 18px rgba(15, 23, 42, 0.08)) !important;
  animation: wa-mm-in 0.45s ease both;
  animation-delay: var(--d, 0s);
}
@keyframes wa-mm-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wa .wa-mm__head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.wa .wa-mm__head > b {
  color: #1c2524;
  font-size: 16px;
}
.wa .wa-mm__src {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
  color: #5f6b6a;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.wa .wa-mm__src span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa .wa-mm__src:hover {
  color: #00706b;
  text-decoration: underline;
}
/* Rows: the calendar's "Nächste Termine" look (chip + title + grey line) */
.wa .wa-mm__rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa .wa-mm__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 3px 6px;
  margin: 0 -6px;
  border-radius: var(--el-r-ctl, 9px) !important;
  color: inherit;
  text-decoration: none;
}
.wa .wa-mm__row.is-link:hover {
  background: #f1f5f4;
}
.wa .wa-mm__rows.is-tight .wa-mm__row {
  padding-top: 1px;
  padding-bottom: 1px;
}
.wa .wa-mm__chip {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: 8px !important;
  line-height: 1.05;
}
.wa .wa-mm__chip.is-one {
  height: 24px;
}
.wa .wa-mm__chip b {
  color: #00847e;
  font-size: 13px;
}
.wa .wa-mm__chip span {
  color: #7e8686;
  font-size: 10px;
  font-weight: 600;
}
.wa .wa-mm__rtext {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.wa .wa-mm__rtext b {
  color: #1c2524;
  font-size: 13px;
  font-weight: 600;
}
.wa .wa-mm__rtext span {
  color: #5f6b6a;
  font-size: 12px;
}
.wa .wa-mm__rows.is-tight .wa-mm__rtext b {
  font-weight: 500;
}
.wa .wa-mm__branch--press .wa-mm__rtext b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.wa .wa-mm__ico {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f4f7f6;
  border-radius: 10px !important;
}
.wa .wa-mm__swatch {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0 9px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 55%), var(--px, #888);
  border-radius: 50% !important;
}
.wa .wa-mm__award {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa .wa-mm__award .wa-mm__rtext b {
  font-size: 14px;
  font-weight: 700;
}
/* Community: avatars, numbers, the way into the member list */
.wa .wa-mm__comm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa .wa-mm__commtop {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa .wa-mm__avas {
  display: flex;
}
.wa .wa-mm__ava {
  display: inline-flex;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50% !important;
}
.wa .wa-mm__ava:first-child {
  margin-left: 0;
}
.wa .wa-mm__ava .wa-ava,
.wa .wa-mm__ava img {
  width: 30px;
  height: 30px;
}
.wa .wa-mm__members {
  color: #1c2524;
  font-size: 13px;
}
.wa .wa-mm__ctext {
  margin: 0;
  color: #5f6b6a;
  font-size: 12.5px;
  line-height: 1.45;
}
.wa .wa-mm__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 4px;
  padding: 8px 14px;
  background: #00847e;
  border: 0;
  border-radius: var(--el-r-ctl, 9px) !important;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.wa .wa-mm__btn:hover {
  background: #006d68;
}
.wa .wa-mm__btn.is-ghost {
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  color: #1c2524;
}
.wa .wa-mm__btn.is-ghost:hover {
  background: #f1f5f4;
}
/* Core: Wolfram Industrie as the solid green centre (like a selected item) */
.wa .wa-mm__core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  background: #00756f;
  border-radius: var(--el-r-card, 14px) !important;
  box-shadow: var(--el-shadow, 0 6px 18px rgba(15, 23, 42, 0.08)) !important;
  color: #fff;
  animation: wa-mm-in 0.45s ease both;
}
.wa .wa-mm__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa .wa-mm__logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 12px !important;
}
.wa .wa-mm__logo img {
  width: 38px;
  height: 38px;
}
.wa .wa-mm__name {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}
.wa .wa-mm__tag {
  color: #bfe6e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wa .wa-mm__lead {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.wa .wa-mm__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.wa .wa-mm__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px !important;
}
.wa .wa-mm__stat b {
  font-size: 20px;
  line-height: 1.1;
}
.wa .wa-mm__stat span {
  color: #d4efeb;
  font-size: 11.5px;
  line-height: 1.3;
}
.wa .wa-mm__unique {
  margin: 0;
  color: #e6f6f3;
  font-size: 13px;
  line-height: 1.45;
}
.wa .wa-mm__core .wa-mm__src {
  margin-left: 0;
  color: #d4efeb;
}
.wa .wa-mm__core .wa-mm__src:hover {
  color: #fff;
}
@media (max-width: 1100px) {
  .wa .wa-mm {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }
  .wa .wa-mm__col {
    display: contents;
  }
  .wa .wa-mm__core {
    grid-column: 1 / -1;
    order: -1;
  }
  .wa .wa-mm__lines {
    display: none;
  }
}
@media (max-width: 700px) {
  .wa .wa-mm__modal {
    height: calc(100vh - 16px);
  }
  .wa .wa-mm {
    grid-template-columns: minmax(0, 1fr);
  }
  .wa .wa-mm__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Round 13i: tour progress in the scene card (shown while the tour plays) */
.wa .wa-px__time {
  margin-left: auto;
  margin-right: 6px;
  color: #5f6b6a;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wa .wa-px__prog {
  display: none;
  margin: 8px 0 2px;
}
.wa .wa-px__card.is-touring .wa-px__prog {
  display: block;
}
.wa .wa-px__card:not(.is-touring) .wa-px__time {
  display: none;
}
.wa .wa-px__bars {
  display: flex;
  gap: 4px;
}
.wa .wa-px__bars i {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  background: #e3e8e7;
  border-radius: 4px !important;
}
.wa .wa-px__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00847e;
  border-radius: 4px !important;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.wa .wa-px__card.is-paused .wa-px__bars i::after {
  background: #9aa3a3;
}
.wa .wa-net__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-ctl, 9px) !important;
  color: #2b3136;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
/* Industry Network on shorter screens: the same map, a bit tighter */
@media (min-width: 1101px) and (max-height: 960px) {
  .wa .wa-mm__wrap {
    padding: 12px 16px;
  }
  .wa .wa-mm__col {
    gap: 14px;
  }
  .wa .wa-mm__col.is-mid {
    gap: 22px;
  }
  .wa .wa-mm__branch {
    gap: 6px;
    padding: 10px 14px;
  }
  .wa .wa-mm__core {
    gap: 10px;
    padding: 16px 18px;
  }
  .wa .wa-mm__rtext {
    line-height: 1.25;
  }
  .wa .wa-mm__rtext span {
    font-size: 11.5px;
  }
  .wa .wa-mm__ctext {
    display: none;
  }
  .wa .wa-mm__row {
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

/* ---- Round 13j: profile + background picture in Profileinstellungen */
.wa .wa-pics {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 6px;
}
.wa .wa-pics__preview {
  position: relative;
  padding-bottom: 34px;
}
.wa .wa-pics__cover {
  height: 120px;
  background: linear-gradient(135deg, #e2f1ee 0, #cfe6e2 100%);
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card, 14px) !important;
}
.wa .wa-pics__cover.has-cover {
  background: linear-gradient(180deg, #001e1c00 40%, #001e1c66 100%), var(--wa-cover) center / cover no-repeat, #e2f1ee;
}
.wa .wa-pics__preview .wa-pic__ava {
  position: absolute;
  left: 18px;
  bottom: 0;
  display: inline-flex;
  padding: 3px;
  background: #fff;
  border-radius: 50% !important;
}
.wa .wa-pics__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.wa .wa-pics__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 12px;
  background: #f4f7f6;
  border-radius: var(--el-r-ctl, 9px) !important;
}
.wa .wa-pics__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1c2524;
  font-size: 14px;
}
.wa .wa-pics__row .wa-pic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 760px) {
  .wa .wa-pics {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Round 13j: mind-map core with the headquarters photo, dark overlay, full logo */
.wa .wa-mm__core.has-photo {
  background:
    linear-gradient(180deg, rgba(0, 38, 36, 0.78) 0, rgba(0, 46, 43, 0.86) 55%, rgba(0, 40, 38, 0.94) 100%),
    var(--mm-photo) center 40% / cover no-repeat,
    #00534f;
}
.wa .wa-mm__logofull {
  display: block;
  width: min(250px, 70%);
  height: auto;
  margin: 2px auto 2px;
}
.wa .wa-mm__core .wa-mm__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.wa .wa-mm__core .wa-mm__tag {
  color: #9fd8d0;
  font-size: 11.5px;
}
.wa .wa-mm__core.has-photo .wa-mm__stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.wa .wa-mm__core .wa-mm__unique {
  text-align: center;
}
.wa .wa-mm__core .wa-mm__src {
  align-self: center;
}

/* ---- Round 13j: core = logo, header, description, link; coloured vines; fits one screen */
.wa .wa-mm__core {
  align-items: center;
  gap: 10px;
  padding: 26px 26px 22px;
  text-align: center;
}
.wa .wa-mm__core .wa-mm__lead {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.wa .wa-mm__desc {
  max-width: 440px;
  margin: 0;
  color: #dcefec;
  font-size: 13.5px;
  line-height: 1.55;
}
.wa .wa-mm__corelink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 16px;
  background: #fff;
  border-radius: var(--el-r-ctl, 9px) !important;
  color: #00534f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.wa .wa-mm__corelink:hover {
  background: #e2f1ee;
}
.wa .wa-mm__logofull {
  width: min(270px, 78%);
}
/* Vines: grow from the core one after the other */
.wa .wa-mm__vine,
.wa .wa-mm__vine-soft {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: wa-mm-grow 0.9s cubic-bezier(.45, 0, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}
.wa .wa-mm__vine {
  stroke-width: 2.6;
}
.wa .wa-mm__vine-soft {
  stroke-width: 9;
  stroke-opacity: 0.12;
}
.wa .wa-mm__vine.is-static,
.wa .wa-mm__vine-soft.is-static {
  animation: none;
  stroke-dashoffset: 0;
}
@keyframes wa-mm-grow {
  to { stroke-dashoffset: 0; }
}
.wa .wa-mm__bud {
  stroke: #fff;
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: wa-mm-bud 0.35s ease forwards;
  animation-delay: var(--d, 0s);
}
.wa .wa-mm__root {
  fill: #00847e;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  animation: wa-mm-bud 0.3s ease forwards;
  animation-delay: var(--d, 0s);
}
.wa .wa-mm__bud.is-static,
.wa .wa-mm__root.is-static {
  animation: none;
  opacity: 1;
}
@keyframes wa-mm-bud {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 1101px) {
  .wa .wa-mm__wrap {
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
  }
  .wa .wa-mm__modal .wa-netmap {
    height: 100%;
  }
  .wa .wa-mm__modal .wa-modal__body {
    min-height: 0;
  }
  .wa .wa-mm {
    transform-origin: top center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa .wa-mm__vine,
  .wa .wa-mm__vine-soft,
  .wa .wa-mm__bud,
  .wa .wa-mm__root {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* ---- Round 13k: a lighter mind map – smaller cards and type, room for the vines */
@media (min-width: 1101px) {
  .wa .wa-mm {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 0 96px;
    max-width: 1360px;
    margin: 0 auto;
  }
  .wa .wa-mm__col {
    gap: 22px;
  }
  .wa .wa-mm__col.is-mid {
    gap: 44px;
  }
}
.wa .wa-mm__branch {
  gap: 6px;
  padding: 10px 12px 11px;
  animation: wa-mm-pop 0.5s cubic-bezier(.2, .9, .3, 1.2) both;
  animation-delay: var(--d, 0s);
}
@keyframes wa-mm-pop {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}
.wa .wa-mm__head {
  gap: 7px;
}
.wa .wa-mm__head > b {
  font-size: 14px;
}
.wa .wa-mm__src {
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px !important;
}
.wa .wa-mm__src:hover {
  background: #f1f5f4;
}
.wa .wa-mm__row {
  gap: 8px;
  padding: 2px 6px;
}
.wa .wa-mm__rtext b {
  font-size: 12px;
}
.wa .wa-mm__rtext span {
  font-size: 11px;
}
.wa .wa-mm__rows.is-tight .wa-mm__rtext b {
  font-size: 12px;
}
.wa .wa-mm__chip {
  width: 38px;
  height: 28px;
  border-radius: 7px !important;
}
.wa .wa-mm__chip.is-one {
  height: 20px;
}
.wa .wa-mm__chip b {
  font-size: 11.5px;
}
.wa .wa-mm__chip span {
  font-size: 9px;
}
.wa .wa-mm__ico {
  width: 28px;
  height: 28px;
  border-radius: 8px !important;
}
.wa .wa-mm__ico svg {
  width: 18px;
  height: 18px;
}
.wa .wa-mm__swatch {
  width: 14px;
  height: 14px;
  margin: 0 7px;
}
.wa .wa-mm__award .wa-mm__rtext b {
  font-size: 12.5px;
}
.wa .wa-mm__btn {
  padding: 6px 12px;
  font-size: 12px;
}
.wa .wa-mm__ava .wa-ava,
.wa .wa-mm__ava img {
  width: 26px;
  height: 26px;
}
.wa .wa-mm__members {
  font-size: 12px;
}
/* Core: smaller, the first thing on screen */
.wa .wa-mm__core {
  gap: 8px;
  padding: 20px 20px 18px;
  animation: wa-mm-pop 0.5s ease both;
  animation-delay: 0.05s;
}
.wa .wa-mm__logofull {
  width: min(200px, 72%);
}
.wa .wa-mm__core .wa-mm__lead {
  font-size: 14.5px;
}
.wa .wa-mm__desc {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.5;
}
.wa .wa-mm__corelink {
  margin-top: 4px;
  padding: 6px 12px;
  font-size: 12px;
}
.wa .wa-mm__vine,
.wa .wa-mm__vine-soft {
  animation-duration: 1s;
}
.wa .wa-mm__vine {
  stroke-width: 2.4;
}
.wa .wa-mm__vine-soft {
  stroke-width: 8;
}

/* ---- Round 13l: chat window head – colour icons on white tiles */
.wa .wa-dock__headico.is-colour,
.wa .wa-dock__barico.is-colour {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 11px !important;
}
.wa .wa-dock__headico.is-colour svg,
.wa .wa-dock__barico.is-colour svg,
.wa .wa-dock[data-state="full"] .wa-dock__headico.is-colour svg {
  width: 24px;
  height: 24px;
  fill: none;
}
.wa .wa-dock__hbtn.is-colour,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn.is-colour {
  width: 36px;
  height: 36px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px !important;
}
.wa .wa-dock__hbtn.is-colour:hover,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn.is-colour:hover {
  background: #fff;
}
.wa .wa-dock__hbtn.is-colour[aria-pressed="true"],
.wa .wa-dock[data-state="full"] .wa-dock__hbtn.is-colour[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35) !important;
}
.wa .wa-dock__hbtn.is-colour svg,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn--pane.is-colour svg {
  width: 21px;
  height: 21px;
  fill: none;
}

/* ---- Round 13l: Industry Network modal as high as its map (no empty space) */
@media (min-width: 1101px) {
  .wa .wa-mm__modal {
    height: auto;
    max-height: calc(100vh - 32px);
  }
  .wa .wa-mm__modal .wa-netmap {
    height: auto;
  }
  .wa .wa-mm__modal .wa-mm__wrap {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .wa .wa-mm__modal .wa-modal__body {
    flex: 0 1 auto;
  }
}
.wa .wa-dock .wa-dock__hbtn.is-colour[aria-pressed="true"],
.wa .wa-dock[data-state] .wa-dock__hbtn.is-colour[aria-pressed="true"] {
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4) !important;
}

/* ---- Round 13m: no tiles – warm colour icons straight on the green head */
.wa .wa-dock__headico.is-colour,
.wa .wa-dock__barico.is-colour {
  width: 38px;
  height: 38px;
  background: none;
  border-radius: 0 !important;
}
.wa .wa-dock__headico.is-colour svg,
.wa .wa-dock__barico.is-colour svg,
.wa .wa-dock[data-state="full"] .wa-dock__headico.is-colour svg {
  width: 32px;
  height: 32px;
}
.wa .wa-dock__hbtn.is-colour,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn.is-colour {
  margin: 0;
  background: none;
  border-radius: 10px !important;
}
.wa .wa-dock__hbtn.is-colour svg,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn--pane.is-colour svg {
  width: 25px;
  height: 25px;
  transition: transform 0.15s ease;
}
.wa .wa-dock__hbtn.is-colour:hover,
.wa .wa-dock[data-state="full"] .wa-dock__hbtn.is-colour:hover {
  background: rgba(255, 255, 255, 0.12);
}
.wa .wa-dock__hbtn.is-colour:hover svg {
  transform: translateY(-1px) scale(1.06);
}
.wa .wa-dock .wa-dock__hbtn.is-colour[aria-pressed="true"],
.wa .wa-dock[data-state] .wa-dock__hbtn.is-colour[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Round 14: the Wolfram Industrie video on the stage of the post viewer
   (stories open on it). It fills the dark stage like a picture; the end
   screen of the trailer covers the stage; arrows stay above it.
   ========================================================================== */
.wa .wa-detail__stage > .wa-slot {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
}
.wa .wa-detail__stage > .wa-slot .wa-slot__frame {
  flex: 1;
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 0 !important;
}
.wa .wa-detail__stage > .wa-slot .wa-slot__video,
.wa[data-wc-mode="page"] .wa-detail__stage > .wa-slot .wa-slot__video {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #041615;
  border-radius: 0 !important;
}
.wa .wa-detail__stage.has-video .wa-detail__nav,
.wa .wa-detail__stage.has-video .wa-detail__counter {
  z-index: 3;
}
.wa .wa-detail__stage.has-video .wa-detail__nav {
  top: 42%;
}

/* Round 14b: comment and reply bubbles white with the neutral card line;
   "Delete" under a comment in red. */
.wa .wa-cmt__bubble {
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-cmt.is-new .wa-cmt__bubble {
  border-color: var(--wa-green-40);
}
.wa .wa-cmt__act.is-danger {
  color: #c0392b;
}
.wa .wa-cmt__act.is-danger:hover {
  color: #962d22;
}

/* Round 14c: post viewer — one row of actions with their numbers instead of
   a counts row plus an action bar; reaction icons on the right. */
.wa .wa-dacts {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 8px 0 6px;
  padding: 2px 8px 8px;
  border-bottom: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-dacts .wa-react--act,
.wa .wa-dacts .wa-share {
  display: flex;
}
.wa .wa-dacts .wa-post__act {
  width: auto;
  gap: 7px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #5f6b6a;
  font-variant-numeric: tabular-nums;
}
.wa .wa-dacts .wa-post__act:hover {
  background: #f1f5f4;
  color: #1c2524;
}
.wa .wa-dacts .wa-post__act.is-on,
.wa .wa-dacts .wa-post__act.is-on:hover {
  color: var(--pal-orange);
}
.wa .wa-dacts .wa-post__act > span:last-child:not(.wa-reaction) {
  display: inline;
}
.wa .wa-dacts .wa-post__act + .wa-post__act::before,
.wa .wa-dacts > * + *::before {
  content: none;
}
.wa .wa-dacts__who {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 5px 6px;
  border-radius: var(--el-r-ctl, 10px) !important;
}
.wa .wa-dacts__who:not(:disabled):hover {
  background: #f1f5f4;
}
.wa .wa-dacts__who:disabled {
  cursor: default;
}

/* Round 14c: dialogs take focus themselves on opening (no ring there). */
.wa [role="dialog"]:focus,
.wa [role="dialog"]:focus-visible {
  outline: none;
}

/* Round 14c: reaction list in the Academy look — plain number, chip tabs
   (selected = solid green like the menu), height wraps the list. */
.wa .wa-modal__card.wa-reactlist {
  min-height: 0;
  height: auto;
}
.wa .wa-reactlist .wa-modal__head {
  padding: 16px 16px 14px 22px;
  border-bottom: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-reactlist .wa-modal__title {
  font-size: 16px;
  color: #1c2524;
}
.wa .wa-reactlist .wa-modal__total {
  padding: 0;
  background: none;
  color: #7e8686;
  font-size: 15px;
  font-weight: 600;
  line-height: inherit;
}
.wa .wa-reactlist .wa-tabs {
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--el-card-line, #e0e4e7);
}
.wa .wa-reactlist .wa-tabs .wa-tabs__tab {
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--el-r-ctl, 10px) !important;
  color: #5f6b6a;
  font-size: 13px;
  font-weight: 600;
}
.wa .wa-reactlist .wa-tabs .wa-tabs__tab:hover {
  background: #f1f5f4;
  color: #1c2524;
}
.wa .wa-reactlist .wa-tabs .wa-tabs__tab.is-on,
.wa .wa-reactlist .wa-tabs .wa-tabs__tab.is-on:hover {
  background: #00756f;
  color: #fff;
}
.wa .wa-reactlist .wa-modal__list {
  padding: 8px 0 12px;
}
.wa .wa-reactlist .wa-liker {
  padding: 8px 22px;
}

/* Round 14f: visitor note in the Academy card look — no accent stripe, no
   icon box; title, what the account adds (colour icons), buttons. */
.wa .wa-guestcta.wa-guestcta--v2 {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-left-width: 1px;
  background: #fff;
}
.wa .wa-guestcta__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wa .wa-guestcta__head > svg {
  flex: 0 0 auto;
}
.wa .wa-guestcta--v2 .wa-guestcta__text {
  flex: 1 1 auto;
  gap: 2px;
  font-size: 13.5px;
  color: #5f6b6a;
}
.wa .wa-guestcta--v2 .wa-guestcta__text b {
  font-size: 15.5px;
  color: #1c2524;
}
.wa .wa-guestcta__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0 0 0 48px;
  list-style: none;
}
.wa .wa-guestcta__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1c2524;
  font-size: 13.5px;
  font-weight: 600;
}
.wa .wa-guestcta__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-left: 48px;
}
.wa .wa-guestcta__free {
  color: #7e8686;
  font-size: 12.5px;
}
@container wa (max-width: 520px) {
  .wa .wa-guestcta__perks,
  .wa .wa-guestcta__foot {
    padding-left: 0;
  }
}
.wa[data-wc-mode="mini"] .wa-guestcta--v2 .wa-guestcta__text b {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-guestcta__perks li {
  font-size: 12.5px;
}

/* Round 17: no member list and no online status. The full-screen chat is
   chat | shared files. */
@media (min-width: 1200px) {
  .wa .wa-dock[data-state="full"] .wa-dock__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__chat {
    grid-column: 1;
  }
  .wa .wa-dock[data-state="full"] .wa-dock__files {
    grid-column: 2;
  }
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__grid {
  grid-template-columns: minmax(0, 1fr) 260px;
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__chat {
  grid-column: 1;
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__files {
  grid-column: 2;
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__files {
  grid-column: 1;
}

/* Round 17: on phones the section headings stay smaller than the page title */
@media (max-width: 575.98px) {
  .wa .wa-block__title,
  .wa .wa-qa__cat {
    font-size: 16.5px !important;
    line-height: 1.3;
  }
}

/* Round 17: icon buttons for the pictures in the profile settings (same
   soft tile as the old text buttons, words in the tooltip) */
.wa .wa-icobtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #e6efed;
  border: 0;
  border-radius: var(--el-r-ctl, 10px) !important;
  color: #1f6b63;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.wa .wa-icobtn:hover {
  background: #d5e6e2;
}
.wa .wa-icobtn:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 2px;
}
.wa .wa-icobtn.is-danger {
  background: #f5eaea;
  color: #a8423a;
}
.wa .wa-icobtn.is-danger:hover {
  background: #eedbda;
}
.wa .wa-icobtn[hidden] {
  display: none;
}
.wa .wa-icobtn.is-busy {
  animation: wa-icobtn-busy 0.9s ease-in-out infinite alternate;
}
@keyframes wa-icobtn-busy {
  to {
    opacity: 0.45;
  }
}

/* Round 17: back arrow in the pictures/files panel whenever it lies over
   the chat (phones, small window, narrower extended chat) */
.wa .wa-dock__paneback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin: -6px 0 -6px -8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50% !important;
  color: #1c2524;
  cursor: pointer;
}
.wa .wa-dock__paneback:hover {
  background: #eef3f2;
}
.wa .wa-dock__paneback:focus-visible {
  outline: 2px solid #00847e;
  outline-offset: 1px;
}
.wa .wa-dock__paneback + .wa-eyebrow {
  margin-right: auto;
}
@media (min-width: 1200px) {
  .wa .wa-dock[data-state="full"] .wa-dock__paneback {
    display: none;
  }
}
.wa .wa-dock.is-inset.is-roomy[data-state="full"] .wa-dock__paneback {
  display: none;
}
.wa .wa-dock.is-inset:not(.is-roomy)[data-state="full"] .wa-dock__paneback {
  display: inline-flex;
}

/* ==========================================================================
   Round 17: profile pictures. The avatar is always a circle (one rule used to
   shrink only its height). The cover preview on top, below it the two
   picture tiles side by side: label on one line, the buttons under it.
   ========================================================================== */
.wa .wa-avatar--lg {
  flex: none !important;
  aspect-ratio: 1;
}
.wa .wa-pics__preview .wa-avatar {
  flex: none !important;
  width: 84px !important;
  height: 84px !important;
  min-width: 0 !important;
}
.wa .wa-pics {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}
.wa .wa-pics__rows {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.wa .wa-pics__rows > :not(.wa-pics__row) {
  grid-column: 1 / -1;
}
.wa .wa-pics__row {
  flex-direction: column;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-width: 0;
  padding: 12px 14px !important;
}
.wa .wa-pics__label {
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
}
.wa .wa-pics__label b {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
  .wa .wa-pics__preview .wa-avatar {
    width: 68px !important;
    height: 68px !important;
  }
  .wa .wa-pics__cover {
    height: 96px;
  }
  .wa .wa-pics__row {
    padding: 10px 12px !important;
  }
  .wa .wa-pics__label {
    gap: 7px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   Round 17: the small Academy window is compact. Smaller type, headings and
   spacing so as much as possible is visible at once; the active tab names
   the section, so the pages carry no big titles; every section sits on the
   same canvas with the same cards.
   ========================================================================== */
.wa[data-wc-mode="mini"] {
  font-size: 13px;
}
.wa[data-wc-mode="mini"] .wa-mininav {
  gap: 2px;
  padding: 4px 6px;
}
.wa[data-wc-mode="mini"] .wa-mininav__item {
  flex: 1 1 0;
  min-width: 0;
  gap: 2px;
  padding: 5px 2px 4px !important;
  font-size: 11.5px !important;
  line-height: 1.2;
}
.wa[data-wc-mode="mini"] .wa-mininav__icon svg {
  width: 18px !important;
  height: 18px !important;
}
.wa[data-wc-mode="mini"] .wa-mininav__label {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wa[data-wc-mode="mini"] .wa-main > .wa-view > .wa-page {
  padding: 8px 8px 12px !important;
}
.wa[data-wc-mode="mini"] .wa-main > .wa-view > .wa-page.wa-chat {
  padding: 0 !important;
}
.wa[data-wc-mode="mini"] .wa-qa__head,
.wa[data-wc-mode="mini"] .wa-edu__title,
.wa[data-wc-mode="mini"] .wa-edu__lead,
.wa[data-wc-mode="mini"] .wa-profile__head {
  display: none !important;
}
.wa[data-wc-mode="mini"] .wa-main > .wa-view > .wa-page.wa-qa,
.wa[data-wc-mode="mini"] .wa-main > .wa-view > .wa-page.wa-edu {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.wa[data-wc-mode="mini"] .wa-card,
.wa[data-wc-mode="mini"] .wa-box,
.wa[data-wc-mode="mini"] .wa-qa__card,
.wa[data-wc-mode="mini"] .wa-state--card {
  border-radius: 12px !important;
}
.wa[data-wc-mode="mini"] .wa-btn {
  padding: 7px 14px;
  font-size: 12.5px;
}
/* Archiv */
.wa[data-wc-mode="mini"] .wa-qa__filters {
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 4px !important;
  overflow-x: auto;
  scrollbar-width: none;
}
.wa[data-wc-mode="mini"] .wa-qa__filters::-webkit-scrollbar {
  display: none;
}
.wa[data-wc-mode="mini"] .wa-qa__filter {
  flex: none;
  min-height: 0 !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  white-space: nowrap;
}
.wa[data-wc-mode="mini"] .wa-qa__n {
  font-size: 11px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__cat {
  margin: 12px 0 6px !important;
  font-size: 13px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__grid {
  gap: 8px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__ico svg {
  width: 28px !important;
  height: 28px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__text {
  min-width: 0;
}
.wa[data-wc-mode="mini"] .wa-qa__name {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.3;
}
.wa[data-wc-mode="mini"] .wa-qa__desc {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.4;
}
.wa[data-wc-mode="mini"] .wa-qa__meta {
  margin-top: 2px !important;
  font-size: 11px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__actions {
  display: flex !important;
  grid-column: auto !important;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.wa[data-wc-mode="mini"] .wa-qa__btn {
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 0 !important;
  padding: 0 !important;
}
.wa[data-wc-mode="mini"] .wa-qa__btn > span {
  display: none;
}
/* Profil */
.wa[data-wc-mode="mini"] .wa-pics__cover {
  height: 84px;
}
.wa[data-wc-mode="mini"] .wa-pics__preview .wa-avatar {
  width: 60px !important;
  height: 60px !important;
  font-size: 18px !important;
}
.wa[data-wc-mode="mini"] .wa-pics__preview {
  padding-bottom: 26px;
}
.wa[data-wc-mode="mini"] .wa-pics__row {
  gap: 8px !important;
  padding: 10px 12px !important;
}
.wa[data-wc-mode="mini"] .wa-pics__label {
  gap: 7px !important;
  font-size: 12.5px !important;
}
.wa[data-wc-mode="mini"] .wa-icobtn {
  width: 32px;
  height: 32px;
}
.wa[data-wc-mode="mini"] .wa-block__title {
  font-size: 13.5px !important;
}
.wa[data-wc-mode="mini"] .wa-form {
  gap: 10px 12px;
}
.wa[data-wc-mode="mini"] .wa-field__label {
  font-size: 12px;
}
.wa[data-wc-mode="mini"] .wa-input {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}

/* ==========================================================================
   Round 18: every avatar is a circle. Width and height always get the same
   value: the flex size no longer overrides the width, no minimum width
   outlasts a smaller size, and the narrow layout (Academy area up to
   640px, which includes the small window) shrinks the width with the height.
   ========================================================================== */
.wa .wa-avatar {
  flex: none !important;
  min-width: 0 !important;
}
@container wa (max-width: 640px) {
  .wa-avatar {
    width: 30px;
  }
  .wa-avatar--lg {
    width: 64px;
  }
}

/* Round 18: picture tiles - the edit buttons sit right next to the label */
.wa .wa-pics__row {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 8px 10px 8px 14px !important;
}
.wa .wa-pics__label {
  flex: 0 1 auto;
  font-size: 15px !important;
}
.wa .wa-pics__row .wa-pic__actions {
  flex: none;
  flex-wrap: nowrap;
}
@container wa (max-width: 460px) {
  .wa .wa-pics__rows {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* The document preview opened from the small window is mounted on the page:
   this host only carries the Academy's type and tokens. */
.wa.wa-portal {
  position: static;
  display: block;
  height: 0;
  min-height: 0;
  overflow: visible;
  container-type: normal;
  background: none;
  border: 0;
}

/* Round 18: the small window reads bigger - real headings, body text 14px */
.wa[data-wc-mode="mini"] {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-block__title {
  font-size: 17px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__cat {
  font-size: 15.5px !important;
}
.wa[data-wc-mode="mini"] .wa-pics__label {
  font-size: 14.5px !important;
}
.wa[data-wc-mode="mini"] .wa-field__label {
  font-size: 13.5px;
}
.wa[data-wc-mode="mini"] .wa-input {
  font-size: 14px;
}
.wa[data-wc-mode="mini"] .wa-qa__name {
  font-size: 14.5px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__desc {
  font-size: 13px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__meta {
  font-size: 12px !important;
}
.wa[data-wc-mode="mini"] .wa-btn {
  font-size: 13.5px;
}
.wa[data-wc-mode="mini"] .wa-matrix__topic,
.wa[data-wc-mode="mini"] .wa-matrix__name,
.wa[data-wc-mode="mini"] .wa-setrow__name {
  font-size: 14px !important;
}
.wa[data-wc-mode="mini"] .wa-seg__name {
  font-size: 13.5px !important;
}

/* Round 18: the picture tiles are as wide as their content - no empty box */
.wa .wa-pics__rows {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.wa .wa-pics__rows > .wa-pics__row {
  flex: 0 1 auto;
  max-width: 100%;
}
.wa .wa-pics__rows > :not(.wa-pics__row) {
  flex: 1 0 100%;
}

/* ==========================================================================
   Round 18b: the small window reads at normal size. Body text 15px,
   headings 16-18px, nothing below 12.5px.
   ========================================================================== */
.wa[data-wc-mode="mini"] {
  font-size: 15px;
}
.wa[data-wc-mode="mini"] .wa-mininav__item {
  font-size: 13px !important;
}
.wa[data-wc-mode="mini"] .wa-mininav__icon svg {
  width: 20px !important;
  height: 20px !important;
}
.wa[data-wc-mode="mini"] .wa-state,
.wa[data-wc-mode="mini"] .wa-postbox__open,
.wa[data-wc-mode="mini"] .wa-composer__input {
  font-size: 15px !important;
}
.wa[data-wc-mode="mini"] .wa-block__title,
.wa[data-wc-mode="mini"] .wa-watch__title {
  font-size: 18px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__cat,
.wa[data-wc-mode="mini"] .wa-shelf__title {
  font-size: 16.5px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__name,
.wa[data-wc-mode="mini"] .wa-pics__label,
.wa[data-wc-mode="mini"] .wa-matrix__topic,
.wa[data-wc-mode="mini"] .wa-matrix__name,
.wa[data-wc-mode="mini"] .wa-setrow__name,
.wa[data-wc-mode="mini"] .wa-input,
.wa[data-wc-mode="mini"] .wa-watch__desc {
  font-size: 15px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__desc,
.wa[data-wc-mode="mini"] .wa-field__label,
.wa[data-wc-mode="mini"] .wa-seg__name,
.wa[data-wc-mode="mini"] .wa-matrix th,
.wa[data-wc-mode="mini"] .wa-matrix__head span,
.wa[data-wc-mode="mini"] .wa-chan__tab,
.wa[data-wc-mode="mini"] .wa-vcard__title,
.wa[data-wc-mode="mini"] .wa-btn,
.wa[data-wc-mode="mini"] .wa-watch__more,
.wa[data-wc-mode="mini"] .wa-qa__filter {
  font-size: 14px !important;
}
.wa[data-wc-mode="mini"] .wa-qa__meta,
.wa[data-wc-mode="mini"] .wa-qa__n,
.wa[data-wc-mode="mini"] .wa-chan__meta,
.wa[data-wc-mode="mini"] .wa-player__note,
.wa[data-wc-mode="mini"] .wa-watch__meta,
.wa[data-wc-mode="mini"] .wa-vcard__meta {
  font-size: 13px !important;
}

/* ==========================================================================
   Round 18: the calendar fits the right column without scrolling. The month
   switcher shares the row with "Termine"; the month grid always shows in
   full, and "Nächste Termine" takes what height is left, showing only the
   entries that fit whole (the rest wrap into a hidden second column).
   ========================================================================== */
.wa .wa-frame__right > .wa-cal {
  flex: 0 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: start;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__head {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-right: 0;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__nav {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 10px 10px 0 8px;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__grid,
.wa .wa-frame__right > .wa-cal > .wa-cal__legend,
.wa .wa-frame__right > .wa-cal > .wa-cal__up {
  grid-column: 1 / -1;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__grid {
  margin-top: 4px;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__up {
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  column-gap: 40px;
  overflow: hidden;
}
.wa .wa-frame__right > .wa-cal .wa-cal__list {
  display: contents;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__up > *,
.wa .wa-frame__right > .wa-cal .wa-cal__list > * {
  flex: none;
  max-width: 100%;
}
.wa .wa-frame__right > .wa-cal > .wa-cal__up > *,
.wa .wa-frame__right > .wa-cal .wa-cal__list > * {
  width: 100%;
}
.wa .wa-cal__up.is-cut {
  visibility: hidden;
}
.wa[data-wc-mode="mini"] .wa-postbox .wa-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

/* Round 18: "Nächste Termine" in the right column - one line per entry so
   more of them fit; the colour of the date says what kind it is. */
.wa .wa-frame__right .wa-cal__up .wa-cal__item {
  padding: 2px 8px;
}
.wa .wa-frame__right .wa-cal__up .wa-cal__chip {
  flex-direction: row;
  align-items: baseline;
  gap: 3px;
  width: 58px;
  height: 26px;
  padding-top: 5px;
}
.wa .wa-frame__right .wa-cal__up .wa-cal__itext span {
  display: none;
}
.wa .wa-frame__right .wa-cal__up .wa-cal__itext b {
  font-size: 13px;
}

/* ==========================================================================
   Round 18d: ONE type scale for the small window. Every text is one of
   three sizes, the same in every section:
     16px  section headings
     14px  everything else - titles and labels bold, body text regular
     12.5px  small details: sizes, dates, counts, notes, tab labels
   The 14px base is set on every text element (so no old rule can leave a
   stray size); headings and details are named below. Avatar initials scale
   with the avatar.
   ========================================================================== */
.wa[data-wc-mode="mini"] {
  font-size: 14px !important;
}
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) :is(p, span, b, strong, em, i, a, button, label, input, textarea, select, li, td, th, h1, h2, h3, h4, h5, h6, small, time, div, figcaption, summary) {
  font-size: 14px !important;
}
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) :is(.wa-block__title, .wa-qa__cat, .wa-shelf__title, .wa-watch__title, .wa-chan__name, .wa-modal__title, .wa-lesson__title),
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) :is(.wa-block__title, .wa-qa__cat, .wa-shelf__title, .wa-watch__title, .wa-chan__name, .wa-modal__title, .wa-lesson__title) * {
  font-size: 16px !important;
}
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) :is(.wa-qa__meta, .wa-qa__n, .wa-chan__meta, .wa-watch__meta, .wa-player__note, .wa-vcard__meta, .wa-matrix__col, .wa-time, .wa-msg__time, .wa-msg__meta, .wa-post__time, .wa-post__meta, .wa-post__sub, .wa-cmt__meta, .wa-cmt__time, .wa-role, .wa-badge, .wa-note, .wa-field__hint, .wa-counter, .wa-cal__chip, .wa-headline, .wa-msg__headline, .wa-chat__divider, .wa-post__count),
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) :is(.wa-qa__meta, .wa-qa__n, .wa-chan__meta, .wa-watch__meta, .wa-player__note, .wa-vcard__meta, .wa-matrix__col, .wa-time, .wa-msg__time, .wa-msg__meta, .wa-post__time, .wa-post__meta, .wa-post__sub, .wa-cmt__meta, .wa-cmt__time, .wa-role, .wa-badge, .wa-note, .wa-field__hint, .wa-counter, .wa-cal__chip, .wa-headline, .wa-msg__headline, .wa-chat__divider, .wa-post__count) * {
  font-size: 12.5px !important;
}
.wa[data-wc-mode="mini"] .wa-mininav .wa-mininav__item,
.wa[data-wc-mode="mini"] .wa-mininav .wa-mininav__label {
  font-size: 12.5px !important;
}
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) .wa-avatar.wa-avatar {
  font-size: 12px !important;
}
.wa[data-wc-mode="mini"] :is(.wa-main, .wa-modal, .wa-detail) .wa-avatar.wa-avatar--lg {
  font-size: 20px !important;
}

/* ---- Media (2026-11-16): ONE card for both sections, "Media" (YouTube
   channel) and "Schweißwissen / Welding Knowledge" (our own videos). The
   section switch sits at the top of the card; below it both sections use the
   same channel header, shelves, grid and watch view. */
.wa .wa-frame > .wa-view > .wa-page.wa-mediahub,
.wa .wa-mediahub {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1px solid var(--el-card-line, #e0e4e7);
  border-radius: var(--el-r-card, 16px);
  box-shadow: var(--el-shadow) !important;
  overflow: hidden;
}
.wa .wa-mediahub .wa-media__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.wa .wa-mediahub .wa-chan,
.wa .wa-mediahub .wa-chan__banner,
.wa .wa-mediahub .wa-media__content {
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wa .wa-mediahub .wa-media__content {
  flex: 1 1 auto;
}
.wa .wa-mediahub .wa-media__content > .wa-state {
  justify-content: center;
  padding: 48px 16px;
  color: #5f6b6a;
  text-align: center;
}
.wa .wa-mediasec {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #e9eded;
}
.wa .wa-mediasec .wa-seg {
  flex-wrap: nowrap;
}
.wa .wa-mediasec .wa-seg__btn {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 18px;
  white-space: nowrap;
}
.wa .wa-mediasec .wa-seg__btn svg {
  flex: none;
}

/* Our own videos: a frame of the video (or its cover picture) as the still,
   with the length in a badge, like YouTube's thumbnails. */
.wa .wa-vcard__thumb video,
.wa .wa-player__facade video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.wa .wa-vcard__thumb video[hidden],
.wa .wa-player__facade video[hidden] {
  display: none;
}
.wa .wa-player__frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}
.wa .wa-vcard__dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 1px 6px;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.wa .wa-vcard__dur[hidden] {
  display: none;
}

@container wa (max-width: 640px) {
  .wa .wa-mediasec {
    padding: 10px 12px;
  }
  .wa .wa-mediasec .wa-seg {
    width: 100%;
  }
  .wa .wa-mediasec .wa-seg__btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 8px 10px;
  }
}

/* ---- Media shelves: they scroll sideways like the story row on Home, so
   they get the same round arrow buttons instead of the slim scrollbar. */
.wa .wa-shelf__viewport {
  position: relative;
}
.wa .wa-shelf__row {
  scrollbar-width: none;
}
.wa .wa-shelf__row::-webkit-scrollbar {
  display: none;
}
.wa .wa-shelf__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--el-line);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(10, 35, 33, 0.22) !important;
  color: #1c2524;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wa .wa-shelf__nav[hidden] {
  display: none;
}
.wa .wa-shelf__nav:hover {
  background: var(--el-soft);
}
.wa .wa-shelf__nav:active {
  transform: scale(0.95);
}
.wa .wa-shelf__nav.is-prev {
  left: 6px;
}
.wa .wa-shelf__nav.is-next {
  right: 6px;
}
.wa .wa-shelf__nav.is-next svg {
  transform: rotate(180deg);
}
