/* ChemCanvasX01 r1 stylesheet. Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Built by Platform/client/chem-canvas/build.mjs from chemcanvas-src/atom-apparatus.css, chemcanvas-src/atom-prediction.css, chemcanvas-src/atom-workbench.css, chemcanvas-src/learning-flow.css, chemcanvas-src/answer-feedback.css, chemcanvas-src/adjustable-controls.css, adjust-ring.css, x01-mount.css; do not edit. */
/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/atom-apparatus.css; unchanged below this header. */
/* The shell rings show occupancy. Their motion is an optional visual aid. */
.atom-apparatus {
  --aa-ink:#e7f4ef;
  --aa-muted:#a3babc;
  position:relative;
  isolation:isolate;
  container-type:inline-size;
  width:100%;
  min-width:0;
  max-width:1100px;
  margin:auto;
  overflow:hidden;
  border:1px solid #35535a;
  border-radius:15px;
  background:#10252e;
  color:var(--aa-ink);
  text-align:left;
  font:inherit;
  font-variant-numeric:tabular-nums;
  box-shadow:0 8px 25px #213b451a;
}
.atom-apparatus *, .atom-apparatus *::before,.atom-apparatus *::after{box-sizing:border-box}
.atom-apparatus .aa-head,.atom-apparatus .aa-supply-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.atom-apparatus .aa-head{padding:14px 20px 12px;background:linear-gradient(100deg,#183640,#10242d);border-bottom:1px solid #3f64663d}
.atom-apparatus h3{margin:0;color:#f2faf3;font:600 22px/1.12 Georgia,serif;letter-spacing:-.2px}
.atom-apparatus h4{margin:0;color:#e0ece7;font-family:inherit;font-size:15px;font-weight:650;line-height:1.3}
.atom-apparatus button{font-family:inherit;line-height:1.2;cursor:pointer}
.atom-apparatus button:focus-visible{outline:2px solid #ffd396;outline-offset:3px}
.atom-apparatus button:disabled{cursor:default}
.atom-apparatus .aa-motion,.atom-apparatus .aa-turn{
  background:#1e3941;color:#cce3df;border:1px solid #547774;border-radius:18px;
  font-size:12px;font-weight:600;min-height:30px;padding:5px 12px;
}
.atom-apparatus .aa-motion:hover,.atom-apparatus .aa-turn:hover,.atom-apparatus .aa-stepper button:hover{background:#2c4d53;color:#f4fff9}
.atom-apparatus .aa-motion:disabled{opacity:.7}
.atom-apparatus .aa-main{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(160px,1fr);background:#102630}
.atom-apparatus .aa-field{position:relative;min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:radial-gradient(ellipse at 50% 48%,#20434b 0,#15343f 40%,#102731 78%,#10252e 100%)}
.atom-apparatus .aa-field::before,.atom-apparatus .aa-field::after{content:"";position:absolute;z-index:1;pointer-events:none;width:12px;height:12px;border-color:#618789;opacity:.68}
.atom-apparatus .aa-field::before{top:14px;left:14px;border-top:1px solid;border-left:1px solid}
.atom-apparatus .aa-field::after{bottom:13px;right:14px;border-bottom:1px solid;border-right:1px solid}
.atom-apparatus .aa-drawing{display:block;width:100%;height:clamp(240px,37cqw,362px);min-height:0;overflow:hidden;touch-action:none;cursor:grab;user-select:none}
.atom-apparatus .aa-drawing:active{cursor:grabbing}
.atom-apparatus .aa-ring{stroke:#54787b;stroke-dasharray:2 5;opacity:.38}
.atom-apparatus .aa-model{transform-origin:0 0;transition:transform .32s ease-out}
.atom-apparatus .aa-filled .aa-ring{stroke:#80afa9;stroke-dasharray:none;opacity:.74}
.atom-apparatus .aa-spin{transform-origin:0 0;animation:aa-shell-turn var(--aa-period) linear infinite var(--aa-direction)}
.atom-apparatus.aa-still .aa-spin{animation-play-state:paused}
.atom-apparatus.aa-still .aa-model{transition:none}
.atom-apparatus .aa-target-ring{transition:opacity .15s}
.atom-apparatus.aa-over .aa-target-ring{opacity:.86}
.atom-apparatus.aa-dragging .aa-field{outline:1px solid #77c3ad;outline-offset:-2px}
.atom-apparatus .aa-view-tools{display:flex;align-items:center;justify-content:center;gap:9px;margin:-2px 14px 11px;font-size:11px;color:var(--aa-muted)}
.atom-apparatus .aa-turn{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:3px 9px;background:#19343b}
.atom-apparatus .aa-turn span{font-size:18px;line-height:1}
.atom-apparatus .aa-shell-panel{display:flex;flex-direction:column;justify-content:center;border-left:1px solid #4865675e;padding:18px;background:linear-gradient(120deg,#16333d,#122a34)}
.atom-apparatus .aa-shell-panel ol{padding:0;margin:12px 0 9px;list-style:none}
.atom-apparatus .aa-shell-panel li{display:grid;grid-template-columns:39px minmax(21px,1fr) auto;align-items:center;gap:7px;padding:7px 0;border-bottom:1px solid #516e6e57}
.atom-apparatus .aa-shell-label{color:#b5c9c9;font:500 12px/1.3 ui-monospace,Consolas,monospace;white-space:nowrap}
.atom-apparatus .aa-shell-panel output{color:#c2eee1;font:600 15px/1.3 ui-monospace,Consolas,monospace}
.atom-apparatus .aa-dots{display:grid;grid-template-columns:repeat(8,5px);gap:3px}
.atom-apparatus .aa-dots i{display:block;width:5px;height:5px;border-radius:50%;border:1px solid #789796;background:#17333d}
.atom-apparatus .aa-dots i.aa-lit{background:#80efd0;border-color:#80efd0;box-shadow:0 0 4px #4ccfa375}
.atom-apparatus .aa-shell-panel p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--aa-muted);max-width:25ch}
.atom-apparatus .aa-supply{padding:13px 17px 16px;border-top:1px solid #486765;background:linear-gradient(#18353f,#142e38)}
.atom-apparatus .aa-supply-head{align-items:baseline;margin:0 0 10px}
.atom-apparatus .aa-supply-head p{font-size:12px;line-height:1.35;margin:0;color:var(--aa-muted)}
.atom-apparatus .aa-trays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.atom-apparatus .aa-tray{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0;padding:9px 10px;border:1px solid #456369;border-radius:8px;background:linear-gradient(155deg,#243f49,#1a333e)}
.atom-apparatus .aa-protons{--aa-lit:var(--aa-protons-light);--aa-mid:var(--aa-protons-color);--aa-dark:var(--aa-protons-shade);--aa-symbol:var(--aa-protons-ink)}
.atom-apparatus .aa-neutrons{--aa-lit:var(--aa-neutrons-light);--aa-mid:var(--aa-neutrons-color);--aa-dark:var(--aa-neutrons-shade);--aa-symbol:var(--aa-neutrons-ink)}
.atom-apparatus .aa-electrons{--aa-lit:var(--aa-electrons-light);--aa-mid:var(--aa-electrons-color);--aa-dark:var(--aa-electrons-shade);--aa-symbol:var(--aa-electrons-ink)}
.atom-apparatus .aa-token,.atom-apparatus .aa-marker{display:grid;place-items:center;background:radial-gradient(circle at 29% 22%,var(--aa-lit),var(--aa-mid) 54%,var(--aa-dark) 98%);color:var(--aa-symbol);border:1px solid #eafcf030;border-radius:50%;box-shadow:inset -2px -3px 3px #23404c35,0 3px 7px #071e2e75;font:bold 17px/1 Georgia,serif}
.atom-apparatus .aa-token{position:relative;padding:0;width:38px;height:38px;min-height:38px;cursor:grab;touch-action:none;user-select:none}
.atom-apparatus .aa-token::after{content:"+";position:absolute;right:-4px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;border-radius:5px;background:#d0eee1;color:#183c3c;font:700 14px/1 system-ui,sans-serif}
.atom-apparatus .aa-token:disabled{opacity:.68}
.atom-apparatus .aa-token:not(:disabled):active{cursor:grabbing}
.atom-apparatus .aa-marker{position:absolute;inset:0 auto auto 0;width:27px;height:27px;z-index:5;pointer-events:none;font-size:14px}
.atom-apparatus .aa-count{display:grid;gap:2px;min-width:0}
.atom-apparatus .aa-count span{color:#c8d8d8;font-size:12px;line-height:1.2}
.atom-apparatus .aa-count output{color:#f1f6ea;font:600 22px/1.1 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.atom-apparatus .aa-stepper{display:flex;gap:3px}
.atom-apparatus .aa-stepper button{display:grid;place-items:center;width:30px;min-height:34px;padding:0;border:1px solid #658080;border-radius:6px;background:#223e47;color:#dfede8;font-size:18px}
.atom-apparatus .aa-stepper button:disabled{opacity:.38}
.atom-apparatus .aa-limit{margin:9px 0 0;color:#ffcf9c;font-size:12px;line-height:1.45}
@keyframes aa-shell-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@container(max-width:770px){
  .atom-apparatus .aa-tray{grid-template-columns:auto 1fr;gap:5px 8px}
  .atom-apparatus .aa-stepper{grid-column:1/-1;justify-content:stretch}
  .atom-apparatus .aa-stepper button{flex:1}
  .atom-apparatus .aa-shell-panel{padding:13px}
}
@container(max-width:510px){
  .atom-apparatus .aa-head{padding:10px 12px}
  .atom-apparatus .aa-main{grid-template-columns:1fr}
  .atom-apparatus .aa-drawing{height:clamp(196px,62cqw,260px)}
  .atom-apparatus .aa-shell-panel{display:block;padding:10px 13px;border-left:0;border-top:1px solid #48656766}
  .atom-apparatus .aa-shell-panel h4{font-size:13px}
  .atom-apparatus .aa-shell-panel ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:5px 0}
  .atom-apparatus .aa-shell-panel li{grid-template-columns:1fr auto;gap:4px;padding:0 0 4px}
  .atom-apparatus .aa-dots{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(8,3.5px);gap:2px}
  .atom-apparatus .aa-dots i{width:3.5px;height:3.5px}
  .atom-apparatus .aa-shell-panel p{max-width:none;font-size:11px}
  .atom-apparatus .aa-supply{padding:10px}
  .atom-apparatus .aa-trays{gap:5px}
  .atom-apparatus .aa-tray{grid-template-columns:minmax(0,1fr);padding:7px 5px;justify-items:center;text-align:center;gap:5px}
  .atom-apparatus .aa-token{width:34px;min-height:34px;height:34px}
  .atom-apparatus .aa-count{gap:2px}
  .atom-apparatus .aa-count output{font-size:19px}
  .atom-apparatus .aa-stepper{width:100%}
  .atom-apparatus .aa-supply-head{align-items:center;gap:6px}
  .atom-apparatus .aa-supply-head p{font-size:11px;text-align:right}
}
@media(prefers-reduced-motion:reduce){
  .atom-apparatus .aa-spin{animation:none}
  .atom-apparatus .aa-target-ring,.atom-apparatus .aa-model{transition:none}
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/atom-prediction.css; unchanged below this header. */
.atom-prediction {
  color:#223e4b;
  background:#f7faf7;
  border:1px solid #d1e1dc;
  border-radius:12px;
  padding:clamp(10px,1.2vw,17px);
  min-width:0;
  container-type:inline-size;
}
.atom-prediction h3 {margin:0 0 12px;font-size:16px;line-height:1.25}
.atom-prediction .ap-table {
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:3px;
  max-width:420px;
}
.atom-prediction .ap-group {
  color:#536a70;
  text-align:center;
  font:500 10px/1.15 system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
}
.atom-prediction .ap-tile {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:2px;
  min-width:0;
  min-height:35px;
  padding:3px 3px 4px;
  border-radius:5px;
  border:1px solid #bdcfca;
  background:linear-gradient(145deg,#fff,#eef5f1);
  box-shadow:0 1px 0 #bed1ca55;
  color:#243f48;
  cursor:pointer;
  line-height:1;
}
.atom-prediction .ap-tile::after {content:"";position:absolute;top:3px;right:3px;width:6px;height:6px;border-radius:50%;border:1px solid #35475950;background:var(--ap-element)}
.atom-prediction .ap-tile small {font-size:9px;font-weight:500;line-height:1;color:#48665f}
.atom-prediction .ap-tile b {align-self:center;font-size:clamp(12px,4.7cqi,20px);font-weight:650;line-height:1}
.atom-prediction .ap-tile:not(:disabled):hover {background:#e6f2ed;border-color:#60958e}
.atom-prediction .ap-tile[aria-pressed=true] {background:#215e61;border-color:#174b50;color:white}
.atom-prediction .ap-tile[aria-pressed=true] small {color:#deeee5}
.atom-prediction .ap-tile:focus-visible {outline:3px solid #c88138;outline-offset:1px;z-index:1}
.atom-prediction .ap-tile:disabled {opacity:1;cursor:default}
.atom-prediction .ap-choice {color:#436066;font-size:13px;margin:10px 0 0}
@container (min-width:300px) {
  .atom-prediction .ap-table {gap:4px}
  .atom-prediction .ap-tile {min-height:41px;padding:4px}
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/atom-workbench.css. Platform change: the element ids are prefixed x01- (the
   component shares the page's document), so #atom-live, #atom-symbol, #status and #studio-guide read #x01-... */
.atom-workbench.panel {
  padding: clamp(12px, 2vw, 26px);
  background: #fcfcf8;
  color: #203e40;
}
.atom-brief,.atom-files {display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.atom-brief p {margin:0 0 3px;color:#357067;font-weight:650;font-size:13px}
.atom-brief h2 {font:600 clamp(23px,3vw,35px)/1.12 Georgia,serif;letter-spacing:-.025em;margin:0}
.atom-tools,.atom-submit {display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.atom-tools button,.atom-files button {font-size:13px;min-height:34px}
.atom-goal {max-width:82ch;margin:10px 0 17px;font-size:16px}
.atom-layout {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(265px,.85fr);align-items:start;gap:clamp(12px,2vw,24px)}
.atom-instrument,.atom-answer {min-width:0}
.atom-answer {background:#fff;border:1px solid #c8d8d1;border-radius:14px;padding:clamp(12px,1.6vw,22px)}
.atom-answer .atom-prediction {background:transparent;border:0;padding:0}
.atom-submit {margin-top:14px;padding-top:14px;border-top:1px solid #e0e9e4}
.atom-files {margin-top:14px;font-size:12px;color:#507068}
.atom-workbench #x01-status:empty {display:none}
@media(max-width:830px){.atom-layout{grid-template-columns:1fr}.atom-tools{gap:4px}.atom-brief h2{font-size:26px}}
@media (max-width:830px) {
  .atom-answer:has(#x01-studio-guide:not([hidden])) { grid-row: 1; }
}
#x01-atom-live {padding:18px;background:#f4f8f5;border:1px solid #ccddd5;border-radius:12px}
#x01-atom-live h3 {margin:0 0 12px}
.atom-live-id {display:flex;gap:12px;align-items:center}
#x01-atom-symbol {display:grid;place-items:center;min-width:60px;min-height:60px;background:#dfefe8;border:1px solid #9dc8b7;border-radius:8px;color:#246354;font:600 29px Georgia,serif}
#x01-atom-live dl {margin:12px 0 0}
#x01-atom-live dl div {display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #d5e2db}
#x01-atom-live dd {margin:0;font-weight:650}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/learning-flow.css; unchanged below this header. */
.learning-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: .8rem 1.5rem;
  margin-block: .85rem;
  border-inline-start: 3px solid #397368;
  padding: .65rem 1rem;
  background: #f3f7f3;
  color: #233f45;
}
.guide-progress {font-size: .8rem; color: #48625c;}
.learning-guide .guide-intro {grid-column: 1 / -1; margin: 0; color: #314e49;}
.guide-step h3 {margin: .2rem 0 .3rem; font-size: 1.1rem;}
.guide-step p {margin: 0; max-width: 75ch; overflow-wrap: anywhere; white-space: pre-line;}
.guide-actions {display: flex; flex-wrap: wrap; gap: .45rem;}
.guide-actions button {min-height: 40px;}
.challenge-givens {display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin:.75rem 0 0;}
.challenge-givens > div {display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .5rem;}
.challenge-givens dt {color:#4e6b70;}
.challenge-givens dd {margin:0;font-weight:600;}
.lab-workbench [data-fixed-control] {cursor:default !important;}
.lab-workbench summary[data-fixed-control] {display:none;}
.lab-workbench[data-learning-mode="challenge"] .elab-help details {display:none;}
.lab-workbench .lab-control[hidden] {display:none;}

.lab-workbench[data-fixed-setup] #lab-apparatus,
.lab-workbench[data-fixed-setup] #lab-apparatus * {
  pointer-events: none !important;
}
.lab-workbench[data-fixed-setup] :is(#lab-controls, [data-instrument-step], [data-out="doseHint"]) {
  display: none;
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/answer-feedback.css; unchanged below this header. */
.answer-feedback {
  --accent:#136445;--wash:#eef8f0;--line:#b7d7c1;
  min-width:0;text-align:left;padding:18px 18px 15px;border-top:4px solid var(--accent);
  border-bottom:1px solid var(--line);background:var(--wash);color:#243d39;
}
.answer-feedback[data-outcome="incorrect"] {--accent:#953e28;--wash:#fff4ed;--line:#e4c5b4}
.answer-feedback .verdict-line {display:flex;align-items:center;gap:.65rem}
.answer-feedback .verdict-mark {
  display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
  background:var(--accent);color:white;font:700 23px/1 system-ui;
}
.answer-feedback [data-verdict] {margin:0;font:700 26px/1.15 Georgia,serif;color:var(--accent)}
.answer-feedback [data-verdict]:focus {outline:none}
.answer-feedback [data-guidance] {font-size:14px;line-height:1.4;margin:9px 0 15px}
.answer-feedback .answer-comparison {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.answer-feedback .answer-comparison div {min-width:0;border-top:1px solid var(--line);padding-top:7px}
.answer-feedback .answer-comparison dt {font:500 12px/1.4 system-ui;color:#43544e}
.answer-feedback .answer-comparison dd {margin:2px 0 0;font:650 17px/1.35 system-ui;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.answer-feedback details {margin:12px 0;font-size:13px;line-height:1.45}
.answer-feedback details summary {color:var(--accent);width:fit-content}
.answer-feedback details p {margin:.5em 0;font-variant-numeric:tabular-nums}
.answer-feedback button {background:var(--accent);border-color:var(--accent);color:white;font-weight:600;padding:7px 14px}
@media(prefers-reduced-motion:no-preference){
  .answer-feedback:not([hidden]) .verdict-mark {animation:answer-verdict-in .24s ease-out both}
  @keyframes answer-verdict-in {from{transform:scale(.78);opacity:.45}to{transform:scale(1);opacity:1}}
}

.answer-feedback .answer-comparison dd,.answer-feedback details p {white-space:pre-line;}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/adjustable-controls.css; unchanged below this header. */
/* A common visual key for editable apparatus. Apply it to the visible handle,
   keeping transparent hit areas and the scientific drawing independent. */
:root {
  --adjust-ink: #5143a1;
  --adjust-wash: #eeebff;
  --adjust-ring: #7564bd;
  --adjust-hover: #ded8ff;
}
/* The cue stays steady for most of the cycle. Animate the edge only, so
   labels, scientific marks and pointer targets never blink out or move. */
@keyframes adjust-ring {
  0%, 69%, 100% { outline: 2px solid transparent; outline-offset: 0; }
  77% { outline: 2px solid rgb(117 100 189 / .65); outline-offset: 1px; }
  96% { outline: 2px solid transparent; outline-offset: 6px; }
}
@keyframes adjust-glow {
  0%, 69%, 100% { filter: var(--adjust-rest-filter, none); }
  77% { filter: drop-shadow(0 0 1px white) drop-shadow(0 0 2px #7564bd) drop-shadow(0 0 2px rgb(117 100 189 / .65)); }
  96% { filter: drop-shadow(0 0 5px rgb(117 100 189 / 0)); }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  [data-adjust-scope] {
    --adjust-control-motion: adjust-ring 4s ease-out infinite;
    --adjust-svg-motion: adjust-glow 4s ease-out infinite;
  }
}
[data-adjust-scope] :is(button, select, input, [role=button], [role=slider]):is(:active, :focus-visible),
[data-adjust-scope] :is([inert], [aria-disabled=true], [data-fixed-control]) {
  --adjust-control-motion: none;
  --adjust-svg-motion: none;
}
.adjust-key {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  white-space: nowrap;
  font: 600 .78rem/1.4 system-ui, sans-serif;
  color: var(--adjust-ink);
}
.adjust-key::before {
  content: "";
  width: .68em;
  height: .68em;
  flex: none;
  border-radius: 50%;
  background: var(--adjust-ink);
  border: 2px solid white;
  box-shadow: 0 0 0 1.5px var(--adjust-ring);
}
.adjust-key[hidden] { display: none; }
.acs-heading .adjust-key { margin-inline-start: auto; color: var(--adjust-ink); }
[data-adjust-scope] [data-adjust-face]:not(:is([aria-disabled=true],[inert],[data-fixed-control]),:is([aria-disabled=true],[inert],[data-fixed-control]) *),
[data-adjust-scope] [data-thermal-bath] [data-knob] rect:not(:is([inert],[aria-disabled=true],[data-fixed-control]) *) {
  animation: var(--adjust-svg-motion, none);
  fill: var(--adjust-wash);
  stroke: var(--adjust-ink);
  stroke-width: 1.6px;
  vector-effect: non-scaling-stroke;
}
[data-adjust-scope] [data-adjust-line]:not(:is([aria-disabled=true],[inert],[data-fixed-control]),:is([aria-disabled=true],[inert],[data-fixed-control]) *) {
  animation: var(--adjust-svg-motion, none);
  stroke: var(--adjust-ink);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}
[data-adjust-scope] [data-adjust-dot]:not(:is([aria-disabled=true],[inert],[data-fixed-control]),:is([aria-disabled=true],[inert],[data-fixed-control]) *) {
  animation: var(--adjust-svg-motion, none);
  fill: var(--adjust-ink);
  stroke: white;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  --adjust-rest-filter: drop-shadow(0 0 1px var(--adjust-ink));
  filter: var(--adjust-rest-filter);
}
[data-adjust-scope] [data-adjust-halo]:not(:is([aria-disabled=true],[inert],[data-fixed-control]),:is([aria-disabled=true],[inert],[data-fixed-control]) *) {
  animation: var(--adjust-svg-motion, none);
  --adjust-rest-filter: drop-shadow(0 0 1px white) drop-shadow(0 0 1.6px var(--adjust-ink));
  filter: var(--adjust-rest-filter);
}
[data-adjust-scope] [data-adjust-button]:enabled:not(:is([inert],[aria-disabled=true],[data-fixed-control]) *) {
  color: var(--adjust-ink);
  border-color: var(--adjust-ring);
  background-color: var(--adjust-wash);
  box-shadow: inset 0 0 0 1px white;
  animation: var(--adjust-control-motion, none);
}
[data-adjust-scope] [data-adjust-button]:enabled:not(:is([inert],[aria-disabled=true],[data-fixed-control]) *):hover {
  background-color: var(--adjust-hover);
  border-color: var(--adjust-ink);
}
[data-adjust-scope] input[type=range]:enabled { accent-color: var(--adjust-ink); animation: var(--adjust-control-motion, none); }
[data-adjust-scope] :is(button,select,input,[role=slider],[role=button]):focus-visible {
  outline: 2px solid var(--adjust-ink);
  outline-offset: 3px;
}
[data-adjust-scope] svg [role=slider]:focus-visible:has([data-adjust-dot],[data-adjust-face]) {
  outline: none;
}
[data-adjust-scope] svg [role=slider]:focus-visible :is([data-adjust-dot],[data-adjust-face]) {
  stroke: var(--adjust-ink);
  stroke-width: 3px;
  filter: drop-shadow(0 0 2px white) drop-shadow(0 0 2px var(--adjust-ring));
}
@media (forced-colors: active) {
  [data-adjust-scope] [data-adjust-dot] {fill:Highlight;stroke:Canvas}
  [data-adjust-scope] svg [role=slider]:focus-visible:has([data-adjust-dot],[data-adjust-face]) {
    outline: 2px solid Highlight;
  }
  .adjust-key::before {background:Highlight;border-color:ButtonText}
}

/* A pointer already identifies its target. Avoid framing the SVG hit box or
   restarting an outline pulse on a focused button after it is released. */
@media (forced-colors: none) {
  html[data-adjust-pointer] [data-adjust-scope] :is(button,select,input[type=range],[role=slider],[role=button],[tabindex]):focus {
    outline: none !important;
    --adjust-control-motion: none;
    --adjust-svg-motion: none;
  }
  [data-adjust-scope] svg :is([role=slider],[role=button],[tabindex]) {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   The adjustable ring (3X pilot, every chem-canvas lab): ChemCanvas 0281604 src/classic-adjustments.css, ported ONCE and
   shared by every lab's stylesheet. Ugur, R740 session, 2026-11-28: add ChemCanvas's purple "adjustable" ring to every
   adjustable control.
   ChemCanvas roots these rules at its page, `#app[data-adjust-scope]`; here the root is any lab component
   (`.chem-canvas-xNN[data-adjust-scope]`). R below stands for
   `:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope]`: the id inside :is() is never present on a
   page and only gives the root ChemCanvas's own id weight, so the ring wins over the bench's own button styles exactly as
   it does in ChemCanvas. ChemCanvas's ids (#lab-answer, #ig-answer, #ss-guess, ...) are matched by their suffix, since
   each lab prefixes its ids. The values and the control list are ChemCanvas's; the --adjust-* tokens and the pulse are
   adjustable-controls.css (already in every lab's stylesheet). Left out: the #organic-bench rules (ChemCanvas's later
   organic labs, not in 3X).
   Platform additions: the ring is never drawn on a control the lab has fixed or locked ([aria-disabled=true],
   [data-fixed-control], inside [inert]) even while it is not :disabled; and the Fine adjustments number box (fine-box.js)
   carries the ring as ChemCanvas's v3 number box does (data-adjust-button, adjustable-controls.css).
   Three labs name ChemCanvas's answer box differently, so the rule also names them (views check 2026-11-28): X03's
   #x03-prediction is ChemCanvas's #lim-prediction, X11's #x11-guess its #ph-guess, X28's #x28-answer its #lab-answer. */

/* These controls change a quantity, reagent, molecule, or route. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] :is([data-particle][data-delta], [data-bb-set], [data-lb-set],
    [data-strength], .er-controls button[data-control-key], [data-act="swap"], .elab-box[data-field], .mp-step-pair button,
    [id$="ss-cool"], [id$="ss-warm"], input[data-bb-count], input[data-lb-amount], input[data-setting], [id$="gas-kind"],
    [id$="ig-free-position"], .ig-setting input, input[data-control][type=number],
    button[data-mode], button[data-stock], button[data-chemistry], .ap-actions button[data-select],
    button[data-bath-choice], button[data-trial], button[data-atom-turn], button[data-bb-turn],
    [id$="ig-scale"], [id$="ig-answer"], [id$="ph-guess"], [id$="ss-guess"], [id$="lab-answer"], [id$="lim-choice"],
    [id$="lim-prediction"] input[data-field], input[type=checkbox][data-control],
    #x03-prediction input[data-field], #x11-guess, #x28-answer, #chem-canvas-adjust-root):enabled:not([aria-disabled=true],[data-fixed-control],[inert] *) {
  color: var(--adjust-ink);
  background: var(--adjust-wash);
  border-color: var(--adjust-ring);
  box-shadow: inset 0 0 0 1px var(--adjust-ring);
  animation: var(--adjust-control-motion, none);
}

/* A selected setting stays distinguishable without relying on hue alone. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] :is([data-strength], .er-controls button[data-control-key], .elab-box[data-field],
    button[data-mode], button[data-stock], button[data-select], button[data-trial], button[data-bath-choice], #chem-canvas-adjust-root):enabled[aria-pressed=true]:not([aria-disabled=true],[data-fixed-control],[inert] *) {
  color: white;
  background: var(--adjust-ink);
  box-shadow: inset 0 0 0 2px var(--adjust-wash);
}

/* Keep particle finishes legible: the affordance sits on the existing badge. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] .aa-token:enabled:not([aria-disabled=true],[data-fixed-control])::after {
  color: var(--adjust-ink);
  background: var(--adjust-wash);
  box-shadow: 0 0 0 1.5px var(--adjust-ring);
  animation: var(--adjust-control-motion, none);
}

/* An ion placed on the assembly tray is also its remove control. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root) .lab-workbench:not([data-fixed-setup]) .ion-piece[data-present=true] {
  filter: var(--adjust-rest-filter);
  --adjust-rest-filter: drop-shadow(0 0 1px white) drop-shadow(0 0 1.6px var(--adjust-ink));
  animation: var(--adjust-svg-motion, none);
}

/* The residual graph's transparent drag surface moves its visible trial marker. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root) .lab-workbench:has(input[data-control=scan]:enabled) [data-drag=scan] [data-er-probe] {
  stroke: var(--adjust-ink);
  animation: var(--adjust-svg-motion, none);
}

/* Frame draggable views and representation controls without changing the model paint. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] :is(.aa-field:has([data-atom-turn]:enabled) .aa-drawing,
    .bb-closeup, .ap-tile:enabled, .bi-element:enabled, .ph-ion-lens button[data-inspect]:enabled, #chem-canvas-adjust-root) {
  animation: var(--adjust-control-motion, none);
}
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] .gas-pressure-meter[data-editable=true] .gpm-face > circle:first-of-type {
  stroke: var(--adjust-ink);
  animation: var(--adjust-svg-motion, none);
}

/* The flywheel and piston move the same rod and share its availability. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] .gas-apparatus svg:has([data-ga=piston][aria-disabled=false])
    [data-ga=wheel] ellipse:first-of-type {
  fill: var(--adjust-wash);
  stroke: var(--adjust-ink);
  animation: var(--adjust-svg-motion, none);
}

/* Platform addition: the Fine adjustments number box, as ChemCanvas v3's data-adjust-button number box. */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] input.lab-fine-box:enabled:not([aria-disabled=true],[data-fixed-control],[inert] *,[aria-invalid=true]) {
  color: var(--adjust-ink);
  border-color: var(--adjust-ring);
  background-color: var(--adjust-wash);
  box-shadow: inset 0 0 0 1px white;
  animation: var(--adjust-control-motion, none);
}
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] input.lab-fine-box:enabled:not([aria-disabled=true],[data-fixed-control],[inert] *,[aria-invalid=true]):hover {
  background-color: var(--adjust-hover);
  border-color: var(--adjust-ink);
}

/* ChemCanvas's answer form (additional-labs.css: #lab-answer-fields{display:grid;gap:5px;max-width:100%}) by its id
   suffix, since each lab prefixes its ids: the label, the box and its hint stack in one column and the answer box takes
   the column's width, so at 375 px its "Enter your prediction" placeholder is never cut (views check 2026-11-28: X04,
   X09, X12, X16, X20, X22 boxes were 51-67 px) and nothing overlaps its label (tester T4, X16). */
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] [id$="lab-answer-fields"]{display:grid;gap:5px;max-width:100%}
:is([class*="chem-canvas-x"],#chem-canvas-adjust-root)[data-adjust-scope] [id$="lab-answer-fields"] > input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;inline-size:100%;max-inline-size:100%}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   ChemCanvas X01 r1: the studio's base rules, authored for the platform. ChemCanvas 0281604 sets these on the whole
   document (style.css :root, button, select, .topbar, .row, .panel, .primary, .status, .progress, .demo-select,
   [hidden]; balance-studio.css .bs-modes; classic-adjustments.css #app[data-adjust-scope] for the atom controls).
   Here each is scoped to the component's root, .chem-canvas-x01, so the platform page around it is untouched; the
   values are ChemCanvas's, and each selector sits in :where(), so against the component sheets it weighs no more
   than the unscoped ChemCanvas rule did (a ".answer-feedback button" still wins over "button"). The rules after
   "Platform additions" are new: the orbit label, the Isotope row and the workbook's principle under the read-out. */
.chem-canvas-x01{font-family:Inter,Segoe UI,Arial,sans-serif;color:#253f48;background:#f5f6f2;font-synthesis:none;padding:16px;border-radius:15px;text-align:left}
.chem-canvas-x01 *{box-sizing:border-box}
.chem-canvas-x01 :where(:is(button,input,select)){font:inherit;font-size:14px;border:1px solid #c9d7d2;border-radius:8px;min-height:38px;padding:8px 12px;background:#fff;color:inherit}
.chem-canvas-x01 :where(button){cursor:pointer}
.chem-canvas-x01 :where(button:hover){background:#e8f1ec}
.chem-canvas-x01 :where(button:disabled){opacity:.48;cursor:default}
.chem-canvas-x01 :where(:is(button,input,select,summary):focus-visible){outline:3px solid #daa853;outline-offset:3px}
.chem-canvas-x01 :where(h2){font-size:22px;margin:0 0 12px}
.chem-canvas-x01 :where(h3){font-size:15px}
.chem-canvas-x01 :where(p){line-height:1.5}
.chem-canvas-x01 :where(:is(.topbar,.row)){display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chem-canvas-x01 :where(.topbar){justify-content:space-between;margin-bottom:16px}
.chem-canvas-x01 :where(.panel){background:#fff;border:1px solid #d8e1d8;border-radius:15px;padding:20px}
.chem-canvas-x01 :where(.primary){background:#216d60;color:#fff;border-color:#216d60}
.chem-canvas-x01 :where(.primary:hover){background:#17554a}
.chem-canvas-x01 :where(.status){font-size:13px;color:#526e64;min-height:24px;margin:8px 0}
.chem-canvas-x01 :where(.demo-select){min-width:270px;max-width:100%}
.chem-canvas-x01 :where(.progress){font-size:13px}
.chem-canvas-x01 :where(summary){cursor:pointer}
.chem-canvas-x01 :where([hidden]){display:none!important}
.chem-canvas-x01 :where(.bs-modes){display:flex;gap:2px;padding:3px;border:1px solid #cbdad2;border-radius:9px;background:#edf2ee}
.chem-canvas-x01 :where(.bs-modes button){border:0;background:transparent;min-height:32px}
.chem-canvas-x01 :where(.bs-modes button[aria-pressed=true]){background:#246c60;color:white}
@media(max-width:800px){
  .chem-canvas-x01{padding:10px}
  .chem-canvas-x01 :where(.topbar){align-items:stretch}
  .chem-canvas-x01 :where(.demo-select){min-width:0;width:100%}
  .chem-canvas-x01 :where(:is(input,select)){max-width:100%}
  .chem-canvas-x01 :where(.topbar .bs-modes button),.chem-canvas-x01 :where(.topbar .demo-select){min-height:44px}
}
/* classic-adjustments.css, the atom's controls: a quantity control carries the adjustable key while it is enabled. */
.chem-canvas-x01[data-adjust-scope] :is([data-particle][data-delta], button[data-atom-turn]):enabled {
  color: var(--adjust-ink);
  background: var(--adjust-wash);
  border-color: var(--adjust-ring);
  box-shadow: inset 0 0 0 1px var(--adjust-ring);
  animation: var(--adjust-control-motion, none);
}
.chem-canvas-x01[data-adjust-scope] .aa-token:enabled::after {
  color: var(--adjust-ink);
  background: var(--adjust-wash);
  box-shadow: 0 0 0 1.5px var(--adjust-ring);
  animation: var(--adjust-control-motion, none);
}
.chem-canvas-x01[data-adjust-scope] :is(.aa-field:has([data-atom-turn]:enabled) .aa-drawing, .ap-tile:enabled) {
  animation: var(--adjust-control-motion, none);
}
/* Platform additions. */
.chem-canvas-x01 .atom-apparatus .aa-orbit-label{letter-spacing:.04em}
.chem-canvas-x01 #x01-atom-live .x01-why{margin:10px 0 0;font-size:13px;color:#3e5d57}
.chem-canvas-x01 #x01-atom-live[data-state=invalid] #x01-atom-name{color:#953e28}
/* style.css .topbar: on a desktop page the progress / Previous / Next row stays at the right edge also when it wraps under
   the mode row (our third tab and the platform's narrower column; Coordination 2026-11-29, decision 37 sweep E) */
@media(min-width:601px){.chem-canvas-x01 :where(.topbar) > .row:has(> .progress){margin-left:auto}}
/* R3-1 mode tabs: on a phone each learning-mode tab keeps its label on one line, as ChemCanvas's tabs do; the third tab
   (Try it yourself) fits a 375 px page with 8px side padding (round 3, R3-1, 2026-11-29) */
@media(max-width:500px){.chem-canvas-x01 :where(.topbar .bs-modes button){white-space:nowrap;padding-inline:8px}}
/* R3-2 status bar: ChemCanvas has no bar over its lab. On a phone the platform keeps its Calculate / status bar sticky at
   the bottom (640 px and below); on this chem-canvas page it stays in the page's flow, so it never covers the lab (R3-2) */
@media(max-width:640px){body:has(.chem-canvas-x01) .cv-actions{position:static}}
/* R3-3 decision 46: at desktop width the count and Previous / Next keep to the mode row, as ChemCanvas's: the mode tabs take 8 px
   side padding and the topbar's gaps are 4 px (Coordination 2026-11-29) */
@media(min-width:801px){.chem-canvas-x01 :where(.topbar .bs-modes button){padding-inline:8px}.chem-canvas-x01 :where(.topbar,.topbar > .row){gap:4px}}
/* R3-10 hand-off: "Try it yourself", and "Try it" on a phone (decision 43), where the word " yourself" is only visually
   hidden, so the accessible name is always exactly "Try it yourself" */
@media(max-width:500px){.chem-canvas-x01 .lab-try-yourself{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}}
/* R3-8 challenge goal: the lab shows its challenge question itself (X03: only after the lock, decision 41), so the
   results card does not repeat it in a "Challenge goal" tile (ChemCanvas shows it once) */
body:has(.chem-canvas-x01) .cv-card:has(> [data-output=challengeGoal]){display:none}
/* R4-4 goal section: with the Challenge goal tile hidden (R3-8), its results-card section goes too, heading included,
   when it holds no other tile (CSS cannot nest :has, so: no second card) */
body:has(.chem-canvas-x01) .cv-group:has(.cv-card > [data-output=challengeGoal]):not(:has(.cv-card ~ .cv-card)){display:none}

