@layer redicoUsability {
  html[data-rx-bento] body.rx-training-review .rx-header.rpm-header {
    background: #121316 !important;
    border-bottom-color: #292a30 !important;
  }
  @media (min-width: 761px) {
    html[data-rx-bento] body.rx-training-review .rx-header.rpm-header .rx-header-in.rr-reference-header {
      width: min(calc(100% - var(--redico-grid-gutter, 24px) * 2), var(--redico-grid-width, 1280px)) !important;
      max-width: 1280px !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }
  }
}

@layer redicoBento {
  html[data-rx-bento] body.rx-training-review .rx-header {
    --rdx-ui-bg: #121316;
    --rdx-ui-surface: #1c1e23;
    --rdx-ui-soft: #25272c;
    --rdx-ui-ink: #f6f4ef;
    --rdx-ui-muted: #c5c0c8;
    --rdx-ui-accent: #ff9296;
    --rdx-ui-line: #393a41;
    --rb-surface: #1c1e23 !important;
    --rb-soft: #25272c !important;
    --rb-ink: #f6f4ef !important;
    --rb-muted: #c5c0c8 !important;
    --rb-line: #393a41 !important;
    --rb-accent-text: #ff9296 !important;
    color: #f6f4ef !important;
    background: #121316 !important;
    border-bottom-color: #292a30 !important;
  }
  html[data-rx-bento] body.rx-training-review .rx-header .rx-logo img {
    filter: brightness(0) invert(1) !important;
  }
  html[data-rx-bento] body.rx-training-review .rx-study .rx-study-hero h1 {
    color: var(--study-hero-ink) !important;
    -webkit-text-fill-color: var(--study-hero-ink) !important;
    font-size: clamp(27px, 3.45vw, 46px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.036em !important;
  }
  html[data-rx-bento] body.rx-training-review .rx-study .rx-study-hero .rx-study-kicker {
    color: var(--study-hero-link) !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

@layer redicoReadability {
  html[data-rx-bento] body.rx-training-review :is(#module-content, #edu-content) :is(.rx-study-crumbs, .rx-study-links, .rx-study-section-head, .rx-study-basis, .rx-study-body > section, .edu-section) a:not([class*="button"]):not(.rx-study-primary) {
    color: var(--study-link) !important;
    -webkit-text-fill-color: var(--study-link) !important;
    text-decoration: underline !important;
    text-underline-offset: .18em;
  }
  html[data-rx-bento] body.rx-training-review :is(#module-content, #edu-content) a.rx-study-primary {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
  }
}

.rx-training-review .rx-study {
  --study-bg: var(--rdx-ui-bg, #eeece7);
  --study-card: var(--rdx-ui-surface, #fbfaf6);
  --study-soft: var(--rdx-ui-soft, #f4f1eb);
  --study-ink: var(--rdx-ui-ink, #252429);
  --study-muted: var(--rdx-ui-muted, #57535a);
  --study-line: var(--rdx-ui-line, #d9d5cf);
  --study-link: var(--rdx-ui-accent, #9d2831);
  --study-red: var(--rdx-ui-red, #ae222d);
  --study-radius: var(--rdx-ui-radius, 22px);
  --study-hero: #121316;
  --study-hero-card: #1c1e23;
  --study-hero-line: #3c3a41;
  --study-hero-ink: #f6f4ef;
  --study-hero-muted: #d1cdd2;
  --study-hero-link: #ff9296;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--study-bg);
  color: var(--study-ink);
  overflow-wrap: anywhere;
}

html:is([data-theme="dark"], [data-rx-theme="dark"]) .rx-training-review .rx-study {
  --study-bg: #121316;
  --study-card: #1c1e23;
  --study-soft: #25272c;
  --study-ink: #f6f4ef;
  --study-muted: #c2c1c5;
  --study-line: #43444b;
  --study-link: #ff9296;
}

.rx-training-review .rx-study :where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--study-link);
  outline-offset: 3px;
}

.rx-training-review .rx-study a:not([class]),
.rx-training-review .rx-study :is(.rx-study-links, .rx-study-section-head, .rx-study-next-actions) a:not(.rx-study-primary) {
  color: var(--study-link);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.rx-training-review .rx-study .rx-study-hero {
  --study-link: var(--study-hero-link);
  background: var(--study-hero);
  color: var(--study-hero-ink);
}

.rx-study-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 20px 0 12px;
  color: var(--study-hero-muted);
  font-size: 13px;
  line-height: 1.5;
}

.rx-training-review .rx-study .rx-study-crumbs a,
.rx-training-review .rx-study .rx-study-hero-copy .rx-study-links a {
  color: var(--study-hero-link) !important;
  -webkit-text-fill-color: currentColor;
}

.rx-training-review .rx-study .rx-study-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2vw, 22px);
  padding-block: 4px clamp(18px, 3.5vw, 40px);
}

.rx-training-review .rx-study :is(.rx-study-hero-copy, .rx-study-hero-form) {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--study-hero-line);
  border-radius: var(--study-radius);
  background: var(--study-hero-card);
}

.rx-training-review .rx-study .rx-study-hero-copy {
  background: linear-gradient(135deg, #2b2027, var(--study-hero-card) 68%);
}

.rx-training-review .rx-study .rx-study-hero-copy h1 {
  color: var(--study-hero-ink) !important;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(27px, 4.2vw, 56px) !important;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 10px 0 14px;
}

.rx-training-review .rx-study .rx-study-kicker {
  margin: 0;
  color: var(--study-hero-link);
  font-size: 13px;
  font-weight: 750;
}

.rx-training-review .rx-study .rx-study-hero-copy .rx-study-lead {
  color: var(--study-hero-muted) !important;
  max-width: 55ch;
  margin: 0 0 16px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}

.rx-training-review .rx-study .rx-study-hero-copy .rx-study-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 0;
  line-height: 1.5;
}

.rx-training-review .rx-study .rx-study-hero-copy .rx-study-links a {
  display: inline;
  padding: 0;
  background: none;
  border: 0;
}

.rx-training-review .rx-study .rx-study-hero-form {
  color: var(--study-hero-ink);
  padding: clamp(14px, 2vw, 22px);
}

.rx-training-review .rx-study .rx-study-hero-form :is(.rx-ux-form-slot, .rx-ux-form-wrap) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.rx-training-review .rx-study .rx-study-hero-form .rx-ux-prepare-link {
  color: var(--study-hero-link) !important;
  -webkit-text-fill-color: currentColor;
}
.rx-training-review .rx-study-hero .rx-mobile-tools-bar {
  width: min(calc(100% - var(--redico-grid-gutter, 16px) * 2), 1280px);
  margin-inline: auto;
  padding: 0 0 14px;
}

.rx-training-review .rx-study a.rx-study-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--study-red);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.rx-training-review .rx-study a.rx-study-primary:hover { background: #941d26; }
.rx-training-review .rx-study :is(.rx-study-brief, [id^="s"], #edu-request) { scroll-margin-top: 100px; }
.rx-training-review .rx-study .rx-study-brief { padding-block: clamp(22px, 4vw, 45px) 12px; }

.rx-study-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 12px;
}

.rx-training-review .rx-study :is(.rx-study-section-head, .rx-study-next-card) h2 {
  margin: 0;
  color: var(--study-ink) !important;
  font-size: clamp(22px, 2.8vw, 35px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.rx-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.rx-study-card {
  min-width: 0;
  padding: clamp(12px, 1.6vw, 20px);
  background: var(--study-card);
  border: 1px solid var(--study-line);
  border-radius: calc(var(--study-radius) - 5px);
  color: var(--study-ink);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.rx-study-card:is(:first-child, :last-child) { background: var(--study-soft); }
.rx-study-card dt { font-weight: 760; margin: 0 0 5px; font-size: 15px; }
.rx-study-card dd { margin: 0; color: var(--study-muted); font-size: 14px; line-height: 1.5; }
.rx-study-basis { margin: 9px 0 0; color: var(--study-muted); font-size: 13px; line-height: 1.5; }

.rx-training-review .rx-study .rx-study-body {
  --a: var(--study-red);
  --a2: var(--study-ink);
  --abg: var(--study-soft);
  --abrd: var(--study-line);
  --ink: var(--study-ink);
  --muted: var(--study-muted);
  --card: var(--study-card);
  --brd: var(--study-line);
  padding-block: 12px 16px;
  color: var(--study-ink);
  line-height: 1.6;
}

.rx-training-review .rx-study .rx-study-body > section {
  min-width: 0;
  margin-bottom: 13px;
  padding: clamp(15px, 2.5vw, 30px);
  color: var(--study-ink);
  background: var(--study-card);
  border-color: var(--study-line);
  border-radius: var(--study-radius);
}

.rx-training-review .rx-study .rx-study-body > section :is(h2, h3, h4, summary, p, li, td) {
  color: var(--study-ink) !important;
  -webkit-text-fill-color: currentColor;
}

.rx-training-review .rx-study .rx-study-body > section h2 { font-size: clamp(20px, 2.25vw, 27px); }
.rx-training-review .rx-study .rx-study-body > section :is(details, .card, .note, .info, .ok, .warn) {
  color: var(--study-ink) !important;
  background: var(--study-soft) !important;
}
.rx-training-review .rx-study .rx-study-body > section details p { padding: 0 16px 12px; }
.rx-training-review .rx-study .rx-study-body > section table td { background: var(--study-card) !important; }
.rx-training-review .rx-study .rx-study-body > section table tr:nth-child(even) td { background: var(--study-soft) !important; }
.rx-training-review .rx-study .rx-study-body > section table th {
  color: #fff !important;
  background: #5c2430 !important;
  -webkit-text-fill-color: currentColor;
}
.rx-training-review .rx-study .rx-study-body .rx-module-table { overflow: auto; max-width: 100%; }

.rx-training-review .rx-study .rx-study-next { padding-block: 0 clamp(25px, 4vw, 50px); }
.rx-study-next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: clamp(16px, 3vw, 38px);
  background: var(--study-soft);
  border: 1px solid var(--study-line);
  border-radius: var(--study-radius);
}
.rx-study-next-card p { margin: 9px 0 0; color: var(--study-muted); max-width: 62ch; }
.rx-study-next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

.rx-training-review .rx-study.edu {
  --ed-bg: var(--study-soft);
  --ed-card: var(--study-card);
  --ed-text: var(--study-ink);
  --ed-muted: var(--study-muted);
  --ed-border: var(--study-line);
  --ed-accent: var(--study-link);
}
.rx-training-review .rx-study.edu .edu-section { margin-block: clamp(24px, 4vw, 52px); }
.rx-training-review .rx-study .rx-study-catalog { padding-bottom: 36px; }
.rx-training-review .rx-study .edu-panel { border-radius: var(--study-radius); }
.rx-training-review .rx-study .edu-lesson[hidden] { display: none !important; }
.rx-training-review .rx-study .edu-lesson:hover { border-color: var(--study-link); }
.rx-training-review .rx-study .edu-matrix-scroll table { min-width: 1050px; font-size: 14px !important; }
.rx-training-review .rx-study .edu-matrix-scroll td {
  color: var(--study-ink) !important;
  background: var(--study-card) !important;
  border-color: var(--study-line) !important;
  font-size: 13px !important;
}
.rx-training-review .rx-study .edu-matrix-scroll td[colspan] { background: var(--study-soft) !important; }
.rx-training-review .rx-study .edu-matrix-scroll th { font-size: 12px !important; }
.rx-training-review .rx-study .edu-matrix-scroll a { color: var(--study-link) !important; }

@media (hover: hover) {
  .rx-study-card:hover { border-color: var(--study-link); background: var(--study-soft); }
}
@media (max-width: 900px) {
  .rx-training-review .rx-study .rx-study-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rx-study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rx-study-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .rx-study-card { padding: 11px 13px; }
  .rx-study-crumbs { padding-top: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rx-study-hero-copy > :is(h1, .rx-study-lead, .rx-study-primary, .edu-actions) { animation: rx-study-in 330ms ease both; }
  .rx-study-hero-copy > .rx-study-lead { animation-delay: 45ms; }
  .rx-study-hero-copy > :is(.rx-study-primary, .edu-actions) { animation-delay: 80ms; }
  .rx-study-arrived { animation: rx-study-in 300ms ease both; }
  .rx-study-grid .rx-study-arrived:nth-child(3n+2) { animation-delay: 40ms; }
  .rx-study-grid .rx-study-arrived:nth-child(3n) { animation-delay: 80ms; }
  @keyframes rx-study-in {
    from { opacity: .72; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .rx-training-review .rx-study *, .rx-training-review .rx-study *::before { animation: none !important; transition: none !important; }
}
