/* A compact experiment bench. No filters, image downloads or continuous motion. */
.net-balance-note{font-size:16px;line-height:1.6;margin:18px 0;padding:14px 16px;background:#f3f6fb;border-left:3px solid #7486a1;border-radius:0 8px 8px 0}.carbon-balance-explainer,.net-formula-label{font-size:14px;line-height:1.6;color:var(--muted)}.net-formula-label{margin:18px 0 8px}.scenario-feedback strong{line-height:1.5}
@media(max-width:760px){.results-view .net-balance-note{font-size:14px;padding:12px;margin:12px 0}.mobile-carbon-details .carbon-balance-explainer{font-size:15px}.results-view .scenario-feedback strong{font-size:18px}}
.sample-description{position:relative;z-index:2;font-size:16px;line-height:1.5;text-align:left;max-width:420px;margin:4px 0 20px;padding:13px 16px;color:var(--ink);background:#fff;border:1px solid #b9c6da;border-radius:12px;box-shadow:0 4px 0 #d8e0ed}
@media(max-width:760px){.sample-description{grid-column:1/-1;margin:8px 0 2px;font-size:14px;line-height:1.4;max-width:none;padding:11px 14px}.stage .specimen-label{min-width:0}}
.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0;border:0;margin:22px 0 8px;min-width:0}.home-choices legend{font-size:14px;font-weight:700;margin-bottom:10px}.home-option{min-width:0;text-align:left;padding:14px 11px;border:2px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}.home-option.chosen{border-color:var(--ink);background:#fff1b8}.home-option strong{display:block;font-size:15px;line-height:1.3}.home-option span{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.4}.home-disclaimer{font-size:12px;line-height:1.4;color:var(--muted);margin:8px 0}.home-model-note{font-size:14px;line-height:1.6;color:var(--muted)}.comparison .apartment-callout{display:none}.home-option:focus-visible{outline-offset:2px}
@media(max-width:760px){.controls .home-choices{margin:2px 0 0;gap:7px}.home-choices legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.home-option{padding:9px 8px;min-height:62px}.home-option strong{font-size:14px}.home-option span{font-size:12px;margin-top:4px}.controls .home-disclaimer{margin:0;font-size:12px}.controls .home-choices~.house-stats{display:none}.controls .home-choices~.info-note{display:none}.home-model-note{font-size:14px}.house-stage .apartment-diagram{max-width:420px}}
/* Feedback has a bounded lifetime; only transforms and opacity are animated. */
#pour-grains{animation:none;opacity:0}#liquid-fill{animation:none}.sample-texture{pointer-events:none}.volume-result strong{display:inline-block}.compare-card{animation:result-enter .4s ease-out both}.compare-card.novocem{animation-delay:.1s}.difference{animation:result-enter .4s .18s ease-out both}@keyframes result-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
:root{--ink:#172945;--lime:#ffda46;--muted:#5c687b;--line:#d6dde8;color:var(--ink);background:#f3f5fa}
body{background:#f3f5fa}.header{border:0;padding-top:20px;padding-bottom:20px}.brand-icon{border-radius:11px;background:var(--lime);color:var(--ink);transform:rotate(-5deg)}.brand>span:not(.brand-icon){font-weight:500}.event{color:var(--muted)}.header .text-button{border:1px solid var(--line);border-radius:24px;padding:11px 17px;background:#fff}
main{padding-top:25px}.eyebrow{color:#5c687b;letter-spacing:1.8px}.intro h1{font-weight:800;letter-spacing:-2.5px}.intro h1 em{font-family:inherit;font-style:normal;font-weight:800;text-decoration:underline;text-decoration-color:var(--lime);text-decoration-thickness:7px;text-underline-offset:5px}.intro p{margin-top:19px}.steps{gap:10px;border:0;margin:28px 0 20px}.step{background:#e8edf5;border:0;border-radius:10px;padding:15px;color:#627086}.step.active{background:var(--ink);color:#fff}.step:disabled{opacity:.65}.step .step-number{border:0;border-radius:6px;background:#dce3ee;color:var(--ink)}.step.active .step-number{background:var(--lime);color:var(--ink)}
.workspace{border-color:#cbd4e3;border-radius:22px;box-shadow:0 8px 0 #e3e8f1}.controls{padding:30px}.controls h2{font-weight:800;font-size:36px;letter-spacing:-1.5px}.section-meta{color:#627086}.stage{background:#e9eef9;padding:24px 28px;isolation:isolate}.stage-top{color:#53647e;font-weight:600}.stage-top>span:last-child{background:#fff;border:1px solid #d4ddec;border-radius:6px;padding:5px 8px}.stage-top{align-items:center}.status-dot{display:none}.stage-bottom{color:#53647e;border-color:#cbd6e9}.tiny-label{color:#53647e}.sample-diagram{max-width:300px;margin:0}.sample-object{stroke:#172945;stroke-width:1;stroke-linejoin:round}.specimen-label{margin-bottom:18px}.specimen-label h3{font-size:28px;font-weight:800}.specimen-label p{max-width:310px;line-height:1.5}.sample-factor{display:inline-flex;align-items:baseline;gap:7px;margin-top:14px;padding:8px 12px;border:1px solid #c8d3e5;border-radius:8px;background:#fff}.sample-factor strong{font-size:24px;letter-spacing:-1px}.sample-factor span{font-size:12px;line-height:1.35}.sample-factor-caption{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.material{border-radius:12px;border-width:2px;min-height:81px;transition:transform .15s ease,border-color .15s ease}.material.selected{border:2px solid var(--ink);background:#edf1f8}.material[data-material=novocem].selected{background:#fff4c7}.material strong{font-size:20px}.swatch{border-radius:6px;border:0}.swatch.grey{background:#a3afc0;box-shadow:inset -8px -5px 0 #8592a6}.swatch.yellow{background:#f3d06f;box-shadow:inset -8px -5px 0 #d9b04e}.selected .radio-mark{border-width:5px;background:var(--lime)}.primary{background:var(--lime);color:var(--ink);border:1px solid #e4bb23;border-radius:10px;font-weight:800;transition:transform .15s ease,background .15s ease}.primary span{color:inherit}.primary:hover{background:#ffe775}.primary:active{transform:translateY(2px)}.secondary{border-color:#c5cfde;border-radius:9px;background:#f5f7fc;font-weight:600}.info-note{color:#5c687b}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#3263c7}
.number-wrap{border-color:#d6deeb;background:#f4f6fb}.number-wrap input{font-variant-numeric:tabular-nums}.ingredient-dot.cement{background:#a3afc0}.ingredient-dot.water{background:#3b92d4}.ingredient-dot.sand{background:#e7ba62}.ingredient input[type=range]{accent-color:#263f67}.ingredient:has(#water-range) input[type=range]{accent-color:#3b92d4}.ingredient:has(#sand-range) input[type=range]{accent-color:#b07d25}.volume-result strong,.house-carbon strong,.compare-value strong{font-weight:800;font-variant-numeric:tabular-nums}.volume-result>span:last-child,.diagram-note{color:var(--muted)}.house-stats{background:#f1f4fa;border-color:#dce3ee}.house-stats strong{font-weight:800}.house-carbon{background:#ffffffd9;border:1px solid #d3ddec;border-radius:14px;padding:13px 24px}.house-carbon .tiny-label{font-size:12px}.house-stage .house-diagram{margin-top:0}.house-carbon strong{font-size:46px}.house-carbon p>span{font-size:17px}.house-carbon>span:last-child{color:var(--muted)}
.results{padding:28px 30px}.result-heading h2{font-weight:800;letter-spacing:-1.6px}.result-badge{background:var(--lime);border:0;color:var(--ink);font-weight:700}.compare-card{background:#edf1f7;border-color:#d5deeb;border-radius:15px}.compare-card.novocem{background:#fff4cc;border-color:#efdda0}.compare-card.chosen{border-color:var(--ink)}.compare-card h3{font-weight:800}.compare-card-top>span{font-weight:600;color:#586579}.compare-card .house-diagram{max-width:360px}.carbon-track{background:#d5ddea}.carbon-track>div{background:#71839e}.novocem .carbon-track{background:#efdda0}.novocem .carbon-track>div{background:#b2851a}.difference{border-radius:14px;color:#fff}.difference strong{font-weight:800}.difference>p{color:#dce5f3}.difference-icon{font-weight:800}.compact-context{color:#596b83}.result-actions .primary{max-width:320px}.calculation-trail{background:#f3f6fb;border-color:#d5deeb}.calculation-steps>div{background:#fff}.calculation-steps strong{color:var(--ink)}.modal{background:#fff;border-radius:20px;border-color:#d6deeb}.modal::backdrop{background:#132541b8}.modal h2{font-weight:800}.modal p,.sources{color:var(--muted)}select{background:#f4f6fb}.share-preview{background:#e9eef7}.learning h3{font-weight:700}.bottom-note{font-size:13px}footer{border-color:var(--line)}
@media(hover:hover){.material:hover{transform:translateX(3px);border-color:#8091aa}.material.selected:hover{border-color:var(--ink)}}
@media(min-width:761px){#workspace[data-step="0"] .stage{justify-content:center}.stage-top{margin-bottom:auto}.stage-bottom{margin-top:auto}.result-heading{margin-bottom:8px}}
@media(max-width:760px){
 .header{padding:2px 12px;min-height:48px}.header .text-button{min-height:36px;padding:7px 12px;font-size:12px}.brand-icon{border-radius:8px}.steps{gap:5px;margin:0;flex-basis:40px}.step{min-height:40px;padding:0;border:0;border-radius:8px;background:#e6ecf6;font-weight:600}.step.active{background:var(--ink);color:#fff}.steps .step.active .step-compact{color:#fff}.step:disabled{opacity:.65}
 main#main{gap:8px;padding-left:10px;padding-right:10px}#workspace.workspace{border-radius:16px;box-shadow:0 4px 0 #e0e7f1}#workspace>.stage{border-radius:15px 15px 0 0;background:#e9eef9;padding:9px 12px;gap:8px}.stage .sample-diagram{max-height:310px}.specimen-label h3{font-size:23px;margin:7px 0}.specimen-label p{font-size:13px}.sample-factor{padding:6px 9px;margin-top:10px;gap:5px}.sample-factor strong{font-size:22px}.sample-factor span{font-size:12px}.sample-factor-caption{font-size:12px;max-width:160px;line-height:1.3}.specimen-label .tiny-label{font-size:12px;letter-spacing:0}
 #workspace>.controls{padding:10px 13px 12px;gap:7px}.controls>h2,.controls>h2 .phone-heading{font-size:21px;letter-spacing:-.6px}.controls .material{min-height:62px;padding:8px 11px;border-width:2px;border-radius:10px}.material strong{font-size:18px}.material small{font-size:13px}.controls .material .swatch{width:29px;height:34px}.controls .primary{min-height:46px;border-radius:9px;font-size:15px;padding:11px 14px}
 #workspace[data-step="1"]>.controls{gap:2px}.ingredient{min-height:54px;grid-template-columns:115px minmax(0,1fr);border-bottom:1px solid #edf0f6}.ingredient:last-child{border:0}.ingredient-head label{font-size:14px}.number-wrap{background:none}.number-wrap input{font-weight:800}.volume-result strong{font-size:clamp(30px,8vw,42px);letter-spacing:-1.5px}.volume-result .tiny-label{letter-spacing:0;font-size:12px}.volume-result p{margin:7px 0}.volume-result>span:last-child{font-size:13px}.stage .vessel{max-height:290px}.mix-ratio .back{font-size:12px}.controls .house-stats{padding:8px 12px;margin:2px 0;background:#f0f3fa}.house-stats strong{font-size:26px}.house-carbon{width:100%;max-width:320px;flex:0 0 auto;padding:8px 10px;border-radius:11px}.house-carbon strong{font-size:36px}.house-carbon p{margin:3px 0}.house-carbon>span:last-child{font-size:12px}.house-carbon .tiny-label{font-size:12px;letter-spacing:0}.controls .mobile-details{min-height:40px}
 .results{padding:12px;gap:8px}.result-heading h2{font-size:25px;letter-spacing:-1px}.results>.comparison{gap:8px;min-height:155px}.comparison>.compare-card{border-radius:12px;padding:10px 8px}.comparison>.compare-card.chosen{padding:9px 7px}.compare-card h3{font-size:20px}.compare-card-top>span{font-size:12px;min-height:31px;line-height:1.3;margin-top:3px}.compare-value strong{font-size:clamp(24px,7vw,35px);font-weight:800}.comparison .compare-card>p{font-size:14px;line-height:1.35;margin-top:4px;min-height:33px}.results>.difference{border-radius:10px;padding:10px 12px}.difference>div>span{font-size:12px;letter-spacing:0}.difference strong{font-size:29px;margin-top:5px}.results>.mobile-details{min-height:40px}.result-actions .primary{max-width:none;font-size:14px}.compact-context{font-size:12px;line-height:1.4}.result-actions #restart{font-size:13px}.modal h2{font-size:27px}
}
@media(max-width:760px) and (max-height:700px){.specimen-label p{display:none}.sample-factor-caption{font-size:12px}.sample-factor{margin-top:6px}.specimen-label h3{font-size:20px}.results{gap:6px}.results>.difference{padding:8px 10px}.difference strong{font-size:27px}.difference-icon{font-size:23px}.comparison>.compare-card{padding-top:8px;padding-bottom:8px}.comparison>.compare-card.chosen{padding-top:7px;padding-bottom:7px}}
@media(max-width:350px){.ingredient{grid-template-columns:100px minmax(0,1fr)}.result-heading h2{font-size:23px}.sample-factor{padding:5px}.sample-factor strong{font-size:20px}.specimen-label h3{font-size:18px}.compare-card h3{font-size:18px}.compare-card-top>span{font-size:12px}.results{padding:10px 8px}}

/* Results are a reading page; the three experiment steps keep their compact layout. */
.mobile-carbon-details{display:none}.results>.calculation-trail{margin-top:26px}.scenario-heading{font-size:20px;line-height:1.3;margin:0 0 18px}.scenario-feedback{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}.scenario-feedback>span{font-size:14px;line-height:1.5;flex:1;min-width:110px}.scenario-feedback strong{display:block;font-size:20px;font-variant-numeric:tabular-nums;margin-top:4px}
@media(max-width:760px){
 body.results-view{height:auto;min-height:100vh;min-height:100dvh;display:block}
 .results-view main#main{display:block;flex:none;padding-bottom:calc(94px + env(safe-area-inset-bottom))}
 .results-view .steps{margin-bottom:8px}
 .results-view #workspace.results-workspace{display:block;flex:none;min-height:0}
 .results-view .results{display:block;min-height:0;padding:14px 12px 20px}
 .results-view .compact-context{margin:8px 0 12px;font-size:13px;line-height:1.45}
 .results-view .results>.comparison{height:auto;min-height:260px;flex:none}
 .results-view .comparison .house-diagram{flex:0 0 auto;height:105px;min-height:0;max-height:130px}
 .results-view .results>.difference{margin:10px 0 0;padding:12px}
 .results-view .results>.mobile-details{display:flex;width:100%;margin:10px 0 0;min-height:44px;background:transparent;border-color:var(--line)}
 .results-view .results>.calculation-trail{display:block;margin:28px 0 0;padding:18px 14px;scroll-margin-top:14px}
 .results-view .calculation-trail:focus{outline:2px solid #3263c7;outline-offset:3px}
 .results-view .calculation-heading h3{font-size:24px;line-height:1.2}
 .results-view .calculation-heading p,.results-view .calculation-steps p{font-size:16px;line-height:1.6}
 .results-view .calculation-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
 .results-view .calculation-steps h4{font-size:15px;line-height:1.4}
 .results-view .calculation-steps strong{font-size:22px}
 .results-view .home-model-note,.results-view .calculation-scope{font-size:15px;line-height:1.65}
 .results-view .results>.result-detail{display:block;margin:28px 0 0;padding:20px 14px;background:#f3f6fb;border:1px solid var(--line);border-radius:12px}
 .results-view .scenario-heading{font-size:23px;letter-spacing:-.5px}
 .results-view .result-detail .diagram-note,.results-view .scope-note{font-size:15px;line-height:1.65}
 .results-view .scope-note{padding:18px 0 0;margin:18px 0 0}
 .results-view .mobile-carbon-details{display:block;margin:28px 0 0}
 .mobile-carbon-details>h3{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:0 0 16px}
 .mobile-carbon-details article{padding:18px 14px;border:1px solid var(--line);border-radius:12px;background:#edf1f7;margin:12px 0}
 .mobile-carbon-details article:last-child{background:#fff4cc;border-color:#efdda0}
 .mobile-carbon-details h4{font-size:22px;margin:0}
 .mobile-carbon-details .carbon-explanation{border:0;display:block;margin-top:0}
 .mobile-carbon-details .carbon-meaning{font-size:16px;line-height:1.65}
 .mobile-carbon-details .carbon-inputs>div{display:block;font-size:15px;line-height:1.5}
 .mobile-carbon-details .carbon-inputs dt{max-width:none}.mobile-carbon-details .carbon-inputs dd{text-align:left;margin-top:4px}
 .mobile-carbon-details .carbon-equation{font-size:18px;gap:8px;padding:14px 10px}.mobile-carbon-details .coefficient-source{font-size:14px;line-height:1.6}
 .results-view .results>.learning{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:28px 0 0;padding:24px 0}
 .results-view .learning h3{font-size:22px}.results-view .learning p{font-size:16px;line-height:1.65}
 .results-view .results>.result-footnote{display:block;margin:20px 0 0;font-size:14px;line-height:1.6}
 .results-view .result-actions{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;gap:12px;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
 .results-view .result-actions #restart{flex:0 1 32%;min-height:48px;font-size:14px}
 .results-view .result-actions .primary{flex:1;max-width:none;min-height:48px;font-size:15px}
 .results-view .results :is(button,select,a){scroll-margin-bottom:110px}
}

/* Explicit track colors avoid browser accent-color contrast substitutions. */
.ingredient input[type=range]{--range-color:#263f67;--range-progress:0%;appearance:none;-webkit-appearance:none;background:transparent;border:0;border-radius:0;padding:0;color-scheme:light}
.ingredient #water-range{--range-color:#3b92d4}
.ingredient #sand-range{--range-color:#b07d25}
.ingredient input[type=range]::-webkit-slider-runnable-track{height:8px;border:1px solid #aeb9c9;border-radius:999px;background:linear-gradient(to right,var(--range-color) 0%,var(--range-color) var(--range-progress),#fff var(--range-progress),#fff 100%)}
.ingredient input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-5px;border:1px solid var(--range-color);border-radius:50%;background:var(--range-color)}
.ingredient input[type=range]::-moz-range-track{height:6px;border:1px solid #aeb9c9;border-radius:999px;background:#fff}
.ingredient input[type=range]::-moz-range-progress{height:6px;border-radius:999px;background:var(--range-color)}
.ingredient input[type=range]::-moz-range-thumb{width:14px;height:14px;border:1px solid var(--range-color);border-radius:50%;background:var(--range-color)}
.ingredient input[type=range]:disabled{opacity:.45;cursor:not-allowed}

.workshop-outputs{margin:28px 0;padding:26px;border:1px solid #cfdaea;border-radius:16px;background:#f3f6fc}
.workshop-outputs h3{font-size:28px;letter-spacing:-.6px;margin:10px 0}.workshop-outputs>p{font-size:16px;line-height:1.6;color:var(--muted);margin:0 0 20px}
.output-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.output-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;min-width:0;padding:20px;border:1px solid #cbd6e6;border-radius:12px;background:#fff;color:var(--ink)}.output-choices button:nth-child(2){background:#fff4cc;border-color:#efdda0}.output-choices button:hover{border-color:var(--ink)}.output-choices span{font-size:12px;font-weight:700;letter-spacing:1px}.output-choices strong{font-size:19px;line-height:1.3}.output-choices small{font-size:14px;line-height:1.5;color:var(--muted)}
.participant-label{display:block;font-size:16px;line-height:1.5;margin:20px 0 8px}.participant-label span{color:var(--muted);font-size:14px}.participant-input{width:100%;min-height:48px;font-size:18px;padding:12px;border:1px solid #aebdd2;border-radius:8px;color:var(--ink);background:#fff}.output-edit{display:block;margin:12px 0 0;min-height:44px;text-decoration:underline}
@media(max-width:760px){.workshop-outputs{padding:20px 14px;margin:24px 0}.workshop-outputs h3{font-size:25px}.output-choices{grid-template-columns:minmax(0,1fr)}.output-choices button{padding:18px;gap:8px}}

/* Keep the final step focused; the calculation is expanded only on request. */
.results-simple{max-width:980px;margin:auto}.results-simple .result-heading{display:block}.results-simple .result-heading h2{font-size:34px;line-height:1.13;margin:12px 0}.result-context{font-size:15px;line-height:1.5;color:var(--muted);margin:0 0 16px}.results-simple .compare-card-top{display:block}.results-simple .compare-card-top>span{display:block;text-align:left;margin-top:6px;font-size:12px;min-height:18px}.results-simple .compare-card .house-diagram{height:135px;width:100%;margin:4px auto;flex:none}.results-simple .compare-card>p{margin:5px 0 0;min-height:0;font-size:14px}.result-sign-key{text-align:center;font-size:14px;line-height:1.4;margin:12px 0}.results-simple .difference{margin:0;padding:16px 22px}.results-simple .difference>div>span{font-size:12px;letter-spacing:.3px}.results-simple .difference strong{margin:4px 0 0;font-size:32px}.result-calculation{margin:14px 0;border:1px solid var(--line);border-radius:10px;background:#f7f9fd}.result-calculation summary{cursor:pointer;min-height:48px;padding:14px 16px;font-size:15px;font-weight:700}.result-calculation summary:focus-visible{outline:3px solid #3263c7;outline-offset:2px;border-radius:8px}.result-calculation[open]{padding-bottom:14px}.result-calculation>.inline-link{margin:0 16px}.calculation-summary{list-style:none;padding:0 18px;margin:8px 0}.calculation-summary li{padding:14px 0;border-top:1px solid var(--line)}.calculation-summary strong{font-size:16px;line-height:1.5}.calculation-summary p,.summary-scope{font-size:15px;line-height:1.65;color:var(--muted);margin:8px 0}.summary-equations{overflow-wrap:anywhere}.summary-scope{margin:0 18px 12px}.result-downloads{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.result-downloads button{font-size:14px;line-height:1.35;padding:10px;min-height:48px;border-color:#cbd6e6;background:#f3f6fc}.result-downloads button:last-child{background:#fff4cc;border-color:#efdda0}.results-simple .result-actions{margin-top:16px}
@media(max-width:760px){.results-view .results.results-simple{padding:12px}.results-simple .result-heading h2{font-size:25px;letter-spacing:-.6px;line-height:1.15;margin:6px 0 10px}.result-context{font-size:14px;margin:0 0 12px}.results-view .results-simple>.comparison{min-height:0;gap:8px}.results-view .results-simple .compare-card{padding:12px 9px}.results-view .results-simple .compare-card.chosen{padding:11px 8px}.results-view .results-simple .compare-card .house-diagram{height:90px;max-height:none;width:100%;margin:4px 0}.results-simple .compare-card h3{font-size:20px}.results-simple .compare-card-top>span{font-size:11px;min-height:16px;line-height:1.4;margin-top:4px}.results-simple .compare-value strong{font-size:29px;line-height:1.1}.results-view .results-simple>.difference{margin:0;padding:12px 14px}.results-simple .difference strong{font-size:30px}.result-calculation{margin:10px 0}.result-downloads{margin:10px 0 0;gap:8px}.result-sign-key{font-size:13px;margin:9px 0}.results-simple .result-actions{margin:0}.result-calculation>.inline-link{font-size:14px}.calculation-summary{padding:0 14px}.summary-scope{margin:0 14px 12px}}

@media(min-width:761px){body.results-view .intro,body.results-view .bottom-note{display:none}body.results-view main{padding-top:20px}body.results-view .steps{margin-top:0;margin-bottom:18px}}

.mobile-stage-intro{display:none}
.vorden-credit{color:inherit;text-decoration:none;border-bottom:1px solid #aeb9c9}
.vorden-credit:hover{color:var(--ink);border-bottom-color:var(--ink)}
@media(max-width:760px){
 body>footer{display:block;margin:0;padding:4px 10px max(5px,env(safe-area-inset-bottom));border:0;text-align:center;font-size:9px;line-height:1.35;background:transparent}
 body>footer>span:first-child{display:none}.footer-note{display:block}
 .mobile-stage-intro{display:block;grid-column:1/-1;align-self:start;padding:3px 2px 0}
 .mobile-stage-intro .eyebrow{display:block;font-size:9px;line-height:1.35;letter-spacing:1.35px}
 .mobile-stage-intro h1{max-width:none;margin:5px 0 0;font-size:clamp(25px,7vw,32px);line-height:1.06;letter-spacing:-1.3px;font-weight:800}
 .mobile-stage-intro h1 em{font-family:inherit;font-style:normal;font-weight:800;text-decoration:underline;text-decoration-color:var(--lime);text-decoration-thickness:6px;text-underline-offset:4px}
}
.sample-factor{align-items:center}
@media(max-width:760px){
 body.results-view{--results-footer-height:calc(22px + env(safe-area-inset-bottom))}
 body.results-view main#main{padding-bottom:calc(70px + var(--results-footer-height) + env(safe-area-inset-bottom))}
 body.results-view .result-actions{bottom:var(--results-footer-height)}
 body.results-view>footer{position:fixed;left:0;right:0;bottom:0;z-index:11;height:var(--results-footer-height);margin:0;padding:3px 10px max(4px,env(safe-area-inset-bottom));display:flex;align-items:flex-start;justify-content:center;background:#f3f5fa;border:0}
}

/* Let the selection panel grow with its text instead of squeezing the specimen
   into a viewport-sized grid. Short screens can scroll to the controls. */
@media(max-width:760px){
 main#main:has(#workspace[data-step="0"]){flex:1 0 auto}
 #workspace[data-step="0"].workspace{flex:0 0 auto}
 #workspace[data-step="0"]>.stage{
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:auto auto auto;
  align-items:center;
  gap:12px 10px;
  padding:16px 14px 18px;
 }
 #workspace[data-step="0"] .mobile-stage-intro{grid-column:1/-1;padding:0}
 #workspace[data-step="0"] .mobile-stage-intro h1{max-width:100%;overflow-wrap:normal}
 #workspace[data-step="0"] .sample-diagram{grid-column:1;grid-row:2;align-self:center;width:100%;height:auto;max-height:none}
 #workspace[data-step="0"] .sample-diagram svg{display:block;width:100%;height:auto}
 #workspace[data-step="0"] .specimen-label{grid-column:2;grid-row:2;align-self:center}
 #workspace[data-step="0"] .sample-description{grid-column:1/-1;grid-row:3;margin:0;width:100%}
}

/* Keep the result outputs above the fixed share controls on regular phones. */
@media(min-width:761px){
 .results-simple>.difference{margin-top:20px}
}
@media(max-width:760px){
 .results-view .results.results-simple{padding:8px 12px 4px}
 .results-view .results-simple .compare-card .house-diagram{height:82px;margin:2px 0}
 .results-view .results-simple>.difference{margin-top:8px}
}
@media(max-width:760px) and (max-height:700px){
 .results-view .results.results-simple{padding:4px 10px}
 .results-simple .result-heading h2{font-size:23px;margin:2px 0 7px}
 .result-context{margin-bottom:8px}
 .results-view .results-simple .compare-card{padding:8px 7px}
 .results-view .results-simple .compare-card.chosen{padding:7px 6px}
 .results-view .results-simple .compare-card .house-diagram{height:58px;margin:2px 0}
 .results-view .results-simple .compare-card>p{display:none}
 .results-view .results-simple>.difference{padding:8px 10px}
 .results-simple .difference strong{font-size:27px}
 .result-calculation{margin:7px 0}
 .result-calculation summary{min-height:44px;padding:10px 14px}
 .result-downloads{margin-top:7px}
 .result-downloads button{min-height:44px;padding:6px}
}
@media(max-width:330px){
 body.results-view main#main{padding-bottom:calc(96px + var(--results-footer-height) + env(safe-area-inset-bottom))}
}

/* Show the festival identity between the experiment brand and science link. */
@media(max-width:760px){
 .header{padding-inline:10px;gap:6px}
 .header .brand,.header .text-button{flex:0 0 auto}
 .header .text-button{margin-left:0}
 .header .event{display:block;flex:1 1 auto;min-width:0;padding:0;border:0;text-align:center;font-size:clamp(9px,2.5vw,12px);font-weight:700;line-height:1.1;letter-spacing:.25px}
 .header .event b{font-size:clamp(10px,2.7vw,13px);letter-spacing:.8px;margin-top:2px}
}
@media(max-width:350px){
 .header .brand{font-size:21px;letter-spacing:-1.5px}
 .header .brand-icon{width:26px;height:26px;font-size:17px;margin-right:6px}
 .header .text-button{font-size:11px;padding:6px 8px}
 .header .text-button span{margin-left:2px}
}
@media(max-width:300px){
 .header .text-button{width:36px;height:36px;padding:0;font-size:0;display:grid;place-items:center}
 .header .text-button span{font-size:18px;margin:0}
}

/* Participants enter the quantities used for the whole shared batch. */
@media(min-width:761px){
#workspace[data-step="1"] .ingredient{display:block;min-height:56px;padding:6px 0}
#workspace[data-step="1"] .ingredient-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:0}
#workspace[data-step="1"] .ingredient-head label{font-size:14px}
#workspace[data-step="1"] .number-wrap{flex:0 0 auto;border:1px solid #d6deeb;border-radius:6px;background:#f4f6fb;padding-right:8px}
#workspace[data-step="1"] .number-wrap input{width:90px;min-height:40px;padding:5px 6px;text-align:right}
}
#workspace[data-step="1"] .number-wrap input::placeholder{color:#7c8ba3;opacity:1}
@media(max-width:760px){
 #workspace[data-step="1"]>.controls>.muted{display:block;font-size:13px;line-height:1.3;margin:0 0 2px}
}
