.dm-member-overlay{position:fixed;inset:0;z-index:2147483601;background:#092d4580;display:flex;align-items:center;justify-content:center;padding:16px;color:#123e4d}
.dm-member-sheet{position:relative;background:#fff;width:min(100%,650px);max-height:90dvh;overflow:auto;padding:28px 22px;border:1px solid #cce4e2;border-radius:24px;box-shadow:0 18px 60px #03273540}
.dm-member-sheet h2{font-size:24px;margin:0 36px 18px 0}.dm-member-sheet h3{font-size:22px;margin:14px 0;line-height:1.45}.dm-member-body{display:grid;gap:14px}.dm-member-body p{font-size:15px;line-height:1.55;margin:0}.dm-member-body button{min-height:46px;padding:12px 15px;border:1px solid #c1dcd9;border-radius:13px;background:#eff9f7;color:#174c59;cursor:pointer;font:700 15px system-ui}
.dm-member-body button:disabled{opacity:.55;cursor:default}.dm-member-body .dm-member-primary{background:#007f89;color:#fff;border-color:#007f89}.dm-member-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border:0;border-radius:50%;background:#e7f5f3;color:#174c59;font-size:28px;cursor:pointer}.dm-member-body :is(button,textarea):focus-visible{outline:3px solid #0298a0;outline-offset:3px}
.dm-route-choices,.dm-review-options,.dm-exam-options{display:grid;gap:12px}.dm-route-choices button{padding:22px;text-align:left;border:2px solid #a8d8d2;background:#f0faf7}.dm-route-choices b{display:block;font-size:19px}.dm-route-choices small{display:block;color:#516b76;font-size:14px;margin-top:9px}.dm-exam-options{grid-template-columns:1fr 1fr}.dm-member-body blockquote{background:#f0f7fa;padding:18px;border-radius:14px;margin:0;font-size:16px;line-height:1.65}.dm-member-body progress{width:100%;accent-color:#008994}.dm-member-body textarea{display:block;width:100%;padding:12px;border:1px solid #b6d5d1;border-radius:12px;font-size:16px;color:#123e4d;background:#fff;margin-top:8px;resize:vertical}.dm-member-status{color:#9b2935}
.dm-email-banner{display:block;width:100%;padding:12px 14px;border:1px solid #d5a940;border-radius:12px;background:#fff3cf;color:#614500;font:750 14px system-ui;cursor:pointer;position:relative;z-index:2;margin:8px 0}.rt-profile-grid button{position:relative}.dm-teacher-count{position:absolute;top:5px;right:8px;border-radius:99px;background:#c72a42;color:#fff!important;padding:3px 7px;font:800 12px system-ui;min-width:22px;text-align:center}
/* Teacher workspace and its children occupy separate, predictable layers. */
body #ogretmenMenuModal .rubric-content{max-width:min(1080px,96vw)!important;width:100%!important;max-height:90dvh!important;padding:28px 24px!important;overflow-y:auto!important;text-align:left!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body #ogretmenMenuModal .rubric-content>:is(h3,.cog-ogretmen-kart,.game-close-btn){grid-column:1/-1}body #ogretmenMenuModal .ogretmen-menu-btn{width:100%!important;min-height:56px!important;margin:0!important;text-align:left!important;padding:14px 16px!important}
body .dm-teacher-child{z-index:2147483620!important}body .dm-teacher-child :is(.rubric-content,.sm-dialog){width:min(96vw,1050px)!important;max-width:1050px!important;max-height:90dvh!important;overflow:auto!important}body #ogretmenMenuModal.dm-teacher-open{z-index:2147483610!important}
#odKonuAra{width:100%;min-height:44px;padding:10px 13px;margin:12px 0;font-size:16px;border:1px solid #b5cfc9;border-radius:12px;background:#fff;color:#173e4b}.dm-auto-games{display:grid;gap:8px;background:#fff;border:1px solid #cce0dc;border-radius:20px;padding:16px;margin:16px 0}.dm-auto-games h3{margin:0 0 5px}.dm-auto-games button{min-height:44px;border:1px solid #cce0dc;border-radius:12px;background:#edf9f5;color:#174a55;font:700 14px system-ui;text-align:left;padding:10px 12px;cursor:pointer}.dm-catalog-help{display:grid;gap:10px}.dm-catalog-help article{padding:12px;background:#eff8f5;border-radius:12px}.dm-catalog-help p{margin-top:6px;font-size:14px;line-height:1.5}
body .dm-teacher-chat-overlay{background:transparent!important;align-items:flex-end!important;justify-content:flex-end!important;padding:12px 16px calc(90px + env(safe-area-inset-bottom))!important;pointer-events:none!important}body .dm-teacher-chat{pointer-events:auto;width:min(430px,calc(100vw - 24px))!important;max-height:min(650px,calc(100dvh - 115px))!important;box-shadow:0 16px 45px #123b4933!important}
@media(max-width:600px){body #ogretmenMenuModal .rubric-content{grid-template-columns:1fr;padding:24px 16px!important}.dm-member-sheet{padding:22px 16px}.dm-exam-options{grid-template-columns:1fr}.dm-member-overlay{padding:10px}.dm-member-sheet h2{font-size:21px}.dm-route-choices button{padding:17px}}

.dm-email-banner{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(600px,calc(100% - 24px));z-index:100000090;margin:0;box-shadow:0 5px 20px #18394025;font-size:13px}

.dm-exam-options button.dm-answer-correct:disabled{background:#d7f5df;border:2px solid #159447;color:#075b2e;opacity:1}
.dm-exam-options button.dm-answer-wrong:disabled{background:#ffe0df;border:2px solid #d13b43;color:#8e1823;opacity:1}
.dm-placement-result{text-align:center;border-radius:22px;padding:25px 16px;background:linear-gradient(145deg,#d6faf0,#eaf3ff);animation:dmResultEnter .65s both}
.dm-placement-result>span{display:block;font-size:64px;animation:dmResultStar 1.6s ease-in-out 3}.dm-placement-result small{display:block;font-weight:750}.dm-placement-result h3{font-size:30px;color:#076e73}
.dm-final-card{position:relative;width:min(230px,85%);min-height:210px;box-sizing:border-box;margin:18px auto;padding:24px 18px;border:3px solid #e5bc66;border-radius:20px;background:linear-gradient(145deg,#fffdf4,#fff4da);box-shadow:5px 7px 0 #d0e5df,0 12px 24px #19484a20;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:18px;transform:rotate(-2deg);color:#173e4b}.dm-final-card strong{font-size:clamp(23px,5vw,32px);overflow-wrap:anywhere}.dm-final-card-label{font-size:13px;font-weight:750;color:#638377}
@keyframes dmResultEnter{from{opacity:0;transform:translateY(22px) scale(.9)}to{opacity:1;transform:none}}@keyframes dmResultStar{50%{transform:rotate(12deg) scale(1.15)}}@media(prefers-reduced-motion:reduce){.dm-placement-result,.dm-placement-result>span{animation:none}}
/* Keep card answers and feedback visible in short question panels. */
body #bzPerde #bzAlan.sp-compact .dm-final-card,body #dmStoryLesson .sp-compact .dm-final-card{min-height:115px;margin:6px auto;padding:12px;gap:8px}
body #bzPerde #bzAlan.sp-tight .dm-final-card,body #dmStoryLesson .sp-tight .dm-final-card{min-height:65px;margin:3px auto;padding:7px;gap:3px}
body #bzPerde #bzAlan.sp-tight .dm-final-card strong,body #dmStoryLesson .sp-tight .dm-final-card strong{font-size:20px;line-height:1.15}
@media(max-height:500px){body #bzPerde #bzAlan .dm-final-card,body #dmStoryLesson .dm-final-card{min-height:65px;margin:3px auto;padding:7px;gap:3px}body #dmStoryLesson .dm-final-card strong{font-size:20px}body #dmStoryLesson .dm-final-card>span[aria-hidden]{display:none}}

body #ogretmenMenuModal .rubric-content{background:#f2faf9!important;border:1px solid #c3e1dc!important;box-shadow:0 16px 60px #082d4040!important;align-content:start!important;padding:24px!important;position:relative!important}body #ogretmenMenuModal .rubric-content>h3{display:none!important}body #ogretmenMenuModal .game-close-btn{position:absolute!important;top:14px!important;right:14px!important;z-index:3!important;width:42px!important;height:42px!important;border-radius:50%!important;background:#fff!important;color:#125762!important;border:1px solid #c5e2df!important}body #ogretmenMenuModal .dm-teacher-hero{grid-column:1/-1;padding:6px 0 18px}body #ogretmenMenuModal .dm-teacher-hero-top{display:flex;align-items:center;gap:14px;padding-right:34px}body #ogretmenMenuModal .dm-teacher-hero-top img{width:78px;height:90px;object-fit:contain}body #ogretmenMenuModal .dm-teacher-hero small{font:800 10px system-ui;letter-spacing:1px;color:#077f7d}body #ogretmenMenuModal .dm-teacher-hero h2{margin:4px 0;font-size:clamp(22px,5vw,30px);color:#133e50}body #ogretmenMenuModal .dm-teacher-hero p{font-size:13px;line-height:1.5;color:#486778;margin:4px 0}body #ogretmenMenuModal .dm-teacher-stats{display:flex;gap:8px;margin:12px 0}body #ogretmenMenuModal .dm-teacher-stats span{padding:9px 12px;border:1px solid #c3e1dc;border-radius:12px;background:#fff;color:#185565;font-size:13px}body #ogretmenMenuModal .dm-teacher-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #b8d8d5;border-radius:14px;padding:0 12px}body #ogretmenMenuModal .dm-teacher-search input{border:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;min-height:48px!important;font-size:16px!important;width:100%!important;outline-offset:0}body #ogretmenMenuModal .ogretmen-menu-btn{display:flex!important;flex-direction:column;justify-content:center;gap:5px;background:#fff!important;border:1px solid #c7e2dd!important;border-radius:18px!important;box-shadow:0 3px 0 #d8ece7!important;color:#164556!important;min-height:90px!important;transition:transform .15s}body #ogretmenMenuModal .ogretmen-menu-btn:hover{transform:translateY(-2px);border-color:#098e86!important}body #ogretmenMenuModal .ogretmen-menu-btn>small{font:500 12px/1.4 system-ui;color:#4d6b78}body #ogretmenMenuModal [hidden]{display:none!important}@media(max-width:640px){body #ogretmenMenuModal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}body #ogretmenMenuModal .rubric-content{width:100vw!important;max-width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:calc(18px + env(safe-area-inset-top,0px)) 14px calc(26px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;overflow-y:auto!important}body #ogretmenMenuModal .ogretmen-menu-btn{font-size:13px!important;padding:12px!important;min-height:105px!important}body #ogretmenMenuModal .dm-teacher-hero-top img{width:62px;height:76px}body #ogretmenMenuModal .dm-teacher-hero-top{gap:9px}.dm-teacher-hero-top p{font-size:12px!important}}@media(max-width:340px){body #ogretmenMenuModal .rubric-content{grid-template-columns:1fr!important}}

#dmPlacementExam.dm-placement-celebration .dm-member-sheet{background:linear-gradient(180deg,#f0fff8,#fff 60%);border:2px solid #86d4b8}#dmPlacementExam .dm-placement-reveal{position:relative;text-align:center;padding:18px 8px;overflow:hidden}#dmPlacementExam .dm-placement-reveal h3{font-size:24px;color:#12604f;line-height:1.2}#dmPlacementExam .dm-placement-reveal>small{display:block;font-size:11px;letter-spacing:1.3px;font-weight:900;color:#166e61}#dmPlacementExam .dm-placement-level{display:grid;place-items:center;width:190px;height:190px;max-width:60vw;border-radius:50%;margin:16px auto;border:6px solid #edc25d;background:radial-gradient(circle at 35% 25%,#fff8cf,#bceedd 70%);color:#0b594e;font:900 clamp(28px,8vw,60px)/1 system-ui;box-shadow:0 8px 0 #b39743,0 12px 30px #07857225;animation:dmCefrReveal .75s cubic-bezier(.2,.8,.2,1.15) both}#dmPlacementExam .dm-placement-papi{width:130px;height:145px;object-fit:contain;animation:dmCefrPapi 2s ease-in-out infinite}#dmPlacementExam .dm-placement-stars{font-size:30px;letter-spacing:14px;color:#d49413;animation:dmCefrReveal 1s both}#dmPlacementExam .dm-placement-metrics{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}#dmPlacementExam .dm-placement-metrics>*{padding:9px 12px;border-radius:12px;background:#e5f5f1;color:#1a5b55;font-size:12px}#dmPlacementExam .dm-placement-metrics strong{display:block}#dmPlacementExam .dm-placement-estimate{font-size:11px;color:#54696f;line-height:1.5}#dmPlacementExam .dm-placement-next{display:grid;gap:8px}#dmPlacementExam .dm-achievement-actions{display:flex;gap:8px;flex-wrap:wrap}@keyframes dmCefrReveal{from{opacity:0;transform:scale(.55) translateY(15px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes dmCefrPapi{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(3deg) translateY(-7px)}}@media(prefers-reduced-motion:reduce){#dmPlacementExam .dm-placement-level,#dmPlacementExam .dm-placement-papi,#dmPlacementExam .dm-placement-stars{animation:none}}
/* Öğretmen sohbeti: küçük, sağ alt köşede sabit balon; arkadaki sayfa kullanılabilir kalır. */
body .dm-teacher-chat-overlay{position:fixed!important;inset:auto 12px calc(84px + env(safe-area-inset-bottom)) auto!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;display:block!important;pointer-events:none!important}
body .dm-teacher-chat-overlay .dm-teacher-chat{pointer-events:auto;box-sizing:border-box!important;width:min(330px,calc(100vw - 24px))!important;height:min(400px,calc(100dvh - 140px))!important;max-height:min(400px,calc(100dvh - 140px))!important;border-radius:18px!important;border:1px solid #ddd6fb;box-shadow:0 12px 34px #1d1a4a38!important;animation:dmChatIn .2s ease-out}
body .dm-teacher-chat-overlay .dm-teacher-chat header{padding:8px 8px 8px 12px!important;gap:6px!important}
body .dm-teacher-chat-overlay .dm-teacher-chat header strong{font-size:14px;line-height:1.2}
body .dm-teacher-chat-overlay .dm-teacher-chat header button{width:32px!important;height:32px!important;font-size:22px!important;line-height:1;flex-shrink:0}
body .dm-teacher-chat-overlay .dm-chat-log{padding:10px!important;gap:6px!important}
body .dm-teacher-chat-overlay .dm-chat-bubble{font-size:13px!important;padding:7px 10px!important;border-radius:14px!important;max-width:88%!important}
body .dm-teacher-chat-overlay .dm-chat-form{padding:8px!important;gap:6px!important;align-items:flex-end}
body .dm-teacher-chat-overlay .dm-chat-form textarea{font-size:14px!important;padding:8px 10px!important;min-height:40px;max-height:96px;border-radius:12px!important}
body .dm-teacher-chat-overlay .dm-chat-form button{min-height:40px;padding:0 12px!important;border-radius:12px!important;font-size:13px}
body .dm-teacher-chat-overlay .dm-chat-status{margin:0 10px 6px!important;font-size:11px!important}
body .dm-teacher-chat-overlay .dm-chat-status:empty{display:none}
@media (min-width:900px){body .dm-teacher-chat-overlay{inset:auto 20px 20px auto!important}}
@keyframes dmChatIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body .dm-teacher-chat-overlay .dm-teacher-chat{animation:none}}
