/* Chemistry GSAT page-1 diagram-density refinement. Loaded after chemistry-reference-v1.css. */
.chem-wide-figures-v2{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7px}
.chem-wide-figures-v2 .chem-figure{height:auto;min-height:0}
.chem-phase-figures-v2{grid-template-columns:1.18fr 1fr 1fr;gap:7px}
.chem-phase-figures-v2 .chem-figure{height:100%;min-width:0}
/* Real Noto CJK metrics need slightly more text width than the fallback font. Keep the body size; recover space by widening the text lane and tightening only inter-question rhythm. */
.chem-classification .chem-question-list{width:43.5%;padding-right:10px;font-size:12.7px;line-height:1.47}
.chem-classification .chem-question{margin:2px 0}
.chem-classification .chem-wide-figures-v2{left:44.5%}
.chem-phases .chem-question-list{width:43%;padding-right:10px;font-size:12.8px;line-height:1.58}
.chem-phases .chem-phase-figures-v2{left:44%}
.chem-figure-svg .atom.c{fill:#a78ac0}
.chem-figure-svg .softbox{fill:#fbf8ef;stroke:#80929b;stroke-width:1.2}
.chem-figure-svg .propchange .ice rect{fill:#b9dff1;stroke:#4d8097;stroke-width:1.4}
.chem-figure-svg .propchange .ice path{fill:#9dd5ee;stroke:#4d8097;stroke-width:1.2}
.chem-figure-svg .propchange .rust circle:first-child{fill:#9ca3a6;stroke:#606a70;stroke-width:1.4}
.chem-figure-svg .propchange .rust path{fill:none;stroke:#5c676d;stroke-width:1.1}
.chem-figure-svg .propchange .rust .rusty{fill:#bc6f43;stroke:#7d4a32;stroke-width:1.4}
.chem-figure-svg .states>rect{fill:#fbfaf4;stroke:#78909c;stroke-width:1.1}
.chem-figure-svg .states .motion{fill:none;stroke:#6d7e87;stroke-width:1.2;stroke-linecap:round}
@media(max-width:900px){
  /* Preserve the photographed page geometry. The entire 1000px paper scales/pans instead of reflowing into cards. */
  .chem-classification .chem-question-list{font-size:12.7px}
  .chem-phases .chem-question-list{font-size:12.8px}
}
