:root{--ink:#17343a;--muted:#6a7f81;--teal:#0e766f;--teal2:#18a28e;--mint:#dff4eb;--cream:#fbf8ef;--orange:#e98156;--yellow:#f4c961;--line:#dce7e2;--white:#fff;--shadow:0 20px 55px rgba(27,73,70,.13)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"DM Sans",sans-serif;color:var(--ink);background:#e9f1eb}button,input{font:inherit}button{cursor:pointer}.game-shell{width:100%;min-height:100vh;overflow:hidden;background:var(--cream);position:relative}.topbar{height:78px;padding:0 5.5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(23,52,58,.09);position:relative;z-index:20;background:rgba(251,248,239,.92);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--ink);padding:0}.brand-mark{width:39px;height:39px;border-radius:13px;background:var(--teal);display:grid;place-items:center;transform:rotate(-7deg);box-shadow:0 6px 12px #0e766f35}.brand-mark span{color:white;font:900 24px Nunito;transform:rotate(7deg)}.brand strong{display:block;font:900 21px Nunito;letter-spacing:-1px;line-height:17px}.brand small{font-size:7px;letter-spacing:3.4px;color:var(--teal);font-weight:800}.topbar-right,.progress-pill{display:flex;align-items:center;gap:12px}.progress-pill{background:white;border:1px solid var(--line);border-radius:99px;padding:9px 14px;font-size:12px;color:var(--muted)}.progress-pill strong{color:var(--teal)}.pulse-dot{width:7px;height:7px;border-radius:50%;background:#41be86;box-shadow:0 0 0 4px #41be8621}.sound-button{width:36px;height:36px;border:1px solid var(--line);background:white;border-radius:50%;color:var(--teal);font-weight:800}.screen{display:none;min-height:calc(100vh - 78px);animation:fade .45s ease}.screen.active{display:block}@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.screen-start{position:relative;padding:8.7vh 7vw 0;background:linear-gradient(115deg,#f9f5e9 0%,#f9f5e9 51%,#dcece3 51%,#cae1d7 100%)}.start-copy{position:relative;z-index:4;width:46%;max-width:650px}.eyebrow,.kicker{font-weight:800;font-size:11px;letter-spacing:2.2px;color:var(--teal)}.eyebrow{display:flex;align-items:center;gap:9px;text-transform:uppercase}.eyebrow span{width:22px;height:2px;background:var(--orange)}h1,h2,h3{font-family:Nunito,sans-serif;margin:0}.start-copy h1{font-size:clamp(44px,5.3vw,76px);line-height:.99;letter-spacing:-3.4px;margin:21px 0 22px}.start-copy h1 em{font-style:normal;color:var(--teal);position:relative}.start-copy h1 em:after{content:"";position:absolute;left:2px;right:0;bottom:0;height:5px;background:var(--orange);border-radius:99px;transform:rotate(-1deg)}.start-copy>p{font-size:16px;line-height:1.7;color:var(--muted);max-width:520px}.name-card{margin-top:30px;background:rgba(255,255,255,.78);border:1px solid #fff;border-radius:20px;padding:18px 20px 15px;box-shadow:var(--shadow);max-width:560px}.name-card label{display:block;font:800 11px Nunito;letter-spacing:1.7px;text-transform:uppercase;margin-bottom:8px}.name-row{display:flex;gap:10px}.name-row input{min-width:0;flex:1;border:1.5px solid var(--line);background:white;border-radius:12px;padding:13px 15px;outline:0;color:var(--ink)}.name-row input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #0e766f14}.primary-button{border:0;background:var(--teal);color:white;font-weight:700;border-radius:12px;padding:0 22px;box-shadow:0 8px 17px #0e766f31;transition:.2s}.primary-button:hover{background:#0a665f;transform:translateY(-2px)}.primary-button span{margin-left:10px}.name-card small{display:block;margin-top:9px;color:#8a9998;font-size:11px}.hospital-world{position:absolute;z-index:2;right:0;top:0;width:49%;height:calc(100% - 46px);overflow:hidden;perspective:800px}.sun{position:absolute;width:115px;height:115px;border-radius:50%;background:#f5ce69;right:10%;top:10%;box-shadow:0 0 0 18px #f5ce691c}.cloud{position:absolute;width:88px;height:22px;border-radius:30px;background:#fff9;top:18%;left:8%}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}.cloud:before{width:34px;height:34px;left:15px;bottom:0}.cloud:after{width:45px;height:45px;right:9px;bottom:0}.cloud-b{top:32%;left:auto;right:4%;transform:scale(.7)}.hospital-building{position:absolute;width:60%;height:47%;left:21%;top:30%;background:#f7f6ed;border:3px solid white;box-shadow:-25px 30px 40px #345e5630;transform:skewY(-2deg)}.building-side{position:absolute;right:-13%;top:5%;width:13%;height:100%;background:#accdbf;clip-path:polygon(0 0,100% 12%,100% 100%,0 100%)}.roof-sign{position:absolute;left:8%;top:-13%;background:var(--teal);color:white;padding:11px 19px 10px;border-radius:4px;box-shadow:0 8px 15px #0e766f40;display:flex;align-items:center;gap:8px}.roof-sign b{font:900 28px Nunito;border:2px solid white;width:35px;height:35px;display:grid;place-items:center;border-radius:50%}.roof-sign span{font:900 15px Nunito;letter-spacing:1px}.roof-sign span span{color:#f7d46d}.window-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:17% 9%}.window-grid i{height:52px;background:linear-gradient(135deg,#a9d8d5,#6aa9ae);border:5px solid white;box-shadow:0 2px 0 #cedbd6}.entrance{position:absolute;bottom:0;left:36%;width:30%;height:34%;background:#def0ea;border:7px solid white;border-bottom:0;display:flex}.entrance span{flex:1;border-right:1px solid #8fbab2}.entrance b{position:absolute;left:15%;right:15%;top:-22px;text-align:center;background:var(--orange);color:white;font-size:9px;padding:4px;letter-spacing:2px}.hospital-shadow{position:absolute;width:78%;height:23%;border-radius:50%;background:#53796b25;left:11%;bottom:6%;transform:rotate(-4deg)}.walkway{position:absolute;width:40%;height:34%;background:#f8f0dc;clip-path:polygon(31% 0,63% 0,100% 100%,0 100%);bottom:-10%;left:31%}.tree{position:absolute;bottom:12%;width:70px;height:125px}.tree i{position:absolute;width:19px;height:80px;background:#9b7354;bottom:0;left:26px}.tree b{position:absolute;width:70px;height:75px;background:#4a967a;border-radius:55% 45% 50% 50%;top:0;box-shadow:18px 12px 0 #6eae84,-16px 19px 0 #3a856d}.tree-one{left:3%;transform:scale(.85)}.tree-two{right:3%;bottom:10%;transform:scale(.7)}.mini-person{position:absolute;left:61%;bottom:6%;width:35px;height:100px}.mini-person i{position:absolute;left:7px;width:24px;height:24px;background:#d69a76;border-radius:50%;z-index:2}.mini-person b{position:absolute;top:21px;width:35px;height:52px;background:#fff;border-radius:13px 13px 5px 5px;box-shadow:inset 0 -8px #0e766f}.mini-person span{position:absolute;top:67px;left:7px;width:20px;height:31px;border-left:7px solid #314e53;border-right:7px solid #314e53}.start-footer{position:absolute;bottom:0;left:0;width:51%;height:46px;background:var(--ink);color:#d6e4df;display:flex;align-items:center;justify-content:center;gap:18px;font-size:8px;letter-spacing:1.7px}.start-footer i{width:3px;height:3px;border-radius:50%;background:var(--orange)}
.screen-calendar{background:#f5f4ec}.scene-band{height:235px;padding:31px 7vw;position:relative;display:flex;align-items:center;background:linear-gradient(115deg,#cae0d5,#e7efe7);overflow:hidden}.scene-band:after{content:"";position:absolute;left:0;right:0;bottom:0;height:24px;background:#bad2c5;clip-path:polygon(0 55%,8% 20%,21% 60%,35% 10%,49% 65%,62% 28%,75% 70%,88% 18%,100% 55%,100% 100%,0 100%)}.hospital-mini{height:135px;width:215px;background:#f9f8f2;box-shadow:-10px 13px 22px #44695d24;display:flex;align-items:center;justify-content:center;gap:10px;position:relative}.hospital-mini:after{content:"";position:absolute;width:55px;height:70px;background:#a6cfca;bottom:0;left:80px;border:6px solid white;border-bottom:0}.hospital-mini>b{font:900 34px Nunito;color:white;background:var(--teal);width:48px;height:48px;border-radius:14px;display:grid;place-items:center;position:relative;z-index:2}.hospital-mini>span{font:900 15px Nunito;color:var(--teal);position:relative;z-index:2}.hospital-mini small{font-size:8px;letter-spacing:2px}.character{width:70px;height:148px;margin:-3px 42px 0 30px;position:relative;flex:0 0 auto}.character .head{position:absolute;top:21px;left:19px;width:36px;height:41px;background:#d99b77;border-radius:44% 44% 48% 48%;z-index:2}.character .hair{position:absolute;z-index:3;top:11px;left:15px;width:44px;height:30px;background:#45342d;border-radius:45% 45% 30% 20%}.character .hair:after{content:"";position:absolute;right:-6px;top:13px;width:13px;height:40px;background:#45342d;border-radius:9px}.character .body{position:absolute;top:57px;left:7px;width:60px;height:68px;background:#fff;border-radius:20px 20px 7px 7px;box-shadow:inset 0 -13px var(--teal)}.character .body:after{content:"+";position:absolute;color:var(--orange);font-weight:900;left:26px;top:12px}.character .legs{position:absolute;top:117px;left:16px;width:42px;height:31px;border-left:13px solid #31525a;border-right:13px solid #31525a}.speech-card{max-width:620px;background:white;padding:23px 28px;border-radius:16px;box-shadow:var(--shadow);position:relative;z-index:2}.speech-card:before{content:"";position:absolute;left:-16px;top:50%;border:9px solid transparent;border-right-color:white}.speech-label{font-size:9px;letter-spacing:1.8px;color:var(--orange);font-weight:800}.speech-card p{margin:7px 0 0;line-height:1.55;font-size:15px}.speech-card p:first-of-type{font-weight:700;font-size:18px}.calendar-panel{padding:36px 7vw 50px;max-width:1400px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.section-heading h2{font-size:30px;letter-spacing:-1px;margin-top:5px}.legend{display:flex;gap:18px;color:var(--muted);font-size:11px}.legend span{display:flex;gap:6px;align-items:center}.legend i{width:8px;height:8px;border-radius:50%;background:#c9d3cf}.legend i.open{background:var(--teal2)}.day-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:10px}.day-button{height:69px;border:1px solid #dde5e0;background:#edeee9;border-radius:11px;color:#9ca8a4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative}.day-button strong{font:800 16px Nunito}.day-button small{font-size:8px;letter-spacing:1px}.day-button:disabled:after{content:"";width:8px;height:7px;border:1.5px solid #aeb9b4;border-radius:2px;position:absolute;right:7px;top:7px}.day-button:disabled:before{content:"";width:5px;height:5px;border:1.5px solid #aeb9b4;border-bottom:0;border-radius:5px 5px 0 0;position:absolute;right:8.5px;top:3px}.day-button.open-day{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 8px 19px #0e766f37;transform:translateY(-3px)}.day-button.open-day:hover{background:#0b655f;transform:translateY(-5px)}.day-button.open-day:after{content:"3 vaka";position:absolute;right:5px;top:5px;background:#f4cf6a;color:#4d4630;border-radius:5px;padding:3px 4px;font-size:7px;text-transform:uppercase;font-weight:800}.calendar-note{margin-top:20px;border:1px solid #eadfbf;background:#fffaf0;border-radius:10px;padding:11px 15px;color:#7c735e;font-size:11px}.calendar-note span{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--yellow);color:white;font-weight:800;margin-right:7px}
.content-wrap{max-width:1250px;margin:auto;padding:35px 6vw 60px}.back-button{border:0;background:transparent;color:var(--teal);font-weight:700;font-size:12px;padding:8px 0;margin-bottom:27px}.patients-heading{align-items:center}.patients-heading p{color:var(--muted);font-size:13px;margin:5px 0 0}.day-score{border-left:1px solid var(--line);padding-left:25px}.day-score span{display:block;color:var(--muted);font-size:10px}.day-score strong{font:900 23px Nunito;color:var(--teal)}.patient-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.patient-card{border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden;text-align:left;padding:0;box-shadow:0 9px 30px #315b5310;transition:.25s;position:relative}.patient-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#9dcac0}.patient-card.done{border-color:#a9d9bd}.patient-card.done:after{content:"✓ Tamamlandı";position:absolute;right:13px;top:13px;background:#daf2e1;color:#247347;font-size:9px;font-weight:800;padding:5px 8px;border-radius:20px}.patient-visual{height:190px;background:var(--card-bg);position:relative;overflow:hidden}.patient-visual:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:#fff5;right:-35px;top:-55px}.patient-avatar{position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);width:115px;height:155px}.av-head{position:absolute;width:65px;height:69px;left:25px;top:17px;background:var(--skin);border-radius:43% 43% 48% 48%;z-index:2}.av-hair{position:absolute;width:73px;height:44px;left:21px;top:7px;background:var(--hair);border-radius:45% 48% 25% 20%;z-index:3}.patient-avatar.older .av-hair{background:#e7e7df;clip-path:polygon(0 18%,13% 3%,28% 15%,45% 0,62% 14%,80% 3%,100% 25%,92% 68%,7% 68%)}.patient-avatar.female .av-hair{height:82px;border-radius:50% 50% 35% 35%}.patient-avatar.female .av-head{width:59px;left:28px}.av-body{position:absolute;bottom:0;left:4px;width:107px;height:76px;background:var(--shirt);border-radius:42px 42px 8px 8px}.av-body:after{content:"";position:absolute;left:45px;top:-2px;width:18px;height:20px;background:var(--skin);clip-path:polygon(0 0,100% 0,50% 100%)}.patient-info{padding:20px}.appointment{display:flex;justify-content:space-between;color:var(--orange);font-size:9px;font-weight:800;letter-spacing:1.1px}.appointment span:last-child{color:var(--muted)}.patient-info h3{font-size:22px;margin:9px 0 3px}.patient-info p{color:var(--muted);font-size:12px;margin:0 0 17px}.case-tags{display:flex;gap:6px;flex-wrap:wrap}.case-tags span{background:#f0f5f1;color:#58716d;padding:5px 8px;border-radius:6px;font-size:9px}.open-file{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1ef;padding-top:14px;color:var(--teal);font-size:11px;font-weight:800}.finish-button{margin:26px auto 0;display:block;border:0;border-radius:12px;background:var(--ink);color:white;padding:14px 25px;font-weight:700}.finish-button:disabled{opacity:.25;cursor:not-allowed}
.screen-case{background:#f4f2e9}.case-top{height:68px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line)}.case-top .back-button{margin:0}.case-stepper{display:flex;align-items:center;gap:9px;font-size:9px;color:#9aa8a5;font-weight:700}.case-stepper span.active{color:var(--teal)}.case-stepper i{width:34px;height:1px;background:var(--line)}.consult-room{display:grid;grid-template-columns:47% 53%;min-height:calc(100vh - 146px)}.room-art{position:relative;overflow:hidden;background:linear-gradient(#d8e8df 0 72%,#b78e6f 72%);border-right:1px solid #cbdad4}.room-art:after{content:"";position:absolute;left:0;right:0;bottom:0;height:28%;background:repeating-linear-gradient(100deg,transparent 0 50px,#ffffff10 51px 53px)}.room-window{position:absolute;left:10%;top:11%;width:39%;height:34%;background:#a9d5d2;border:11px solid white;display:flex;box-shadow:0 9px 20px #507a7033}.room-window:before{content:"";position:absolute;left:15%;right:0;bottom:0;height:60%;background:#6fae8d;clip-path:polygon(0 70%,20% 30%,40% 71%,64% 19%,100% 72%,100% 100%,0 100%)}.room-window i{flex:1;border-right:4px solid white}.wall-frame{position:absolute;right:9%;top:11%;width:75px;height:96px;border:9px solid white;background:#f5d57b;display:grid;place-items:center;color:var(--teal);font:900 40px Nunito;box-shadow:0 7px 15px #4f786d22}.wall-frame span{color:var(--orange)}.plant{position:absolute;left:7%;bottom:22%;width:90px;height:140px;z-index:2}.plant b{position:absolute;bottom:0;left:20px;width:57px;height:65px;background:#d77e55;clip-path:polygon(9% 0,91% 0,78% 100%,22% 100%)}.plant i{position:absolute;left:41px;bottom:55px;width:14px;height:70px;background:#388269}.plant i:before,.plant i:after{content:"";position:absolute;width:52px;height:31px;background:#4c9d75;border-radius:80% 10% 80% 10%}.plant i:before{left:-40px;top:5px;transform:rotate(20deg)}.plant i:after{left:4px;top:23px;transform:rotate(145deg)}.desk{position:absolute;right:4%;bottom:22%;width:300px;height:92px;background:#e8ddc8;z-index:4;transform:skewY(-3deg);box-shadow:0 12px 0 #9c765e}.desk:before{content:"";position:absolute;left:22px;top:-83px;width:120px;height:78px;background:#2d5259;border:7px solid #f5f3e9;border-radius:5px;box-shadow:0 7px 12px #324e4a33}.desk:after{content:"";position:absolute;right:33px;top:-28px;width:50px;height:30px;background:#fff;border-radius:3px;box-shadow:inset 0 -5px #77b2a8}.stool{position:absolute;right:14%;bottom:5%;width:78px;height:67px;background:#e4825b;border-radius:50%;z-index:3;box-shadow:0 50px 0 -31px #704f3e}.patient-character{position:absolute;left:39%;bottom:14%;width:145px;height:300px;z-index:3}.pc-head{position:absolute;top:45px;left:42px;width:67px;height:78px;background:var(--pc-skin,#d39a79);border-radius:44%;z-index:2}.pc-hair{position:absolute;top:30px;left:36px;width:80px;height:58px;background:var(--pc-hair,#55504a);border-radius:50% 50% 28% 20%;z-index:3}.pc-body{position:absolute;top:114px;left:17px;width:120px;height:125px;background:var(--pc-shirt,#597e91);border-radius:49px 49px 12px 12px;box-shadow:inset 0 -16px #496671}.pc-legs{position:absolute;top:230px;left:31px;width:92px;height:68px;border-left:29px solid #344e55;border-right:29px solid #344e55}.dialogue-area{padding:8vh 7vw 45px;background:#faf8f1;overflow:auto}.patient-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}.patient-meta i{width:3px;height:3px;border-radius:50%;background:var(--orange)}.story-bubble{margin-top:25px;padding:29px 32px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);position:relative}.story-bubble:before{content:"";position:absolute;left:-18px;top:50px;border:10px solid transparent;border-right-color:white}.story-bubble>span{font-size:9px;letter-spacing:1.7px;color:var(--orange);font-weight:800}.story-bubble h2{font-size:29px;margin:9px 0}.story-bubble p{color:#526b6c;line-height:1.7;font-size:14px;min-height:70px}.primary-button.small{height:42px;margin-top:8px}.action-panel,.diagnosis-panel{margin-top:25px}.action-panel h3,.diagnosis-panel h3{font-size:25px;margin:5px 0 13px}.action-choices{display:grid;gap:9px}.action-choice,.diagnosis-choice{border:1.5px solid var(--line);background:white;border-radius:12px;padding:13px 15px;text-align:left;color:var(--ink);display:flex;gap:12px;align-items:center;transition:.2s}.action-choice:hover,.diagnosis-choice:hover{border-color:var(--teal);transform:translateX(3px)}.action-choice.selected{background:#e7f5ef;border-color:#8ec8b5}.choice-icon{width:33px;height:33px;border-radius:9px;background:#edf4f1;display:grid;place-items:center;flex:0 0 auto}.action-choice strong{display:block;font-size:12px}.action-choice small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.finding-card{padding:14px 16px;border-left:3px solid var(--orange);background:#fff4ea;margin-top:12px;border-radius:0 10px 10px 0;color:#6d6258;font-size:12px;line-height:1.55}.finding-card strong{color:var(--ink);display:block;margin-bottom:3px}.diagnose-button{margin-top:14px;width:100%;height:44px;border:0;background:var(--teal);color:white;border-radius:11px;font-weight:700}.diagnose-button:disabled{opacity:.25;cursor:not-allowed}.diagnosis-panel>p{font-size:12px;color:var(--muted)}.diagnosis-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.diagnosis-choice{font-weight:700;font-size:12px}.diagnosis-choice span{width:23px;height:23px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--teal)}.result-panel{margin-top:20px;border-radius:15px;padding:24px;background:#e5f4e9;border:1px solid #9fd3ad}.result-panel.wrong{background:#fff1e9;border-color:#efb392}.result-panel h3{font-size:24px}.result-panel p{font-size:12px;line-height:1.6;color:#557067}.result-panel button{height:42px;margin-top:8px}.hidden{display:none!important}
.screen-summary{padding:45px 20px;background:radial-gradient(circle at 50% 0,#daede3,#f7f3e8 65%);position:relative}.summary-card{max-width:780px;margin:auto;text-align:center;background:#fffcf7;border:1px solid white;padding:35px 55px;border-radius:24px;box-shadow:var(--shadow);position:relative;z-index:2}.summary-icon{width:61px;height:61px;border-radius:50%;background:var(--teal);color:white;display:grid;place-items:center;margin:0 auto 18px;font-size:28px;box-shadow:0 0 0 9px #0e766f16}.summary-card h2{font-size:34px;margin:8px 0}.summary-card>p{color:var(--muted);font-size:13px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0;border:1px solid var(--line);border-radius:13px;overflow:hidden}.summary-stats div{padding:15px;border-right:1px solid var(--line)}.summary-stats div:last-child{border:0}.summary-stats strong{font:900 22px Nunito;color:var(--teal);display:block}.summary-stats span{font-size:9px;color:var(--muted)}.summary-cases{display:grid;gap:7px;text-align:left}.summary-case{display:flex;justify-content:space-between;align-items:center;background:#f2f5ef;border-radius:9px;padding:10px 13px;font-size:11px}.summary-case strong{font-size:11px}.summary-case span{color:#43805f}.replay{height:45px;margin-top:22px}.summary-confetti i{position:absolute;width:8px;height:16px;background:var(--orange);left:15%;top:20%;transform:rotate(20deg)}.summary-confetti i:nth-child(2){left:25%;top:10%;background:var(--yellow);transform:rotate(70deg)}.summary-confetti i:nth-child(3){left:78%;top:16%;background:var(--teal2)}.summary-confetti i:nth-child(4){left:87%;top:33%;background:var(--yellow);transform:rotate(110deg)}.summary-confetti i:nth-child(5){left:9%;top:52%;background:#5e9ed0}.summary-confetti i:nth-child(6){left:92%;top:64%;background:var(--orange)}.toast{position:fixed;left:50%;bottom:24px;z-index:100;transform:translate(-50%,20px);background:var(--ink);color:white;padding:11px 18px;border-radius:9px;font-size:11px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:950px){.start-copy{width:55%}.hospital-world{width:45%;opacity:.78}.day-grid{grid-template-columns:repeat(6,1fr)}.consult-room{grid-template-columns:40% 60%}.patient-grid{gap:12px}.dialogue-area{padding:6vh 4vw}.desk{right:-30%}}
@media(max-width:700px){.topbar{height:66px;padding:0 18px}.progress-pill span:not(.pulse-dot){display:none}.screen{min-height:calc(100vh - 66px)}.screen-start{padding:55px 22px 65px;background:linear-gradient(#f9f5e9 0 72%,#d6e8de)}.start-copy{width:100%}.start-copy h1{font-size:45px;letter-spacing:-2px}.hospital-world{position:relative;width:100%;height:300px;margin-top:30px}.start-footer{display:none}.name-row{flex-direction:column}.name-row .primary-button{height:48px}.scene-band{height:auto;padding:25px 20px}.hospital-mini{display:none}.character{margin:0 20px 0 0;transform:scale(.8)}.speech-card{padding:18px}.calendar-panel{padding:29px 20px}.section-heading{align-items:flex-start}.legend{display:none}.day-grid{grid-template-columns:repeat(5,1fr);gap:7px}.day-button{height:60px}.content-wrap{padding:25px 19px}.patients-heading{display:block}.day-score{border:0;padding:15px 0 0}.patient-grid{grid-template-columns:1fr}.patient-visual{height:155px}.case-top{height:auto;padding:12px 18px;display:block}.case-stepper{justify-content:center}.consult-room{display:block}.room-art{height:270px;border:0}.patient-character{transform:scale(.72);transform-origin:bottom}.dialogue-area{padding:28px 19px}.story-bubble:before{display:none}.diagnosis-choices{grid-template-columns:1fr}.summary-card{padding:30px 18px}.summary-stats{grid-template-columns:1fr}.summary-stats div{border-right:0;border-bottom:1px solid var(--line)}.summary-card h2{font-size:27px}}

/* Interactive clinical results and care plan */
.case-stepper button{border:0;background:transparent;padding:6px 2px;color:#9aa8a5;font-size:9px;font-weight:700;white-space:nowrap}.case-stepper button.active{color:var(--teal)}.case-stepper button:disabled{opacity:.38;cursor:not-allowed}.case-stepper button:not(:disabled):hover{color:var(--teal);text-decoration:underline;text-underline-offset:4px}.panel-back{display:block;border:0;background:transparent;padding:0;margin:0 0 14px;color:var(--teal);font-size:10px;font-weight:800}.open-result{margin-left:auto;color:var(--teal);font-size:9px;white-space:nowrap}.test-progress{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:11px 13px;border:1px dashed #b9cec7;border-radius:10px;color:var(--muted);font-size:10px}.test-progress strong{color:var(--teal)}.test-progress span{font-size:9px}.secondary-button{height:42px;padding:0 16px;border:1px solid var(--line);background:white;border-radius:11px;color:var(--teal);font-weight:700}.result-actions{display:flex;gap:9px;margin-top:14px}.result-actions .primary-button{height:42px}.modal-open{overflow:hidden}.test-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:25px}.test-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(16,42,44,.72);backdrop-filter:blur(6px);cursor:default}.test-modal-card{position:relative;width:min(760px,94vw);max-height:90vh;overflow:auto;background:#fffdf7;border-radius:22px;padding:25px 28px 27px;box-shadow:0 28px 90px #071d1d55;animation:modalIn .25s ease}.test-modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:15px;border-bottom:1px solid var(--line)}.test-modal-head h2{font-size:27px;margin-top:4px}.modal-close{width:37px;height:37px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--ink);font-size:23px;line-height:1}.test-modal-body{padding:18px 0}.modal-done{display:block;height:44px;margin-left:auto}.modal-finding{margin-top:15px;background:#edf6f1;border-left:4px solid var(--teal);padding:13px 15px;border-radius:0 11px 11px 0}.modal-finding span{font-size:8px;letter-spacing:1.7px;color:var(--teal);font-weight:900}.modal-finding p{font-size:12px;line-height:1.55;color:#4f6865;margin:5px 0 0}@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.audiogram-wrap{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:20px;align-items:center}.chart-legend{grid-column:1/2;display:flex;gap:18px;font-size:9px;font-weight:800;margin:0 0 -10px 52px}.right-ear{color:#dc5f51}.left-ear{color:#477fba}.audiogram{width:100%;background:#fbfcfa;border:1px solid var(--line);border-radius:12px}.audio-grid line{stroke:#dfe8e3;stroke-width:1}.audio-grid text,.axis-label{font:9px "DM Sans",sans-serif;fill:#70827f}.right-line{fill:none;stroke:#df6255;stroke-width:2.4}.right-line+circle,.right-line~circle{fill:white;stroke:#df6255;stroke-width:2.5}.left-line{fill:none;stroke:#4e82b9;stroke-width:2.4}.left-line~g path{stroke:#4e82b9;stroke-width:2.5}.audiogram-note{background:#f3f5ef;border-radius:12px;padding:18px;display:flex;flex-direction:column;align-items:flex-start}.audiogram-note strong{font:800 15px Nunito;line-height:1.25;margin:9px 0 7px}.audiogram-note small{color:var(--muted);font-size:9px;line-height:1.5}.severity-dot{width:11px;height:11px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 6px #e9815620}.severity-dot.normal{background:#3ebd83;box-shadow:0 0 0 6px #3ebd8320}.lab-sheet{border:1px solid var(--line);border-radius:14px;overflow:hidden}.lab-sheet-title{display:flex;align-items:center;gap:12px;background:#eef5f1;padding:14px 16px}.lab-sheet-title>span{width:39px;height:39px;border-radius:10px;background:var(--teal);color:white;display:grid;place-items:center;font:900 11px Nunito}.lab-sheet-title div{display:flex;flex-direction:column}.lab-sheet-title strong{font-size:13px}.lab-sheet-title small{font-size:9px;color:var(--muted);margin-top:2px}.lab-sheet-title>b{margin-left:auto;background:#d8f0df;color:#277348;padding:5px 8px;border-radius:20px;font-size:8px}.lab-sheet table{width:100%;border-collapse:collapse;font-size:10px}.lab-sheet th{text-align:left;color:var(--muted);font-size:8px;letter-spacing:1px;background:#fafbf8}.lab-sheet th,.lab-sheet td{padding:10px 13px;border-top:1px solid #e6ece8}.lab-sheet td:last-child span{background:#e0f3e6;color:#2e7e50;border-radius:20px;padding:4px 7px;font-size:8px}.score-visual{display:grid;grid-template-columns:1fr 1fr;gap:12px}.score-visual>div{border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center;background:#f5f8f4}.score-visual span{display:block;color:var(--orange);font-weight:900;font-size:9px;letter-spacing:1px}.score-visual strong{font:900 34px Nunito;color:var(--teal);display:block;margin:4px}.score-visual small{color:var(--muted);font-size:9px}.motion-visual{display:flex;align-items:center;gap:20px;background:#eef5f2;border-radius:14px;padding:20px}.motion-visual>span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;letter-spacing:1.5px;color:var(--teal);font-weight:900}.head-icon{width:75px;height:75px;border-radius:50%;background:white;display:grid;place-items:center;font-size:38px;color:var(--orange);box-shadow:0 7px 20px #21494017}.motion-visual div:last-child{display:flex;flex-direction:column}.motion-visual strong{font:800 17px Nunito}.motion-visual small{color:var(--muted);font-size:10px;margin-top:4px}.motion-visual.dix .head-icon{color:var(--teal)}
.result-panel.care-panel{background:transparent;border:0;padding:0}.patient-response{display:flex;align-items:center;gap:14px;margin-bottom:18px}.response-avatar{width:92px;height:100px;border-radius:15px;background:var(--response-bg);position:relative;overflow:hidden;flex:0 0 auto}.response-avatar .patient-avatar.compact{transform:translateX(-50%) scale(.68);transform-origin:bottom center}.response-bubble{position:relative;background:white;border:1px solid var(--line);border-radius:14px;padding:15px 17px;box-shadow:0 8px 24px #264d4511}.response-bubble:before{content:"";position:absolute;left:-12px;top:40px;border:6px solid transparent;border-right-color:white}.response-bubble span{font-size:8px;color:var(--orange);letter-spacing:1.3px;font-weight:900}.response-bubble p{margin:5px 0 0;color:var(--ink);font-size:13px;line-height:1.5}.care-question{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.care-question h3{font-size:22px;margin:5px 0 13px}.care-choices{display:grid;gap:8px}.care-choices button{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);background:white;border-radius:10px;padding:11px 12px;text-align:left;color:var(--ink);font-size:11px;font-weight:700}.care-choices button:hover{border-color:var(--teal);background:#f1f8f4}.care-choices button span{width:23px;height:23px;border-radius:7px;background:#edf4f1;color:var(--teal);display:grid;place-items:center}.care-feedback{margin-top:10px;padding:11px 13px;border-radius:9px;background:#e9f6ed;color:#396652;display:flex;flex-direction:column;font-size:10px}.care-feedback span{margin-top:3px;color:#57736a}.care-feedback.wrong-care{background:#fff0e8;color:#a25636}.care-success{display:flex;gap:12px;align-items:flex-start;background:#e6f5ea;border:1px solid #abd7b7;border-radius:13px;padding:14px}.care-success>span{width:30px;height:30px;border-radius:50%;background:#3ea66d;color:white;display:grid;place-items:center;flex:0 0 auto}.care-success strong{font-size:12px}.care-success p{font-size:10px;line-height:1.5;margin:3px 0 0;color:#527065}.next-patient-button{height:42px;margin-top:13px}.summary-case>span{display:flex;flex-direction:column;align-items:flex-end}.summary-case>span small{font-size:7px;color:var(--muted);margin-top:2px}
@media(max-width:700px){.case-stepper{overflow-x:auto;justify-content:flex-start;padding-top:8px}.case-stepper i{width:18px;flex:0 0 18px}.test-progress{align-items:flex-start;flex-direction:column;gap:3px}.test-modal{padding:10px}.test-modal-card{width:100%;max-height:94vh;padding:18px 16px;border-radius:17px}.audiogram-wrap{grid-template-columns:1fr}.chart-legend{grid-column:auto}.audiogram-note{padding:13px}.lab-sheet{overflow-x:auto}.lab-sheet table{min-width:500px}.modal-done{width:100%}.open-result{display:none}.patient-response{align-items:flex-end}.response-avatar{width:72px;height:88px}.response-bubble p{font-size:11px}.result-actions{flex-direction:column}.result-actions button{width:100%}}

/* Readability and calm, human motion */
.story-bubble h2{font-size:clamp(30px,3vw,38px);line-height:1.18;margin:12px 0 14px}
.story-bubble p{font-size:20px;line-height:1.72;min-height:96px;margin:0 0 18px;color:#38585a}
.test-modal-card{width:min(920px,94vw)}
.audiogram-wrap{display:flex;flex-direction:column;align-items:center;gap:20px}
.audiogram{width:min(100%,560px);border-radius:14px;box-shadow:0 10px 28px #21494012}
.audio-grid text,.axis-label{font-size:10px}
.audiogram-note{width:min(100%,620px);padding:17px 22px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:14px;text-align:center}
.audiogram-note strong{font-size:18px;line-height:1.35;margin:0}
.scene-band .character{animation:doctorWelcome 3.8s ease-in-out infinite;transform-origin:50% 100%}
.mini-person{animation:doctorWalk 5s ease-in-out infinite}
.patient-visual>.patient-avatar{animation:patientBreathe 3.4s ease-in-out infinite;transform-origin:50% 100%}
.patient-character{animation:patientBreathe 3.8s ease-in-out infinite;transform-origin:50% 100%}
.story-bubble{animation:bubbleArrive .55s cubic-bezier(.2,.75,.25,1) both}
.story-bubble:after{content:"";position:absolute;right:28px;top:25px;width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 0 #e9815640;animation:speakingPulse 2.2s ease-out infinite}
.summary-confetti i{animation:confettiFloat 3s ease-in-out infinite alternate}
.summary-confetti i:nth-child(even){animation-delay:-1.2s}
@keyframes doctorWelcome{0%,100%{transform:rotate(0)}45%{transform:rotate(1.5deg) translateY(-3px)}55%{transform:rotate(-1deg) translateY(-3px)}}
@keyframes doctorWalk{0%,100%{transform:translateX(0) translateY(0)}50%{transform:translateX(-18px) translateY(-2px)}}
@keyframes patientBreathe{0%,100%{translate:0 0}50%{translate:0 -4px}}
@keyframes bubbleArrive{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@keyframes speakingPulse{0%{box-shadow:0 0 0 0 #e9815650}70%,100%{box-shadow:0 0 0 10px transparent}}
@keyframes confettiFloat{to{translate:0 12px;rotate:18deg}}
@media(max-width:700px){.story-bubble{padding:24px 22px}.story-bubble h2{font-size:30px}.story-bubble p{font-size:19px;line-height:1.65;min-height:0}.audiogram{width:100%}.audiogram-note strong{font-size:16px}.story-bubble:after{right:20px;top:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

/* 30 günlük tam sürüm ve geliştirilmiş klinik okunabilirlik */
.topbar{justify-content:flex-start}
.legend{display:flex!important;flex-wrap:wrap}.legend i.done{background:var(--orange);border-color:var(--orange)}
.day-button.open-day{height:68px;background:#fff;color:var(--ink);border:1.5px solid #b9d7cd;box-shadow:0 7px 20px #234f4612;transform:none}
.day-button.open-day:hover{background:#e8f6f0;border-color:var(--teal);transform:translateY(-2px)}
.day-button.open-day strong{font-size:13px}.day-button.open-day small{color:var(--teal);font-size:8px;letter-spacing:1.2px;font-weight:900}
.day-button.done-day{background:#fff3eb;border-color:#efb292}.day-button.done-day small{color:#b85d36}
.action-panel h3{font-size:clamp(28px,3vw,38px);margin:7px 0 4px}.action-help{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 16px}
.action-choices{gap:11px;max-height:52vh;overflow:auto;padding:2px 8px 2px 2px;scrollbar-width:thin}
.action-choice{padding:16px 17px;gap:14px;min-height:74px}
.action-choice strong{font-size:16px;line-height:1.25}.action-choice small{font-size:12px;line-height:1.4;margin-top:4px}.choice-icon{width:42px;height:42px;min-width:42px;font-size:12px}.open-result{font-size:10px}
.test-progress{font-size:12px;padding:13px 15px}.test-progress strong{font-size:12px}.test-progress span{font-size:11px;line-height:1.4}
.diagnose-button{height:50px;font-size:14px}.diagnosis-choice{font-size:14px;min-height:54px}
.test-hero{display:flex;align-items:center;gap:20px;background:#eef5f2;border-radius:15px;padding:22px}.test-glyph{width:86px;height:86px;flex:0 0 86px;border-radius:22px;background:white;display:grid;place-items:center;font:900 20px Nunito;color:var(--teal);box-shadow:0 9px 26px #21494016}.test-hero div{display:flex;flex-direction:column;gap:4px}.test-hero small,.imaging-report span{font-size:9px;letter-spacing:1.5px;color:var(--teal);font-weight:900}.test-hero strong{font:900 21px Nunito}.test-hero p{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.imaging-report{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:15px;padding:22px;background:linear-gradient(135deg,#f7faf8,#edf5f2)}.scan-icon{width:88px;height:88px;border-radius:17px;background:#193f43;color:white;display:grid;place-items:center;font:900 23px Nunito;box-shadow:inset 0 0 0 8px #ffffff12}.imaging-report div:last-child{display:flex;flex-direction:column;gap:5px}.imaging-report strong{font:900 20px Nunito}.imaging-report small{font-size:11px;color:var(--muted)}
.wave-visual{border:1px solid var(--line);border-radius:15px;padding:18px 20px;background:#fbfcfa;display:flex;flex-direction:column;align-items:center}.wave-visual svg{width:100%;height:120px}.wave-visual path{fill:none;stroke:var(--teal);stroke-width:3}.wave-visual strong{font:900 18px Nunito}.wave-visual small{font-size:10px;color:var(--muted);margin-top:3px}
.learning-note{margin-top:12px;border:1px solid #eadfbf;background:#fffaf0;border-radius:11px;padding:12px 14px}.learning-note strong{font-size:11px;color:#826b32}.learning-note p{font-size:11px;line-height:1.55;color:#71684f;margin:4px 0 0}
.diagnosis-teach{background:#e9f6ef;border:1px solid #b7dcc5;border-radius:15px;padding:17px 19px;margin-bottom:15px}.diagnosis-teach span{font-size:8px;letter-spacing:1.5px;color:var(--teal);font-weight:900}.diagnosis-teach h3{font-size:24px;margin:4px 0}.diagnosis-teach p{font-size:12px;line-height:1.6;color:#46665b;margin:0}
.urgency-banner{display:flex;flex-direction:column;gap:3px;background:#fff0e8;border:1px solid #efb79e;border-left:5px solid #dc6841;border-radius:12px;padding:12px 14px;margin-bottom:13px}.urgency-banner strong{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#ad4d2d}.urgency-banner span{font-size:11px;line-height:1.45;color:#784632}
.summary-buttons{display:flex;justify-content:center;gap:10px;margin-top:18px}.summary-buttons button{height:45px}
.medical-disclaimer{background:#17343a;color:#dfeae7;text-align:center;padding:11px 18px;font-size:10px;line-height:1.45;letter-spacing:.1px}
.patient-avatar.child{transform:translateX(-50%) scale(.86);transform-origin:bottom center}.response-avatar .patient-avatar.child.compact{transform:translateX(-50%) scale(.6)}
@media(max-width:700px){.legend{display:none!important}.day-button.open-day{height:58px}.action-choices{max-height:none;overflow:visible}.action-choice{padding:14px;min-height:70px}.action-choice strong{font-size:15px}.action-choice small{font-size:11px}.test-hero,.imaging-report{align-items:flex-start;padding:17px;gap:13px}.test-glyph,.scan-icon{width:62px;height:62px;flex-basis:62px}.summary-buttons{flex-direction:column}.summary-buttons button{width:100%}.medical-disclaimer{font-size:9px}}

/* 2026-07 mobil, tek-ekran klinik akış ve okunabilir sonuç revizyonu */
.modal-finding{order:-1;margin:0 0 18px;background:linear-gradient(135deg,#e9f7f0,#f7fcf9);border-left-width:6px;padding:20px 22px;border-radius:0 15px 15px 0;box-shadow:0 9px 28px #1b514412}
.modal-finding span{display:block;font-size:11px;letter-spacing:2px;margin-bottom:8px}
.modal-finding p{font-size:clamp(19px,2.1vw,24px);line-height:1.58;color:#244d49;margin:0;font-weight:650;letter-spacing:-.15px}
.test-modal-body{display:flex;flex-direction:column;gap:16px;padding:18px 0 4px}
.test-modal-body>.modal-finding,.test-modal-body>.learning-note{margin-top:0}
.test-modal-card{scrollbar-width:thin;overscroll-behavior:contain}
.modal-done{margin-top:18px}

.story-bubble.story-continuation h2{display:none}
.story-bubble.story-continuation>span{display:inline-flex;align-items:center;gap:8px}
.story-bubble.story-continuation>span:before{content:"";width:18px;height:2px;background:var(--orange);border-radius:99px}
.story-bubble.story-continuation p{margin-top:16px}
.panel-back{font-size:12px;padding:8px 0;margin-bottom:8px;transition:transform .2s,color .2s}
.panel-back:hover{transform:translateX(-3px);color:#075e58}

@keyframes panelPop{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
@keyframes testCardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes buttonNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
.action-panel:not(.hidden),.diagnosis-panel:not(.hidden),.result-panel:not(.hidden){animation:panelPop .38s cubic-bezier(.2,.8,.25,1) both}
.action-choice{animation:testCardIn .35s ease both}
.action-choice:nth-child(2){animation-delay:.035s}.action-choice:nth-child(3){animation-delay:.07s}.action-choice:nth-child(4){animation-delay:.105s}.action-choice:nth-child(5){animation-delay:.14s}.action-choice:nth-child(6){animation-delay:.175s}.action-choice:nth-child(7){animation-delay:.21s}.action-choice:nth-child(8){animation-delay:.245s}.action-choice:nth-child(9){animation-delay:.28s}
.action-choice:hover .open-result,.diagnosis-choice:hover span{animation:buttonNudge .55s ease}
.action-choice.selected .choice-icon{animation:speakingPulse 1.4s ease-out 1}

@media(min-width:951px){
  body.case-active{overflow:hidden}
  body.case-active .medical-disclaimer{display:none}
  .screen-case{height:calc(100dvh - 78px);min-height:0;overflow:hidden}
  .case-top{height:64px}
  .consult-room{height:calc(100dvh - 142px);min-height:0}
  .dialogue-area{height:100%;min-height:0;overflow:hidden;padding:24px 3.2vw 20px;display:flex;flex-direction:column}
  .patient-meta{flex:0 0 auto}
  .action-panel,.diagnosis-panel,.result-panel{min-height:0;margin-top:12px}
  .action-panel{height:calc(100% - 25px);display:flex;flex-direction:column}
  .action-panel.hidden{display:none!important}
  .action-panel .panel-back,.action-panel>.kicker,.action-panel>h3,.action-panel>.action-help,.action-panel>.test-progress,.action-panel>.diagnose-button{flex:0 0 auto}
  .action-panel h3{font-size:clamp(25px,2.2vw,33px);margin:3px 0 2px}
  .action-help{font-size:12px;margin-bottom:10px}
  .action-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;min-height:0;overflow:auto;padding:2px 5px 2px 2px;flex:1}
  .action-choice{min-height:60px;padding:10px 12px;gap:10px}
  .choice-icon{width:36px;height:36px;min-width:36px}
  .action-choice strong{font-size:14px}
  .action-choice small{font-size:10px;margin-top:2px}
  .test-progress{margin-top:8px;padding:9px 12px}
  .diagnose-button{height:44px;margin-top:8px}
  .stage-actions .patient-character{animation-duration:4.2s}
}

@media(max-width:950px){
  body.case-active .medical-disclaimer{display:none}
  .screen-case{min-height:calc(100dvh - 66px)}
  .case-top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
  .stage-actions .room-art,.stage-diagnosis .room-art,.stage-result .room-art,.stage-care .room-art{display:none}
  .stage-actions .consult-room,.stage-diagnosis .consult-room,.stage-result .consult-room,.stage-care .consult-room{display:block;min-height:0}
  .stage-actions .dialogue-area,.stage-diagnosis .dialogue-area,.stage-result .dialogue-area,.stage-care .dialogue-area{min-height:calc(100dvh - 132px)}
}

@media(max-width:700px){
  html,body{overflow-x:hidden}
  .brand strong{font-size:19px}.brand-mark{width:36px;height:36px}
  .case-top{padding:10px 14px 8px}
  .case-top>.back-button{font-size:11px}
  .case-stepper{gap:5px;padding-top:7px;scrollbar-width:none}
  .case-stepper::-webkit-scrollbar{display:none}
  .case-stepper button{font-size:9px;padding:7px 1px}
  .room-art{height:205px}
  .patient-character{left:35%;bottom:5%;transform:scale(.58);transform-origin:bottom}
  .dialogue-area{padding:18px 15px 24px}
  .patient-meta{font-size:9px}
  .story-bubble{margin-top:14px;padding:20px 18px}
  .story-bubble h2{font-size:26px;line-height:1.15;margin:10px 0 12px}
  .story-bubble p{font-size:17px;line-height:1.58;margin-bottom:14px}
  .story-bubble .primary-button{width:100%;height:46px}
  .action-panel{margin-top:8px}
  .action-panel h3{font-size:25px;margin:2px 0}
  .action-help{font-size:12px;margin-bottom:10px}
  .panel-back{font-size:11px;margin-bottom:5px}
  .action-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .action-choice{min-width:0;min-height:82px;padding:10px 9px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:center}
  .choice-icon{width:32px;height:32px;min-width:32px;font-size:10px}
  .action-choice strong{font-size:12.5px;line-height:1.25;overflow-wrap:anywhere}
  .action-choice small,.open-result{display:none}
  .test-progress{font-size:11px;padding:10px 11px;margin-top:9px}
  .test-progress strong{font-size:11px}.test-progress span{font-size:10px}
  .diagnose-button{height:46px;margin-top:9px}
  .test-modal{padding:0;align-items:end}
  .test-modal-card{width:100%;max-height:96dvh;border-radius:22px 22px 0 0;padding:17px 16px 13px}
  .test-modal-head{position:sticky;top:-17px;z-index:4;background:#fffdf7;padding:17px 0 12px}
  .test-modal-head h2{font-size:23px;line-height:1.15}
  .test-modal-body{gap:13px;padding-top:14px}
  .modal-finding{padding:17px 16px;border-left-width:5px;margin-bottom:3px}
  .modal-finding span{font-size:10px}
  .modal-finding p{font-size:19px;line-height:1.52}
  .modal-done{position:sticky;bottom:-13px;z-index:5;width:100%;height:48px;margin-top:14px;border-radius:12px 12px 6px 6px}
  .test-hero,.imaging-report,.motion-visual{padding:14px;gap:11px}
  .test-hero strong,.imaging-report strong,.motion-visual strong{font-size:16px}
  .test-hero p{font-size:11px}
  .score-visual>div{padding:14px 8px}.score-visual strong{font-size:28px}
  .learning-note{padding:11px 12px}.learning-note p{font-size:10.5px}
  .diagnosis-panel h3{font-size:25px}.diagnosis-choices{gap:8px;margin-top:12px}.diagnosis-choice{font-size:12.5px;min-height:51px;padding:11px 12px}
  .care-question{padding:16px}.care-question h3{font-size:19px}.care-choices button{font-size:11.5px;line-height:1.35}
}

@media(max-width:380px){
  .action-choices{grid-template-columns:1fr}
  .action-choice{min-height:62px}
  .case-stepper i{width:10px;flex-basis:10px}
  .case-stepper button{font-size:8px}
}


/* 2026-07-12 ekran yüksekliği ve tedavi erişilebilirliği revizyonu */
body.dashboard-active .medical-disclaimer{display:none}
@media (min-width:951px){
  /* Takvim: 30 gün, üst tanıtım ve bilgi notu tek masaüstü ekranına sığar. */
  .screen-calendar.active{
    display:flex;
    flex-direction:column;
    height:calc(100dvh - 78px);
    min-height:0;
    overflow:hidden;
  }
  .screen-calendar .scene-band{
    flex:0 0 134px;
    height:134px;
    min-height:0;
    padding:14px 5vw;
  }
  .screen-calendar .hospital-mini{
    width:174px;
    height:101px;
    transform:scale(.92);
    transform-origin:left center;
  }
  .screen-calendar .hospital-mini:after{height:52px;left:62px}
  .screen-calendar .character{
    transform:scale(.68);
    transform-origin:center;
    margin:-20px 12px -20px 4px;
  }
  .screen-calendar .speech-card{
    max-width:760px;
    padding:12px 19px;
    border-radius:13px;
  }
  .screen-calendar .speech-card p{font-size:12px;line-height:1.35;margin-top:3px}
  .screen-calendar .speech-card p:first-of-type{font-size:15px}
  .screen-calendar .calendar-panel{
    width:100%;
    flex:1;
    min-height:0;
    padding:14px 5vw 14px;
    display:flex;
    flex-direction:column;
  }
  .screen-calendar .section-heading{flex:0 0 auto;margin-bottom:9px}
  .screen-calendar .section-heading h2{font-size:25px;margin-top:2px}
  .screen-calendar .day-grid{
    flex:0 0 auto;
    grid-template-columns:repeat(10,minmax(0,1fr));
    grid-template-rows:repeat(3,minmax(48px,56px));
    gap:7px;
  }
  .screen-calendar .day-button{height:auto;min-height:48px;max-height:56px;border-radius:9px}
  .screen-calendar .day-button strong{font-size:14px}
  .screen-calendar .day-button small{font-size:7px}
  .screen-calendar .calendar-note{
    flex:0 0 auto;
    margin-top:9px;
    padding:7px 12px;
    font-size:10px;
    line-height:1.35;
  }

  /* Hasta listesi: üç dosya ve günü tamamlama düğmesi tek ekranda kalır. */
  .screen-patients.active{
    display:block;
    height:calc(100dvh - 78px);
    min-height:0;
    overflow:hidden;
  }
  .screen-patients .content-wrap{
    height:100%;
    min-height:0;
    max-width:1360px;
    padding:14px 4vw 12px;
    display:flex;
    flex-direction:column;
  }
  .screen-patients .back-button{flex:0 0 auto;margin:0 0 5px;padding:5px 0}
  .screen-patients .patients-heading{flex:0 0 auto;margin-bottom:10px}
  .screen-patients .section-heading h2{font-size:26px;margin-top:2px}
  .screen-patients .patients-heading p{font-size:11px;margin-top:2px}
  .screen-patients .day-score strong{font-size:20px}
  .screen-patients .patient-grid{
    flex:1;
    min-height:0;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:13px;
  }
  .screen-patients .patient-card{
    height:100%;
    min-height:0;
    display:grid;
    grid-template-rows:minmax(112px,36%) minmax(0,1fr);
    border-radius:15px;
  }
  .screen-patients .patient-visual{height:auto;min-height:112px}
  .screen-patients .patient-avatar{transform:translateX(-50%) scale(.82);transform-origin:bottom center}
  .screen-patients .patient-avatar.child{transform:translateX(-50%) scale(.72)}
  .screen-patients .patient-info{
    min-height:0;
    padding:12px 15px 11px;
    display:flex;
    flex-direction:column;
  }
  .screen-patients .patient-info h3{font-size:19px;margin:5px 0 1px}
  .screen-patients .patient-info p{font-size:10.5px;margin:0 0 8px}
  .screen-patients .case-tags{gap:4px}
  .screen-patients .case-tags span{padding:4px 6px;font-size:8px}
  .screen-patients .open-file{margin-top:auto;padding-top:8px;font-size:10px}
  .screen-patients .finish-button{flex:0 0 auto;height:40px;margin:8px auto 0;padding:0 22px}

  /* Tanı ve tedavi panelleri kendi görünür alanında güvenle kaydırılabilir. */
  .stage-diagnosis .diagnosis-panel,
  .stage-result .result-panel,
  .stage-care .result-panel{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#9ec7bc transparent;
    padding-right:7px;
  }
  .stage-diagnosis .diagnosis-panel::-webkit-scrollbar,
  .stage-result .result-panel::-webkit-scrollbar,
  .stage-care .result-panel::-webkit-scrollbar{width:8px}
  .stage-diagnosis .diagnosis-panel::-webkit-scrollbar-thumb,
  .stage-result .result-panel::-webkit-scrollbar-thumb,
  .stage-care .result-panel::-webkit-scrollbar-thumb{background:#9ec7bc;border-radius:99px}

  /* Tedavi kararı iki sütunlu düzen: açıklama solda, tüm seçenekler sağda. */
  .stage-care .result-panel.care-panel{
    display:grid;
    grid-template-columns:minmax(0,.86fr) minmax(360px,1.14fr);
    gap:13px;
    align-items:start;
    margin-top:10px;
    padding:2px 7px 8px 2px;
    background:transparent;
  }
  .stage-care .care-context{display:flex;flex-direction:column;gap:10px;min-width:0}
  .stage-care .care-context .urgency-banner,
  .stage-care .care-context .diagnosis-teach,
  .stage-care .care-context .patient-response{margin:0}
  .stage-care .diagnosis-teach{padding:14px 16px}
  .stage-care .diagnosis-teach h3{font-size:20px;margin:3px 0}
  .stage-care .diagnosis-teach p{font-size:11px;line-height:1.48}
  .stage-care .patient-response{gap:10px}
  .stage-care .response-avatar{width:72px;height:78px;border-radius:12px}
  .stage-care .response-bubble{padding:11px 13px}
  .stage-care .response-bubble p{font-size:11px;line-height:1.4}
  .stage-care .care-question{padding:15px 16px;position:sticky;top:0}
  .stage-care .care-question h3{font-size:20px;margin:4px 0 10px}
  .stage-care .care-choices{gap:7px}
  .stage-care .care-choices button{min-height:48px;padding:9px 11px;font-size:11.5px;line-height:1.35}
  .stage-care .care-choices button span{flex:0 0 auto}
  .stage-care .result-panel.care-panel.completed-plan{
    display:flex;
    flex-direction:column;
    justify-content:center;
    max-width:760px;
    width:100%;
    margin:12px auto 0;
    padding:18px;
  }
}

/* Daha kısa dizüstü ekranlarında da sıkışma olmaması için ekstra kompaktlık. */
@media (min-width:951px) and (max-height:700px){
  .screen-calendar .scene-band{flex-basis:110px;height:110px;padding-top:8px;padding-bottom:8px}
  .screen-calendar .hospital-mini{transform:scale(.76)}
  .screen-calendar .character{transform:scale(.57)}
  .screen-calendar .speech-card{padding:9px 16px}
  .screen-calendar .calendar-panel{padding-top:9px;padding-bottom:9px}
  .screen-calendar .section-heading h2{font-size:22px}
  .screen-calendar .day-grid{grid-template-rows:repeat(3,46px)}
  .screen-calendar .day-button{min-height:46px;max-height:46px}
  .screen-patients .content-wrap{padding-top:9px;padding-bottom:8px}
  .screen-patients .patient-card{grid-template-rows:minmax(95px,32%) minmax(0,1fr)}
  .screen-patients .patient-visual{min-height:95px}
  .screen-patients .patient-avatar{transform:translateX(-50%) scale(.70)}
  .screen-patients .patient-avatar.child{transform:translateX(-50%) scale(.62)}
  .screen-patients .patient-info{padding:9px 12px 8px}
  .screen-patients .patient-info h3{font-size:17px}
  .screen-patients .case-tags span{padding:3px 5px}
  .stage-care .diagnosis-teach{padding:11px 13px}
  .stage-care .patient-response{display:none}
  .stage-care .care-question{padding:12px 14px}
  .stage-care .care-choices button{min-height:43px;padding:7px 10px}
}

/* Telefon ve tablette içerik doğal sayfa kaydırmasıyla erişilebilir kalır. */
@media (max-width:950px){
  body.case-active{overflow-y:auto}
  .stage-care .result-panel.care-panel{overflow:visible}
  .stage-care .care-context{display:block}
}


/* 2026-07-12 okunabilirlik, takvim kartları ve Odyoflix bağlantısı revizyonu */
.odyoflix-site-button{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 18px;
  border:1px solid var(--teal);
  border-radius:12px;
  background:var(--teal);
  color:#fff;
  text-decoration:none;
  font:800 11pt "DM Sans",sans-serif;
  letter-spacing:.35px;
  box-shadow:0 8px 17px #0e766f27;
  transition:.2s;
}
.odyoflix-site-button:hover{background:#0a665f;transform:translateY(-2px)}
.odyoflix-site-button span{font-size:12pt;line-height:1}

.back-button,
.secondary-button,
.summary-buttons button{
  min-height:42px;
  padding:0 16px;
  border:1px solid #b9d7cd;
  border-radius:11px;
  background:#fff;
  color:var(--teal);
  font-size:11pt;
  font-weight:800;
  box-shadow:0 5px 15px #315b5310;
}
.back-button:hover,.secondary-button:hover{background:#e8f6f0;border-color:var(--teal)}
.screen-patients .back-button{margin:0 0 8px;padding:0 16px}
.case-top>.back-button{margin:0;padding:0 14px;white-space:nowrap}

.score-visual.speech-score-visual{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.score-visual.speech-score-visual>div{min-width:0;padding:18px 10px}
.score-visual.speech-score-visual span{font-size:11pt;letter-spacing:.8px}
.score-visual.speech-score-visual strong{font-size:22px;line-height:1.15;white-space:nowrap}
.score-visual.speech-score-visual small{font-size:11pt;line-height:1.35;display:block}

.day-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.day-button.open-day:after{display:none}
.day-button,
.day-button.open-day{
  height:auto;
  min-height:76px;
  max-height:none;
  border-radius:12px;
  transform:none;
}
.day-button.open-day:hover{transform:translateY(-2px)}
.day-button strong,
.day-button.open-day strong{font-size:16px}
.day-button small,
.day-button.open-day small{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--teal);
  font-size:11pt;
  line-height:1.15;
  letter-spacing:0;
  font-weight:800;
  text-transform:none;
}
.day-button small span+span{padding-left:8px;border-left:1px solid currentColor}
.day-button.done-day small{color:#b85d36}
.calendar-note,.legend,.speech-card p,.patients-heading p,.day-score span{font-size:11pt;line-height:1.45}

.appointment,
.patient-info p,
.case-tags span,
.open-file,
.patient-card.done:after{
  font-size:11pt;
  line-height:1.35;
}
.patient-info p{margin-bottom:10px}
.appointment{letter-spacing:.25px}
.case-tags{gap:6px}
.case-tags span{padding:5px 8px}
.open-file{padding-top:10px}
.patient-card.done:after{padding:5px 9px}

@media (min-width:951px){
  .screen-calendar .scene-band{flex-basis:118px;height:118px;padding-top:10px;padding-bottom:10px}
  .screen-calendar .calendar-panel{padding-top:12px;padding-bottom:12px}
  .screen-calendar .day-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:repeat(5,minmax(64px,1fr));
    gap:8px;
    flex:1 1 auto;
    min-height:0;
  }
  .screen-calendar .day-button,
  .screen-calendar .day-button.open-day{min-height:64px;max-height:none}
  .screen-calendar .day-button strong{font-size:16px}
  .screen-calendar .day-button small{font-size:11pt}
  .screen-calendar .calendar-note{font-size:11pt;padding:8px 12px;margin-top:8px}

  .screen-patients.active{overflow:auto}
  .screen-patients .content-wrap{height:auto;min-height:100%;overflow:visible}
  .screen-patients .patient-grid{flex:none;min-height:470px}
  .screen-patients .patient-card{height:auto;min-height:470px;grid-template-rows:130px minmax(0,1fr)}
  .screen-patients .patient-visual{min-height:130px}
  .screen-patients .patient-avatar{transform:translateX(-50%) scale(.70)}
  .screen-patients .patient-avatar.child{transform:translateX(-50%) scale(.62)}
  .screen-patients .patient-info{padding:14px 16px 13px}
  .screen-patients .patient-info h3{font-size:20px;margin:7px 0 4px}
  .screen-patients .patient-info p,
  .screen-patients .appointment,
  .screen-patients .case-tags span,
  .screen-patients .open-file{font-size:11pt}
  .screen-patients .finish-button{height:44px;font-size:11pt;margin-top:10px}
}

@media (min-width:951px) and (max-height:700px){
  .screen-calendar .scene-band{flex-basis:96px;height:96px}
  .screen-calendar .day-grid{grid-template-rows:repeat(5,minmax(54px,1fr))}
  .screen-calendar .day-button,.screen-calendar .day-button.open-day{min-height:54px;max-height:none}
  .screen-calendar .day-button strong{font-size:15px}
  .screen-calendar .day-button small{font-size:10pt}
  .screen-calendar .calendar-note{font-size:10pt}
  .screen-patients .patient-card{grid-template-rows:105px minmax(0,1fr);min-height:445px}
  .screen-patients .patient-visual{min-height:105px}
  .screen-patients .patient-avatar{transform:translateX(-50%) scale(.62)}
  .screen-patients .patient-avatar.child{transform:translateX(-50%) scale(.55)}
}

@media (max-width:950px){
  .topbar{justify-content:space-between;gap:10px}
  .odyoflix-site-button{min-height:38px;padding:0 12px;font-size:10pt}
  .day-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .day-button,.day-button.open-day{min-height:80px}
  .score-visual.speech-score-visual{grid-template-columns:repeat(2,minmax(0,1fr))}
  .patient-info p,.appointment,.case-tags span,.open-file{font-size:11pt}
}

@media (max-width:480px){
  .brand>span:last-child{display:none}
  .odyoflix-site-button{padding:0 10px;font-size:9.5pt}
  .day-button small,.day-button.open-day small{font-size:10pt;gap:5px}
  .day-button small span+span{padding-left:5px}
}


/* 2026-07-12 görsel revizyonu: başlangıç hastane illüstrasyonu ve iletişim alt bilgisi */
.hospital-world{
  right:2.5vw;
  top:24px;
  width:min(49%,820px);
  height:auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:visible;
  perspective:none;
}
.hospital-world > *:not(.hospital-scene-image){display:none!important}
.hospital-scene-image{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 18px 34px rgba(49,91,83,.18));
  border-radius:18px;
}
.contact-footer{
  background:#dcece3;
  color:var(--ink);
  text-align:center;
  padding:12px 18px;
  font-size:11pt;
  line-height:1.45;
  font-weight:700;
  border-top:1px solid rgba(23,52,58,.08);
}
.contact-footer a{color:var(--teal);text-decoration:none}
.contact-footer a:hover{text-decoration:underline}
@media (max-width:950px){
  .hospital-world{position:relative;right:auto;top:auto;width:100%;max-width:760px;height:auto;margin:24px auto 0}
}
@media (max-width:700px){
  .hospital-world{margin-top:28px}
  .contact-footer{font-size:10pt;padding:10px 14px}
}
