a.quiet{text-decoration:none}.chloride-workspace{grid-template-columns:275px minmax(0,1fr);max-width:1500px}.chloride-workspace .scene-host{height:clamp(260px,calc(100dvh - 390px),560px);min-height:260px}.chloride-workspace .station-head{padding:15px 20px}.chloride-workspace .station-head h2{font-size:21px}.chloride-workspace .dose-controls{padding:10px 18px}.chloride-workspace .valve-row{margin-top:0}.chloride-workspace .experiment-actions{padding:10px 18px;gap:8px}.chloride-workspace .experiment-actions button{padding:8px 12px}.chloride-workspace .specs>div{padding:9px 0}.chloride-workspace .specs dd{font-size:14px}.recorded-values{display:flex;justify-content:space-between;gap:12px;margin-top:15px;font-size:14px;color:#9fbdcf}.recorded-values bdi{display:block;color:var(--cyan);font-size:18px}.cl-guidance{padding:13px 20px;border-top:1px solid #2c465b;background:#112d38;color:#b9d9df;font-size:14px}.cl-color-reference{display:flex;gap:18px;margin-top:8px;font-size:12px}.cl-color-reference span{display:flex;gap:7px;align-items:center}.cl-color-reference i{height:11px;width:11px;border-radius:50%}#configError{font-size:14px;color:#ffa9a9}#showExpected{font-size:13px}#formulaValues{overflow-wrap:anywhere}.formula{flex-wrap:wrap}.top-actions{align-items:center}.chloride-workspace .reading-card{margin-top:12px}.scene-host #indicator{font-size:14px;padding:6px;width:100%;direction:ltr}.scene-host .reagent-controls{top:110px;width:100px}.cl-guidance #coach{margin:0}html[data-theme=swa] .recorded-values,html[data-theme=swa] .recorded-values bdi{color:#003eb1}html[data-theme=swa] .cl-guidance{background:#edf4ff;color:#355475;border-color:#ccdbf0}@media(max-width:800px){.chloride-workspace{display:flex}.chloride-workspace .data-panel{display:block}.chloride-workspace .scene-host{height:320px;min-height:260px}.chloride-workspace .station-head h2{font-size:18px}.chloride-workspace .valve-row{flex-wrap:wrap}.chloride-workspace .valve-row input{min-width:90px}}@media(max-width:460px){.chloride-workspace .experiment-actions button{font-size:12px;padding:8px}.cl-color-reference{gap:12px}.chloride-workspace .result-grid{grid-template-columns:1fr}.chloride-workspace .formula bdi{font-size:13px}.chloride-workspace .station-head{padding:12px 15px}}

/* Mobile-only layout follows the hardness simulator while keeping desktop unchanged. */
@media(max-width:767px){
  body.chloride-page .topbar{position:relative;display:grid;direction:ltr;grid-template-columns:48px 48px minmax(0,1fr);grid-template-rows:auto auto;gap:8px;align-items:center;padding:8px 12px;z-index:10}
  body.chloride-page .brand{grid-column:3;grid-row:1;justify-self:end;direction:rtl;gap:10px;min-width:0}
  body.chloride-page .brand-symbol{width:48px;height:48px;border-radius:12px;font-size:22px;flex:0 0 auto}
  body.chloride-page .brand h1{font-size:17px;line-height:1.35;white-space:nowrap}
  body.chloride-page .brand p{margin-top:1px;font-size:10px;line-height:1.4;white-space:nowrap}
  body.chloride-page .mobile-home-link{grid-column:2;grid-row:1;display:grid;place-items:center;width:44px;height:46px;border:1px solid #2d4f6b;border-radius:12px;background:#0c1d2e;color:#b8e9ff;text-decoration:none}
  body.chloride-page .mobile-home-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  body.chloride-page .mobile-menu-button{grid-column:1;grid-row:1;display:flex;width:46px;height:46px;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #2d4f6b;border-radius:12px;background:#0c1d2e;color:#b8e9ff}
  body.chloride-page .mobile-menu-button span{width:22px;height:2px;border-radius:2px;background:#9bbbd1}
  body.chloride-page .top-actions{grid-column:1/-1;grid-row:2;display:none;position:absolute;top:calc(100% + 6px);inset-inline:10px;z-index:20;width:auto;padding:9px;border:1px solid #294b64;border-radius:13px;background:#0c1b2b;box-shadow:0 12px 28px #0008;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.chloride-page .topbar .top-actions.open{display:grid}
  body.chloride-page .top-actions>*{min-width:0;min-height:44px;padding:7px 8px;font-size:12px;text-align:center}
  body.chloride-page .top-actions .theme-toggle{font-size:12px}
  .chloride-workspace{gap:10px;padding:10px 12px;overflow-x:clip}
  .chloride-workspace .station{order:0;width:100%;overflow:hidden;border-radius:17px}
  .chloride-workspace .data-panel{order:1;width:100%;display:block}
  .chloride-workspace .station-head{display:grid;grid-template-columns:56px minmax(88px,1fr) minmax(102px,1.2fr);gap:8px;align-items:center;margin:10px;padding:13px 12px;border:1px solid #294d66;border-radius:16px;background:linear-gradient(130deg,#10283d,#0c1c2d);direction:rtl}
  .chloride-workspace .station-head>div:first-child{grid-column:3;min-width:0}
  .chloride-workspace .station-head .eyebrow{font-size:10px;color:#8ebbd3}
  .chloride-workspace .station-head h2{margin-top:2px;font-size:clamp(14px,4vw,18px);line-height:1.35;white-space:normal}
  .chloride-workspace .stage-pill{grid-column:1;grid-row:1;justify-self:stretch;min-height:42px;display:grid;place-items:center;padding:4px;border:1px solid #34748a;border-radius:10px;color:#5ef0d4;font-size:12px;text-align:center}
  .chloride-workspace .mobile-reading-slot{display:contents}
  .chloride-workspace .station-head .burette-readout{position:static;grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;width:auto;min-width:0;margin:0;padding:0 8px;border:0;border-inline-start:1px solid #35556c;border-radius:0;background:transparent;box-shadow:none;text-align:right}
  .chloride-workspace .burette-readout>span{font-size:10px;line-height:1.35;color:#9cc9e3;white-space:nowrap}
  .chloride-workspace .burette-readout strong{display:flex;align-items:baseline;justify-content:flex-start;gap:4px;margin:2px 0;font-size:clamp(25px,7.5vw,34px);line-height:1.15;color:#eff8ff;letter-spacing:0;white-space:nowrap}
  .chloride-workspace .burette-readout strong bdi{font-size:inherit}
  .chloride-workspace .burette-readout small{font-size:11px}
  .chloride-workspace .burette-readout>span:nth-of-type(2){font-size:9px}
  .chloride-workspace .burette-readout #zoomReading{display:none}
  .chloride-workspace .scene-host{height:clamp(380px,56svh,520px);min-height:360px;border-radius:0;background:radial-gradient(ellipse at 52% 55%,#1a3953,#0b1b2c 73%)}
  .chloride-workspace .scene-caption{display:none}
  .chloride-workspace .scene-host .scene-reset,.chloride-workspace .scene-host .flask-focus{right:10px;left:auto;z-index:2;width:126px;min-height:44px;padding:7px 8px;border:1px solid #34768a;border-radius:12px;background:#0b2032e8;color:#bdefff;font-size:12px;box-shadow:0 4px 15px #0003}
  .chloride-workspace .scene-host .scene-reset{top:14px}
  .chloride-workspace .scene-host .flask-focus{top:62px}
  .chloride-workspace .mobile-reagent-slot{padding:10px 14px;border-block:1px solid #29475e;background:#0e2032}
  .chloride-workspace .mobile-reagent-slot .reagent-controls{position:static;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
  .chloride-workspace .mobile-reagent-slot .control-title{display:block;margin:0;color:#d8eff8;font-size:13px;white-space:nowrap}
  .chloride-workspace .mobile-reagent-slot #indicator{width:100%;min-height:46px;padding:7px 8px;border:1px solid #347b8e;border-radius:12px;background:#102a3c;color:#daf5ff;font-size:15px;font-weight:650;direction:ltr}
  .chloride-workspace .mobile-solution-slot{padding:6px 12px;background:#0e2032;color:#9cc9e3;font-size:12px;text-align:center}
  .chloride-workspace .dose-controls{padding:10px 14px;background:linear-gradient(145deg,#102538,#0d1d2c)}
  .chloride-workspace .valve-row{display:grid;grid-template-columns:minmax(0,1fr) 84px;grid-template-areas:"label percent" "slider slider" "drop stir";gap:6px 9px;align-items:center;margin:0;color:#d6ebf7;font-size:14px}
  .chloride-workspace .valve-row label{grid-area:label;justify-self:end;font-size:15px;color:#d6ebf7}
  .chloride-workspace .valve-row output{grid-area:percent;min-width:72px;min-height:38px;display:grid;place-items:center;padding:4px 8px;border:1px solid #34748a;border-radius:11px;color:#d9f5ff;text-align:center;font-size:16px}
  .chloride-workspace .valve-row input{grid-area:slider;width:100%;height:28px;min-width:0;margin:0;accent-color:#4ce6cc;touch-action:pan-x}
  .chloride-workspace .valve-row #singleDrop{grid-area:drop;min-width:0;min-height:46px;padding:7px 6px;border-radius:11px;font-size:13px}
  .chloride-workspace .valve-row #stir{grid-area:stir;min-width:0;min-height:46px;padding:7px 6px;border-radius:11px;font-size:13px}
  .chloride-workspace .experiment-actions{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"start stop" "finish pause" "next next" "status status";gap:8px;padding:8px 10px;background:#0d1d2c;box-shadow:none}
  .chloride-workspace .experiment-actions #start{grid-area:start}
  .chloride-workspace .experiment-actions #stopDosing{grid-area:stop}
  .chloride-workspace .experiment-actions #finish{grid-area:finish}
  .chloride-workspace .experiment-actions #pause{grid-area:pause}
  .chloride-workspace .experiment-actions #nextStage{grid-area:next}
  .chloride-workspace .experiment-actions #flowStatus{grid-area:status;margin:0;font-size:12px;line-height:1.45}
  .chloride-workspace .experiment-actions button{min-width:0;min-height:46px;padding:7px 6px;border-radius:12px;font-size:13px}
  .chloride-workspace .cl-guidance{padding:10px 14px;font-size:13px;line-height:1.7}
  .chloride-workspace .cl-color-reference{gap:10px;font-size:11px}
  .chloride-workspace .result-panel{padding:16px}
  body.chloride-page footer{padding:0 14px 18px}
}
.mobile-home-link{display:none}
@media(max-width:380px){
  body.chloride-page .topbar{grid-template-columns:42px 38px minmax(0,1fr);column-gap:6px;padding-inline:10px}
  body.chloride-page .mobile-menu-button{width:40px;height:42px}
  body.chloride-page .mobile-home-link{width:36px;height:42px}
  body.chloride-page .brand{gap:7px}
  body.chloride-page .brand-symbol{width:42px;height:42px;font-size:20px}
  body.chloride-page .brand h1{font-size:15px}
  body.chloride-page .brand p{font-size:9px}
  .chloride-workspace{padding-inline:9px}
  .chloride-workspace .station-head{grid-template-columns:50px minmax(82px,1fr) minmax(95px,1.15fr);gap:6px;padding:11px 9px}
  .chloride-workspace .station-head .eyebrow{font-size:9px}
  .chloride-workspace .station-head h2{font-size:14px}
  .chloride-workspace .station-head .burette-readout{padding-inline:6px}
  .chloride-workspace .burette-readout strong{font-size:25px}
  .chloride-workspace .stage-pill{font-size:11px}
  .chloride-workspace .scene-host{height:380px;min-height:360px}
  .chloride-workspace .mobile-reagent-slot{padding-inline:10px}
  .chloride-workspace .mobile-reagent-slot .reagent-controls{gap:8px}
}
