/**
 * when-is-it-used.html — karar hero, mini kartlar, iki sütun, split karşılaştırma, yanlış seçim lab
 */

.doc-when-hero {
  margin: 1rem 0 0;
  padding: 1.05rem 1.05rem 1.2rem;
  border-radius: var(--radius, 14px);
  border: 1px solid rgba(94, 200, 255, 0.32);
  background: linear-gradient(155deg, rgba(14, 22, 42, 0.98), rgba(4, 8, 18, 0.99));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 28px rgba(46, 140, 255, 0.12),
    0 0 1px rgba(94, 200, 255, 0.35);
}

.doc-when-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.65rem;
  font-size: clamp(1.12rem, 2.7vw, 1.48rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(238, 246, 255, 0.99);
  text-shadow: 0 0 22px rgba(94, 200, 255, 0.18);
}

.doc-when-hero__title-ico {
  display: inline-flex;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(46, 200, 255, 0.25));
}

.doc-when-hero__picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.55rem;
}

.doc-when-hero-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 4, 14, 0.55);
  color: rgba(200, 215, 240, 0.96);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.22s ease,
    transform 0.12s ease;
}

.doc-when-hero-pick:hover {
  border-color: rgba(94, 200, 255, 0.5);
  background: rgba(8, 14, 28, 0.82);
  box-shadow:
    0 0 22px rgba(46, 170, 255, 0.14),
    0 0 0 1px rgba(94, 200, 255, 0.12) inset;
}

.doc-when-hero-pick--big:hover {
  border-color: rgba(255, 170, 110, 0.42);
  box-shadow:
    0 0 22px rgba(255, 140, 80, 0.12),
    0 0 0 1px rgba(255, 160, 100, 0.1) inset;
}

.doc-when-hero-pick--mobile:hover {
  border-color: rgba(100, 220, 170, 0.45);
  box-shadow:
    0 0 22px rgba(80, 210, 160, 0.12),
    0 0 0 1px rgba(120, 230, 180, 0.1) inset;
}

.doc-when-hero-pick--simple:hover {
  border-color: rgba(130, 200, 255, 0.45);
  box-shadow:
    0 0 22px rgba(100, 180, 255, 0.12),
    0 0 0 1px rgba(120, 200, 255, 0.1) inset;
}

.doc-when-hero-pick:active {
  transform: translateY(1px);
}

.doc-when-hero-pick__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.doc-when-ico {
  width: 1.28rem;
  height: 1.28rem;
  color: rgba(150, 195, 255, 0.92);
  flex-shrink: 0;
}

.doc-when-ico--hero-title {
  width: 1.32rem;
  height: 1.32rem;
  color: rgba(94, 210, 255, 0.92);
}

.doc-when-hero-pick--big .doc-when-ico {
  color: rgba(255, 175, 120, 0.95);
}

.doc-when-hero-pick--mobile .doc-when-ico {
  color: rgba(120, 230, 190, 0.95);
}

.doc-when-hero-pick--simple .doc-when-ico {
  color: rgba(140, 200, 255, 0.95);
}

.doc-when-hero-pick__sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(140, 165, 200, 0.88);
}

.doc-when-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.doc-when-mini-card {
  padding: 0.75rem 0.85rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(4, 8, 18, 0.55);
}

.doc-when-mini-card--simple {
  border-color: rgba(120, 200, 255, 0.2);
}

.doc-when-mini-card--big {
  border-color: rgba(255, 160, 90, 0.22);
}

.doc-when-mini-card--mobile {
  border-color: rgba(120, 230, 180, 0.22);
}

.doc-when-mini-card__ico {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  line-height: 0;
}

.doc-when-mini-card__ico .doc-when-ico {
  width: 1.42rem;
  height: 1.42rem;
}

.doc-when-mini-card--big .doc-when-mini-card__ico .doc-when-ico {
  color: rgba(255, 170, 115, 0.96);
}

.doc-when-mini-card--mobile .doc-when-mini-card__ico .doc-when-ico {
  color: rgba(115, 230, 185, 0.96);
}

.doc-when-mini-card--simple .doc-when-mini-card__ico .doc-when-ico {
  color: rgba(130, 200, 255, 0.96);
}

.doc-when-mini-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(170, 200, 240, 0.95);
}

.doc-when-mini-card__rule {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(185, 205, 230, 0.95);
}

/* Kart gövdesi .doc-prose dışında — konu linki chip (başlık chip’i ile aynı minimal çizgi) */
.doc-when-mini-card a.doc-link--topic {
  position: relative;
  display: inline;
  padding: 0.1em 0.4em 0.12em;
  margin: 0 0.04em;
  font-weight: 500;
  font-size: 0.96em;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: rgba(228, 236, 248, 0.95);
  border-radius: 6px;
  background: rgba(10, 16, 28, 0.55);
  border: 1px solid rgba(100, 140, 185, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.2s ease,
    color 0.15s ease;
}

.doc-when-mini-card a.doc-link--topic::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.4;
  vertical-align: 0.06em;
  color: rgba(130, 168, 208, 0.72);
}

