/* ChemCanvasX14 r1 stylesheet. Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Built by Platform/client/chem-canvas/x14-build.mjs from chemcanvas-src-x14/sol-studio.css, chemcanvas-src-x14/sol-apparatus.css, chemcanvas-src/learning-flow.css, chemcanvas-src/answer-feedback.css, chemcanvas-src/adjustable-controls.css, fine-box.css, adjust-ring.css, x14-mount.css; do not edit. */
/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/sol-studio.css; unchanged below this header. */
.sol-studio.panel {
  padding:clamp(12px,2vw,26px);
  background:#fbfcf9;
  color:#203d43;
}
.ss-layout {display:grid;grid-template-columns:minmax(0,2.3fr) minmax(236px,.85fr);gap:20px;align-items:start}
.ss-working,.ss-notebook {min-width:0}
.ss-working .sol-apparatus svg.sola-svg {max-height:clamp(300px,40vh,420px)}
.ss-tools {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;margin-top:10px;overflow:hidden;border:1px solid #c9d9d5;border-radius:12px;background:#cadbd5;
}
.ss-tool {--control:#496f76;display:flex;flex-direction:column;gap:7px;justify-content:space-between;padding:13px;background:#f7faf7}
.ss-solute {--control:#856936}
.ss-water {--control:#22798b}
.ss-tool-title,.ss-scale {display:flex;align-items:baseline;justify-content:space-between;gap:5px;flex-wrap:wrap}
.ss-tool-title label {font-size:14px;font-weight:650}
.ss-tool-title output {font:600 13px/1.2 ui-monospace,monospace;color:var(--control)}
.ss-tool input[type=range],#ss-dial {
  width:100%;min-width:0;min-height:26px;accent-color:var(--control,#2b7469);padding:0;margin:0;border:0;background:transparent;cursor:pointer
}
.ss-tool button {min-height:34px;font-size:13px;font-weight:600;padding:4px 8px}
.ss-temper {display:grid;grid-template-columns:1fr 1fr;gap:5px}
.ss-temper button:first-child {color:#245876;background:#eff6fa}
.ss-temper button:last-child {color:#814d34;background:#fff5e9}
#ss-observe {min-height:1.4em;margin:8px 2px 0;color:#45675e;font-size:14px}
.ss-notebook {border:1px solid #c7d8d1;background:white;border-radius:14px;overflow:hidden}
.ss-reference {padding:16px 19px;background:#eef4ed;border-bottom:1px solid #d4e0d4}
.ss-reference h3 {margin:0;font-size:14px}
.ss-reference p {margin:4px 0 0;color:#375d50}
.ss-reference strong {font:600 30px/1.15 Georgia,serif;color:#274f43}
.ss-reference span,.ss-scale {color:#526860;font-size:12px}
#ss-form {padding:18px 19px}
#ss-form h3 {font:600 22px/1.15 Georgia,serif;margin:0}
#ss-form p,#ss-result p {font-size:14px;line-height:1.45}
#ss-form label {display:block;font-size:13px;margin-bottom:5px}
#ss-guess {width:100%;font:600 18px/1.2 ui-monospace,monospace;padding:9px}
#ss-dial {margin-top:8px}
.ss-scale {margin-bottom:14px}
#ss-form button {width:100%;margin-block-start:12px}
#ss-result {margin:0 19px 18px;border-top:2px solid #80a79b;padding-top:12px}
#ss-result h4 {margin:0;color:#28594c}
#ss-result dl {display:flex;gap:20px;margin:10px 0}
#ss-result dt {font-size:12px}
#ss-result dd {font-size:20px;margin:2px 0}
#ss-result p {margin:0}
.sol-studio #status:empty {display:none}
@media(max-width:850px){.ss-layout{grid-template-columns:1fr;gap:9px}}
@media(max-width:540px){
  .ss-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ss-bath{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}
  .ss-bath .ss-tool-title{grid-column:1/-1}
  .ss-tool{padding:10px}
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   Vendored from ChemCanvas 0281604 src/sol-apparatus.css; unchanged below this header. */
.sol-apparatus {
  display:grid;
  margin:0;
  min-width:0;
  width:100%;
  color:#26454f;
  container-type:inline-size;
}
.sol-apparatus .sola-svg {
  display:block;
  width:100%;
  height:auto;
  background:radial-gradient(ellipse at 57% 28%,#fffff9 0%,transparent 65%),linear-gradient(180deg,#eef6f3,#e6efeb 90%,#eff5f0 90%);
  border:1px solid #d2e2dd;
  border-radius:13px;
}
.sol-apparatus .sola-label {
  font:600 12px "Segoe UI",system-ui,sans-serif;
  fill:#496369;
}
.sol-apparatus [data-sol-action] {outline:none;touch-action:manipulation}
.sol-apparatus [data-instrument-step] text {font-size:23px!important}
.sol-apparatus [data-instrument-step]:focus-visible rect {stroke:#337e80;stroke-width:3}
.sol-apparatus [data-sol-action][aria-disabled=false] {cursor:pointer}
.sol-apparatus [data-sol-action][aria-disabled=false]:hover .sola-hit,
.sol-apparatus [data-sol-action]:focus-visible .sola-hit {stroke:#337e80;stroke-width:2;stroke-dasharray:5 3}
.sol-apparatus figcaption {
  display:flex;
  justify-content:center;
  gap:8px 20px;
  flex-wrap:wrap;
  padding:8px 4px 2px;
  color:#456169;
  font:500 12px/1.4 "Segoe UI",system-ui,sans-serif;
}
.sol-apparatus figcaption span {display:inline-flex;align-items:center;gap:6px}
.sol-apparatus .sola-solute-dot {width:8px;height:8px;border-radius:50%;background:#338d90;border:1px solid #216c75}
.sol-apparatus .sola-solid-mark {width:9px;height:9px;border-radius:2px;transform:rotate(38deg);background:linear-gradient(135deg,#f5d69d 40%,#c58d4c 42%);border:1px solid #9b713b}
.sol-apparatus .sola-drift {animation:sola-diffuse 5s ease-in-out infinite alternate}
@keyframes sola-diffuse {
  0%,100% {transform:translate(0,0)}
  26% {transform:translate(var(--dx),var(--dy))}
  65% {transform:translate(calc(-.65 * var(--dx)),calc(.45 * var(--dy)))}
}
@container (max-width:380px) {
  .sol-apparatus figcaption {gap:5px 12px;font-size:11px}
  .sol-apparatus .sola-label {font-size:14px}
}
@media(prefers-reduced-motion:reduce) {
  .sol-apparatus .sola-drift {animation:none}
}

/* 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 Fine adjustments number box (fine-box.js), shared by every chem-canvas lab: a platform addition (Ugur, 2026-11-28,
   "Yes, add boxes everywhere"). It sits in the slider's row, after the slider, with the slider's unit. */
.lab-fine-entry{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}
input.lab-fine-box{box-sizing:border-box;inline-size:5.6em;min-block-size:32px;min-height:32px;margin:0;padding:4px 6px;font:inherit;font-size:14px;font-variant-numeric:tabular-nums;text-align:right;border:1px solid #c9d7d2;border-radius:6px;background:#fff;color:inherit}
input.lab-fine-box:disabled{opacity:.55;cursor:default}
input.lab-fine-box[aria-invalid=true]{border-color:#b4472b;box-shadow:inset 0 0 0 1px #b4472b}
/* the slider's own readout gives way to the box: the value shows once (decision 38, 2026-11-29; fine-box.js hideReadouts) */
output[data-fine-readout]{display:none !important}
.lab-fine-unit{font-size:13px;color:#4e6b70;white-space:nowrap}
.lab-fine-msg{display:block;grid-column:1/-1;flex:1 0 100%;inline-size:100%;margin:2px 0 0;color:#953e28;font-size:12px;line-height:1.35}
/* the refusal line spans its whole row in a grid or flex layout of the Fine adjustments, never taking a control's cell (tester T4, X14) */
.lab-fine-guard{display:block;margin:4px 0 0;color:#953e28;font-size:12px;line-height:1.35}
.lab-fine-msg[hidden]{display:none}
@media(max-width:500px){input.lab-fine-box{inline-size:4.8em;min-block-size:44px;min-height:44px}}
/* The box sizes to its content (about 7 characters) and never squeezes its slider: a lab rule that widens every input of
   a control row (width:100%, flex:1) is overridden here, and the slider keeps at least 120 px of travel; at phone width
   the box wraps onto its own line under the slider (views check 2026-11-28: X05, X07, X10 sliders squeezed to 2-22 px). */
.lab-control-row:has(> .lab-fine-entry){display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lab-control-row > input[type=range]{flex:1 1 120px;min-inline-size:120px;min-width:120px}
.lab-control-row > .lab-fine-entry{flex:0 0 auto;inline-size:auto;width:auto;max-inline-size:100%}
.lab-fine-entry > input.lab-fine-box{flex:0 0 auto !important;inline-size:7.5ch !important;width:7.5ch !important;min-inline-size:0 !important;max-inline-size:none !important}
@media(max-width:500px){.lab-control-row > input[type=range]{flex-basis:100%}.lab-control-row > .lab-fine-entry{flex-basis:auto}.lab-fine-entry > input.lab-fine-box{inline-size:8ch !important;width:8ch !important}}
/* an answer button the guard holds (aria-disabled while a shown setting is off its steps) looks disabled, as a disabled
   button does (tester T4, X13, 2026-11-28) */
button[data-fine-guard]{opacity:.55;cursor:not-allowed}

/* 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 X14 r1: the studio's base rules, authored for the platform (the X01 and X04 rules, x01-mount.css and
   x04-mount.css, re-scoped). 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; ph-studio.css
   .ph-brief, .ph-recipe, .ph-filebar; additional-labs.css .lab-fine-controls summary). Here each is scoped to the
   component's root, .chem-canvas-x14, 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 answer hint, the fixed setup and the phone
   touch targets. */
.chem-canvas-x14{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-x14 *{box-sizing:border-box}
.chem-canvas-x14 :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-x14 :where(input[type=range]){padding:0;border:0;background:transparent}
.chem-canvas-x14 :where(button){cursor:pointer}
.chem-canvas-x14 :where(button:hover){background:#e8f1ec}
.chem-canvas-x14 :where(button:disabled){opacity:.48;cursor:default}
.chem-canvas-x14 :where(:is(button,input,select,summary):focus-visible){outline:3px solid #daa853;outline-offset:3px}
.chem-canvas-x14 :where(h2){font-size:22px;margin:0 0 12px}
.chem-canvas-x14 :where(h3){font-size:15px}
.chem-canvas-x14 :where(p){line-height:1.5}
.chem-canvas-x14 :where(:is(.topbar,.row)){display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chem-canvas-x14 :where(.topbar){justify-content:space-between;margin-bottom:16px}
.chem-canvas-x14 :where(.panel){background:#fff;border:1px solid #d8e1d8;border-radius:15px;padding:20px}
.chem-canvas-x14 :where(.primary){background:#216d60;color:#fff;border-color:#216d60}
.chem-canvas-x14 :where(.primary:hover){background:#17554a}
.chem-canvas-x14 :where(.status){font-size:13px;color:#526e64;min-height:24px;margin:8px 0}
.chem-canvas-x14 :where(.demo-select){min-width:270px;max-width:100%}
.chem-canvas-x14 :where(.progress){font-size:13px}
.chem-canvas-x14 :where(summary){cursor:pointer}
.chem-canvas-x14 :where([hidden]){display:none!important}
.chem-canvas-x14 :where(.bs-modes){display:flex;gap:2px;padding:3px;border:1px solid #cbdad2;border-radius:9px;background:#edf2ee}
.chem-canvas-x14 :where(.bs-modes button){border:0;background:transparent;min-height:32px}
.chem-canvas-x14 :where(.bs-modes button[aria-pressed=true]){background:#246c60;color:white}
.chem-canvas-x14 :where(.ph-brief,.ph-filebar){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.chem-canvas-x14 :where(.ph-brief p){margin:0 0 3px;color:#347366;font-size:13px;font-weight:650}
.chem-canvas-x14 :where(.ph-brief h2){margin:0;font:600 clamp(24px,3vw,36px)/1.1 Georgia,serif;letter-spacing:-.025em}
.chem-canvas-x14 :where(.ph-recipe){margin:10px 0 17px;max-width:85ch;font-size:16px}
.chem-canvas-x14 :where(.ph-filebar){margin-top:16px;color:#527168}
.chem-canvas-x14 :where(.lab-fine-controls summary){font-size:14px;font-weight:600;margin-top:10px}
@media(max-width:800px){
  .chem-canvas-x14{padding:10px}
  .chem-canvas-x14 :where(.topbar){align-items:stretch}
  .chem-canvas-x14 :where(.demo-select){min-width:0;width:100%}
  .chem-canvas-x14 :where(:is(input,select)){max-width:100%}
  .chem-canvas-x14 :where(.topbar .bs-modes button),.chem-canvas-x14 :where(.topbar .demo-select){min-height:44px}
}
/* classic-adjustments.css, the studio's controls: the answer field carries the adjustable key while it is enabled. */
.chem-canvas-x14[data-adjust-scope] #ss-guess: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-x14 .x14-goal{margin:0 0 14px;padding:10px 14px;border-left:4px solid #256b60;background:#eef4ed;font-size:15px;max-width:85ch}
.chem-canvas-x14 .sol-studio[data-fixed-setup] #ss-vessel [data-sol-action],
.chem-canvas-x14 .sol-studio[data-fixed-setup] #ss-vessel [data-instrument-step]{pointer-events:none}
.chem-canvas-x14 #x14-guide:not([hidden]){border-bottom:1px solid #d4e0d4}
.chem-canvas-x14 #x14-guide .learning-guide{padding:14px 19px}
.chem-canvas-x14 #ss-form small{display:block;color:#4e6b70;font-size:12px;margin-top:4px}
.chem-canvas-x14 #ss-form #x14-back{background:transparent}
.chem-canvas-x14 .x14-answer-hint{margin:8px 0 0;color:#953e28;font-size:13px}
.chem-canvas-x14 #x14-feedback{margin:0 19px 18px}
.chem-canvas-x14 #ss-result dl{flex-wrap:wrap}
@media(max-width:500px){
  .chem-canvas-x14 :where(.ph-brief .row button),.chem-canvas-x14 #ss-guess,.chem-canvas-x14 #ss-form button,
  .chem-canvas-x14 .ss-temper button,.chem-canvas-x14 #x14-prev,.chem-canvas-x14 #x14-next,.chem-canvas-x14 #x14-example{min-height:44px}
  .chem-canvas-x14 .ss-tool input[type=range]{min-height:44px}
}
/* The Fine adjustments number box (fine-box.js; Ugur, 2026-11-28, "Yes, add boxes everywhere"): in the slider's row, after
   the slider, as in the lab-range.js labs; the label and the bath's Coolest / Warmest keep their own rows. */
.chem-canvas-x14 .lab-fine-controls .ss-tool{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:start;gap:7px 6px}
.chem-canvas-x14 .lab-fine-controls .ss-tool > :not(input[type=range]):not(.lab-fine-entry){grid-column:1 / -1}
.chem-canvas-x14 .lab-fine-controls .ss-tools > .lab-fine-msg{grid-column:1 / -1;margin:0 13px 6px;inline-size:auto;width:auto;min-width:0}
/* Each tool's slider keeps at least 120 px of travel beside its number box, and the box wraps under the slider when the
   tool is narrower (views check 2026-11-28: the bath and the bottle sliders were 51 px at 375 px, 113 px at 1280). */
/* D1 (3X-NEXT-BATCH-PLAN-1129.md): sol-studio.css gives .ss-tool flex-direction:column, so with wrap the 100% rows
   became columns that ran out of the cell (the grid clipped at 1280 and 375 px); the rows run across here. */
.chem-canvas-x14 .lab-fine-controls .ss-tool{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;align-content:flex-start;gap:7px 6px;min-width:0}
.chem-canvas-x14 .lab-fine-controls .ss-tool > :not(input[type=range]):not(.lab-fine-entry){flex:1 0 100%}
.chem-canvas-x14 .lab-fine-controls .ss-tool > input[type=range]{flex:1 1 120px;min-width:120px;min-inline-size:120px}
.chem-canvas-x14 .lab-fine-controls .ss-tool > .lab-fine-entry{flex:0 0 auto}

/* 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-x14 :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-x14 :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-x14) .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-x14 :where(.topbar .bs-modes button){padding-inline:8px}.chem-canvas-x14 :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-x14 .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}}
/* H-reg (decision 54 H-batch): a Fine guard line goes under the button row, never between Check and Back (R6-10); */
.chem-canvas-x14 :is(.lab-prediction,[id$="-prediction"],[id$="-predict"],form) > small.lab-fine-guard{order:3;flex:1 1 100%;margin:0}

