.a349-page {
  background-image:linear-gradient(90deg,#081d24f5,#0b252ac9 58%,#0b242a7a),var(--c318-background);
}
.a349-page .c318-heading h1 { max-width:25ch; }
.a349-lab { min-inline-size:0; color:#e7f2eb; }
.a349-lab header { margin-bottom:1.1rem; max-width:72ch; }
.a349-lab h2 { margin:.2rem 0 .55rem; font:700 clamp(1.55rem,3vw,2.45rem)/1.15 Georgia,serif; color:#f1f5e5; }
.a349-lab header p,.a349-note { margin:0; line-height:1.6; }
.a349-work { display:grid; grid-template-columns:minmax(190px,255px) minmax(0,1fr); align-items:start; gap:1rem; }
.a349-setup,.a349-station,.a349-record { min-inline-size:0; border:1px solid #759c9e99; border-radius:.8rem; background:#102b36; }
.a349-setup { padding:.9rem; display:grid; gap:.4rem; }
.a349-setup label,.a349-actions label { font-size:.88rem; font-weight:750; display:block; }
.a349-setup label:not(:first-child) { margin-top:.45rem; }
.a349-setup [data-choices] { margin-top:.6rem; }
#chemistry-study .a349-lab :is(input,select) {
  width:100%; min-width:0; min-height:44px; padding:.45rem .55rem; border:1px solid #769d9e;
  background:#173840; color:#e8f4ed; border-radius:.4rem; font:inherit; margin:0;
}
.a349-station { overflow:hidden; }
.a349-station [data-scene] { background:radial-gradient(ellipse at 52% 45%,#23505a,#0e2937 78%); }
.a349-station svg { display:block; width:100%; height:auto; max-height:455px; }
#chemistry-study .a349-station svg text { fill:#eff9ee; stroke:none; font:650 15px system-ui,sans-serif; }
#chemistry-study .a349-station svg .a349-nucleon-label { fill:#123747; font-weight:800; }
.a349-orbit { cursor:grab; touch-action:none; }
.a349-orbit:active { cursor:grabbing; }
.a349-actions { border-top:1px solid #789b9c77; padding:.85rem; display:flex; align-items:end; flex-wrap:wrap; gap:.55rem; }
#chemistry-study .a349-actions > select { max-width:8.6rem; }
.a349-actions [data-calc] { flex-basis:100%; display:grid; gap:.5rem; }
#chemistry-study .a349-lab button { min-height:44px; padding:.5rem .68rem; line-height:1.25; }
#chemistry-study .a349-lab [data-run]:not(:disabled) { background:#d4e9a2; color:#13342c; border-color:#d4e9a2; }
.a349-live { margin:0 .85rem .85rem; background:#1a3b41; border-left:3px solid #d3e891; padding:.55rem .7rem; line-height:1.55; }
.a349-record { margin-top:.75rem; padding:.75rem .9rem; }
.a349-record h3 { margin:0; }
.a349-record ul { margin:.4rem 0 0; padding-left:1.2rem; line-height:1.55; }
.a349-note { margin:.75rem 0 0; font-size:.85rem; color:#cee5df; }
@media(max-width:730px) {
  .a349-work { grid-template-columns:minmax(0,1fr); gap:.65rem; }
  .a349-actions button { flex:1 1 8.5rem; }
  #chemistry-study .a349-station svg text { font-size:16px; }
}
.a349-pulse { animation:a349-pulse .55s ease-in-out; }
@keyframes a349-pulse { from { opacity:.25; transform:translateY(-13px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .a349-pulse { animation:none; } }

#chemistry-study .c318-topics button { overflow-wrap:anywhere; }
#chemistry-study .c318-workspace fieldset { min-inline-size:0; overflow-wrap:anywhere; }
#chemistry-study .c318-workspace fieldset input[type=radio] { flex:none; }
#chemistry-study .c319-table-wrap { max-inline-size:100%; scrollbar-color:#728a69 #e2e7d3; }
#chemistry-study .c319-table-wrap:focus-visible { outline:2px solid #486342; outline-offset:3px; }
#chemistry-study .c318-math { max-inline-size:100%; overscroll-behavior-inline:contain; }
@media(max-width:530px) {
  #chemistry-study .c318-math { margin:.65rem 0 1rem; padding:.75rem .55rem; }
  #chemistry-study .c318-workspace fieldset { padding:.75rem; }
  #chemistry-study .c318-workspace fieldset label { gap:.6rem; padding:.6rem .25rem; }
}
.a349-action-group { display:flex; flex-wrap:wrap; gap:.55rem; }
.a349-setup :is([data-chain-settings],[data-fusion-settings]) { display:grid; gap:.4rem; }
.a349-station [data-a350-standard] { cursor:pointer; }
.a350-control-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.7rem; padding:.85rem; }
.a350-control-grid article { display:grid; align-content:start; gap:.35rem; padding:.65rem; min-width:0; background:#162f39; border:1px solid #7f9ea488; border-radius:.55rem; }
.a350-control-grid :is(h3,p) { margin:0; overflow-wrap:anywhere; }
.a350-control-grid h3 { font-size:1rem; }
.a350-control-grid p { font-size:.82rem; color:#c2d8dd; }
.a350-control-grid span { font-size:.85rem; color:#d7efa8; }
.a350-control-grid .review { color:#ffce9c; }
.a350-control-tubes { display:flex; justify-content:center; gap:.35rem; min-height:3.5rem; padding:.2rem; }
.a350-control-tubes i { width:1.1rem; border:1px solid #bbdfe5; border-radius:0 0 .55rem .55rem; background:linear-gradient(to top,var(--sample-color) var(--level),#15313d var(--level)); }
@media(max-width:550px) { .a350-control-grid { grid-template-columns:1fr; } .a350-control-grid article { grid-template-columns:1fr auto; } .a350-control-tubes { grid-column:2; grid-row:1 / span 4; min-width:3.6rem; } }
#chemistry-study .a346-page .a349-station svg { stroke:none; stroke-width:1; }
