/* Act 03 · atomic number, isotopes, isobars. The symbol sits in the pinned scrub's stagehead (filled by
   chem1102-a03-nuclide.js). Type is never coloured: the counts carry swatches (dots) in the particles' colours. */
.a03 .a03-sym { position: relative; margin-top: 4px; pointer-events: none; }
.a03-symrow { display: flex; align-items: center; line-height: 1; }
.a03-nums { display: flex; flex-direction: column; align-items: flex-end; gap: .12em; margin-right: .14em; font-size: clamp(1.05rem, 4.6vw, 2.2rem); font-variant-numeric: tabular-nums; }
.a03-nums b, .a03-q { font-weight: 500; letter-spacing: -0.02em; color: var(--bone); }
.a03-nums b.dim { color: var(--mix-4); font-style: italic; font-weight: 400; }
.a03-X { font-size: clamp(2.8rem, 13vw, 6.5rem); font-weight: 500; letter-spacing: -0.045em; color: var(--bone); }
.a03-q { align-self: flex-start; margin-left: .06em; font-size: clamp(1.05rem, 4.6vw, 2.2rem); font-variant-numeric: tabular-nums; }
.a03 .a03-name { margin: 6px 0 0; }
.a03-counts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; line-height: 18px; color: var(--mix-3); }
.a03-counts b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
.a03-counts i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.a03-counts .cp i { background: var(--xp-plus); box-shadow: 0 0 8px var(--xp-plus); }
.a03-counts .cn i { background: #a39d90; }
.a03-counts .ce i { background: var(--xp-minus); box-shadow: 0 0 8px var(--xp-minus); }
.a03-was { margin: 10px 0 0; max-width: 22rem; font-size: 13px; line-height: 18px; color: var(--mix-3); opacity: 0; transition: opacity .5s var(--xp-out); }
.a03-was.on { opacity: 1; }
@media (min-width: 900px) {
  .a03 .xs-stagehead { right: auto; width: min(40vw, 34rem); }
  .a03 .a03-sym { margin-top: 3svh; }
  .a03-counts { flex-direction: column; font-size: 14px; line-height: 22px; }
}
html.xp-reduced .a03-was { opacity: 1; }

/* the symbol with its two numbers, as an annotated object */
.a03-symfig svg text { font-family: inherit; fill: var(--bone); }
.a03-symfig .num { fill: var(--mix-2); }

/* chlorine see-saw */
.a03-cl .a03-b35 { fill: var(--bone); }
.a03-cl .a03-b37 { fill: var(--void); stroke: var(--bone); stroke-width: 2.4; }
.a03-cl .xp-svgt { font-size: 13px; fill: var(--mix-3); }
.a03-cl .xa-box { max-width: 520px; }
.xs-full:not([open]) > .xs-full-in { display: none; }
/* lite "side" figures inside sections: the picture gets the slot, not a 240 px column (desktop) */
@media (min-width: 900px) { .xs .fig.side { grid-template-columns: 1fr; } .xs .fig.side img { width: auto; max-width: 100%; max-height: 68svh; } }
@media (min-width: 900px) { #s-worked .xs-num-s { font-size: clamp(2.4rem, 4.4vw, 4.2rem); } }
