#chemistry-study :is(.a352-desk,.c318-desk) .a357-nuclear-nav {
  gap:20px; margin-bottom:28px; border-color:#c6e1ca55;
}
#chemistry-study :is(.a352-desk,.c318-desk) .a357-nuclear-nav button {
  display:block; flex:0 1 auto; min-width:145px; min-height:44px;
  border:0; border-bottom:3px solid transparent; border-radius:0;
  padding:14px 22px; background:transparent; box-shadow:none; color:#eff5d9;
}
#chemistry-study :is(.a352-desk,.c318-desk) .a357-nuclear-nav button:is(:hover,:focus-visible,[aria-pressed=true]) {
  border-bottom-color:var(--acid); color:#ecff9f; background:#d7ff0010;
}
@media(max-width:580px){
  #chemistry-study :is(.a352-desk,.c318-desk) .a357-nuclear-nav { gap:0; }
  #chemistry-study :is(.a352-desk,.c318-desk) .a357-nuclear-nav button { flex:1 1 30%; min-width:0; padding:12px 8px; }
}

.a357-control { --a357-line:#51798a; --a357-cyan:#a6e8f2; --a357-navy:#101f33; --a357-amber:#eac383; }
#chemistry-study .a357-control .c318-stations { gap:.4rem; padding:0 0 .65rem; }
#chemistry-study .a357-control .c318-stations button { min-width:0; flex:0 1 auto; color:#daf3f9; padding:.65rem .9rem; }
#chemistry-study .a357-control .c318-stations button:is(:hover,:focus-visible) {
  border-bottom-color:var(--a357-cyan); background:#73c9e325;
}
.a357-case,.a357-settings,.a357-results,.a357-theory {
  border:1px solid var(--a357-line); background:var(--a357-navy); padding:clamp(.85rem,2.4vw,1.7rem); min-width:0;
}
.a357-case,.a357-settings { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:.85rem 1.3rem; align-items:start; }
.a357-case { background:linear-gradient(110deg,#162842,#153548); margin-bottom:1rem; }
.a357-control :is([data-panel],.a357-results,.a357-theory) { scroll-margin-top:1rem; }
.a357-settings { margin-bottom:.55rem; }
#chemistry-study .a357-control :is(.a357-case,.a357-settings,.a357-results,.a357-theory) > h2,
#chemistry-study .a357-control :is(.a357-case,.a357-settings) > div > h2 {
  color:#e2f7fb; margin:0 0 .55rem; line-height:1.18; font-size:clamp(1.45rem,3.8vw,2.45rem);
}
#chemistry-study .a357-control .a357-label { color:var(--a357-cyan); margin:0 0 .45rem; font:700 .76rem/1.5 ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
#chemistry-study .a357-control p { max-width:72ch; }
#chemistry-study .a357-case .a357-hypothesis { padding:.4rem .65rem .65rem; margin:0; min-width:0; }
#chemistry-study .a357-hypothesis legend { font-size:.92rem; font-weight:700; }
#chemistry-study .a357-hypothesis label { padding:.35rem .2rem; min-height:42px; }
.a357-case [data-a357-start] { justify-self:start; }
.a357-presets,.a357-records { display:grid; gap:.55rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
#chemistry-study .a357-presets button { display:grid; gap:.3rem; text-align:left; background:#102d43; color:#f4fafb; border-color:var(--a357-line); }
#chemistry-study .a357-presets button span { color:var(--a357-cyan); font:700 .8rem ui-monospace,monospace; }
#chemistry-study .a357-status { grid-column:1/-1; margin:.25rem 0 .6rem; color:var(--a357-cyan); }
.a357-status:empty { margin:0; }
.a357-results { margin:.9rem 0 1rem; }
.a357-records article { border:1px solid var(--a357-line); background:#102a3c; padding:.65rem .8rem; }
.a357-records h3 { font-size:1rem; margin:0 0 .55rem; }
.a357-bar { background:var(--a357-amber); min-height:.55rem; }
.a357-bar span { background:var(--a357-cyan); display:block; height:.55rem; }
.a357-records dl { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem 1rem; margin:.55rem 0 0; }
.a357-records dt { font-size:.83rem; color:var(--a357-cyan); }
.a357-records dl div:last-child dt { color:var(--a357-amber); }
.a357-records dd { margin:0; font-weight:700; }
[data-a357-conclusion]:not(:empty) { padding:.75rem; background:#153346; border-left:3px solid var(--a357-cyan); margin-top:.65rem; }
.a357-theory { margin-bottom:1rem; }
@media(max-width:660px){
  .a357-case,.a357-settings { grid-template-columns:minmax(0,1fr); }
  #chemistry-study .a357-control .c318-stations button { flex:1 1 30%; padding:.6rem .35rem; font-size:.8rem; }
}
