/*
 * Team Lead realm themes.
 * Loaded only by the explicit futuristic and retro Team Lead templates.
 * The light page continues to use team-lead.css on its own.
 */

body.team-lead-themed {
  --tl-bg: #040512;
  --tl-bg-soft: #09091f;
  --tl-panel: #15102f;
  --tl-panel-strong: #211044;
  --tl-line: rgba(123, 63, 228, 0.48);
  --tl-line-soft: rgba(255, 255, 255, 0.1);
  --tl-ink: #ffffff;
  --tl-muted: rgba(255, 255, 255, 0.76);
  --tl-accent: #9d4cff;
  --tl-accent-2: #ed35ef;
  --tl-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  background: var(--tl-bg);
  color: var(--tl-ink);
}

body.team-lead-themed #wrapper,
body.team-lead-themed .site-main,
body.team-lead-themed .team-lead-page {
  background: var(--tl-bg);
  color: var(--tl-ink);
}

body.team-lead-themed .team-lead-page {
  position: relative;
  isolation: isolate;
}

/* No page-wide decorative background images. Each Realm owns a clean color canvas. */
body.team-lead-themed .team-lead-page::before,
body.team-lead-themed .team-lead-page::after {
  content: none;
  display: none;
  background: none;
}

body.team-lead-themed .team-lead-page :is(h1, h2, h3, p) {
  font-family: "DM Sans", sans-serif;
}
body.team-lead-themed .team-lead-page :is(
  .team-lead-grind__heading,
  .team-lead-rhythm__top,
  .team-lead-game,
  .team-lead-shift__heading,
  .team-lead-platform__heading,
  .team-lead-abandoned__heading
) h2 {
  color: var(--tl-accent);
}

body.team-lead-themed .team-lead-page :is(
  .team-lead-grind__eyebrow,
  .team-lead-rhythm__eyebrow,
  .team-lead-game__eyebrow,
  .team-lead-shift__heading p,
  .team-lead-platform__heading > p,
  .team-lead-abandoned__heading > p
) {color: var(--tl-ink);
}

body.team-lead-themed .team-lead-hero {
  min-height: 790px;
  padding-top: 128px;
  background-position: center top;
  background-size: cover;
}

body.team-lead-themed .team-lead-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(3, 3, 15, 0.12), rgba(4, 5, 18, 0.2) 56%, var(--tl-bg) 100%);
  content: "";
  pointer-events: none;
}

body.team-lead-themed .team-lead-hero__clouds { display: none; }

body.team-lead-themed .team-lead-hero__copy,
body.team-lead-themed .team-lead-hero__visual,
body.team-lead-themed .team-lead-hero__right-token {
  z-index: 2;
}

body.team-lead-themed .team-lead-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: rgba(5, 3, 25, 0.64);
  color: var(--tl-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  letter-spacing: 0.14em;
  backdrop-filter: blur(10px);
}

