/* ChemCanvasX03 r1 stylesheet. Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Built by Platform/client/chem-canvas/x03-build.mjs from x03-src/limiting-studio.css, x03-src/limiting-board.css, x03-src/balance-studio.css, x03-src/apparatus-action.css, x03-src/learning-flow.css, x03-src/answer-feedback.css, x03-src/adjustable-controls.css, adjust-ring.css, x03-mount.css; do not edit. */
/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/limiting-studio.css; unchanged below this header. */
.lim-notes{background:#f3f6ee;border:1px solid #cbdacd;border-radius:12px;padding:clamp(14px,1.5vw,22px);color:#223f44}
.lim-notes h3{font:600 23px/1.15 Georgia,serif;margin:0 0 12px}
.lim-notes h4,.lim-notes legend,.lim-notes label[for]{font:650 13px/1.3 system-ui,sans-serif}
.lim-notes select{width:100%;margin:6px 0 4px}
.lim-notes fieldset{border:0;border-top:1px solid #cddbd1;margin:15px 0 0;padding:6px 0 0}
.lim-notes legend{padding-right:8px}
.lim-notes fieldset label,.lim-notes li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:3px 0}
.lim-notes fieldset input{width:6em;min-width:0;padding:7px 9px}
.lim-notes small{display:block;line-height:1.4;margin-top:6px}
.lim-notes button{margin-top:12px;width:100%}
.lim-notes h4{margin:14px 0 4px}
.lim-notes ul{list-style:none;margin:0;padding:0}
.lim-notes li{border-top:1px solid #cfddd1;flex-wrap:wrap}
.lim-notes li small{width:100%;margin:0}
.lim-notes [hidden]{display:none}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/limiting-board.css; unchanged below this header. */
.limiting-board {min-width:0;width:100%;container-type:inline-size;color:#294751;font-family:"Segoe UI",system-ui,sans-serif}
.limiting-board .lb-defs {position:absolute;pointer-events:none}
.limiting-board h3,.limiting-board h4 {margin:0;color:#31535a}
.limiting-board h3 {font-size:16px;line-height:1.3}
.limiting-board .lb-supplies {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:7px}
.limiting-board .lb-cartridge {overflow:hidden;border:1px solid #c0d6cc;border-radius:12px;background:#f5f9f4;min-width:0}
.limiting-board .lb-supply {
  display:grid;grid-template-columns:1fr auto;grid-template-rows:auto minmax(56px,1fr);
  width:100%;min-height:118px;align-items:center;text-align:left;padding:9px 12px 0;
  border:0;border-radius:0;
  background:radial-gradient(ellipse at 53% 32%,#fffef7 0%,transparent 60%),linear-gradient(155deg,#edf5ed,#e0eee7);
  color:#234950;cursor:pointer;
}
.limiting-board .lb-supply-art {grid-row:2;grid-column:1/-1;display:block;width:100%;height:78px}
.limiting-board .lb-species {grid-column:1;grid-row:1;font-size:19px;line-height:1.2;font-weight:650}
.limiting-board .lb-dose {grid-column:2;grid-row:1;font-size:11px;font-weight:600;color:#2a6d65;background:#f9fcf6;border:1px solid #bbd6c9;border-radius:5px;line-height:1;padding:4px 5px;white-space:nowrap}
.limiting-board .lb-supply:hover:not(:disabled) {background:radial-gradient(ellipse at 53% 32%,#fffff6 0%,transparent 65%),linear-gradient(155deg,#e1f0e7,#cbdfd5)}
.limiting-board .lb-supply:disabled {cursor:default;opacity:.82}
.limiting-board .lb-quantity {padding:8px 11px 10px;border-top:1px solid #cfdfd6}
.limiting-board .lb-scale,.limiting-board .lb-result-track {position:relative;height:7px;overflow:hidden;border-radius:3px;background:#dde7e1}
.limiting-board .lb-scale i,.limiting-board .lb-result-track i {display:block;width:100%;height:100%;transform-origin:left center;background:linear-gradient(90deg,#74b8a8,#358d83)}
.limiting-board .lb-scale i {transition:transform .23s ease}
.limiting-board .lb-scale::after,.limiting-board .lb-result-track::after {content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(12.5% - 1px),#f5faf3aa calc(12.5% - 1px) 12.5%);pointer-events:none}
.limiting-board .lb-ticks {display:flex;justify-content:space-between;margin-top:2px;color:#56716e;font-size:10px;line-height:1.2}
.limiting-board .lb-controls {display:flex;align-items:stretch;justify-content:center;gap:4px;margin-top:6px}
.limiting-board .lb-controls>button {background:#ecf4ee;border:1px solid #c1d6cb;color:#28665f;font-weight:600;font-size:16px;border-radius:5px;min-height:31px;min-width:31px;padding:2px 6px}
.limiting-board .lb-controls>button:hover:not(:disabled) {background:#dcece2}
.limiting-board .lb-controls>button:disabled {opacity:.45;cursor:default}
.limiting-board .lb-controls label {display:flex;align-items:center;gap:3px;min-width:0;background:#fffefa;border:1px solid #c4d5ce;border-radius:5px;padding:0 5px;color:#56706c;font:500 11px "Segoe UI",sans-serif}
.limiting-board .lb-controls input {width:5.3ch;min-width:0;min-height:29px;padding:1px 0;border:0;border-radius:0;background:transparent;color:#274c53;text-align:center;appearance:textfield;-moz-appearance:textfield;font:650 14px "Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.limiting-board .lb-controls input::-webkit-inner-spin-button,.limiting-board .lb-controls input::-webkit-outer-spin-button {appearance:none;margin:0}
.limiting-board button:focus-visible,.limiting-board input:focus-visible {outline:2px solid #217b78;outline-offset:-2px}
.limiting-board .lb-outcome {margin-top:12px;background:linear-gradient(160deg,#f4f8f3,#eaf2ee);border:1px solid #c4d8ce;border-radius:12px;padding:10px}
.limiting-board .lb-run-header {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.limiting-board .lb-run {display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:stretch;gap:4px}
.limiting-board .lb-column {min-width:0;background:#fffefa99;border:1px solid #d6e3db;border-radius:7px;padding:8px}
.limiting-board .lb-column h4 {font-size:12px;font-weight:650;line-height:1.3;margin:0 0 4px;color:#59675b}
.limiting-board .lb-column.right h4 {color:#3b6667}
.limiting-board .lb-result-row {display:flex;align-items:center;gap:6px;padding:4px 0}
.limiting-board .lb-glyph {width:29px;height:27px;flex:none;display:grid;place-items:center}
.limiting-board .lb-glyph svg {display:block;width:100%;height:100%}
.limiting-board .lb-channel {min-width:0;flex:1}
.limiting-board .lb-line {display:flex;justify-content:space-between;gap:2px 5px;align-items:baseline;flex-wrap:wrap;margin:0 0 4px;line-height:1.2}
.limiting-board .lb-line b {font-size:13px}.limiting-board .lb-line span {font-size:12px;font-variant-numeric:tabular-nums;color:#4b6769}
.limiting-board .lb-result-track {height:5px}
.limiting-board .lb-column.left .lb-result-track i {background:linear-gradient(90deg,#d6ae70,#b88954)}
.limiting-board .lb-arrow {display:grid;align-items:center;text-align:center;color:#839c95;font:600 18px system-ui}
.limiting-board .lb-trace {margin:8px 0 0;display:grid;justify-items:center;padding-top:6px;border-top:1px solid #d5e2d9}
.limiting-board .lb-trace svg {display:block;width:100%;max-height:116px;height:auto}
.limiting-board .lb-trace figcaption {color:#526e6d;font-size:11px;line-height:1.4;margin-top:3px;text-align:center}
.limiting-board .lb-formula {fill:#4b6265;font:600 12px "Segoe UI",sans-serif}
.limiting-board .lb-outcome[data-running=true] .lb-arrow span {animation:lb-forward .63s ease-in-out infinite alternate}
@keyframes lb-forward {from{transform:translateX(-2px);color:#8caaa0}to{transform:translateX(2px);color:#277b70}}
@container (max-width:410px){
  .limiting-board .lb-supplies {gap:6px}
  .limiting-board .lb-supply {padding:8px 7px 0;min-height:107px}
  .limiting-board .lb-quantity {padding:7px}
  .limiting-board .lb-controls {gap:2px}
  .limiting-board .lb-controls>button {min-width:26px}
  .limiting-board .lb-run {grid-template-columns:1fr;gap:4px}
  .limiting-board .lb-arrow {display:none}
  .limiting-board .lb-column {padding:7px}
}
@media(prefers-reduced-motion:reduce){
  .limiting-board .lb-scale i {transition:none}
  .limiting-board .lb-arrow span {animation:none!important}
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/balance-studio.css; unchanged below this header. */
.bs-studio.panel{padding:clamp(12px,2vw,26px);background:#fbfcf9;color:#223f44}
.bs-equation{display:flex;align-items:center;justify-content:center;gap:clamp(6px,1.3vw,20px);flex-wrap:wrap;background:#edf3ef;border:1px solid #ccdcd4;border-radius:11px;padding:12px 6px;margin-bottom:14px}
.bs-equation>div{display:flex;gap:clamp(4px,.9vw,12px);align-items:center}
.bs-term{white-space:nowrap;font:600 clamp(16px,2vw,26px)/1.1 Georgia,serif}
.bs-term b{display:inline-block;margin-right:3px;color:#246a5f;font:650 .86em ui-monospace,monospace}
.bs-term b:empty{display:none}
.bs-plus,.bs-arrow{color:#627d79}
.bs-arrow{font-size:22px}
.bs-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,.9fr);gap:clamp(12px,1.5vw,20px);align-items:start}
.bs-main,.bs-notes{min-width:0}
.bs-submit{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.bs-submit button{flex:1 0 auto}
#bs-trace h3{font:600 20px/1.2 Georgia,serif;margin:0}
#bs-trace{padding:14px;border-radius:12px;border:1px solid #c5d9d3;background:linear-gradient(135deg,#f0f7f5,#fcfaf2)}
#bs-trace svg{width:100%;display:block;margin:15px 0;max-height:380px;min-height:140px}
.bt-top,.bt-labels{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bt-formula{font:600 12px system-ui,sans-serif;fill:#314e53}
#bs-trace input{width:100%;min-width:0;accent-color:#27796c;min-height:28px;padding:0}
.bt-labels,#bs-trace small{font-size:12px;color:#425e63}
#bs-trace small{display:block;margin:8px 0}
#bs-back{margin-top:10px}
.bs-studio #status:empty{display:none}
@media(max-width:800px){.bs-layout{grid-template-columns:1fr}.bs-equation{gap:7px}.bs-equation .bs-arrow{font-size:17px}}
.bs-modes{display:flex;gap:2px;padding:3px;border:1px solid #cbdad2;border-radius:9px;background:#edf2ee}
.bs-modes button{border:0;background:transparent;min-height:32px}
.bs-modes button[aria-pressed=true]{background:#246c60;color:white}
#bs-prompt{padding:16px 18px;background:#f2f6ef;border:1px solid #cfdbd1;border-radius:10px}
#bs-prompt h3{font:600 20px Georgia,serif;margin:0 0 6px}
#bs-prompt p{font-size:14px;margin:0}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/apparatus-action.css; unchanged below this header. */
.apparatus-action-stage {position:relative}
button.apparatus-action {
  min-inline-size:44px;min-block-size:36px;padding:4px 9px;margin:0;
  color:#fff;background:#216c67;border:1px solid #176465;border-radius:7px;
  font:600 13px "Segoe UI",sans-serif;line-height:1.2;
}
button.apparatus-action-overlay {
  position:absolute;left:var(--action-x);top:var(--action-y);transform:translate(-50%,-50%);
}
button.apparatus-action:focus-visible {outline:2px solid #087e85;outline-offset:2px}
button.apparatus-action:hover:enabled {background:#195953;color:white}
button.apparatus-action:disabled {opacity:.65}
button.apparatus-action[hidden] {display:none}
@media(pointer:coarse){button.apparatus-action {min-block-size:44px}}

/* 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 X03 r1: the studio's base rules, authored for the platform (the x01-mount.css pattern). ChemCanvas 0281604
   sets these on the whole document (style.css :root, button, select, .topbar, .row, .panel, .primary, .status,
   .progress, .demo-select, [hidden]; ph-studio.css .ph-brief, .ph-recipe, .ph-filebar). Here each is scoped to the
   component's root, .chem-canvas-x03, 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. The rules after "Platform additions" are new: the challenge question, the refused-entry note, the workbook's
   principle in the notebook and 44 px touch targets at phone width. */
.chem-canvas-x03{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-x03 *{box-sizing:border-box}
.chem-canvas-x03 :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-x03 :where(button){cursor:pointer}
.chem-canvas-x03 :where(button:hover){background:#e8f1ec}
.chem-canvas-x03 :where(button:disabled){opacity:.48;cursor:default}
.chem-canvas-x03 :where(:is(button,input,select,summary):focus-visible){outline:3px solid #daa853;outline-offset:3px}
.chem-canvas-x03 :where(h2){font-size:22px;margin:0 0 12px}
.chem-canvas-x03 :where(h3){font-size:15px}
.chem-canvas-x03 :where(p){line-height:1.5}
.chem-canvas-x03 :where(:is(.topbar,.row)){display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chem-canvas-x03 :where(.topbar){justify-content:space-between;margin-bottom:16px}
.chem-canvas-x03 :where(.panel){background:#fff;border:1px solid #d8e1d8;border-radius:15px;padding:20px}
.chem-canvas-x03 :where(.primary){background:#216d60;color:#fff;border-color:#216d60}
.chem-canvas-x03 :where(.primary:hover){background:#17554a}
.chem-canvas-x03 :where(.status){font-size:13px;color:#526e64;min-height:24px;margin:8px 0}
.chem-canvas-x03 :where(.demo-select){min-width:270px;max-width:100%}
.chem-canvas-x03 :where(.progress){font-size:13px}
.chem-canvas-x03 :where(summary){cursor:pointer}
.chem-canvas-x03 :where([hidden]){display:none!important}
.chem-canvas-x03 :where(.ph-brief,.ph-filebar){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.chem-canvas-x03 :where(.ph-brief p){margin:0 0 3px;color:#347366;font-size:13px;font-weight:650}
.chem-canvas-x03 :where(.ph-brief h2){margin:0;font:600 clamp(24px,3vw,36px)/1.1 Georgia,serif;letter-spacing:-.025em}
.chem-canvas-x03 :where(.ph-recipe){margin:10px 0 17px;max-width:85ch;font-size:16px}
.chem-canvas-x03 :where(.ph-filebar){margin-top:16px;color:#527168}
@media(max-width:800px){
  .chem-canvas-x03{padding:10px}
  .chem-canvas-x03 :where(.topbar){align-items:stretch}
  .chem-canvas-x03 :where(.demo-select){min-width:0;width:100%}
  .chem-canvas-x03 :where(:is(input,select)){max-width:100%}
  .chem-canvas-x03 :where(.topbar .bs-modes button),.chem-canvas-x03 :where(.topbar .demo-select){min-height:44px}
}
/* classic-adjustments.css, the supplies: a quantity control carries the adjustable key while it is enabled. */
.chem-canvas-x03[data-adjust-scope] :is(.lb-supply,.lb-controls>button,.lb-controls input):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);
}
/* Platform additions. */
.chem-canvas-x03 .x03-goal{margin:0 0 14px;padding:12px 14px;background:#f2f6ef;border:1px solid #cfdbd1;border-radius:10px;font-size:15px}
.chem-canvas-x03 .x03-field-error{color:#953e28}
.chem-canvas-x03 #x03-prediction input[aria-invalid=true]{border-color:#b8553a;box-shadow:inset 0 0 0 1px #b8553a}
.chem-canvas-x03 #x03-result .x03-why{margin:10px 0 0;font-size:13px;color:#3e5d57}
.chem-canvas-x03 #x03-result[data-state=invalid] p{color:#953e28}
.chem-canvas-x03 .answer-feedback dd{white-space:pre-line}
.chem-canvas-x03 .answer-feedback details p{white-space:pre-line}
.chem-canvas-x03 .learning-guide .guide-step p{white-space:pre-line}
@media(max-width:800px){
  .chem-canvas-x03 .limiting-board .lb-controls>button{min-width:44px;min-height:44px}
  .chem-canvas-x03 .limiting-board .lb-controls input{min-height:44px}
  .chem-canvas-x03 #x03-prediction :is(input,select,button){min-height:44px}
  .chem-canvas-x03 :is(.bs-modes button,.topbar button,.ph-brief button,.demo-select){min-height:44px}
}
/* 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-x03 :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-x03 :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-x03) .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-x03 :where(.topbar .bs-modes button){padding-inline:8px}.chem-canvas-x03 :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-x03 .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-x03) .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-x03) .cv-group:has(.cv-card > [data-output=challengeGoal]):not(:has(.cv-card ~ .cv-card)){display:none}
/* H-reg (decision 54 H-batch): a Check / Lock held by our refusal looks held, as fine-box.css styles its own guard (R5-6); */
.chem-canvas-x03 button[aria-disabled=true]:not(:disabled){opacity:.55;cursor:not-allowed}

