.a356-episode { max-width:none; margin-bottom:.85rem; }
#chemistry-study .a356-opening,#chemistry-study .a356-reading { margin:0 0 .8rem; color:#d6e4f1; line-height:1.55; }
.a356-path,.a356-clock,.a356-detector {
  display:grid; align-items:center; gap:.65rem; margin:.8rem 0; min-width:0;
}
.a356-path { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
.a356-path > span { color:#b9aaf3; font-size:1.4rem; font-weight:700; }
.a356-clock,.a356-detector { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.a356-card {
  display:grid; gap:.35rem; min-width:0; padding:clamp(.6rem,2vw,1.1rem);
  background:radial-gradient(ellipse at 18% 0,#403354,#1b263e 75%); border:1px solid #9380b3; border-radius:.65rem;
}
.a356-card > span,.a356-formula span { color:#e3d5fd; font-weight:700; }
.a356-card strong { color:#f8eaff; font-size:clamp(1rem,3vw,1.8rem); line-height:1.25; overflow-wrap:anywhere; }
.a356-card small { color:#d8e3f3; font-size:.83rem; }
.a356-formula { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem 1rem; padding:.65rem .8rem; background:#151d30; border-radius:.45rem; }
.a356-formula math { color:#f1e7ff; font-size:1.2rem; }
.a356-dots {
  display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); justify-items:center; gap:.35rem;
  padding:.8rem; border:1px solid #7897a7; border-radius:.55rem; background:#10243b;
}
.a356-dots span { width:min(100%,22px); aspect-ratio:1; background:#39415b; border:1px solid #72809c; border-radius:50%; }
.a356-dots .is-intact { background:#a2e5cc; border-color:#d0f9e7; }
.a356-meter { padding:.6rem; }
.a356-meter meter { width:100%; height:1.65rem; accent-color:#9fd9cc; }
#chemistry-study .a356-meter p { margin:0 0 .35rem; }
@media(max-width:520px) {
  .a356-clock,.a356-detector { grid-template-columns:minmax(0,1fr); }
  .a356-path { grid-template-columns:minmax(0,1fr); }
  .a356-path > span { transform:rotate(90deg); justify-self:center; }
}

.a356-fq {
  --fq-accent:#96e8da; --fq-panel:#112c37; --fq-border:#679693;
}
.a356-fq-1 { --fq-accent:#ffca97; --fq-panel:#312b29; --fq-border:#ad8265; }
.a356-fq-2 { --fq-accent:#f6db8d; --fq-panel:#302c25; --fq-border:#a1965b; }
.a356-fq-3 { --fq-accent:#dbc5ff; --fq-panel:#292638; --fq-border:#8875a6; }
.a356-fq-4 { --fq-accent:#afe9ac; --fq-panel:#182e2c; --fq-border:#71996c; }
.a356-fq-5 { --fq-accent:#b0dbff; --fq-panel:#1a2c3c; --fq-border:#708ba9; }
.a356-protocol {
  margin:0 0 1.05rem; padding:clamp(.85rem,2.7vw,1.4rem); min-width:0;
  border:1px solid var(--fq-border); border-left:4px solid var(--fq-accent); border-radius:.65rem;
  background:linear-gradient(110deg,var(--fq-panel),#0e2533); color:#edf5f7;
}
#chemistry-study .a356-protocol h2 { margin:0 0 .55rem; font-size:clamp(1.4rem,3vw,2.15rem); }
#chemistry-study .a356-fq-tag { margin:0 0 .35rem; color:var(--fq-accent); font-size:.76rem; font-weight:750; text-transform:uppercase; letter-spacing:.09em; }
.a356-variables { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; margin:.65rem 0 .85rem; }
.a356-variables div { min-width:0; padding:.65rem; border:1px solid var(--fq-border); border-radius:.4rem; background:#0c1d2a66; }
.a356-variables dt { color:var(--fq-accent); font-size:.85rem; font-weight:750; }
.a356-variables dd { margin:.3rem 0 0; overflow-wrap:anywhere; }
.a356-protocol summary { color:var(--fq-accent); cursor:pointer; font-weight:700; }
#chemistry-study .a356-fq .c318-stations button[aria-pressed=true],#chemistry-study .a356-fq [data-a356-start] {
  color:#122327; background:var(--fq-accent); border-color:var(--fq-accent); box-shadow:none;
}
#chemistry-study .a356-fq .c318-stations button { border-radius:.4rem; min-width:0; padding:.6rem .8rem; }
@media(max-width:680px) {
  .a356-variables { grid-template-columns:minmax(0,1fr); }
}

#chemistry-study .a352-nuclear .a349-station svg { stroke:none; }
.a356-series { padding:.7rem; border-top:1px solid #789b9c77; background:#112c38; }
.a356-series table { border-collapse:collapse; width:100%; font-size:clamp(.76rem,2vw,.92rem); }
.a356-series caption { text-align:left; color:#d9efec; font-weight:750; margin:0 0 .4rem; }
.a356-series :is(th,td) { padding:.35rem; text-align:center; border-bottom:1px solid #83a4a94d; }
.a356-series thead th { color:#bfe1e1; }
.a356-episode [data-a356-scene] { animation:a356-appear .22s ease-out; }
.a356-episode :is(.a356-card,.a356-dots) { animation:a356-appear .22s ease-out; }
@keyframes a356-appear { from { opacity:.62; } }
@media(prefers-reduced-motion:reduce) { .a356-episode :is([data-a356-scene],.a356-card,.a356-dots) { animation:none; } }
