#chemistry-study .a352-desk {
  --panel:#102b35;
  --edge:#648492;
  --signal:#a4dbeb;
  --active:#234758;
}
#chemistry-study .a352-industrial {
  --panel:#252d29;
  --edge:#887d5f;
  --signal:#ffdda2;
  --active:#56462c;
}
#chemistry-study .a352-desk .c318-stations { gap:.5rem; margin-bottom:1.1rem; border-color:var(--edge); }
#chemistry-study .a352-desk .c318-stations button {
  display:flex; align-items:center; justify-content:center; gap:.55rem;
  flex:1 1 9rem; min-width:0; border:1px solid var(--edge); border-radius:.4rem;
  background:var(--panel); color:#eef4ee; padding:.58rem .65rem; min-height:48px;
}
#chemistry-study .a352-desk .c318-stations button span,.a352-flow button span {
  color:var(--signal); font:650 .78rem/1.1 ui-monospace,monospace;
}
#chemistry-study .a352-desk .c318-stations button[aria-pressed=true],
#chemistry-study .a352-desk .a352-flow button[aria-pressed=true] {
  border-color:var(--signal); background:var(--active); box-shadow:inset 0 -3px var(--signal);
}
.a352-screen,.a352-tray,.a352-reference {
  background:color-mix(in srgb,var(--panel) 95%,transparent);
  border:1px solid var(--edge); border-radius:.7rem;
  padding:clamp(.9rem,2.5vw,1.7rem); min-width:0;
}
#chemistry-study .a352-desk :is(.a352-screen,.a352-tray) h2 {
  font:750 clamp(1.55rem,3vw,2.35rem)/1.15 system-ui,sans-serif;
  color:#f5f7ed; margin:0 0 .7rem;
}
#chemistry-study .a352-desk :is(.a352-screen,.a352-tray) p { margin:0 0 .75rem; }
#chemistry-study .a352-desk .a352-tag {
  color:var(--signal); font:750 .76rem/1.5 ui-monospace,monospace;
  margin:0 0 .5rem; text-transform:uppercase; letter-spacing:.08em;
}
.a352-brief { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.8rem 1.3rem; }
.a352-brief [data-352-go] { justify-self:start; }
#chemistry-study .a352-prediction {
  border:1px solid var(--edge); border-radius:.5rem; padding:.6rem;
  min-inline-size:0; margin:0; background:#0b232e;
}
#chemistry-study .a352-prediction legend { max-width:100%; font-weight:700; padding:0 .4rem; color:#eff8fa; }
#chemistry-study .a352-prediction label {
  display:flex; align-items:center; gap:.6rem; cursor:pointer; border-radius:.35rem; padding:.45rem .6rem;
}
.a352-prediction label:has(input:checked) { background:#284c5d; }
.a352-prediction input { flex:none; margin:0; accent-color:var(--signal); }
.a352-reference { margin-top:.9rem; padding:.8rem 1rem; }
.a352-reference summary { cursor:pointer; color:var(--signal); font-weight:700; }
.a352-reference .c318-reading { margin-top:1rem; }
.a352-tray { margin-bottom:1rem; }
.a352-log { margin:1rem 0 0; }
.a352-tray [data-352-log], .a352-findings [data-352-compare] {
  border-left:3px solid var(--signal); background:#071c2466; padding:.65rem .8rem; margin:.8rem 0;
}
#chemistry-study .a352-tray [data-352-log] p { margin:0; }
.a352-desk :is([data-352-log],[data-352-compare]) ul { margin:.4rem 0 0; padding-left:1.25rem; line-height:1.6; }
.a352-findings { margin-bottom:1.2rem; }
.a352-findings details { margin:.65rem 0; }
.a352-findings summary { cursor:pointer; color:var(--signal); font-weight:700; }
#chemistry-study .a352-findings [data-352-feedback]:not(:empty) { margin:.8rem 0 0; color:#e5f0c5; }
#chemistry-study .a352-findings [data-352-feedback]:empty { display:none; }

.a352-flow {
  display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; margin:.9rem 0; padding:0; list-style:none;
}
.a352-flow li { position:relative; flex:1 1 8.5rem; min-width:0; }
.a352-flow li:not(:last-child)::after {
  content:'→'; position:absolute; left:calc(100% + .17rem); top:50%; transform:translateY(-50%); color:var(--signal);
}
#chemistry-study .a352-flow button {
  display:flex; align-items:center; gap:.5rem; width:100%; height:100%;
  text-align:left; background:#2c312a; border-color:var(--edge); overflow-wrap:anywhere;
}
.a352-operation { padding:.85rem; margin:.8rem 0; border:1px solid var(--edge); border-radius:.5rem; background:#1c2724; }
#chemistry-study .a352-operation h3 { font:750 1.17rem system-ui; margin:0 0 .65rem; color:var(--signal); }
.a352-operation dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; margin:0 0 .8rem; }
.a352-operation dl div { background:#374034; padding:.55rem; border-radius:.32rem; min-width:0; }
.a352-operation dt { color:#f3dbac; font-size:.82rem; font-weight:750; }
.a352-operation dd { margin:.2rem 0 0; overflow-wrap:anywhere; }
#chemistry-study .a352-operation p { margin:0; }
.a352-outlets { display:flex; flex-wrap:wrap; padding:.4rem .8rem .9rem; gap:.35rem; }
#chemistry-study .a352-outlets button { flex:1 1 auto; }
.a352-desk svg [data-352-outlet] { cursor:pointer; }
#chemistry-study .a352-industrial .a349-station svg { stroke:none; }
@media(max-width:760px) {
  .a352-brief { grid-template-columns:minmax(0,1fr); }
  .a352-flow { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
  .a352-flow li::after { display:none; }
}
@media(max-width:420px) {
  #chemistry-study .a352-desk .c318-stations button { flex:1 1 30%; flex-direction:column; gap:.25rem; font-size:.77rem; }
  .a352-operation dl { grid-template-columns:minmax(0,1fr); }
}

#chemistry-study .a352-nuclear .a352-reference > h2 {
  margin:0 0 .65rem; font-size:clamp(1.3rem,2.8vw,1.85rem);
}