.doc-when-mini-card a.doc-link--topic:hover {
  border-color: rgba(110, 175, 215, 0.26);
  background: rgba(16, 26, 44, 0.72);
  color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 4px 14px rgba(0, 0, 0, 0.16);
}

.doc-when-mini-card a.doc-link--topic:focus-visible {
  outline: 2px solid rgba(46, 231, 242, 0.5);
  outline-offset: 2px;
}

.doc-when-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

@media (min-width: 720px) {
  .doc-when-dual {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.doc-when-dual__col {
  padding: 0.75rem 0.85rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.doc-when-dual__col--yes {
  border-color: rgba(70, 200, 150, 0.28);
  background: linear-gradient(165deg, rgba(10, 40, 32, 0.45), rgba(4, 10, 18, 0.75));
}

.doc-when-dual__col--no {
  border-color: rgba(230, 100, 100, 0.25);
  background: linear-gradient(165deg, rgba(40, 14, 18, 0.4), rgba(4, 10, 18, 0.75));
}

.doc-when-dual__head {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doc-when-dual__col--yes .doc-when-dual__head {
  color: rgba(130, 240, 200, 0.95);
}

.doc-when-dual__col--no .doc-when-dual__head {
  color: rgba(255, 170, 170, 0.95);
}

.doc-when-dual__list {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(195, 210, 235, 0.95);
}

.doc-when-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

@media (min-width: 720px) {
  .doc-when-split {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-when-split__panel {
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.doc-when-split__panel--3d {
  background: linear-gradient(160deg, rgba(30, 70, 110, 0.35), rgba(4, 8, 18, 0.88));
  border-color: rgba(94, 200, 255, 0.22);
}

.doc-when-split__panel--ui {
  background: linear-gradient(160deg, rgba(60, 40, 80, 0.25), rgba(4, 8, 18, 0.88));
  border-color: rgba(200, 160, 255, 0.2);
}

.doc-when-split__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 225, 255, 0.92);
}

.doc-when-split__list {
  margin: 0 0 0.55rem;
  padding: 0 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(190, 208, 235, 0.95);
}

.doc-when-split__verdict {
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(220, 235, 255, 0.98);
}

.doc-when-rule-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(160, 200, 255, 0.92);
}

.doc-when-rule-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: rgba(235, 242, 255, 0.98);
}

/* —— Production rule tablosu: cheat-sheet satır renkleri + rozet —— */
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--quality td,
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--quality th[scope="row"] {
  background: rgba(18, 38, 72, 0.72);
  box-shadow: inset 3px 0 0 0 rgba(94, 160, 255, 0.9);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--size td,
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--size th[scope="row"] {
  background: rgba(28, 42, 22, 0.72);
  box-shadow: inset 3px 0 0 0 rgba(130, 210, 110, 0.95);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--sharp td,
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--sharp th[scope="row"] {
  background: rgba(22, 24, 30, 0.78);
  box-shadow: inset 3px 0 0 0 rgba(180, 190, 210, 0.55);
}

.doc-when-strategy__format {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 7.5rem;
}

.doc-when-strategy__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.45rem 0.14rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

.doc-when-strategy__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.doc-when-strategy__badge--quality {
  color: rgba(200, 230, 255, 0.98);
  border: 1px solid rgba(94, 160, 255, 0.45);
  background: rgba(30, 70, 120, 0.45);
}

.doc-when-strategy__badge--quality .doc-when-strategy__badge-dot {
  background: radial-gradient(circle at 30% 30%, #b8dcff, #3a78d4 55%, #1a4080);
}

.doc-when-strategy__badge--size {
  color: rgba(220, 255, 210, 0.98);
  border: 1px solid rgba(120, 200, 100, 0.5);
  background: rgba(28, 60, 32, 0.45);
}

.doc-when-strategy__badge--size .doc-when-strategy__badge-dot {
  background: radial-gradient(circle at 30% 30%, #d8ffc8, #5cb85c 55%, #2a6a30);
}

.doc-when-strategy__badge--sharp {
  color: rgba(230, 232, 238, 0.96);
  border: 1px solid rgba(200, 205, 220, 0.35);
  background: rgba(40, 44, 54, 0.55);
}

.doc-when-strategy__badge--sharp .doc-when-strategy__badge-dot {
  background: radial-gradient(circle at 30% 30%, #ffffff, #c8ccd8 70%, #9098a8);
}

.doc-when-strategy__codec {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(210, 220, 245, 0.98);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Tablo üstü renk eşlemesi — ilk bakışta okunur */
.doc-when-strategy-wrap .doc-when-strategy-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(165, 188, 220, 0.92);
  border-bottom: 1px solid rgba(55, 95, 160, 0.28);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.75) 0%, rgba(4, 8, 16, 0.45) 100%);
}

.doc-when-strategy-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.doc-when-strategy-legend__sep {
  color: rgba(100, 130, 170, 0.45);
  font-weight: 700;
  user-select: none;
}

.doc-when-strategy-legend__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.doc-when-strategy-legend__dot--quality {
  background: radial-gradient(circle at 30% 30%, #c4e4ff, #3a78d4 60%, #1a4080);
}

.doc-when-strategy-legend__dot--size {
  background: radial-gradient(circle at 30% 30%, #e0ffd0, #5cb85c 60%, #2a6a30);
}

.doc-when-strategy-legend__dot--sharp {
  background: radial-gradient(circle at 30% 30%, #ffffff, #c8ccd8 72%, #8890a0);
}

.doc-when-strategy-legend__label {
  color: rgba(200, 215, 238, 0.95);
}

/* Satır hover — keşif hissi */
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr {
  transition:
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr td,
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr th[scope="row"] {
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover td,
.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover th[scope="row"] {
  filter: brightness(1.06);
  box-shadow: 0 0 20px rgba(46, 170, 255, 0.08);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover td:last-child {
  color: rgba(248, 252, 255, 0.99);
  font-weight: 600;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.06);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover .doc-when-strategy__badge {
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
  filter: brightness(1.08);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--quality:hover .doc-when-strategy__badge--quality {
  box-shadow: 0 0 16px rgba(94, 160, 255, 0.35);
  border-color: rgba(130, 200, 255, 0.65);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--size:hover .doc-when-strategy__badge--size {
  box-shadow: 0 0 16px rgba(120, 210, 110, 0.35);
  border-color: rgba(150, 230, 130, 0.6);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr--sharp:hover .doc-when-strategy__badge--sharp {
  box-shadow: 0 0 14px rgba(220, 225, 235, 0.2);
  border-color: rgba(210, 215, 230, 0.55);
}

.doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover .doc-when-strategy__codec {
  color: rgba(235, 242, 255, 0.99);
}

@media (prefers-reduced-motion: reduce) {

  .doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr,
  .doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr td,
  .doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr th[scope="row"],
  .doc-when-strategy-wrap .doc-when-strategy__badge,
  .doc-when-mini-card a.doc-link--topic,
  .doc-when-hero-pick {
    transition: none;
  }

  .doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover td,
  .doc-when-strategy-wrap .doc-when-strategy-tbl tbody tr.doc-when-strategy__tr:hover th[scope="row"] {
    filter: none;
    box-shadow: none;
  }
}

.doc-when-wrong-lab {
  margin-top: 0.25rem;
}

.doc-when-wrong-lab__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.65rem 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(190, 210, 240, 0.95);
  cursor: pointer;
  user-select: none;
}

.doc-when-wrong-lab__toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: #5ec8ff;
}

.doc-when-wrong-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
}

.doc-when-wrong-fig {
  margin: 0;
  padding: 0.55rem 0.6rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 4, 12, 0.55);
}

.doc-when-wrong-fig figcaption {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(170, 195, 230, 0.92);
}

.doc-when-wrong-fig__impact {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(155, 180, 215, 0.78);
  opacity: 0.82;
  transform: translateY(2px);
  transition:
    color 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.doc-when-wrong-fig__warn {
  margin-right: 0.08rem;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig__impact {
  color: rgba(255, 214, 170, 0.96);
  opacity: 1;
  transform: translateY(0);
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(1) .doc-when-wrong-fig__impact {
  transition-delay: 0.12s;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(2) .doc-when-wrong-fig__impact {
  transition-delay: 0.22s;
}

.doc-when-wrong-prev {
  position: relative;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.4);
  filter: blur(0);
  opacity: 1;
  transition:
    filter 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease;
}

.doc-when-wrong-lab:not(.doc-when-wrong--active) .doc-when-wrong-prev {
  transition-delay: 0s;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(1) .doc-when-wrong-prev {
  transition-delay: 0.06s;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(2) .doc-when-wrong-prev {
  transition-delay: 0.14s;
}

.doc-when-wrong-prev--ui {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a1020;
  background: linear-gradient(135deg, #e8f0ff, #9ab8e8);
}

.doc-when-wrong-prev--nm {
  background:
    repeating-linear-gradient(90deg, #2a4a6a 0 8px, #5a8ac0 8px 16px),
    repeating-linear-gradient(0deg, #1a3048 0 6px, #3a6090 6px 12px);
  background-blend-mode: multiply;
}

.doc-when-wrong-prev--nm::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 4px, transparent 4px 8px);
  mix-blend-mode: overlay;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-prev--nm::after {
  opacity: 1;
  transition-delay: 0.1s;
}

.doc-when-wrong-lab:not(.doc-when-wrong--active) .doc-when-wrong-prev--nm::after {
  transition-delay: 0s;
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-prev--ui {
  filter: blur(4.5px) saturate(0.75);
  transform: scale(0.98);
}

.doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-prev--nm {
  filter: contrast(1.55) brightness(1.08);
  image-rendering: pixelated;
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .doc-when-wrong-prev,
  .doc-when-wrong-prev--nm::after,
  .doc-when-wrong-fig__impact {
    transition: none;
  }

  .doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(1) .doc-when-wrong-prev,
  .doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(2) .doc-when-wrong-prev,
  .doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(1) .doc-when-wrong-fig__impact,
  .doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-fig:nth-child(2) .doc-when-wrong-fig__impact,
  .doc-when-wrong-lab.doc-when-wrong--active .doc-when-wrong-prev--nm::after {
    transition-delay: 0s;
  }
}
