*{box-sizing:border-box}body{margin:0;color:#253f37;background:#f4f1e8;font:15px/1.45 'Segoe UI',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #bdc7b5;border-radius:8px;background:#fffdf6;padding:10px 14px;font-weight:650;min-height:44px;transition:background .15s}button:hover:enabled{background:#e6eedc}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #9f426c;outline-offset:3px}a{color:inherit}header{max-width:1400px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:16px 30px;border-bottom:1px solid #d6d9cb}nav{display:flex;align-items:center;gap:12px}nav a{text-decoration:none;font-weight:650}nav button{background:transparent}main{max-width:1320px;margin:auto;padding:28px 30px 38px}.title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;margin:0 0 9px}h1{font:clamp(38px,4.4vw,65px)/1.05 Georgia,serif;letter-spacing:-2.4px;margin:0}h1 em{color:#a34970;font-weight:400}h2{font:29px/1.1 Georgia,serif;margin:10px 0}.title p:last-child{margin:12px 0 0;color:#617064}.seal{text-align:center;border:1px solid #a8b8a2;border-radius:50%;width:112px;height:112px;display:grid;place-content:center;font-size:9px;letter-spacing:2px;transform:rotate(10deg)}.launch{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 19px;background:#e6ebdb;border:1px solid #c9d1bc;border-radius:12px;margin-bottom:19px}.launch span{display:block;font-size:12px;color:#5f6d5c;margin-top:3px}.buttons{display:flex;gap:8px}.primary{background:#284e40;color:#fff;border-color:#284e40}.primary:hover:enabled{background:#3c6854}.workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr);gap:22px}.garden{position:relative;background:#e0e7da;border:1px solid #bdcbb8;border-radius:15px;overflow:hidden;display:flex;flex-direction:column}.scene-head{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;position:absolute;top:0;width:100%;z-index:1;font-size:10px;letter-spacing:2px}.scene-head b{font:26px Georgia,serif;letter-spacing:0;background:#fff9e9cc;border:1px solid #bbc4ad;padding:3px 12px;border-radius:30px}canvas{width:100%;display:block;flex:1;min-height:0;aspect-ratio:1000/730;object-fit:contain}.scene-label{display:flex;justify-content:space-between;padding:10px 22px;font:italic 17px Georgia,serif;background:#e0e7da}.scene-label span:last-child{font:9px 'Segoe UI',sans-serif;letter-spacing:1px}.ph-strip{padding:13px 22px 9px;background:#f0f0e4}.ph-strip>div:first-child{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:1px}.spectrum{height:9px;margin-top:9px;background:linear-gradient(90deg,#5d8ccc,#8c76bb,#d98bac);border-radius:10px;position:relative}#marker{position:absolute;left:77%;height:19px;width:3px;background:#263c32;top:-5px}.ph-strip p{font-size:10px;margin:8px 0;color:#5a6d60}.desk{background:#fffcf5;border:1px solid #d6d8c9;border-radius:15px;padding:20px}.case-top,.step{display:flex;align-items:center;justify-content:space-between;gap:8px}.case-top b{color:#a34970;font-size:13px}.case-top .eyebrow{margin:0}blockquote{margin:10px 0 14px;color:#687065;font:italic 17px/1.4 Georgia,serif;min-height:45px}.request{display:flex;justify-content:space-between;background:#f1e6e8;border-radius:6px;padding:10px;font-size:10px;letter-spacing:.6px}.step{margin:17px 0 8px;font-size:10px;font-weight:750;letter-spacing:1px}.step button{font-size:12px;padding:8px 12px}.evidence{font-size:12px;line-height:1.65;border-left:3px solid #abbb9c;background:#f0f2e7;padding:9px 12px;min-height:60px}.analysis,.treatments{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.analysis button,.treatments button{padding:10px 4px;font-size:12px}.analysis small,.treatments small{display:block;font-weight:400;font-size:10px;margin-top:3px}.analysis .selected{background:#d9e7ce;border-color:#5e7d58}.wide{width:100%;margin-top:12px}.coach{display:flex;gap:22px;align-items:center;background:#e6ecd7;border:1px solid #c2d0a8;border-radius:10px;padding:16px 20px;margin-top:18px;min-height:75px}.coach b{font-size:10px;letter-spacing:1.5px;white-space:nowrap}.coach p{margin:0;font-size:14px}.science{font-size:11px;line-height:1.7;color:#657164;margin:22px 0 0}.science a{white-space:normal}.about{padding:30px max(30px,calc((100vw - 1260px)/2));background:#e6e8dc;display:flex;align-items:center;gap:25px}.about>span{font-size:40px}.about p{font-size:13px;flex:1}.about small{font-size:10px;line-height:1.8}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 30px;font-size:11px}.report{padding:28px;background:#fff9ec;border:1px solid #cabca3;border-radius:12px;margin-top:20px}.report ul{padding-left:20px}dialog{color:#253f37;background:#fffcf5;border:1px solid #bdc7b5;border-radius:16px;padding:32px;max-width:620px;width:calc(100% - 28px);max-height:88dvh;line-height:1.65}dialog::backdrop{background:#19392f88;backdrop-filter:blur(4px)}dialog li{margin-bottom:8px}dialog p{font-size:13px}.close{float:right}body.paused canvas{filter:saturate(.6)}[hidden]{display:none!important}@media(min-width:950px) and (max-height:820px){main{padding-top:18px}.title{margin-bottom:15px}h1{font-size:46px}.seal{width:85px;height:85px}.desk{padding:15px}.step{margin-top:10px}blockquote{min-height:0;margin:8px 0}.scene-head{padding:12px}.launch{padding:10px 15px}.coach{padding:12px 18px;min-height:60px}.analysis button,.treatments button{padding:7px 3px}.wide{margin-top:9px}.garden canvas{max-height:420px}}
@media(max-width:800px){header{padding:12px 18px}header img{width:110px;height:auto}nav{gap:6px}nav a{font-size:11px}nav button{font-size:11px;padding:6px 8px}main{padding:22px 18px}.seal{display:none}.workspace{grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:12px}.desk{padding:14px}.title{margin-bottom:18px}h1{font-size:44px}.launch{flex-wrap:wrap}.garden{justify-content:center}.garden canvas{flex:0}.scene-label{flex-direction:column;gap:5px}.about{padding:22px 18px}.about small{display:none}footer{flex-wrap:wrap;padding:22px 18px}.coach{gap:12px}}
@media(max-width:640px){header{flex-wrap:wrap;gap:10px}nav{flex:1;justify-content:flex-end}.title .eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:39px;letter-spacing:-1.6px}.title p:last-child{font-size:13px}.launch{padding:12px}.buttons{width:100%}.buttons button{flex:1;font-size:12px;padding:8px}.launch span{font-size:11px}.workspace{grid-template-columns:1fr}.garden canvas{aspect-ratio:1000/640;max-height:320px}.scene-head{padding:10px 14px}.scene-head b{font-size:21px}.scene-label{flex-direction:row;padding:8px 14px;font-size:14px}.scene-label span:last-child{font-size:8px}.ph-strip{padding:10px 14px 5px}.desk h2{font-size:26px}.desk{padding:17px}blockquote{min-height:0}.coach{align-items:flex-start;flex-direction:column;gap:7px}.coach p{font-size:13px}.about{gap:15px}.about p{font-size:11px}footer>span{width:100%}dialog{padding:23px}dialog h2{font-size:27px}dialog ol{padding-left:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Keep the illustration at its intrinsic size in flex layouts on touch screens. */
@media(max-width:800px){.garden canvas{flex:none;height:auto;min-height:200px}.garden{justify-content:flex-start}.scene-head{position:relative;flex:none}.scene-label,.ph-strip{flex:none}}

/* Subtle stock and raised edges, with texture kept behind readable content. */
.desk,.report,dialog{background-color:#fffcf5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23836c49' opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");box-shadow:inset 0 1px 0 #fff,0 3px 12px #39452c08}
button{box-shadow:inset 0 1px 0 #ffffff50,0 1px 2px #283f2d0b}.evidence{box-shadow:inset 0 1px 3px #34472e0a}
/* During play, reserve one viewport for the complete working area. */
body.playing header{height:54px;padding:7px 22px}
body.playing main{height:calc(100dvh - 54px);min-height:0;display:grid;grid-template-rows:34px 52px minmax(0,1fr) 58px;gap:9px;padding:10px 22px 12px}
body.playing .title{margin:0}body.playing h1{font-size:30px;letter-spacing:-1px}body.playing .title p,body.playing .seal{display:none}
body.playing .launch{margin:0;padding:7px 12px}body.playing .launch span{font-size:10px;margin:0}
body.playing .workspace{min-height:0;gap:14px}body.playing .garden{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 30px 62px;align-content:stretch}
body.playing .garden canvas{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;grid-row:1;grid-column:1}
body.playing .scene-head{position:absolute;padding:9px 14px}body.playing .scene-label{padding:7px 14px;flex-direction:row;font-size:14px}body.playing .scene-label span:last-child{font-size:8px}
body.playing .ph-strip{padding:8px 14px 4px}body.playing .ph-strip p{margin:5px 0;font-size:9px}
body.playing .desk{padding:12px 15px;display:flex;flex-direction:column;justify-content:center;min-height:0}
body.playing .desk h2{font-size:25px;margin:6px 0}body.playing blockquote{font-size:14px;min-height:0;margin:4px 0 8px}
body.playing .request{padding:7px 9px}body.playing .step{margin:9px 0 5px;font-size:9px}body.playing .step button{min-height:33px;padding:5px 9px;font-size:11px}
body.playing .evidence{min-height:0;padding:6px 9px;font-size:11px;line-height:1.45}
body.playing .analysis button,body.playing .treatments button{min-height:40px;padding:5px 3px;font-size:11px}
body.playing .analysis small,body.playing .treatments small{font-size:9px;margin:1px 0 0}
body.playing .wide{min-height:36px;padding:6px 9px;margin-top:8px;font-size:12px}
body.playing .coach{margin:0;min-height:0;padding:8px 13px;gap:13px}body.playing .coach p{font-size:12px}
body.playing .science{grid-column:1;align-self:start;margin:10px 0 0}body.playing .about{margin-top:70px}
@media(max-height:730px) and (min-width:641px){
 body.playing main{grid-template-rows:27px 43px minmax(0,1fr) 48px;gap:7px;padding-top:7px}
 body.playing h1{font-size:25px}body.playing .desk{padding:9px 12px}body.playing .desk h2{font-size:22px;margin:4px 0}
 body.playing .case-top .eyebrow{font-size:8px;letter-spacing:1px}body.playing blockquote{font-size:12px;margin:2px 0 5px}
 body.playing .step{margin-top:5px}body.playing .analysis button,body.playing .treatments button{min-height:35px}
 body.playing .garden{grid-template-rows:minmax(0,1fr) 26px 56px}
}
@media(max-width:640px){
 body.playing header{height:49px;padding:5px 12px;flex-wrap:nowrap;gap:5px}body.playing header img{width:88px}body.playing nav{gap:4px}body.playing nav button{min-height:34px;padding:4px 6px;font-size:10px}body.playing nav a{font-size:10px}
 body.playing main{height:calc(100dvh - 49px);grid-template-rows:27px 46px minmax(0,1fr) 58px;padding:6px 10px 8px;gap:6px}
 body.playing h1{font-size:24px}body.playing .launch{flex-wrap:nowrap;padding:5px 8px;gap:8px}body.playing .launch>div:first-child{display:none}body.playing .buttons{width:100%;gap:5px}body.playing .buttons button{min-height:34px;font-size:11px;padding:5px}
 body.playing .workspace{grid-template-columns:1fr;grid-template-rows:minmax(70px,1fr) minmax(298px,1.55fr);gap:7px}
 body.playing .garden{grid-template-rows:minmax(0,1fr);border-radius:10px}body.playing .scene-label,body.playing .ph-strip{display:none}
 body.playing .scene-head{padding:6px 10px;font-size:8px;letter-spacing:1px;pointer-events:none}body.playing .scene-head b{font-size:18px;padding:2px 9px}
 body.playing .desk{padding:8px 11px;border-radius:10px}body.playing .desk h2{font-size:20px;margin:3px 0}
 body.playing blockquote{font-size:12px;margin:2px 0 4px}body.playing .case-top .eyebrow{font-size:8px;letter-spacing:1px}body.playing .case-top b{font-size:11px}
 body.playing .request{font-size:9px;padding:5px 7px}body.playing .step{font-size:8px;margin:5px 0 3px;letter-spacing:.6px}
 body.playing .step button{min-height:29px;font-size:10px;padding:4px 7px}
 body.playing .evidence{font-size:10px;padding:5px 7px;line-height:1.35}
 body.playing .analysis button,body.playing .treatments button{min-height:35px;font-size:10px;padding:4px 2px}
 body.playing .analysis small,body.playing .treatments small{font-size:8px}
 body.playing .wide{min-height:32px;font-size:11px;padding:5px;margin-top:6px}
 body.playing .coach{flex-direction:row;align-items:center;gap:8px;padding:6px 9px}body.playing .coach b{font-size:8px;letter-spacing:1px}body.playing .coach p{font-size:10px;line-height:1.35}
}
@media(max-width:640px) and (max-height:650px){
 body.playing main{grid-template-rows:0 38px minmax(0,1fr) 49px;gap:5px;padding-top:0}
 body.playing .title{visibility:hidden}body.playing .workspace{grid-template-rows:minmax(52px,1fr) 292px;gap:5px}
 body.playing .desk{padding:6px 9px}body.playing .desk h2{font-size:18px}body.playing blockquote{font-size:11px;line-height:1.25}
 body.playing .scene-head{font-size:7px;letter-spacing:.5px}body.playing .scene-head b{font-size:16px}
}
@media(max-height:600px) and (min-width:641px){
 body.playing header{height:36px;padding:3px 12px}body.playing header img{width:100px;height:27px}body.playing nav button{min-height:28px;padding:3px 7px;font-size:10px}
 body.playing main{height:calc(100dvh - 36px);grid-template-rows:0 34px minmax(0,1fr) 36px;gap:4px;padding:0 10px 5px}
 body.playing .title{visibility:hidden}body.playing .launch{padding:3px 7px}body.playing .launch span{display:none}body.playing .launch b{font-size:11px}body.playing .buttons button{min-height:26px;font-size:10px;padding:3px 7px}
 body.playing .workspace{grid-template-columns:minmax(0,.75fr) minmax(390px,1.25fr);gap:8px}
 body.playing .garden{grid-template-rows:minmax(0,1fr)}body.playing .scene-label,body.playing .ph-strip{display:none}
 body.playing .scene-head{padding:4px 7px;font-size:7px;letter-spacing:.4px}body.playing .scene-head b{font-size:17px}
 body.playing .desk{position:relative;padding:5px 9px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:14px 19px 28px 32px 29px 33px;gap:3px 8px;align-content:center}
 body.playing .case-top{grid-column:1/-1}body.playing .desk h2{grid-column:1/-1;font-size:17px;margin:0}
 body.playing blockquote{display:none}body.playing .request{grid-row:3;grid-column:1;align-self:center;font-size:8px;padding:4px;gap:4px}
 body.playing .desk>.step:nth-of-type(3){grid-column:2;grid-row:3;margin:0}body.playing .desk>.step:nth-of-type(3)>span{display:none}
 body.playing .evidence{grid-column:1/-1;grid-row:4;font-size:9px;line-height:1.25;padding:4px 7px}
 body.playing .desk>.step:nth-of-type(5){display:none}body.playing .analysis{grid-column:1;grid-row:5}
 body.playing .desk>.step:nth-of-type(7){position:absolute;right:12px;top:20px;margin:0}body.playing .desk>.step:nth-of-type(7)>span{display:none}
 body.playing .treatments{grid-column:2;grid-row:5}body.playing .analysis,body.playing .treatments{gap:3px}
 body.playing .analysis button,body.playing .treatments button{min-height:28px;padding:2px;font-size:9px}body.playing .analysis small,body.playing .treatments small{font-size:7px}
 body.playing .wide{grid-column:1/-1;grid-row:6;min-height:28px;padding:3px;font-size:10px;margin:0}
 body.playing .coach p{font-size:10px;line-height:1.2}body.playing .coach b{font-size:8px}
}

body.playing .science{display:none}body.playing .about{margin-top:0}

body.playing .desk>*{flex-shrink:0}
@media(max-width:640px) and (max-height:650px){body.playing .workspace{grid-template-rows:minmax(45px,1fr) 335px}}

body.playing .garden{grid-template-columns:minmax(0,1fr)}body.playing .garden canvas{min-width:0;object-position:center}body.playing .desk{align-self:center;max-height:100%;width:100%}