body.team-lead-themed .team-lead-hero h1 {
  color: var(--tl-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(56px, 4.75vw, 76px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

body.team-lead-themed .team-lead-hero h1 .team-lead-hero__title-accent {
  color: var(--tl-accent);
  font-weight: 700;
}

body.team-lead-themed .team-lead-hero h1 .team-lead-hero__title-light {
  color: inherit;
  font-weight: 400;
}

body.team-lead-themed .team-lead-hero__intro,
body.team-lead-themed .team-lead-hero__note {
  color: var(--tl-ink);
}

body.team-lead-themed .team-lead-page .team-lead-hero__intro {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}
body.team-lead-themed .team-lead-hero__visual {
  height: auto;
  padding: 10px;
  border: 1px solid rgba(127, 83, 226, 0.45);
  border-radius: 14px;
  background: rgba(8, 6, 30, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), 0 0 50px rgba(93, 58, 222, 0.2);
  backdrop-filter: blur(10px);
}

body.team-lead-themed .team-lead-hero__dashboard {
  position: relative;
  inset: auto;
  transform: none;
  border-radius: 8px;
}
body.team-lead-themed .team-lead-hero__chest { filter: drop-shadow(0 0 22px rgba(192, 52, 255, 0.56)); }
body.team-lead-themed .team-lead-hero__right-token { filter: drop-shadow(0 0 18px rgba(187, 50, 255, 0.68)); }
body.team-lead-themed .team-lead-grind__card {
  border: 1px solid var(--tl-line);
  background: linear-gradient(135deg, rgba(34, 14, 66, 0.96), rgba(13, 9, 35, 0.98));
  box-shadow: var(--tl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.team-lead-themed .team-lead-grind__card::before { opacity: 0.34; }
body.team-lead-themed .team-lead-grind__copy p { color: var(--tl-muted); }
body.team-lead-themed .team-lead-grind__copy h3 {
  background: linear-gradient(90deg, #c3acff 0%, #ce6eee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.team-lead-themed .team-lead-rhythm__control {
  border: 1px solid var(--tl-line);
  background: var(--tl-panel);
  color: var(--tl-ink);
}

body.team-lead-themed .team-lead-rhythm__control.is-active {
  background: var(--tl-accent);
}

body.team-lead-themed .team-lead-rhythm__card,
body.team-lead-themed .team-lead-platform__card {
  border: 1px solid var(--tl-line);
  background: linear-gradient(180deg, rgba(63, 31, 114, 0.9), rgba(20, 16, 48, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.team-lead-themed .team-lead-rhythm__card :is(h3, p),
body.team-lead-themed .team-lead-platform__card :is(h3, p) {
  color: var(--tl-ink);
}

body.team-lead-themed .team-lead-rhythm__card > p,
body.team-lead-themed .team-lead-platform__card > p {
  color: var(--tl-muted);
}

body.team-lead-themed .team-lead-rhythm__image {
  border-bottom: 1px solid var(--tl-line-soft);
  background: radial-gradient(circle at 50% 50%, rgba(111, 55, 214, 0.32), transparent 68%);
}

body.team-lead-themed .team-lead-rhythm__title span { color: var(--tl-accent); }

body.team-lead-themed .team-lead-game h2 { color: var(--tl-ink); }
body.team-lead-themed .team-lead-game__intro { color: var(--tl-muted); }

body.team-lead-themed .team-lead-features {
  border: 0;
  background: radial-gradient(circle at 50% 48%, rgba(76, 36, 139, 0.13), transparent 55%);
}

body.team-lead-themed .team-lead-feature + .team-lead-feature { border-top: 0; }
body.team-lead-themed .team-lead-feature__label h3 { color: var(--tl-accent); }
body.team-lead-themed .team-lead-feature__copy > p { color: var(--tl-muted); }

body.team-lead-themed .team-lead-feature__visual {
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
}

body.team-lead-themed .team-lead-shift {
  background: radial-gradient(circle at 78% 10%, rgba(86, 35, 163, 0.16), transparent 30%);
}

body.team-lead-themed .team-lead-shift__table {
  background: transparent;
  box-shadow: none;
}

body.team-lead-themed .team-lead-shift__headers h3 {
  border-bottom: 1px solid var(--tl-line);
  background: #080718;
  color: var(--tl-ink);
}

body.team-lead-themed .team-lead-shift__headers h3:last-child {
  background: linear-gradient(135deg, #4b2689, #7139d1);
}

body.team-lead-themed .team-lead-shift__body {
  background:
    linear-gradient(90deg, rgba(10, 9, 27, 0.94) 0 calc(50% - 8px), transparent calc(50% - 8px) calc(50% + 8px), rgba(30, 16, 61, 0.94) calc(50% + 8px) 100%);
}

body.team-lead-themed .team-lead-shift__watermark { color: rgba(255, 255, 255, 0.035); }
body.team-lead-themed .team-lead-shift__row { border-bottom-color: var(--tl-line-soft); }
body.team-lead-themed .team-lead-shift__row p { color: var(--tl-ink); }

body.team-lead-themed .team-lead-page .team-lead-platform {
  border-radius: 16px;
  background-color: #0c0a20;
  background-image: none;
}

body.team-lead-themed .team-lead-platform__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.team-lead-themed .team-lead-platform__card {
  border: 0;
  border-radius: 24px;
  background: rgba(27, 20, 57, 0.96);
  box-shadow: none;
}

body.team-lead-futuristic .team-lead-platform .team-lead-platform__card {
  background: #1b1439;
}

body.team-lead-themed .team-lead-platform__media {
  border: 0;
  border-radius: 18px;
}

body.team-lead-themed .team-lead-platform__card--organize .team-lead-platform__media { background: #24152f; }
body.team-lead-themed .team-lead-platform__card--collaborate .team-lead-platform__media { background: #29251d; }
body.team-lead-themed .team-lead-platform__card--focus .team-lead-platform__media { background: #151d35; }
body.team-lead-themed .team-lead-platform__card--motivate .team-lead-platform__media { background: #162b25; }

body.team-lead-themed .team-lead-abandoned__card,
body.team-lead-themed .team-lead-abandoned__card--reverse,
body.team-lead-themed .team-lead-abandoned__card:nth-child(3) {
  border: 1px solid var(--tl-line);
  background: linear-gradient(135deg, rgba(51, 27, 96, 0.94), rgba(17, 13, 43, 0.98));
  box-shadow: var(--tl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.team-lead-themed .team-lead-abandoned__copy h3 { color: var(--tl-ink); }
body.team-lead-themed .team-lead-abandoned__copy p { color: var(--tl-muted); }

body.team-lead-themed .team-lead-abandoned__visual {
  border-radius: 18px;
  background: radial-gradient(circle, rgba(109, 62, 206, 0.2), transparent 70%);
}

body.team-lead-themed .navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #050033;
  box-shadow: none;
}

body.team-lead-themed #mobile-menu-btn {
  display: none;
}

body.team-lead-themed .btn-change-realms-img img { filter: saturate(1.15) hue-rotate(-7deg); }

body.team-lead-themed :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--tl-accent-2);
  outline-offset: 4px;
}

/* Futuristic realm: the darker neon arena shown by the existing Productivity page. */
body.team-lead-futuristic {
  --tl-bg: #040512;
  --tl-bg-soft: #09091f;
  --tl-panel: #15102f;
  --tl-panel-strong: #211044;
  --tl-line: rgba(123, 63, 228, 0.5);
  --tl-accent: #9d4cff;
  --tl-accent-2: #ef32ef;
}




/* Retro realm: Task Management Arcade palette, using COLOR ONLY for page backgrounds. */
body.team-lead-retro {
  --tl-bg: #1B1C48;
  --tl-bg-soft: #20204F;
  --tl-panel: #2F1856;
  --tl-panel-strong: #1E0D38;
  --tl-line: rgba(155, 127, 247, 0.28);
  --tl-line-soft: rgba(255, 255, 255, 0.12);
  --tl-accent: #7139D1;
  --tl-accent-2: #A450EF;
  --tl-shadow: 0 22px 54px rgba(7, 5, 42, 0.26);
}

body.team-lead-retro .mtp-speed {
  background:
    radial-gradient(circle at 0% 48%, rgba(94, 45, 160, .34), transparent 34%),
    radial-gradient(circle at 76% 58%, rgba(76, 83, 180, .13), transparent 32%),
    linear-gradient(180deg, #1b1c48 0%, #202052 54%, #1b1c48 100%) !important;
}

body.team-lead-retro,
body.team-lead-retro #wrapper,
body.team-lead-retro .site-main,
body.team-lead-retro .team-lead-page {
  background-color: #1B1C48;
  color: #fff;
}

/* Retro hero: color-only base, but keep the same Team Lead cloud artwork as the light theme. */
body.team-lead-retro .team-lead-hero {
  background-color: #1B1C48;
  background-image: none;
}

body.team-lead-retro .team-lead-hero::after {
  background: linear-gradient(
    180deg,
    rgba(27, 28, 72, 0.04) 0%,
    rgba(27, 28, 72, 0.10) 56%,
    #1B1C48 100%
  );
}

body.team-lead-retro .team-lead-hero__clouds {
  display: block;
  opacity: 0.72;
  filter: brightness(0.82) contrast(1.02) saturate(0.96);
}

body.team-lead-retro .team-lead-hero__eyebrow {
  border: 1px solid rgba(155, 127, 247, 0.32);
  background: #2F1856;
  box-shadow: none;
}

body.team-lead-retro .team-lead-hero__visual {
  border: 1px solid rgba(155, 127, 247, 0.28);
  border-radius: 14px;
  background: #1E0D38;
  box-shadow: 0 22px 56px rgba(5, 4, 35, 0.30);
}


body.team-lead-retro .team-lead-hero__right-token {
  filter: drop-shadow(0 0 16px rgba(160, 96, 255, 0.42));
}

/* Same clean section structure as Futuristic, only with Retro/Arcade colors. */
body.team-lead-retro .team-lead-page > .team-lead-grind,
body.team-lead-retro .team-lead-page > .team-lead-rhythm,
body.team-lead-retro .team-lead-page > .team-lead-game,
body.team-lead-retro .team-lead-page > .team-lead-features,
body.team-lead-retro .team-lead-page > .team-lead-shift,
body.team-lead-retro .team-lead-page > .team-lead-platform,
body.team-lead-retro .team-lead-page > .team-lead-abandoned {
  background-color: #1B1C48;
  background-image: none;
}

body.team-lead-retro .team-lead-grind::before,
body.team-lead-retro .team-lead-rhythm::before,
body.team-lead-retro .team-lead-game::before,
body.team-lead-retro .team-lead-features::before,
body.team-lead-retro .team-lead-shift::before,
body.team-lead-retro .team-lead-platform::before,
body.team-lead-retro .team-lead-abandoned::before {
  content: none;
  display: none;
  background: none;
}

body.team-lead-retro .team-lead-grind__card,
body.team-lead-retro .team-lead-rhythm__card,
body.team-lead-retro .team-lead-platform__card,
body.team-lead-retro .team-lead-abandoned__card,
body.team-lead-retro .team-lead-abandoned__card--reverse,
body.team-lead-retro .team-lead-abandoned__card:nth-child(3) {
  border-color: rgba(155, 127, 247, 0.22);
  background: #2F1856;
}

body.team-lead-retro .team-lead-page .team-lead-platform {
  max-width: 1180px;
  border-radius: 16px;
  background-color: #1B1C48;
  background-image: none;
  box-shadow: none;
}

body.team-lead-retro .team-lead-shift {
  background: #1B1C48;
}

body.team-lead-retro .team-lead-shift__table {
  background: #20204F;
}

body.team-lead-retro .team-lead-shift__headers h3 { background: #101033; }
body.team-lead-retro .team-lead-shift__headers h3:last-child { background: #7139D1; }
body.team-lead-retro .team-lead-shift__body {
  background: linear-gradient(90deg, #20204F 0 calc(50% - 8px), transparent calc(50% - 8px) calc(50% + 8px), #2F1856 calc(50% + 8px) 100%);
}

body.team-lead-retro .team-lead-platform__media,
body.team-lead-retro .team-lead-platform__card--organize .team-lead-platform__media,
body.team-lead-retro .team-lead-platform__card--collaborate .team-lead-platform__media,
body.team-lead-retro .team-lead-platform__card--focus .team-lead-platform__media,
body.team-lead-retro .team-lead-platform__card--motivate .team-lead-platform__media {
  border: 0;
}

body.team-lead-retro .team-lead-platform .team-lead-platform__card {
  background: #2F1856;
  box-shadow: none;
}

body.team-lead-retro .team-lead-platform__heading > p,
body.team-lead-retro .team-lead-platform__card h3,
body.team-lead-retro .team-lead-platform__card > p {
  color: #fff;
}

body.team-lead-retro .team-lead-platform__heading h2,
body.team-lead-retro .team-lead-grind__heading h2,
body.team-lead-retro .team-lead-rhythm h2,
body.team-lead-retro .team-lead-game h2,
body.team-lead-retro .team-lead-shift__heading h2,
body.team-lead-retro .team-lead-abandoned__heading h2 {
  color: #7139D1;
}

body.team-lead-retro .team-lead-platform__card--organize .team-lead-platform__media { background: #ffeee8; }
body.team-lead-retro .team-lead-platform__card--collaborate .team-lead-platform__media { background: #dae6ff; }
body.team-lead-retro .team-lead-platform__card--focus .team-lead-platform__media { background: #ede9ff; }
body.team-lead-retro .team-lead-platform__card--motivate .team-lead-platform__media { background: #fff4df; }
body.team-lead-retro .navbar { background: #050033; }

body.team-lead-themed .team-lead-rhythm__card,
body.team-lead-themed .team-lead-platform__card,
body.team-lead-themed .team-lead-rhythm__card img,
body.team-lead-themed .team-lead-platform__card img,
body.team-lead-themed .team-lead-feature__visual,
body.team-lead-themed .team-lead-abandoned__visual {
  transition: none;
}

body.team-lead-themed .team-lead-rhythm__card:hover,
body.team-lead-themed .team-lead-platform__card:hover {
  transform: none;
}

body.team-lead-themed .team-lead-rhythm__card:not(:first-child):hover img,
body.team-lead-themed .team-lead-platform__card:hover img {
  transform: none;
}

@media (max-width: 1100px) {
  body.team-lead-themed #mobile-menu-btn { display: flex; }
}

@media (max-width: 900px) {

  body.team-lead-themed .team-lead-hero {
    min-height: 720px;
    padding-top: 110px;
    background-position: center top;
  }

  body.team-lead-themed .team-lead-feature__visual { border-radius: 16px; }
  body.team-lead-themed .team-lead-platform__grid { background: transparent; }
}

@media (max-width: 600px) {
  body.team-lead-themed .team-lead-page::before,
  body.team-lead-themed .team-lead-page::after { height: 520px; }

  body.team-lead-themed .team-lead-hero {
    min-height: 700px;
    padding-top: 94px;
    background-size: auto 700px;
  }

  body.team-lead-themed .team-lead-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.18;
  }

  body.team-lead-themed .team-lead-hero__intro { color: rgba(255, 255, 255, 0.86); }
  body.team-lead-themed .team-lead-hero__visual { padding: 5px; border-radius: 10px; }
  body.team-lead-themed .team-lead-rhythm__card,
  body.team-lead-themed .team-lead-platform__card,
  body.team-lead-themed .team-lead-abandoned__card { border-radius: 16px; }

  body.team-lead-themed .team-lead-feature__visual { border-radius: 14px; }

  body.team-lead-themed .team-lead-shift__scroll {
    margin-inline: 0;
    overflow-x: visible;
    padding-inline: 0;
  }

  body.team-lead-themed .team-lead-shift__table {
    min-width: 0;
    width: 100%;
  }}

@media (prefers-reduced-motion: reduce) {
  body.team-lead-themed .team-lead-page *,
  body.team-lead-themed .team-lead-page *::before,
  body.team-lead-themed .team-lead-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}


@media (max-width: 600px) {
  body.team-lead-retro .team-lead-hero__clouds {
    opacity: 0.68;
    filter: brightness(0.80) contrast(1.02) saturate(0.95);
  }
}

/* ==========================================================================\n   FUTURISTIC TEAM LEAD — SINGLE BACKGROUND AUTHORITY\n   Prevent the Light page section backgrounds and the old transparent\n   realm-page-bg layer from merging together. Retro is intentionally untouched.\n   ========================================================================== */
body.team-lead-futuristic,
body.team-lead-futuristic #wrapper,
body.team-lead-futuristic .site-main,
body.team-lead-futuristic .team-lead-page {
  background-color: #040512;
}

/* The generic themed file adds decorative page-wide glitch layers. The\n   Futuristic Team Lead page now uses a clean solid background instead. */
body.team-lead-futuristic .team-lead-page::before,
body.team-lead-futuristic .team-lead-page::after {
  content: none;
  display: none;
  background: none;
}

/* Every direct content section owns the same Futuristic base. This explicitly\n   overrides the #fff / #fefcff backgrounds from team-lead.css. */
body.team-lead-futuristic .team-lead-page > .team-lead-grind,
body.team-lead-futuristic .team-lead-page > .team-lead-rhythm,
body.team-lead-futuristic .team-lead-page > .team-lead-game,
body.team-lead-futuristic .team-lead-page > .team-lead-features,
body.team-lead-futuristic .team-lead-page > .team-lead-shift,
body.team-lead-futuristic .team-lead-page > .team-lead-platform,
body.team-lead-futuristic .team-lead-page > .team-lead-abandoned {
  background-color: #040512;
  background-image: none;
}

/* Remove any section-level decorative pseudo background left by older rules. */
body.team-lead-futuristic .team-lead-grind::before,
body.team-lead-futuristic .team-lead-rhythm::before,
body.team-lead-futuristic .team-lead-game::before,
body.team-lead-futuristic .team-lead-features::before,
body.team-lead-futuristic .team-lead-shift::before,
body.team-lead-futuristic .team-lead-platform::before,
body.team-lead-futuristic .team-lead-abandoned::before {
  content: none;
  display: none;
  background: none;
}

/* Hero: solid Futuristic base + the exact Light Team Lead cloud artwork. */
body.team-lead-futuristic .team-lead-page > .team-lead-hero {
  background-color: #040512;
  background-image: radial-gradient(
    ellipse at 50% 88%,
    rgba(89, 38, 164, 0.24) 0%,
    rgba(39, 18, 86, 0.15) 42%,
    rgba(4, 5, 18, 0) 74%
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

body.team-lead-futuristic .team-lead-hero__clouds {
  display: block;
  opacity: 0.72;
  filter: brightness(0.58) contrast(1.08) saturate(1.04);
}

body.team-lead-futuristic .team-lead-hero::after {
  background: linear-gradient(
    180deg,
    rgba(4, 5, 18, 0.02) 0%,
    rgba(9, 5, 31, 0.10) 58%,
    #040512 100%
  );
}

/* Keep the section typography readable on the unified dark canvas. */
body.team-lead-futuristic .team-lead-grind__heading h2,
body.team-lead-futuristic .team-lead-rhythm h2,
body.team-lead-futuristic .team-lead-game h2,
body.team-lead-futuristic .team-lead-shift__heading h2,
body.team-lead-futuristic .team-lead-platform__heading h2,
body.team-lead-futuristic .team-lead-abandoned__heading h2 {
  color: var(--tl-accent);
}

body.team-lead-futuristic .team-lead-grind__eyebrow,
body.team-lead-futuristic .team-lead-rhythm__eyebrow,
body.team-lead-futuristic .team-lead-game__eyebrow,
body.team-lead-futuristic .team-lead-shift__heading p,
body.team-lead-futuristic .team-lead-platform__heading > p,
body.team-lead-futuristic .team-lead-abandoned__heading > p {
  color: #fff;
}

@media (max-width: 600px) {
  body.team-lead-futuristic .team-lead-page > .team-lead-hero {
    background-color: #040512;
    background-image: radial-gradient(
      ellipse at 50% 84%,
      rgba(89, 38, 164, 0.22) 0%,
      rgba(39, 18, 86, 0.14) 44%,
      rgba(4, 5, 18, 0) 76%
    );
    background-size: 100% 100%;
  }

  body.team-lead-futuristic .team-lead-hero__clouds {
    opacity: 0.66;
    filter: brightness(0.56) contrast(1.08) saturate(1.04);
  }
}
/* Keep every Retro Payoff card on the same purple gradient. */
body.team-lead-retro .mtp-speed-card,
body.team-lead-retro .mtp-speed-card.is-active,
body.team-lead-retro .mtp-speed-card:hover {
  background: linear-gradient(135deg, #3f2d7c 0%, #251754 45%, #160c37 100%) !important;
}

/* Team Members additions: carry both dark realms through every member-only section. */
body.team-lead-futuristic .team-members-truth,
body.team-lead-futuristic .team-members-place,
body.team-lead-futuristic .team-members-rewards {
  background-color: #040512;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(113, 57, 209, .16), transparent 62%);
  color: #fff;
}

body.team-lead-retro .team-members-truth,
body.team-lead-retro .team-members-place,
body.team-lead-retro .team-members-rewards {
  background-color: #1b1c48;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(113, 57, 209, .20), transparent 62%);
  color: #fff;
}

body.team-lead-themed .team-members-truth__heading > p,
body.team-lead-themed .team-members-place__eyebrow,
body.team-lead-themed .team-members-rewards__eyebrow {
  color: var(--tl-ink);
}

body.team-lead-themed .team-members-truth__heading h2,
body.team-lead-themed .team-members-place__heading h2 {
  color: var(--tl-accent);
}

body.team-lead-themed .team-members-truth__statement {
  border: 1px solid var(--tl-line);
  background: linear-gradient(120deg, rgba(35, 16, 68, .92), rgba(21, 16, 47, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.team-lead-themed .team-members-truth__statement p,
body.team-lead-themed .team-members-place__card h3 {
  background-image: linear-gradient(95deg, var(--tl-accent) 5%, #ce60e7 95%);
}

body.team-lead-themed .team-members-place__intro,
body.team-lead-themed .team-members-place__card p,
body.team-lead-themed .team-members-rewards__intro {
  color: var(--tl-muted);
}

body.team-lead-themed .team-members-place__card {
  border-color: var(--tl-line);
  background: linear-gradient(135deg, rgba(34, 14, 66, .96), rgba(13, 9, 35, .98));
  box-shadow: var(--tl-shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.team-lead-themed .team-members-place__watermark {
  opacity: .12;
}

body.team-lead-themed .team-members-rewards__card {
  border-color: var(--tl-line);
  background: linear-gradient(145deg, rgba(63, 31, 114, .72), rgba(20, 16, 48, .90));
  box-shadow: var(--tl-shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.team-lead-themed .team-members-rewards__copy,
body.team-lead-themed .team-members-rewards__copy strong {
  color: var(--tl-ink);
}

body.team-lead-themed .team-members-rewards__arrow {
  filter: drop-shadow(0 0 8px rgba(164, 80, 239, .55));
}

body.team-lead-futuristic .team-members-place__card h3 {
  background-image: linear-gradient(95deg, #c3acff 5%, #ed75f1 95%);
}

body.team-lead-retro .team-members-place__card h3 {
  background-image: linear-gradient(95deg, #b9a6ff 5%, #d39bff 95%);
}

/* Let the shared Team Members "Your Day" section keep its Realm styling on use case pages. */
body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members {
  background-color: var(--manager-section-bg);
  background-image: none;
  color: var(--manager-text);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__heading h2,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__heading h2 {
  color: var(--manager-accent);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__heading > p,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__heading > p {
  color: var(--manager-text);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__card,
body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__card--reverse,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__card,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__card--reverse {
  border: 1px solid var(--manager-line);
  background: linear-gradient(135deg, var(--manager-panel-bg), var(--manager-panel-strong));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__card,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__card--reverse {
  background: var(--manager-panel-soft);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__copy h3,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__copy h3 {
  color: var(--manager-text);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__copy p,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__copy p {
  color: var(--manager-text-muted);
}

body.manager-page-template.manager-futuristic .team-lead-abandoned--team-members .team-lead-abandoned__visual,
body.manager-page-template.manager-retro .team-lead-abandoned--team-members .team-lead-abandoned__visual {
  border-radius: 18px;
  background: radial-gradient(circle, rgba(109, 62, 206, .2), transparent 70%);
}

body.manager-page-template #project-task-management-day .team-lead-abandoned__card:nth-child(3) .team-lead-abandoned__visual {
	position: relative;
	display: block;
	min-height: 170px;
	overflow: visible;
}

body.manager-page-template #project-task-management-day .team-lead-abandoned__card:nth-child(3) .team-lead-abandoned__visual img {
	position: absolute;
	width: 27%;
	max-width: none;
	max-height: none;
	height: auto;
	transform: none;
}

body.manager-page-template #project-task-management-day .team-lead-abandoned__card:nth-child(3) .team-lead-abandoned__visual img:first-child {
	top: 14%;
	left: 28%;
	bottom: auto;
	right: auto;
}

body.manager-page-template #project-task-management-day .team-lead-abandoned__card:nth-child(3) .team-lead-abandoned__visual img.team-lead-abandoned__visual-secondary {
	right: 28%;
	bottom: 14%;
	left: auto;
	top: auto;
}
