/* Candidate interface only. Clinical calculation modules are unchanged. */
:root{--ink:#172b31;--muted:#52616a;--bg:#f6f7f7;--paper:#fff;--line:#d8e0e2;--green:#12675f;--dark:#183b3e;--shadow:none}
body{font-family:Arial,Helvetica,sans-serif;color:#172b31;background:#f6f7f7;font-size:15px;line-height:1.55}
body .hosted-header{position:relative!important;background:#fff!important;color:#172b31!important;border-bottom:1px solid #d8e0e2!important;box-shadow:none!important}
body .brand-wordmark,body .brand-wordmark b{color:#172b31!important}body .brand-symbol{color:#12675f;background:#edf4f2;border-radius:8px}
body .hosted-header .nav-item{color:#52616a!important;font-size:14px!important}body .hosted-header .nav-item.active{color:#12675f!important;background:#eff5f3!important;border-color:#12675f!important}
body .hosted-header .header-offline,body .hosted-header .icon-button,body .hosted-header .site-more-toggle{color:#344d51!important;border-color:#ced9db!important}
body .site-approach-switch,body .approach-switch{box-shadow:none!important}body .approach-bar{background:#fff!important;border-bottom:1px solid #e5e9e9!important}
body .workspace{max-width:1440px!important;margin:0 auto!important}body main{padding-top:24px!important}
body .page-heading{margin-bottom:22px!important;align-items:flex-start}body .page-heading h1{font-size:clamp(26px,3vw,34px)!important;line-height:1.15!important;letter-spacing:-1px!important;color:#142d32!important}
body .page-heading p{font-size:14px!important;margin-top:8px!important;color:#53656c!important}
body .analysis-layout{grid-template-columns:minmax(330px,410px) minmax(0,1fr)!important;gap:28px!important;align-items:start!important}
body .input-panel,body .trad-empty,body .trad-summary-card,body .trad-panel,body .interpretation-card{border:1px solid #d8e0e2!important;border-radius:10px!important;box-shadow:none!important}
body .input-panel{padding:24px!important}body .panel-head{gap:8px!important;flex-wrap:wrap}body .panel-head h2{font-size:19px!important}
body .input-intro{font-size:13px!important;line-height:1.5!important;margin:12px 0 20px!important}
body #gas-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}body #gas-fields .field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;border:0!important;padding:0!important}
body #gas-fields label{font-size:14px!important;font-weight:650!important}body #gas-fields .input-wrap{width:100%!important}body #gas-fields input{font-size:25px!important;font-weight:650!important;height:60px!important;padding:10px 12px!important;max-width:none!important;width:100%!important;background:#fff!important;color:#142d32!important}
body #gas-fields input.has-unit{padding-right:55px!important}body #gas-fields .input-unit{font-size:12px!important}body #gas-fields small{font-size:11px!important;line-height:1.4!important;max-width:none!important}
body .sample-type-row,body .course-field{padding:0!important;margin:0 0 14px!important}body fieldset{margin:22px 0!important}body legend{font-size:13px!important;letter-spacing:0!important;color:#294b4d!important}
body button,body .button,body select{min-height:42px}body input,body select{border:1px solid #c2cfd2!important;border-radius:5px!important}body input:focus{outline:2px solid #12675f!important;outline-offset:2px!important;box-shadow:none!important}
body .button.primary{background:#12675f!important;border:1px solid #12675f!important;color:white!important;box-shadow:none!important}body .button.light{background:white!important;border:1px solid #c6d3d4!important;color:#294b4d!important}
body .trad-empty{padding:30px!important;background:#fff!important;min-height:0!important}body .trad-empty h2{font-size:25px!important;letter-spacing:-.5px!important}body .trad-empty>p{max-width:49ch;line-height:1.65}
.bench-start{border-top:1px solid #dfe7e7;margin-top:26px;padding-top:22px}.bench-start h3{font-size:14px;margin-bottom:12px}.bench-start p{font-size:13px;margin-bottom:12px}.bench-start-links{display:grid;gap:8px}.bench-start-links a{display:flex;justify-content:space-between;gap:20px;padding:13px 15px;border:1px solid #d8e0e2;border-radius:6px;font-size:14px;background:#fafcfc;text-decoration:none}.bench-start-links a:hover{background:#edf5f3;border-color:#12675f}.bench-start-links span{color:#12675f;font-weight:bold}
body .trad-example-filters{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:20px!important}.trad-example-filters button{padding:8px 12px;border:1px solid #cbd8d9;background:white;border-radius:6px;color:#30494d}.trad-example-filters button[aria-pressed=true]{background:#12675f;color:white;border-color:#12675f}
body .trad-example-card{border-radius:8px!important;box-shadow:none!important}body .trad-example-card h2{font-size:20px!important;letter-spacing:-.35px!important}.bench-library-search{display:block;margin:0 0 16px;font-weight:600}.bench-library-search input{display:block;width:100%;max-width:500px;padding:12px;margin-top:6px;font:inherit;font-weight:400}
body .traditional-view .trad-library-intro{max-width:65ch;color:#52616a;line-height:1.6;margin-bottom:18px}
body .mobile-analysis-nav{background:#fff!important;border-top:1px solid #d8e0e2!important;box-shadow:0 -3px 10px #172b3108!important}
@media(max-width:900px){body .analysis-layout{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}body .input-panel{padding:20px!important}body .trad-empty{padding:22px!important}body .page-heading h1{font-size:28px!important}body main{padding:20px 16px 80px!important}body .hosted-header .masthead-actions .icon-button{display:none!important}body .brand-wordmark{font-size:22px!important}body .hosted-header nav{overflow-x:auto!important}body .approach-context{display:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.bench-start,.bench-library-search,.trad-example-filters{display:none!important}}
@media(max-width:900px){body .hosted-header nav.primary-nav{display:flex!important;gap:0!important;overflow-x:auto!important;white-space:nowrap!important;min-height:50px!important;justify-content:flex-start!important}body .hosted-header nav.primary-nav>.nav-item{flex:0 0 auto!important;min-width:max-content!important;padding:14px 12px!important}body .hosted-header .site-more{flex:0 0 auto!important}body .hosted-header .site-more-toggle{padding:14px 12px!important;min-height:50px!important}body .page-heading{margin-bottom:18px!important}body .input-panel{padding:18px!important}body #abg-form>fieldset{margin:18px 0!important}}
.review-notice{margin:0;padding:.6rem 1rem;background:#fff8df;color:#5d4a13;text-align:center;font:13px/1.5 system-ui,sans-serif;border-bottom:1px solid #ead69a}
/* Release 5.17: fewer controls before the gas; all existing values are retained. */
.bench-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.bench-controls a{font-size:13px;text-decoration:underline;color:#12675f}.bench-controls p{font-size:12px;line-height:1.5;color:#52616a;margin:0;flex-basis:100%}.bench-extra{border-top:1px solid #d8e0e2;margin-top:20px;padding-top:15px}.bench-extra>summary{padding:7px 0;font-size:14px;font-weight:600;color:#12675f;cursor:pointer}.bench-share-dialog{width:min(94vw,600px);max-height:90vh;overflow:auto;border:1px solid #cbd8da;border-radius:10px;padding:27px;background:white}.bench-share-dialog h2{margin-bottom:16px}.bench-share-dialog p{font-size:14px;line-height:1.6;margin:12px 0}.bench-share-dialog label{display:block;font-size:13px;margin-bottom:7px}.bench-share-dialog textarea{width:100%;padding:10px;resize:vertical;font:12px/1.5 monospace}.bench-share-dialog::backdrop{background:#122f3a88}.bench-shared-note{border-left:3px solid #12675f;background:#edf6f3;padding:12px;font-size:13px;margin-bottom:15px}body #gas-fields .bench-bicarb{grid-column:1/-1}body #gas-fields .bench-bicarb input{font-size:19px!important;height:48px!important}body .input-intro{margin:9px 0 13px!important}body .page-heading{margin-bottom:13px!important}body .input-panel fieldset{margin:15px 0!important}body .site-footer:after{content:'Website release 5.17.0 · clinical engine 5.16.1';display:block;font-size:12px;color:#52616a;margin-top:8px}@media(max-width:900px){body .hosted-header .site-masthead{min-height:52px!important}body .approach-inner{padding:8px 16px!important}body .page-heading h1{font-size:25px!important}body .page-heading p{margin-top:4px!important}body .medical-use-notice{margin-bottom:10px!important;font-size:12px!important}body .analysis-layout{gap:14px!important}body #gas-fields{gap:10px!important}body #gas-fields input{height:50px!important;font-size:23px!important}.bench-controls{gap:7px}.bench-controls button{font-size:12px;min-height:38px;padding:7px 10px}.bench-controls p{font-size:11px}.bench-extra{margin-top:14px}.input-panel .panel-head{padding:0!important}}@media print{.bench-controls,.bench-share-dialog,.bench-extra>summary{display:none!important}.bench-extra{display:block!important}}

body #gas-fields .bench-bicarb{display:flex!important;grid-column:1/-1!important}.bench-controls{margin-top:15px}.bench-controls #bench-mode{display:none}.bench-release-note{text-align:center;font:12px/1.5 system-ui;color:#52616a;padding:10px;margin:0;background:white}body #gas-fields .bench-bicarb small{max-width:none!important}body #abg-form>fieldset>legend{display:flex!important;align-items:center;justify-content:space-between;width:100%;padding-bottom:7px!important}body #abg-form>fieldset>legend>.legend-note{display:none}body #abg-form>fieldset>legend>.unit-switch{margin:0!important;padding:0!important;display:flex;gap:7px}body #abg-form>fieldset>legend>.unit-switch label{font-size:11px!important}body #abg-form>fieldset>legend>.unit-switch select{min-height:34px!important;height:34px;font-size:13px;padding:5px 7px}body .site-footer:after{content:none}@media(max-width:900px){body .input-intro{display:none!important}body #abg-form{margin-top:13px}body .sample-type-row{margin-bottom:8px!important}body .input-panel{padding:17px!important}body .medical-use-notice{font-size:11px!important}body #gas-fields .bench-bicarb input{height:44px!important}body .page-heading{margin-bottom:12px!important}body #abg-form>fieldset{margin:12px 0!important}body .course-field{font-size:13px!important}}

/* Worked calculations remain visible without repeated editorial badges. */
.tc-content .tc-worked,.tc-content .tc-common-mistake{box-shadow:none!important}.tc-content .tc-worked p,.tc-content .tc-common-mistake p{margin:0}.traditional-results .result-topline:has(#traditional-result-state:empty),#results>.result-topline:has(#result-state:empty){display:none}.trad-empty .calculator-guides{margin-top:14px}

/* Repeated case context and instructions are retained once, not in both columns. */
#approach-context,.input-intro,#bench-mode-note{display:none!important}
#traditional-example-note[data-copy-duplicate],#gas-consistency-check[data-copy-empty],.result-topline[data-copy-empty],#investigation-title[data-copy-duplicate]{display:none!important}
.trad-empty>p:empty,.clinical-help:empty{display:none!important}
.copy-collapsed-note{margin-top:10px;font-size:12px;line-height:1.5}
.copy-collapsed-note summary{cursor:pointer;color:#52636d}
.copy-collapsed-note p{margin:8px 0 0}
.copy-results-label{font-size:12px;color:#52636d}
