/* A separate, roomy turn for speaking keeps recording feedback off the lesson stack. */
.speaking-coach{box-sizing:border-box;position:fixed;inset:0;width:min(1240px,calc(100vw - 32px));max-width:none;height:calc(100dvh - 32px);max-height:none;margin:auto;padding:22px 26px;overflow:hidden;border:1px solid #d7c4eb;border-radius:28px;background:#fffdf9;color:#503467;box-shadow:0 24px 90px #24133555;font-family:inherit}
.speaking-coach[open]{display:flex;flex-direction:column;gap:16px}.speaking-coach::backdrop{background:#261735b8;backdrop-filter:blur(5px)}.speaking-coach *{box-sizing:border-box}.speaking-coach button{font:inherit;min-width:48px;min-height:52px;touch-action:manipulation;border:1px solid #d3bfea;border-radius:15px;background:#fff;color:#624182;font-size:17px;font-weight:750;padding:11px 17px;box-shadow:0 3px 0 #ebdff2;cursor:pointer}.speaking-coach button:hover:not(:disabled){background:#f5edff}.speaking-coach button:focus-visible{outline:3px solid #218eb5;outline-offset:3px}.speaking-coach button:disabled{opacity:.45;cursor:default;box-shadow:none}.speaking-coach button.sc-primary{background:#7950c6;border-color:#7950c6;color:white;box-shadow:0 4px 0 #57358f}.speaking-coach button.sc-primary:hover:not(:disabled){background:#6841b4;color:white}.speaking-coach button small{display:block;font-size:13px;font-weight:500;line-height:1.35;margin-top:3px}
.sc-header{display:flex;flex:none;justify-content:space-between;align-items:center;gap:20px;padding-bottom:12px;border-bottom:1px solid #eadff1}.sc-header h2{font-size:24px;line-height:1.2;margin:4px 0 0}.sc-eyebrow{display:block;font-size:11px;line-height:1.3;font-weight:850;letter-spacing:.1em;color:#9874ad}.sc-close{width:52px;flex:none;font-size:24px!important}.sc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sc-review-status{margin:0;border-left:3px solid #c5a4df;padding:3px 0 3px 10px;color:#80648d;font-size:13px;line-height:1.4;word-break:keep-all;overflow-wrap:break-word}
.sc-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;flex:1;min-height:0}.sc-model{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:17px;padding:24px;border:1px solid #e5d4f2;border-radius:23px;background:linear-gradient(135deg,#f3eaff,#fff5de);min-width:0;min-height:0}.sc-model figure{display:flex;align-items:center;gap:15px;margin:0}.sc-model img{display:block;width:76px;height:88px;object-fit:cover;object-position:center 25%;border:4px solid white;border-radius:22px;box-shadow:0 5px 16px #73567f26}.sc-model figcaption{font-size:17px;font-weight:750;color:#876294}.sc-model-copy{min-width:0}.sc-target{font-size:clamp(30px,3.15vw,43px);line-height:1.25;font-weight:800;letter-spacing:-.025em;margin:10px 0 0;text-wrap:balance;overflow-wrap:break-word}.sc-target.sc-long{font-size:clamp(29px,2.9vw,39px)}.sc-ko{font-size:21px;line-height:1.45;word-break:keep-all;overflow-wrap:break-word;margin:15px 0 0;color:#8c6748}
.sc-panel{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:16px 4px}.sc-panel h3{font-size:30px;line-height:1.15;letter-spacing:-.02em;margin:0;color:#604081}.sc-help{font-size:19px;line-height:1.5;margin:0;color:#806987;word-break:keep-all;overflow-wrap:break-word}.sc-choices{display:grid;gap:12px;margin:6px 0}.sc-choices button{font-size:21px;min-height:74px}.sc-disclosure{font-size:13px;line-height:1.55;margin:0;color:#927f9a;word-break:keep-all;overflow-wrap:break-word}.sc-mode-label{font-weight:750;font-size:18px;color:#7850a5;margin:8px 0 0}.sc-orb{font-size:68px;line-height:1.2;text-align:center;margin-top:10px}.sc-recording{display:flex;align-items:center;gap:17px;padding:24px 0;justify-content:center}.sc-recording strong{font-size:68px;line-height:1;font-variant-numeric:tabular-nums;color:#9a4e75}.sc-recording small{font-size:24px;color:#b992a4;font-weight:500}.sc-mic-dot{width:22px;height:22px;border-radius:50%;background:#dc6693;box-shadow:0 0 0 11px #f8e5ed}
.sc-feedback-card{border-radius:17px;padding:12px 16px;border:1px solid #d7e9df;background:#f0faf4}.sc-feedback-card>span{display:block;font-size:13px;font-weight:750;color:#61836f}.sc-feedback-card>span small{font-size:12px;font-weight:500;margin-left:6px}.sc-feedback-card p{display:flex;flex-wrap:wrap;gap:5px 8px;margin:8px 0 0;line-height:1.25}.sc-feedback-card b{font-size:21px;font-weight:750;color:#4a826b}.sc-focus{background:#fff8e9;border-color:#f0dfba}.sc-focus>span{color:#a1834c}.sc-focus strong{display:block;font-size:26px;line-height:1.25;margin-top:7px;color:#8f662d;overflow-wrap:break-word}.sc-soft-note{padding:14px 17px;border-radius:15px;background:#f4effa;color:#947ca3;font-size:15px;line-height:1.45;word-break:keep-all;overflow-wrap:break-word}.sc-honest{font-size:12px;line-height:1.4;margin:0;color:#a08baa}.sc-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex:none;padding-top:13px;border-top:1px solid #eadff1}.sc-footer .sc-primary{min-width:195px}.sc-footer .sc-play{margin-right:auto;background:#eaf7fe;border-color:#b6deed;color:#3c7891}
@media(min-width:740px) and (orientation:landscape) and (max-height:680px){
 .speaking-coach{padding:13px 19px;height:calc(100dvh - 20px);width:min(1240px,calc(100vw - 24px));border-radius:22px}.speaking-coach[open]{gap:10px}.sc-header{padding-bottom:8px;gap:12px}.sc-header h2{font-size:21px}.sc-header .sc-eyebrow{font-size:10px}.sc-close{width:48px;min-height:48px!important}.sc-body{gap:16px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.sc-model{padding:17px 19px;gap:12px;border-radius:18px}.sc-model img{width:60px;height:69px;border-width:3px;border-radius:18px}.sc-model figure{gap:10px}.sc-model figcaption{font-size:15px}.sc-target{font-size:32px;line-height:1.2;margin-top:8px}.sc-target.sc-long{font-size:29px}.sc-ko{font-size:19px;line-height:1.35;margin-top:11px}.sc-model .sc-eyebrow{font-size:10px}.sc-panel{gap:9px;padding:8px 2px}.sc-panel h3{font-size:26px}.sc-help{font-size:17px;line-height:1.4}.sc-choices{gap:9px;margin:3px 0}.sc-choices button{min-height:65px;font-size:19px}.sc-disclosure{font-size:12px;line-height:1.45}.sc-feedback-card{padding:10px 13px}.sc-feedback-card b{font-size:19px}.sc-focus strong{font-size:24px}.sc-feedback-card>span{font-size:12px}.sc-feedback-card>span small{font-size:11px}.sc-soft-note{font-size:14px;padding:12px}.sc-honest{font-size:11px}.sc-footer{padding-top:9px;gap:9px}.speaking-coach button{min-height:48px;font-size:16px;padding:9px 14px}.sc-footer .sc-primary{min-width:180px}.sc-mode-label{font-size:16px;margin-top:4px}.sc-recording{padding:16px 0}
}
@media(max-width:739px),(orientation:portrait){
 .speaking-coach{width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:15px;border-radius:22px}.speaking-coach[open]{gap:10px}.sc-header{padding-bottom:8px;gap:10px}.sc-header h2{font-size:19px}.sc-header .sc-eyebrow{font-size:9px}.sc-body{grid-template-columns:1fr;grid-template-rows:minmax(0,.95fr) minmax(0,1fr);gap:12px}.sc-model{flex-direction:row;align-items:center;padding:15px;gap:13px}.sc-model figure{flex-direction:column;align-items:center;gap:6px;flex:none;width:68px}.sc-model img{width:65px;height:78px;border-radius:18px}.sc-model figcaption{font-size:10px;text-align:center}.sc-target,.sc-target.sc-long{font-size:28px;line-height:1.2;margin-top:7px}.sc-ko{font-size:18px;line-height:1.35;margin-top:9px}.sc-model .sc-eyebrow{font-size:9px}.sc-panel{padding:0 5px;gap:8px}.sc-panel h3{font-size:25px}.sc-help{font-size:16px;line-height:1.35}.sc-disclosure{font-size:11px;line-height:1.4}.sc-choices{grid-template-columns:1fr 1fr;gap:8px;margin:0}.sc-choices button{font-size:16px;min-height:66px;padding:8px}.sc-choices button small{font-size:11px}.sc-footer{padding-top:10px;gap:7px;flex-wrap:wrap}.speaking-coach button{font-size:14px;min-height:48px;padding:9px 12px}.sc-footer .sc-primary{min-width:145px;flex:1}.sc-footer .sc-play{margin-right:0}.sc-feedback-card{padding:8px 12px}.sc-feedback-card p{margin-top:5px;gap:4px 7px}.sc-feedback-card b{font-size:18px}.sc-focus strong{font-size:22px}.sc-honest{font-size:10px}.sc-recording{padding:8px 0}.sc-recording strong{font-size:50px}.sc-mode-label{margin:0;font-size:15px}.sc-soft-note{font-size:13px;padding:10px}.sc-orb{display:none}
}
@media(prefers-reduced-motion:no-preference){.sc-mic-dot{animation:sc-pulse 1.3s ease-in-out infinite}@keyframes sc-pulse{50%{box-shadow:0 0 0 18px #f8e5ed77}}}
@media(prefers-reduced-motion:reduce){.speaking-coach *{animation:none!important;transition:none!important}}
