@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--navy:#10234c;--ink:#16264a;--muted:#64728d;--blue:#173f95;--blue2:#315ec8;--sky:#e9f2ff;--surface:#fff;--bg:#f7f9fe;--line:#e6ebf4;--green:#169770;--pink:#fbeaf1;--lilac:#f1edff;--orange:#fff1df;--shadow:0 17px 45px rgba(23,42,85,.07);font-family:'DM Sans',system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}p{line-height:1.65}h1,h2,h3,h4{font-family:'Plus Jakarta Sans','DM Sans',sans-serif;letter-spacing:-.045em;line-height:1.2}h1{font-size:clamp(30px,3vw,44px)}h2{font-size:clamp(23px,2.3vw,31px)}h3{font-size:19px}small{font-size:12px}svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #84b7fb;outline-offset:3px}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:0 12px}.brand-mark{width:47px;height:47px;background:linear-gradient(145deg,#102654,#1c55bd);border:1px solid #708cc4;color:white;border-radius:16px;display:grid;place-items:center;box-shadow:0 7px 15px #153d8b29}.brand-mark svg{width:25px;height:25px}.brand strong{font-family:'Plus Jakarta Sans';font-size:14px;line-height:1.35;letter-spacing:-.03em;display:block}.brand span{color:#7b87a0;font-size:11px}.nav-label{text-transform:uppercase;letter-spacing:.18em;font-size:10px;font-weight:800;color:#94a1b6;margin:3px 15px 9px}.side-nav{display:grid;gap:7px}.nav-item{width:100%;text-align:left;border:0;background:transparent;border-radius:13px;padding:13px 14px;display:flex;align-items:center;gap:12px;font-weight:700;font-size:13px;color:#66738b;transition:.18s}.nav-item:hover{background:#f4f6fd;color:var(--blue)}.nav-item.active{background:#eaf0ff;color:var(--blue);box-shadow:inset 3px 0 0 #3162d8}.nav-item svg{width:19px;height:19px}.sidebar-bottom{margin-top:auto;background:linear-gradient(145deg,#f3f1ff,#eff7ff);padding:18px;border:1px solid #e5e8fc;border-radius:18px}.sidebar-bottom h4{font-size:14px;margin:10px 0 4px}.sidebar-bottom p{font-size:12px;margin:0 0 12px;color:#64728d}.sidebar-bottom .tiny{font-size:11px;color:#5162a0}.shell-main{min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);background:#ffffffde;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(22px,3.8vw,62px);gap:15px}.topbar-label{font-size:12px;color:var(--muted);font-weight:700}.topbar-title{font-size:15px;font-weight:800;letter-spacing:-.025em;margin-top:3px}.topbar-actions{display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;border-radius:50%;background:#e8eefd;display:grid;place-items:center;color:#3359a4;font-weight:800;font-size:13px}.pill{display:inline-flex;gap:7px;align-items:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid #e2e9f5;background:white;white-space:nowrap}.pill svg{width:15px;height:15px}.pill.green{background:#e8f9f1;border-color:#cff3e1;color:#13835e}.pill.blue{background:#eaf1ff;color:#244ca3;border-color:transparent}.pill.purple{background:#f1edff;color:#6751b7;border-color:transparent}.content{max-width:1340px;margin:0 auto;padding:30px clamp(22px,3.8vw,62px) 70px;animation:fadeIn .24s ease}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:800;color:#5374be;margin-bottom:11px}.muted{color:var(--muted)}.small{font-size:12px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:34px 0 18px}.section-heading h2{margin:0}.section-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.card{background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 23px #13346b08;border-radius:22px;padding:24px}.card h3{margin:0 0 9px}.card p{font-size:14px}.btn{border:0;border-radius:14px;background:linear-gradient(135deg,#17449a,#133274);color:#fff;padding:13px 19px;font-weight:800;font-size:13px;display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:45px;box-shadow:0 6px 15px #133e8d23;transition:transform .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 20px #133e8d32}.btn svg{width:17px;height:17px}.btn.light{background:#eff3ff;color:#204994;box-shadow:none}.btn.white{background:#fff;color:#123575;box-shadow:none}.btn.ghost{background:#fff;color:var(--blue);border:1px solid #dbe4f1;box-shadow:none}.btn.green{background:#1c936b}.btn.danger{background:#fff1f2;color:#a83547;box-shadow:none}.btn.full{width:100%}.btn.sm{min-height:36px;padding:8px 12px;border-radius:10px}.text-link{background:transparent;border:0;color:#2f58b1;display:inline-flex;gap:5px;align-items:center;font-weight:800;font-size:13px;padding:7px}.text-link svg{width:15px;height:15px}.hero{background:linear-gradient(117deg,#122c64 1%,#164797 65%,#3268bf 100%);color:white;position:relative;overflow:hidden;min-height:294px;border-radius:25px;padding:38px 40px;display:flex;align-items:center;box-shadow:0 20px 50px #1c479326}.hero:before{content:'';width:480px;height:480px;border:1px solid #ffffff14;position:absolute;border-radius:50%;right:-120px;top:-260px}.hero:after{content:'';width:350px;height:350px;border:1px solid #ffffff18;position:absolute;border-radius:50%;right:80px;bottom:-280px}.hero-content{position:relative;z-index:2;max-width:510px}.hero h1{margin:12px 0 12px;color:#fff}.hero h1 em{font-style:normal;color:#b4d9ff}.hero p{color:#dbe8ff;max-width:425px;font-size:14px;margin:0 0 23px}.hero-art{position:absolute;right:5%;bottom:-12px;opacity:.9;height:95%;width:auto;max-width:43%;pointer-events:none}.hero-badge{border:1px solid #ffffff42;background:#ffffff16;color:#f5f8ff;border-radius:99px;display:inline-flex;padding:8px 12px;font-size:11px;font-weight:800;gap:8px;align-items:center}.hero-badge:before{content:'';width:7px;height:7px;background:#8feac7;border-radius:50%}.hero .hero-actions{display:flex;gap:10px;flex-wrap:wrap}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-stat{display:flex;gap:15px;align-items:center;padding:20px}.stat-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center}.stat-icon svg{width:21px;height:21px}.stat-icon.blue{background:#e9f1ff;color:#315fbd}.stat-icon.purple{background:#f0eaff;color:#7e5bc4}.stat-icon.mint{background:#e6f8ef;color:#219b78}.stat-icon.peach{background:#fff0df;color:#d78937}.stat-num{font-family:'Plus Jakarta Sans';font-weight:800;font-size:23px;line-height:1.1;letter-spacing:-.06em}.stat-caption{color:var(--muted);font-size:12px;margin-top:4px}.large-goal{display:flex;justify-content:space-between;gap:28px;align-items:center;min-height:192px}.goal-tasks{display:grid;gap:9px;margin-top:16px}.goal-row{font-size:13px;display:flex;align-items:center;gap:9px;font-weight:600}.goal-row svg{width:18px;height:18px;color:#16a077}.goal-row .unchecked{color:#b9c3d2}.ring{width:116px;height:116px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#21aa80 var(--pct),#e8edf7 var(--pct));flex:none}.ring-center{background:#fff;border-radius:50%;width:91px;height:91px;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-center strong{font-size:27px;line-height:1}.ring-center span{font-size:10px;color:var(--muted);margin-top:5px}.quick-card{position:relative;text-align:left;border:1px solid #e6e8f6;border-radius:19px;background:var(--surface);padding:19px;display:flex;align-items:start;flex-direction:column;gap:12px;min-height:148px;transition:.2s}.quick-card:hover,.lesson-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-card.pink{background:linear-gradient(150deg,#fff,#fff0f5)}.quick-card.blue{background:linear-gradient(150deg,#fff,#ecf4ff)}.quick-card.purple{background:linear-gradient(150deg,#fff,#f1edff)}.quick-card.mint{background:linear-gradient(150deg,#fff,#e9faf4)}.quick-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:white;box-shadow:0 3px 10px #24488a0b;color:#3155aa}.quick-icon svg{width:22px;height:22px}.quick-card strong{font-size:15px}.quick-card small{color:var(--muted);line-height:1.4}.quick-arrow{position:absolute;right:17px;top:20px;color:#8c9ab8}.page-header{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:24px}.page-header h1{margin:0 0 10px}.page-header p{color:var(--muted);font-size:14px;margin:0;max-width:700px}.breadcrumb{display:flex;gap:7px;align-items:center;margin-bottom:18px;color:#8390a5;font-size:12px;font-weight:800}.breadcrumb button{background:none;border:0;color:#3461b1;font-weight:800;padding:4px}.filter-row{display:flex;align-items:center;gap:9px;margin-bottom:21px;flex-wrap:wrap}.filter{border:1px solid #e2e8f4;color:#64738b;background:#fff;padding:10px 15px;border-radius:999px;font-size:12px;font-weight:800}.filter.active{background:#173f95;border-color:#173f95;color:white}.searchbox{height:43px;display:flex;align-items:center;gap:9px;background:white;border:1px solid #e1e8f3;padding:0 12px;border-radius:13px;min-width:220px;margin-left:auto}.searchbox svg{color:#8b99b0;width:17px;height:17px}.searchbox input{border:0;outline:0;width:100%;font-size:13px;background:transparent;color:var(--ink)}.lesson-card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:12px;transition:.18s;text-align:left;min-height:218px}.lesson-card-head{display:flex;justify-content:space-between;gap:10px}.ipa{border-radius:12px;background:#edf2ff;color:#1e4d9d;display:grid;place-items:center;padding:9px 12px;min-width:58px;font-family:Georgia,serif;font-size:21px;font-weight:800;white-space:nowrap}.lesson-card h3{font-size:16px;margin:0}.lesson-card p{margin:0;color:var(--muted);font-size:12px}.lesson-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:#8390a8;font-size:12px;font-weight:700}.lesson-foot svg{width:15px;height:15px}.complete{color:#168865}.level{font-size:10px;color:#516daa;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.lesson-detail{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.8fr);gap:20px;align-items:start}.sound-feature{background:linear-gradient(145deg,#eff4ff,#fff);border-radius:19px;padding:24px;margin-bottom:20px;border:1px solid #e3eaff}.sound-large{font-family:Georgia,serif;font-size:57px;font-weight:bold;letter-spacing:-.07em;color:#173f95}.sound-title{font-size:21px;font-weight:800;letter-spacing:-.04em;margin-top:8px}.sound-subtitle{color:var(--muted);font-size:13px;margin-top:4px}.segmented{display:flex;background:#f1f4fa;padding:5px;border-radius:13px;gap:4px;margin:14px 0 22px}.segmented button{flex:1;background:transparent;border:0;border-radius:10px;padding:10px 11px;color:#6d7b93;font-weight:800;font-size:12px}.segmented button.active{background:white;color:#1b4395;box-shadow:0 3px 11px #17365c14}.example-word{display:flex;justify-content:space-between;align-items:center;background:#f8faff;border:1px solid #edf1f8;border-radius:14px;padding:11px 15px;margin-bottom:9px;gap:10px}.example-word strong{font-size:15px}.icon-btn{width:37px;height:37px;border:0;border-radius:50%;display:grid;place-items:center;background:#e8efff;color:#204b9f}.icon-btn svg{width:18px;height:18px}.callout{background:#fff4e8;border:1px solid #ffe8cd;padding:16px 18px;border-radius:15px;color:#6d5536;font-size:13px;line-height:1.65}.callout.blue{background:#eef5ff;border-color:#daeaff;color:#32537e}.callout.mint{background:#eaf9f3;border-color:#d5f0e2;color:#2e7157}.callout strong{display:block;color:#925e19;margin-bottom:4px}.tip-diagram{min-height:190px;border-radius:17px;background:linear-gradient(155deg,#faf6ff,#edf3ff);display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;text-align:center}.mouth-icon{border:5px solid #b66b89;border-top-width:16px;border-bottom-width:16px;border-radius:55% / 50%;width:110px;height:68px;background:#631a44;position:relative;flex:none}.mouth-icon:after{content:'';height:24px;width:76px;background:#ef8bb1;position:absolute;bottom:1px;left:12px;border-radius:70% 70% 50% 50%}.tip-diagram span{font-size:12px;color:#556482;line-height:1.5;text-align:left}.record-panel{text-align:center;padding:30px 20px;background:linear-gradient(145deg,#f8faff,#f1f5ff);border-radius:20px;border:1px solid #e8edf8}.record-circle{border:0;background:radial-gradient(circle at 30% 25%,#5580e1,#173b92 70%);color:white;width:98px;height:98px;border-radius:50%;display:grid;place-items:center;margin:20px auto 12px;box-shadow:0 0 0 10px #dbe7ff,0 0 0 19px #edf3ff,0 12px 35px #294cad45}.record-circle.recording{background:radial-gradient(circle at 30% 25%,#fb7595,#bc264c 70%);animation:recordPulse 1.5s infinite}.record-circle svg{width:38px;height:38px}.rec-instructions{font-size:13px;color:var(--muted)}.wave-meter{height:55px;display:flex;justify-content:center;align-items:center;gap:3px;margin:8px 0}.wave-meter i{width:4px;height:var(--h);border-radius:6px;background:linear-gradient(180deg,#789ae1,#20489b);transform:scaleY(var(--amp,1));transition:transform .13s}.wave-meter.idle i{opacity:.44}.timer{font-feature-settings:'tnum';font-size:19px;font-weight:800;letter-spacing:.03em}.audio-player{width:100%;margin:16px 0 4px;max-width:420px}.record-actions{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:14px}.status{font-size:12px;color:#536585;min-height:21px;margin:8px 0}.status.error{color:#aa3550}.passage{background:#f1f5ff;border:1px solid #e1e8f8;border-radius:17px;padding:24px;line-height:1.9;font-size:17px;font-weight:600;letter-spacing:-.015em}.select{border:1px solid #e0e7f2;border-radius:12px;padding:11px;background:white;color:var(--ink);font-size:13px;max-width:100%;width:100%}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.coach-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:20px}.coach-screen{background:linear-gradient(160deg,#0e214b,#1b4186);color:white;border-radius:24px;padding:26px;min-height:410px;display:flex;flex-direction:column}.coach-avatar{width:70px;height:70px;border:2px solid #a6c6fc;border-radius:50%;display:grid;place-items:center;background:linear-gradient(130deg,#5d8cdf,#143b88);box-shadow:0 0 0 7px #ffffff13;margin:6px auto 14px}.coach-avatar svg{width:33px;height:33px}.coach-screen h3{text-align:center;color:#fff;font-size:18px;margin:0 0 7px}.coach-screen p{text-align:center;color:#c3d6f8;font-size:12px;margin:0}.coach-bubble{margin:28px auto 22px;max-width:460px;width:100%;background:#ffffff15;border:1px solid #ffffff33;border-radius:20px;padding:21px;text-align:center;font-size:18px;line-height:1.6;font-weight:600}.coach-wave{height:40px;display:flex;gap:4px;align-items:center;justify-content:center;margin:auto 0 20px}.coach-wave span{width:3px;height:var(--h);border-radius:6px;background:#8ab1ff}.coach-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.coach-controls .btn{box-shadow:none}.scenarios{display:grid;gap:10px}.scenario{border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px;display:flex;gap:12px;align-items:center;text-align:left}.scenario.active{border-color:#98b5f7;background:#edf3ff}.scenario .scenario-icon{display:grid;place-items:center;width:38px;height:38px;background:#eef2ff;color:#3155aa;border-radius:11px}.scenario .scenario-icon svg{width:18px;height:18px}.scenario strong{display:block;font-size:13px}.scenario small{color:var(--muted)}.progress-bar{height:9px;background:#e7edf7;border-radius:99px;overflow:hidden}.progress-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1e9b77,#47c9a2);transition:width .4s}.activity-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:13px;align-items:end;height:170px;margin:25px 0 12px}.activity-day{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:end;height:100%;font-size:11px;color:#7e8ca4;font-weight:800}.activity-bar{width:100%;max-width:42px;height:var(--h);min-height:5px;background:linear-gradient(180deg,#6895f4,#2e58b1);border-radius:8px 8px 5px 5px}.activity-bar.none{background:#e8eef9}.achievement{display:flex;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f6}.achievement:last-child{border:0}.achievement .emblem{width:43px;height:43px;background:#fff2df;border-radius:15px;display:grid;place-items:center;color:#c88b3c}.achievement.locked .emblem{background:#f0f3f8;color:#aab4c5}.achievement strong{font-size:13px;display:block}.achievement small{color:var(--muted)}.empty{padding:32px;text-align:center;color:var(--muted);font-size:13px}.footnote{font-size:12px;color:#8190a8;line-height:1.7;margin:14px 0}.notice{background:#fff5e8;border:1px solid #f8e5cb;border-radius:14px;padding:13px 17px;color:#94602c;font-size:12px;line-height:1.65}.hide-desktop{display:none}.footer{margin:45px 0 4px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e8edf4;padding-top:18px;font-size:11px;color:#8a98ac}.bottom-nav{display:none}@keyframes recordPulse{0%,100%{box-shadow:0 0 0 10px #ffe4eb,0 0 0 19px #fff3f6,0 10px 35px #ae3e5c30}50%{box-shadow:0 0 0 13px #ffe4eb,0 0 0 24px #fff3f6,0 10px 35px #ae3e5c30}}@keyframes fadeIn{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:1140px){.app-shell{grid-template-columns:205px 1fr}.sidebar{padding:22px 10px}.brand{padding:0 8px}.content{padding:25px 24px 60px}.topbar{padding:0 24px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{max-width:39%;right:2%;opacity:.6}.hero-content{max-width:72%}}@media(max-width:850px){.app-shell{display:block}.sidebar{display:none}.topbar{height:69px;padding:0 20px}.topbar .topbar-label{display:none}.content{padding:21px 18px 110px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fffffff2;backdrop-filter:blur(18px);box-shadow:0 -8px 25px #16357511;border-top:1px solid #e8edf4;padding:10px 8px max(10px,env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{border:0;background:transparent;display:flex;flex-direction:column;gap:4px;align-items:center;padding:5px 7px;color:#8490a6;font-weight:800;font-size:10px;min-width:54px}.bottom-nav button.active{color:var(--blue)}.bottom-nav svg{width:22px;height:22px}.hide-desktop{display:block}.lesson-detail,.coach-layout{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.hero{padding:30px 26px;min-height:278px}.hero-art{opacity:.32;max-width:56%}.hero-content{max-width:100%}}@media(max-width:610px){h1{font-size:29px}h2{font-size:23px}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats-grid .card{padding:14px;min-width:0}.stat-icon{width:35px;height:35px}.stat-num{font-size:19px}.stat-caption{font-size:10px}.overview-stat{gap:10px}.hero h1{font-size:29px}.hero{padding:26px 23px;min-height:320px;align-items:start}.hero-art{opacity:.22;max-width:73%;right:-6%;bottom:-25px}.hero-content{z-index:2}.hero p{font-size:13px}.hero-actions{width:100%}.hero .btn{font-size:12px}.content{padding:19px 15px 112px}.card{padding:18px;border-radius:19px}.large-goal{gap:12px}.ring{width:88px;height:88px}.ring-center{width:68px;height:68px}.ring-center strong{font-size:21px}.searchbox{width:100%;margin-left:0}.filter-row{gap:7px}.filter{padding:8px 10px}.page-header{align-items:start}.page-header .btn{display:none}.topbar-actions .pill{display:none}.section-heading{margin-top:26px}.lesson-card{min-height:178px}.lesson-detail{gap:12px}.sound-feature{padding:19px}.sound-large{font-size:46px}.record-panel{padding:24px 10px}.footer{display:block}.passage{font-size:15px;padding:17px}.coach-screen{padding:19px;min-height:405px}.coach-bubble{font-size:16px}.goal-row{font-size:12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{min-height:112px;flex-direction:row;align-items:center;gap:12px}.quick-card .quick-icon{width:42px;height:42px;flex:none}.quick-card small{display:block}.quick-arrow{top:auto;bottom:17px}.topbar{gap:8px}.topbar-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* British voice and listening studio */
.voice-toggle{border:1px solid #d8e4f5;background:#f0f5ff;color:#204992;cursor:pointer;transition:background .2s}
.voice-toggle:hover{background:#e0ebff}
.voice-modal-backdrop{position:fixed;inset:0;z-index:110;background:#0b1e40a8;backdrop-filter:blur(5px)}
.voice-modal{position:fixed;z-index:111;top:50%;left:50%;transform:translate(-50%,-50%);width:min(92vw,560px);max-height:calc(100dvh - 38px);overflow:auto;background:#fff;border:1px solid #dce5f6;border-radius:27px;box-shadow:0 25px 90px #081e4d55;padding:28px 30px 30px}
.voice-modal h2{font-size:27px;margin:16px 0 8px;line-height:1.25}
.voice-modal .muted{margin:0 0 18px}
.voice-modal-top{display:flex;justify-content:space-between;gap:15px;align-items:center}
.voice-close{border:0;background:#f1f4fa;color:#445777;width:37px;height:37px;border-radius:50%;font-size:27px;line-height:1;display:grid;place-items:center}
.voice-control-group{margin:21px 0 18px}
.voice-control-group label{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:10px;color:#1b3158}
.voice-control-group label span{color:#2859b5;font-weight:800}
.voice-control-group select{width:100%;height:49px;background:#f8faff}
.voice-help{font-size:12px;line-height:1.55;color:#697b94;margin:9px 0 0}
.voice-control-group input[type=range]{width:100%;accent-color:#2659b9;min-height:26px;cursor:pointer}
.voice-rate-labels{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#7a89a2;margin-top:4px}
.voice-sample{padding:18px;background:linear-gradient(135deg,#f2f7ff,#f8faff);border:1px solid #e2eaf9;border-radius:18px;margin:20px 0}
.voice-sample p{font-size:16px;line-height:1.6;font-weight:700;letter-spacing:-.02em;margin:13px 0}
.voice-modal-actions{display:flex;gap:10px;flex-wrap:wrap}
.voice-modal .callout{font-size:12px}
@media(max-width:850px){.voice-toggle{padding:9px 11px;font-size:11px}}
@media(max-width:600px){.voice-modal{top:auto;left:0;bottom:0;transform:none;width:100%;max-height:90dvh;border-radius:25px 25px 0 0;padding:21px 18px calc(24px + env(safe-area-inset-bottom))}.voice-modal h2{font-size:23px}.voice-toggle{padding:8px;min-width:36px;justify-content:center}.voice-toggle span{display:none}.voice-modal-actions .btn{flex:1}}
