.post-article-content {
  --solo-ink: #102a3f;
  --solo-muted: #61798b;
  --solo-line: #d7e4ea;
  --solo-cyan: #5de6d1;
  --solo-blue: #5aa9ff;
  --solo-gold: #f2c166;
  --solo-coral: #ff7f8f;
  --solo-panel: #071827;
  --solo-panel-soft: #0d263b;
}

.solo-callout,
.post-article-content .solo-callout {
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.28fr) minmax(0, 1fr);
  gap: 0.8rem 1rem;
  align-items: start;
  margin: 1.55rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #b8e1d9;
  border-left: 5px solid #22ae99;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3fffc, #edf9f7);
  color: #3f645e;
  line-height: 1.7;
}

.solo-callout strong,
.post-article-content .solo-callout strong {
  color: #087a6c;
}

.solo-callout-warning,
.post-article-content .solo-callout-warning {
  border-color: #ead7ad;
  border-left-color: #d59625;
  background: linear-gradient(135deg, #fffdf6, #fff8e8);
  color: #705d39;
}

.solo-callout-warning strong,
.post-article-content .solo-callout-warning strong {
  color: #946412;
}

.solo-system-map,
.post-article-content .solo-system-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  margin: 2rem 0 4.8rem;
  padding: 1.3rem;
  border: 1px solid #bcd5df;
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% -20%, rgba(93, 230, 209, 0.18), transparent 40%),
    linear-gradient(150deg, #f7fbfd, #eef6f8);
  box-shadow: 0 18px 44px rgba(34, 66, 84, 0.11);
}

