:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#244e46;background:#eff4eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;color:inherit;border:0}button:focus-visible,canvas:focus-visible{outline:3px solid #d38b48;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}.topbar{height:88px;padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fbfcf5;border-bottom:1px solid #d9e5d9}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:900;letter-spacing:-1px}.brand svg{width:36px;fill:#55a68f}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:3px}.topbar nav{display:flex;gap:8px;align-items:center}.small{min-height:44px;border:1px solid #d4e1d6;border-radius:16px;padding:9px 14px;background:#fffdf5;font-weight:700;font-size:13px;box-shadow:0 2px 0 #d4e1d655}.book-button{background:#e2eee1}.book-button b{margin-left:8px;background:#fffdf6;padding:4px 7px;border-radius:9px}.welcome{position:relative;min-height:600px;height:calc(100dvh - 88px);overflow:hidden;background:#e3ebe1}.cover{position:absolute;width:100%;height:100%;object-fit:cover;object-position:65% 50%}.welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f4f3e9f5 0%,#f4f3e9e8 22%,#f4f3e910 65%);pointer-events:none}.welcome-card{position:relative;z-index:1;padding:clamp(45px,8vw,140px) 7%;width:57%;max-width:780px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:900;color:#6a8e7d}.welcome h1{font-size:clamp(45px,5.3vw,84px);line-height:1.02;letter-spacing:-4px;margin:25px 0;color:#245b4e}.welcome p{font-size:18px;line-height:1.7;color:#5d7869}.primary{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#3f8f78;color:#fffdf0;font-size:18px;font-weight:800;padding:17px 24px;border-radius:20px;box-shadow:0 5px 0 #286652,0 10px 22px #365d4420;min-height:56px;transition:transform .15s,background .15s}.primary:hover{background:#337f68;transform:translateY(-2px)}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #286652}.welcome .primary{width:240px;margin:27px 0 20px}.welcome small{color:#758477;font-size:12px}.cover-label{position:absolute;z-index:1;bottom:30px;right:35px;font-size:20px;letter-spacing:3px;color:white;text-shadow:0 2px 8px #345a40;font-weight:900}.cover-label span{display:block;font-size:12px;letter-spacing:1px;margin-top:7px}.journey{max-width:1380px;margin:auto;display:flex;justify-content:center;gap:35px;padding:21px 15px;color:#8a9a89;font-size:12px}.journey span{display:flex;gap:8px;align-items:center}.journey .active{color:#327d65}.journey .done{color:#7ea695}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;margin:0 auto;padding:0 28px 24px;max-width:1440px}.scene-panel{position:relative;background:#fcfcf4;border:1px solid #dce6d8;border-radius:27px;overflow:hidden;box-shadow:0 10px 35px #3a5e4310;min-width:0}.patient-label{position:absolute;left:26px;top:22px;z-index:2;pointer-events:none}.patient-label h2{font-size:29px;line-height:1;margin:8px 0}.patient-label p{font-size:11px;margin:0;color:#6b8578}.mood{position:absolute;z-index:2;right:20px;top:21px;display:flex;gap:8px;background:#fffdf0dd;padding:8px 11px;border-radius:17px;box-shadow:0 3px 12px #486d5310}.mood svg{width:33px}.mood small{display:block;font-size:10px;margin-bottom:5px}progress{appearance:none;border:none;border-radius:12px;overflow:hidden;height:8px;background:#e6eadd;width:100%}progress::-webkit-progress-bar{background:#e6eadd}progress::-webkit-progress-value{background:#75b09a;border-radius:12px;transition:width .15s}progress::-moz-progress-bar{background:#75b09a}.mood progress{width:78px;height:5px;display:block}.stage{position:relative;width:100%;aspect-ratio:10/7;max-height:calc(100dvh - 210px);min-height:300px;overflow:hidden;background:#e3eee0}.room-art,canvas{position:absolute;width:100%;height:100%;inset:0}.room-art{transition:filter .6s}canvas{object-fit:contain;touch-action:none;cursor:grab}.stage[data-room="bath"] .room-art{filter:hue-rotate(12deg)}.stage[data-room="treat"] .room-art{filter:hue-rotate(-13deg)}.stage .reception-prop,.stage .bath-prop{display:none}.stage[data-room="reception"] .reception-prop{display:block}.stage[data-room="reception"] .exam-prop,.stage[data-room="bath"] .exam-prop{display:none}.stage[data-room="bath"] .bath-prop{display:block}.room-plaque{position:absolute;bottom:18px;left:20px;font-size:9px;letter-spacing:2px;font-weight:bold;color:#8a755c;pointer-events:none}.float-text{position:absolute;top:28%;left:50%;transform:translateX(-50%);background:#fffef0f0;border-radius:15px;padding:10px 18px;box-shadow:0 5px 18px #375c4c22;text-align:center;font-weight:bold;opacity:0;transition:opacity .2s;pointer-events:none;max-width:80%;font-size:14px}.float-text.show{opacity:1}.step-footer{display:flex;align-items:center;gap:14px;padding:15px 23px;border-top:1px solid #e4e8da;font-size:10px;letter-spacing:1px}.step-track{flex:1;height:6px;border-radius:6px;background:#e5eadb;overflow:hidden}.step-track div{height:100%;background:#68a58b;transition:width .4s}.text-button{background:none;font-size:10px;color:#768774;padding:7px}.care-panel{background:#fffdf6;border:1px solid #e0e6d8;border-radius:27px;padding:26px 22px;box-shadow:0 10px 35px #3a5e4309;align-self:start}.care-panel h2{font-size:26px;letter-spacing:-.8px;line-height:1.2;margin:11px 0}.care-panel p{font-size:13px;line-height:1.7;color:#6d7f70;margin:13px 0 20px;min-height:45px}.care-panel .primary{width:100%;font-size:15px;padding:15px 18px;margin:19px 0}.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}.tool{display:flex;flex-direction:column;align-items:center;gap:7px;border:2px solid #e4e8dc;background:linear-gradient(#fffefa,#f0f2e6);border-radius:20px;padding:12px 4px 9px;min-height:95px;font-size:10px;font-weight:bold;touch-action:none;box-shadow:0 3px 0 #d9dfd0}.tool svg{width:47px;height:47px;filter:drop-shadow(0 3px 2px #435d4322)}.tool.selected{border-color:#6ba98d;background:#edf7e8;box-shadow:0 3px 0 #6ba98d}.tools.one{grid-template-columns:1fr}.tools.one .tool{flex-direction:row;justify-content:center;font-size:13px}.tool.suggested:not(.selected){border-color:#b7caa1;position:relative}.tool.suggested:not(.selected):after{content:'';width:9px;height:9px;background:#78a681;border:2px solid #fffdf0;border-radius:50%;position:absolute;right:8px;top:8px;box-shadow:0 0 0 3px #d8e6c5}.patient-note{border-top:1px dashed #dce2d3;padding-top:18px;margin-top:20px;font-size:12px;line-height:1.7;color:#72836f}.gentle-note{font-size:10px;color:#a0a791;margin-top:18px;text-align:center}#taskProgressText{font-size:10px;display:block;line-height:1.5;margin-top:7px;color:#84917b}.patterns{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.pattern{width:39px;height:39px;border-radius:12px;background:#f4dfc0;border:2px solid transparent}.pattern svg{width:25px;height:25px}.pattern.selected{border-color:#42846c}dialog{border:1px solid #d9e4d4;background:#fffdf5;color:#305c4b;border-radius:28px;width:min(850px,94vw);max-height:90dvh;padding:28px;box-shadow:0 25px 100px #163c3d44}dialog::backdrop{background:#183a355c;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}dialog h2{font-size:29px;margin:8px 0}dialog p{font-size:13px;color:#789077}#bookGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:22px}.book-card{background:#eef1e5;border:1px solid #dbe4d2;border-radius:20px;padding:13px;text-align:center}.book-card img{width:100%;aspect-ratio:1;object-fit:contain}.book-card h3{margin:5px;font-size:18px}.book-card p{font-size:11px;margin:7px 0}.book-card .status{font-size:10px;font-weight:bold;background:#fffdf6;border-radius:8px;padding:5px;display:block}.book-card.waiting img{opacity:.55;filter:saturate(.5)}.book-card button{margin-top:10px;background:#4b8a71;color:#fff;border-radius:10px;padding:9px;width:100%;font-size:12px;min-height:40px}.dialog-actions{display:flex;gap:15px;margin-top:25px}#restartDialog{max-width:460px}#loading{position:fixed;inset:0;z-index:20;background:#f8f8edf0;display:grid;place-items:center;font-weight:bold}.reward-title{color:#39856b}.before-after{display:flex;gap:10px;margin:18px 0}.before-after div{flex:1;background:#edf2e6;border-radius:12px;padding:10px;text-align:center;font-size:11px}.before-after img{width:100%;height:70px;object-fit:contain}.before-after .before img{filter:sepia(.5) brightness(.8)}
@media(max-width:1000px){.topbar{padding:10px 18px;height:72px}.topbar nav{gap:5px}.brand{font-size:21px}.brand small{font-size:7px}.topbar nav .small{padding:9px}.play-layout{gap:14px;padding:0 15px 15px;grid-template-columns:minmax(0,1fr) 235px}.care-panel{padding:21px 17px}.care-panel h2{font-size:23px}.journey{gap:24px;padding:15px 8px}.stage{min-height:330px;max-height:none}.patient-label{top:17px;left:18px}.patient-label h2{font-size:24px}.mood{right:14px;top:16px}.welcome{height:calc(100dvh - 72px)}}
@media(max-width:700px){.topbar{height:64px;padding:8px 12px;gap:8px;position:relative;z-index:4}.brand{font-size:17px;gap:5px}.brand svg{width:25px}.brand small{font-size:5px;letter-spacing:1px}.topbar .small{padding:7px 9px;font-size:12px;min-height:40px;border-radius:12px}.topbar nav .small span,.topbar #exit span{display:none}.book-button b{display:none}.topbar nav{gap:4px}.welcome{height:calc(100dvh - 64px);min-height:640px;display:flex;align-items:flex-end}.cover{height:65%;top:0;object-position:58% 50%}.welcome:after{background:linear-gradient(0deg,#f4f3e9 0%,#f4f3e9 29%,#f4f3e900 65%)}.welcome-card{width:100%;padding:25px 28px 35px;text-align:center}.welcome h1{font-size:43px;letter-spacing:-2px;margin:14px 0}.welcome h1 br{display:none}.welcome p{font-size:14px;line-height:1.6;margin:14px 0}.welcome .primary{margin:20px auto;width:240px}.cover-label{display:none}.journey{gap:12px;justify-content:space-around;padding:13px 8px;font-size:10px}.journey b{font-size:8px}.journey span{gap:4px}.play-layout{display:flex;flex-direction:column;padding:0 10px 16px;gap:10px}.scene-panel{border-radius:21px;position:sticky;top:0;z-index:3}.stage{aspect-ratio:10/7;min-height:0;max-height:38dvh}.patient-label{left:14px;top:12px}.patient-label h2{font-size:22px;margin:5px 0}.patient-label .eyebrow{font-size:7px;letter-spacing:1px}.patient-label p{font-size:8px}.mood{top:10px;right:10px;padding:5px 7px;border-radius:12px;gap:5px}.mood svg{width:25px}.mood progress{width:53px}.mood small{font-size:8px}.step-footer{padding:6px 12px;gap:8px;font-size:8px;letter-spacing:.5px}.text-button{font-size:9px;min-height:32px}.room-plaque{font-size:7px;bottom:9px;left:14px}.care-panel{width:100%;border-radius:21px;padding:17px 18px;position:relative;z-index:2}.care-panel .eyebrow{font-size:8px}.care-panel h2{font-size:22px;margin:6px 0}.care-panel p{font-size:12px;margin:7px 0 12px;min-height:0;line-height:1.5}.tools{display:flex;gap:8px;margin-top:12px}.tools .tool:not(.suggested){display:none}.tool.suggested{flex:1;flex-direction:row;justify-content:center;min-height:56px;font-size:12px;gap:12px;border-radius:15px;padding:6px}.tool svg{width:34px;height:34px}.care-panel .primary{margin:12px 0 4px;min-height:46px;padding:12px 17px}.patient-note{font-size:10px;padding-top:9px;margin-top:10px}.gentle-note{display:none}#taskProgressText{font-size:9px;margin-top:4px}.float-text{font-size:11px;padding:7px 12px;top:24%}#bookGrid{grid-template-columns:repeat(2,1fr);gap:10px}dialog{padding:20px}.before-after{margin:10px 0}.before-after img{height:50px}}
@media(max-width:360px){.topbar{padding:7px 8px;gap:5px}.brand{font-size:15px;letter-spacing:-.7px}.brand svg,.brand small{display:none}.topbar nav .small{padding:7px;font-size:11px}.topbar #exit{padding:7px}.journey{gap:5px}.journey b{font-size:7px}.care-panel{padding:13px}.stage{max-height:32dvh}.patient-label p{max-width:100px}.mood{top:8px;right:7px}}
@media(max-height:500px) and (min-width:650px){.topbar{height:53px}.journey{padding:8px}.stage{min-height:180px;max-height:calc(100dvh - 140px)}.care-panel{padding:13px}.tools{margin-top:7px;grid-template-columns:1fr}.tools .tool:not(.suggested){display:none}.tools .tool.suggested{flex-direction:row;justify-content:center;min-height:48px;gap:10px;font-size:12px;padding:5px}.tool svg{height:30px}.care-panel p{margin:6px 0;min-height:0;font-size:12px;line-height:1.4}.care-panel h2{font-size:19px;margin:6px 0}.care-panel .primary{min-height:42px;padding:10px 14px;margin:10px 0}.patient-note,.gentle-note{display:none}.step-footer{padding:3px 12px;font-size:8px}.text-button{font-size:8px}.welcome{height:calc(100dvh - 53px);min-height:340px}.welcome-card{padding:30px 7%}.welcome h1{font-size:40px;margin:10px 0}.welcome p{font-size:13px}.welcome .primary{margin:13px 0}.brand small{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
