.a359-archive-display {
  display:grid; grid-template-columns:minmax(0,1.55fr) minmax(275px,1fr); align-items:stretch; gap:clamp(.8rem,2vw,1.4rem);
  padding:clamp(.75rem,2vw,1.6rem); background:#211914; border:1px solid #7f5d42; border-radius:.65rem;
  box-shadow:0 16px 48px #0006;
}
#chemistry-study .a359-artifact {
  position:relative; isolation:isolate; display:grid; place-items:center; min-height:365px; margin:0; padding:clamp(1.4rem,4vw,4rem);
  background:radial-gradient(ellipse at 45% 40%,#40302a,#201714 75%); border:0; box-shadow:none; border-radius:.25rem;
}
.a359-paper {
  position:absolute; z-index:-1; inset:1%; border-radius:.35rem;
  background:url('assets/chemistry359/parchment.webp') center / 100% 100% no-repeat;
  filter:drop-shadow(0 14px 18px #0009);
}
.a359-artifact-content { max-width:100%; text-align:center; color:#462e23; }
#chemistry-study .a359-artifact .a358-tag { color:#704b35; margin:0 0 .45rem; }
#chemistry-study .a359-artifact h2 { margin:0; text-wrap:balance; }
.a359-artifact figcaption { color:#654832; font:italic .85rem Georgia,serif; }
.a359-specimen { display:grid; place-items:center; min-height:clamp(95px,15vw,170px); }
.a359-specimen i {
  width:clamp(58px,11vw,118px); aspect-ratio:1.5; position:relative;
  border-radius:55% 49% 47% 58% / 43% 59% 46% 63%; transform:rotate(-11deg);
  background:radial-gradient(ellipse at 54% 56%,var(--ink) 10%,color-mix(in srgb,var(--ink) 89%,#f9e2ac) 46%,transparent 73%);
  filter:blur(.6px); mix-blend-mode:multiply; transition:background .2s;
}
.a359-specimen i::before,.a359-specimen i::after {
  content:""; position:absolute; inset:8% 3% 3% 16%; border-radius:49% 57% 53% 58%; opacity:.43;
  background:repeating-radial-gradient(ellipse at 55% 62%,transparent 0 5px,var(--ink) 6px,transparent 9px);
}
.a359-specimen i::after { inset:11% 12% 9% 7%; transform:rotate(22deg); opacity:.29; }
.a359-archive-label { color:#f8ead3; padding:.55rem .4rem; min-width:0; }
#chemistry-study .a359-archive-label h3 { color:#ffedca; margin:.3rem 0 .55rem; }
#chemistry-study .a359-archive-label .a358-tag { color:#e6ba82; margin:0; }
.a359-archive-label .a358-swatches { display:flex; flex-wrap:wrap; }
.a359-archive-label .a358-transcript { background:#fff0ce; color:#422d22; margin:.8rem 0; }
#chemistry-study .a359-archive-label .a358-transcript .a358-tag { color:#755139; }
.a359-archive-label a { color:#ffdda8; text-decoration:underline; }
.a359-archive-lesson,.a359-field-theory { margin-top:1rem; background:#1b2827; border:1px solid #9b875f; padding:clamp(.8rem,3vw,1.65rem); border-radius:.6rem; }
.a359-note-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:0 0 .65rem; }
#chemistry-study .a359-note-columns p { padding:.7rem; background:#322c25; color:#f5ead6; border-left:2px solid #d8b680; margin:0; }
#chemistry-study .a359-archive-lesson h2 { margin:0 0 .7rem; color:#f6e3c0; }
#chemistry-study .a359-next { margin:.8rem 0 0; }
@media(max-width:790px){
  .a359-archive-display,.a359-note-columns { grid-template-columns:minmax(0,1fr); }
  #chemistry-study .a359-artifact { min-height:280px; }
}

#chemistry-study .a358-field .c318-stations button {
  flex:0 1 auto; min-width:min(145px,32%); border:0; border-bottom:3px solid transparent; border-radius:0;
  background:transparent; box-shadow:none;
}
#chemistry-study .a358-field .c318-stations button:is([aria-pressed=true],:hover,:focus-visible) {
  background:#bce78a18; color:#edffb1; border-bottom-color:#c4ec89; box-shadow:none;
}
.a359-field-scene {
  display:grid; align-content:space-between; gap:1.2rem; min-height:clamp(310px,35vw,520px); padding:clamp(.7rem,2.6vw,1.45rem);
  background:linear-gradient(180deg,#081c19c4,transparent 46%,#0b201dc9),var(--field-image) center var(--scene-pos,50%)/cover no-repeat;
  border:1px solid #9fb59a; border-radius:.55rem;
}
.a359-scene-steps { display:flex; flex-wrap:wrap; gap:.45rem; }
#chemistry-study .a359-scene-steps .a358-pin {
  position:static; transform:none; max-width:none; display:flex; align-items:center; gap:.4rem; background:#0f2421ef; color:#edf6e2;
}
#chemistry-study .a359-scene-steps .a358-pin[aria-pressed=true] { background:#d7eab5; color:#233823; border-color:#d7eab5; }
.a359-field-scene .a358-field-note { max-width:530px; width:min(100%,530px); }
#chemistry-study .a359-field-caption { align-self:end; justify-self:start; margin:0; padding:.18rem .42rem; background:#0a221ee8; border-radius:.2rem; color:#e5f3df; font-size:.78rem; }
.a359-field-theory { border-color:#789985; background:#132d26; }
#chemistry-study .a359-field-theory header { margin:0 0 .85rem; max-width:75ch; }
#chemistry-study .a359-field-theory header h2 { margin:.25rem 0 .45rem; font:700 clamp(1.45rem,3.4vw,2.15rem)/1.15 Georgia,serif; color:#f0f5df; }
#chemistry-study .a359-field-theory .c318-document { min-height:0; }

#chemistry-study .a358-studio .a357-theory { padding:clamp(.85rem,2.5vw,1.65rem); background:#201b31; }
.a357-theory > header { max-width:73ch; }
.a359-capacity {
  display:grid; grid-template-columns:minmax(7rem,.28fr) minmax(0,1fr); gap:.7rem 1rem;
  padding:clamp(.7rem,2vw,1.2rem); background:#312842; border:1px solid #9585b6; border-radius:.5rem;
}
.a359-temperature { display:flex; flex-direction:column; align-items:stretch; gap:.4rem; }
#chemistry-study .a359-temperature button[aria-pressed=true] { background:#ded0fd; color:#271b3d; border-color:#eedfff; }
#chemistry-study [data-a359-rule-result] p { margin:0 0 .45rem; }
.a359-scale { position:relative; height:.9rem; margin:.75rem 0 .3rem; background:#151327; border:1px solid #aa9bbd; }
.a359-scale span { display:block; height:100%; background:#cbb0fa; }
.a359-scale i { position:absolute; inset:-.28rem auto -.28rem 50%; border-left:3px solid #ffd996; }
.a359-scale-legend { display:flex; justify-content:space-between; gap:.4rem; color:#e5daf6; font-size:.83rem; margin-bottom:.6rem; }
.a359-scale-legend span:nth-child(2) { color:#ffd996; }
.a359-relation { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem .8rem; color:#eedfff; }
.a359-relation math { font-size:1.04rem; max-width:100%; }
#chemistry-study .a359-theory-heading { margin:.9rem 0 .55rem; color:#e7dbfa; }
#chemistry-study .a358-studio .a357-theory .c318-document { min-height:0; }
@media(max-width:600px){
  .a359-capacity { grid-template-columns:minmax(0,1fr); }
  .a359-temperature { flex-direction:row; }
  .a359-temperature button { flex:1; }
  #chemistry-study .a358-field .c318-stations button { flex:1; }
}
#chemistry-study .a359-archive-label .a358-transcript h3 { color:#482e26; }