.solo-system-node,
.post-article-content .solo-system-node {
  min-height: 7rem;
  padding: 0.9rem 0.75rem;
  border: 1px solid rgba(68, 115, 139, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.solo-system-node span,
.solo-system-teacher span {
  display: block;
  margin-bottom: 0.4rem;
  color: #6a8493;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solo-system-node strong,
.post-article-content .solo-system-node strong {
  color: #163d54;
  font-size: 0.92rem;
  line-height: 1.5;
}

.solo-system-qr {
  box-shadow: inset 0 0 0 2px rgba(34, 174, 153, 0.18);
}

.solo-system-policy {
  box-shadow: inset 0 0 0 2px rgba(90, 169, 255, 0.18);
}

.solo-system-arrow {
  color: #4b8b9f;
  font-size: 1.55rem;
  font-weight: 800;
}

.solo-system-teacher,
.post-article-content .solo-system-teacher {
  position: absolute;
  right: 27%;
  bottom: -3.35rem;
  left: 27%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.75rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.65rem 1rem;
  border: 1px dashed #d6a84a;
  border-radius: 14px;
  background: #fffaf0;
  box-shadow: 0 12px 25px rgba(92, 67, 19, 0.09);
}

.solo-system-teacher span {
  grid-row: 1 / 3;
  margin: 0;
  color: #a56e0a;
}

.solo-system-teacher strong {
  color: #6e501d;
  font-size: 0.86rem;
}

.solo-system-teacher small {
  color: #8d754b;
  font-size: 0.72rem;
}

.solo-lab,
.post-article-content .solo-lab {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: clamp(1rem, 2.7vw, 1.6rem);
  overflow: hidden;
  border: 1px solid rgba(110, 172, 201, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% -18%, rgba(90, 169, 255, 0.25), transparent 38%),
    radial-gradient(circle at 102% 0%, rgba(93, 230, 209, 0.17), transparent 34%),
    linear-gradient(150deg, #102d46, var(--solo-panel));
  box-shadow: 0 24px 58px rgba(2, 14, 25, 0.25);
  color: #e8f5fb;
  color-scheme: dark;
  isolation: isolate;
}

.solo-lab::after {
  position: absolute;
  z-index: -1;
  right: -7rem;
  bottom: -8rem;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(93, 230, 209, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.8rem rgba(93, 230, 209, 0.025),
    0 0 0 5.6rem rgba(93, 230, 209, 0.016);
  content: "";
  pointer-events: none;
}

.solo-lab-heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.solo-lab-heading h3,
.post-article-content .solo-lab-heading h3 {
  margin: 0.18rem 0 0;
  color: #f5fbff;
  font-size: clamp(1.03rem, 2.2vw, 1.32rem);
  line-height: 1.42;
}

.solo-eyebrow {
  color: var(--solo-cyan);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.solo-button,
.post-article-content .solo-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 5.4rem;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0.56rem 0.82rem;
  border: 1px solid rgba(122, 203, 236, 0.46);
  border-radius: 999px;
  background: rgba(13, 38, 59, 0.9);
  box-shadow: none;
  color: #e4f5ff !important;
  font: 750 0.78rem/1.2 inherit;
  text-transform: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.solo-button:hover,
.post-article-content .solo-button:hover {
  border-color: var(--solo-cyan);
  background: rgba(25, 67, 91, 0.95);
  color: #fff !important;
  transform: translateY(-1px);
}

.solo-button:focus-visible,
.solo-lab select:focus-visible,
.solo-lab input:focus-visible {
  outline: 3px solid rgba(93, 230, 209, 0.48);
  outline-offset: 3px;
}

.solo-controls {
  display: grid;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(138, 187, 212, 0.18);
  border-radius: 15px;
  background: rgba(3, 15, 26, 0.42);
}

.solo-controls-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solo-controls-one {
  grid-template-columns: minmax(0, 22rem);
}

.solo-controls label,
.post-article-content .solo-controls label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  color: #bbd2df;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
}

.solo-controls output {
  justify-self: end;
  color: var(--solo-cyan);
  font-variant-numeric: tabular-nums;
}

.solo-controls select,
.post-article-content .solo-controls select {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 2rem 0 0.72rem;
  border: 1px solid rgba(142, 191, 215, 0.34);
  border-radius: 9px;
  background-color: #102d46;
  box-shadow: none;
  color: #edf9ff;
  font: 650 0.77rem/1.25 inherit;
  cursor: pointer;
}

.solo-controls input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--solo-cyan);
  cursor: pointer;
}

.solo-lab canvas,
.post-article-content .solo-lab canvas {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: clamp(300px, 45vw, 470px);
  margin: 0;
  border: 1px solid rgba(132, 185, 212, 0.2);
  border-radius: 15px;
  background: #061421;
  box-shadow: inset 0 0 35px rgba(0, 8, 15, 0.45);
  touch-action: pan-y;
}

[data-solo-lab="credit"] canvas,
.post-article-content [data-solo-lab="credit"] canvas {
  height: clamp(300px, 41vw, 430px);
}

[data-solo-lab="results"] canvas,
.post-article-content [data-solo-lab="results"] canvas {
  height: clamp(285px, 38vw, 400px);
}

.solo-readout,
.post-article-content .solo-readout {
  min-height: 2.8em;
  margin: 0.85rem 0 0;
  color: #9db8c8;
  font-size: 0.78rem;
  line-height: 1.6;
}

.solo-lab.is-static .solo-button {
  cursor: default;
  opacity: 0.74;
}

@media (max-width: 820px) {
  .solo-system-map,
  .post-article-content .solo-system-map {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
  }

  .solo-system-node,
  .post-article-content .solo-system-node {
    min-height: auto;
  }

  .solo-system-arrow {
    justify-self: center;
    line-height: 0.75;
    transform: rotate(90deg);
  }

  .solo-system-teacher,
  .post-article-content .solo-system-teacher {
    position: static;
    grid-template-columns: auto 1fr;
    margin-top: 0.35rem;
  }
}

@media (max-width: 620px) {
  .solo-callout,
  .post-article-content .solo-callout {
    grid-template-columns: 1fr;
  }

  .solo-lab-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .solo-controls-two,
  .solo-controls-one {
    grid-template-columns: 1fr;
  }

  .solo-lab canvas,
  .post-article-content .solo-lab canvas,
  [data-solo-lab="credit"] canvas,
  .post-article-content [data-solo-lab="credit"] canvas,
  [data-solo-lab="results"] canvas,
  .post-article-content [data-solo-lab="results"] canvas {
    height: 345px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solo-button,
  .post-article-content .solo-button {
    transition: none;
  }
}
